[2025-01-09 00:00:02] Production.INFO: ==5343== Lock acquired, processing the job...
[2025-01-09 00:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:00:02] Production.INFO: neon service started
[2025-01-09 00:00:02] Production.INFO: neon service started
[2025-01-09 00:00:02] Production.INFO: ==5343== Releasing lock...
[2025-01-09 00:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:00:02] Production.INFO: ==5347== Lock acquired, processing the job...
[2025-01-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:00:02] Production.INFO: ==5347== Releasing lock...
[2025-01-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:00:02] Production.INFO: ==5345== Lock acquired, processing the job...
[2025-01-08 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:00:03] Production.INFO: ==5345== Releasing lock...
[2025-01-08 19:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:00:03] Production.INFO: ==5351== Lock acquired, processing the job...
[2025-01-08 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:00:04] Production.INFO: ==5349== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 19:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:00:04] Production.INFO: ==5355== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:00:04] Production.ERROR: CronJob PID - 5351
[2025-01-08 19:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 19:00:04] Production.ERROR: CronJob ID - 5
[2025-01-08 19:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:00:00
[2025-01-08 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:00:04] Production.ERROR: CronJob PID - 5355
[2025-01-08 19:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 19:00:04] Production.ERROR: CronJob ID - 10
[2025-01-08 19:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:00:00
[2025-01-08 19:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 19:00:04] Production.INFO: ==5349== Releasing lock...
[2025-01-08 19:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 19:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 19:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:00:04] Production.INFO: ==5359== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:00:04] Production.INFO: ==5353== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:00:04] Production.INFO: ==5357== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:00:04] Production.INFO: Account Balance Start.
[2025-01-08 19:00:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:00:04] Production.INFO: 117
[2025-01-08 19:00:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:00:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:00:04] Production.INFO: ==5364== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:00:04] Production.INFO: ==5361== Lock acquired, processing the job...
[2025-01-08 19:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 19:00:04] Production.INFO: Total Charge 0
[2025-01-08 19:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:00:04] Production.INFO: CreateAllLog End
[2025-01-08 19:00:04] Production.ERROR: done
[2025-01-08 19:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:00:04] Production.ERROR: done
[2025-01-08 19:00:04] Production.INFO: ==5353== Releasing lock...
[2025-01-08 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19: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-01-08 19:00:05] Production.INFO: count ==21
[2025-01-08 19:00:05] Production.INFO: Account Balance End.
[2025-01-08 19:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:00:05] Production.INFO: count ==21
[2025-01-08 19:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14204229') start
[2025-01-08 19:00:05] Production.ERROR: CronJobId end 12
[2025-01-08 19:00:05] Production.INFO: ==5357== Releasing lock...
[2025-01-08 19:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:00:05] Production.ERROR: done
[2025-01-08 19:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14204229') end
[2025-01-08 19:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:00:05] Production.INFO: 1
[2025-01-08 19:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 19:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204231', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 19:00:05] Production.INFO: ==5364== Releasing lock...
[2025-01-08 19:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:00:05
[end_date_ymd] => 2025-01-08 19:00:05
[RateCDR] => 1
)
[2025-01-08 19:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:00:05' and `end` < '2025-01-08 19:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204231', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 19:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 19:00:08] Production.INFO: ProcessCDR(1,14204231,1,1,2)
[2025-01-08 19:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204231,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204231,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:00:08] Production.INFO: ==5361== Releasing lock...
[2025-01-08 19:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 19:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 19:00:14] Production.ERROR: CronJobId end10
[2025-01-08 19:00:14] Production.INFO: ==5355== Releasing lock...
[2025-01-08 19:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:00:15] Production.INFO: call_cost start
[2025-01-08 19:00:15] Production.INFO: call_cost end
[2025-01-08 19:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:00:16] Production.INFO: ==5351== Releasing lock...
[2025-01-08 19:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:00:21] Production.INFO: count ==2992
[2025-01-08 19:00:22] Production.ERROR: pbx CDR StartTime 2025-01-08 16:00:05 - End Time 2025-01-08 19:00:05
[2025-01-08 19:00:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204230', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204230', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204230', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:00:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204230', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:00:22] Production.INFO: ProcessCDR(1,14204230,1,1,2)
[2025-01-08 19:00:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:00:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:00:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:00:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204230', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:00:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204230', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:00:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:00:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:00:25] Production.INFO: ==5359== Releasing lock...
[2025-01-08 19:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:00:25] Production.INFO: 50.25 MB #Memory Used#
[2025-01-09 00:01:01] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-01-09 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:01:01] Production.INFO: neon service started
[2025-01-09 00:01:01] Production.INFO: neon service started
[2025-01-09 00:01:01] Production.INFO: ==5425== Releasing lock...
[2025-01-09 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:01:01] Production.INFO: ==5439== Lock acquired, processing the job...
[2025-01-08 19:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:01:02] Production.INFO: ==5439== Releasing lock...
[2025-01-08 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:01:02] Production.INFO: ==5441== Lock acquired, processing the job...
[2025-01-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:01:02] Production.INFO: ==5441== Releasing lock...
[2025-01-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:01:03] Production.INFO: ==5443== Lock acquired, processing the job...
[2025-01-08 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:01:03] Production.INFO: ==5445== Lock acquired, processing the job...
[2025-01-08 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:01:03] Production.INFO: ==5447== Lock acquired, processing the job...
[2025-01-08 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:01:03] Production.INFO: ==5449== Lock acquired, processing the job...
[2025-01-08 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:01:03] Production.INFO: ==5451== Lock acquired, processing the job...
[2025-01-08 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:01:03] Production.INFO: Account Balance Start.
[2025-01-08 19:01:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:01:03] Production.INFO: 117
[2025-01-08 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:01:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:01:03] Production.INFO: Total Charge 0
[2025-01-08 19:01:03] Production.INFO: CreateAllLog End
[2025-01-08 19:01:03] Production.INFO: ==5445== Releasing lock...
[2025-01-08 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:01:03] Production.INFO: ==5453== Lock acquired, processing the job...
[2025-01-08 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:01:03] Production.ERROR: done
[2025-01-08 19:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:01:03] Production.INFO: count ==21
[2025-01-08 19:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:01:03] Production.INFO: count ==21
[2025-01-08 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204235') start
[2025-01-08 19:01:03] Production.ERROR: done
[2025-01-08 19:01:03] Production.INFO: Account Balance End.
[2025-01-08 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204235') end
[2025-01-08 19:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:01:03] Production.INFO: 1
[2025-01-08 19:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:01:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:01:04] Production.INFO: ==5449== Releasing lock...
[2025-01-08 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:01:04] Production.INFO: ==5453== Releasing lock...
[2025-01-08 19:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:01:04
[end_date_ymd] => 2025-01-08 19:01:04
[RateCDR] => 1
)
[2025-01-08 19:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:01:04' and `end` < '2025-01-08 19:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:01:11] Production.ERROR: CronJobId end10
[2025-01-08 19:01:11] Production.INFO: ==5447== Releasing lock...
[2025-01-08 19:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:01:13] Production.INFO: call_cost start
[2025-01-08 19:01:13] Production.INFO: call_cost end
[2025-01-08 19:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:01:14] Production.INFO: ==5443== Releasing lock...
[2025-01-08 19:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:01:18] Production.INFO: count ==2891
[2025-01-08 19:01:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:01:04 - End Time 2025-01-08 19:01:04
[2025-01-08 19:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204236', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204236', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204236', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204236', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:01:18] Production.INFO: ProcessCDR(1,14204236,1,1,2)
[2025-01-08 19:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204236', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204236', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:01:23] Production.INFO: ==5451== Releasing lock...
[2025-01-08 19:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:01:23] Production.INFO: 50.25 MB #Memory Used#
[2025-01-09 00:02:02] Production.INFO: ==5587== Lock acquired, processing the job...
[2025-01-09 00:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:02:02] Production.INFO: neon service started
[2025-01-09 00:02:02] Production.INFO: neon service started
[2025-01-09 00:02:02] Production.INFO: ==5587== Releasing lock...
[2025-01-09 00:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:02:02] Production.INFO: ==5589== Lock acquired, processing the job...
[2025-01-08 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:02:02] Production.INFO: ==5589== Releasing lock...
[2025-01-08 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:02:02] Production.INFO: ==5591== Lock acquired, processing the job...
[2025-01-09 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:02:03] Production.INFO: ==5591== Releasing lock...
[2025-01-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:02:03] Production.INFO: ==5593== Lock acquired, processing the job...
[2025-01-08 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:02:03] Production.INFO: ==5599== Lock acquired, processing the job...
[2025-01-08 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:02:03] Production.INFO: ==5603== Lock acquired, processing the job...
[2025-01-08 19:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:02:03] Production.INFO: count ==21
[2025-01-08 19:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:02:03] Production.INFO: count ==21
[2025-01-08 19:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204238') start
[2025-01-08 19:02:03] Production.INFO: Account Balance Start.
[2025-01-08 19:02:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:02:03] Production.INFO: 117
[2025-01-08 19:02:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:02:03] Production.INFO: ==5597== Lock acquired, processing the job...
[2025-01-08 19:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:02:03] Production.INFO: Total Charge 0
[2025-01-08 19:02:04] Production.INFO: CreateAllLog End
[2025-01-08 19:02:04] Production.INFO: ==5595== Lock acquired, processing the job...
[2025-01-08 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204238') end
[2025-01-08 19:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:02:04] Production.INFO: 1
[2025-01-08 19:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:02:04] Production.INFO: ==5603== Releasing lock...
[2025-01-08 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:02:04] Production.INFO: ==5601== Lock acquired, processing the job...
[2025-01-08 19:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:02:04] Production.INFO: Account Balance End.
[2025-01-08 19:02:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:02:04] Production.INFO: ==5599== Releasing lock...
[2025-01-08 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:02:04] Production.ERROR: done
[2025-01-08 19:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:02:04] Production.INFO: ==5595== Releasing lock...
[2025-01-08 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:02:04] Production.ERROR: done
[2025-01-08 19:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:02:05
[end_date_ymd] => 2025-01-08 19:02:05
[RateCDR] => 1
)
[2025-01-08 19:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:02:05' and `end` < '2025-01-08 19:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:02:13] Production.ERROR: CronJobId end10
[2025-01-08 19:02:13] Production.INFO: ==5597== Releasing lock...
[2025-01-08 19:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:02:13] Production.INFO: call_cost start
[2025-01-08 19:02:13] Production.INFO: call_cost end
[2025-01-08 19:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:02:14] Production.INFO: ==5593== Releasing lock...
[2025-01-08 19:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:02:18] Production.INFO: count ==2878
[2025-01-08 19:02:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:02:05 - End Time 2025-01-08 19:02:05
[2025-01-08 19:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204241', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204241', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204241', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204241', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:02:19] Production.INFO: ProcessCDR(1,14204241,1,1,2)
[2025-01-08 19:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204241', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204241', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:02:22] Production.INFO: ==5601== Releasing lock...
[2025-01-08 19:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:02:22] Production.INFO: 49.5 MB #Memory Used#
[2025-01-09 00:03:01] Production.INFO: ==5657== Lock acquired, processing the job...
[2025-01-09 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:03:01] Production.INFO: neon service started
[2025-01-09 00:03:01] Production.INFO: neon service started
[2025-01-09 00:03:01] Production.INFO: ==5657== Releasing lock...
[2025-01-09 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:03:01] Production.INFO: ==5659== Lock acquired, processing the job...
[2025-01-08 19:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:03:02] Production.INFO: ==5659== Releasing lock...
[2025-01-08 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:03:02] Production.INFO: ==5661== Lock acquired, processing the job...
[2025-01-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:03:02] Production.INFO: ==5661== Releasing lock...
[2025-01-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:03:03] Production.INFO: ==5669== Lock acquired, processing the job...
[2025-01-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:03:03] Production.INFO: ==5663== Lock acquired, processing the job...
[2025-01-08 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:03:03] Production.INFO: ==5673== Lock acquired, processing the job...
[2025-01-08 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:03:03] Production.INFO: ==5665== Lock acquired, processing the job...
[2025-01-08 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:03:03] Production.INFO: Account Balance Start.
[2025-01-08 19:03:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:03:03] Production.INFO: 117
[2025-01-08 19:03:03] Production.INFO: ==5667== Lock acquired, processing the job...
[2025-01-08 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:03:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:03:03] Production.INFO: Total Charge 0
[2025-01-08 19:03:03] Production.INFO: count ==21
[2025-01-08 19:03:03] Production.INFO: ==5671== Lock acquired, processing the job...
[2025-01-08 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:03:03] Production.INFO: CreateAllLog End
[2025-01-08 19:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:03:03] Production.INFO: count ==21
[2025-01-08 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204244') start
[2025-01-08 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204244') end
[2025-01-08 19:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:03:03] Production.INFO: 1
[2025-01-08 19:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:03:03] Production.INFO: ==5673== Releasing lock...
[2025-01-08 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:03:03] Production.ERROR: done
[2025-01-08 19:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:03:03] Production.INFO: ==5665== Releasing lock...
[2025-01-08 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:03:03] Production.INFO: Account Balance End.
[2025-01-08 19:03:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:03:03] Production.INFO: ==5669== Releasing lock...
[2025-01-08 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:03:03] Production.ERROR: done
[2025-01-08 19:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:03:04
[end_date_ymd] => 2025-01-08 19:03:04
[RateCDR] => 1
)
[2025-01-08 19:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:03:04' and `end` < '2025-01-08 19:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:03:11] Production.ERROR: CronJobId end10
[2025-01-08 19:03:11] Production.INFO: ==5667== Releasing lock...
[2025-01-08 19:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:03:13] Production.INFO: call_cost start
[2025-01-08 19:03:13] Production.INFO: call_cost end
[2025-01-08 19:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:03:14] Production.INFO: ==5663== Releasing lock...
[2025-01-08 19:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:03:19] Production.INFO: count ==2860
[2025-01-08 19:03:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:03:04 - End Time 2025-01-08 19:03:04
[2025-01-08 19:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204246', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204246', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204246', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204246', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:03:20] Production.INFO: ProcessCDR(1,14204246,1,1,2)
[2025-01-08 19:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204246', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204246', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:03:23] Production.INFO: ==5671== Releasing lock...
[2025-01-08 19:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:03:23] Production.INFO: 49.5 MB #Memory Used#
[2025-01-09 00:04:01] Production.INFO: ==5726== Lock acquired, processing the job...
[2025-01-09 00:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:04:01] Production.INFO: neon service started
[2025-01-09 00:04:02] Production.INFO: neon service started
[2025-01-09 00:04:02] Production.INFO: ==5726== Releasing lock...
[2025-01-09 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:04:02] Production.INFO: ==5728== Lock acquired, processing the job...
[2025-01-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:04:02] Production.INFO: ==5730== Lock acquired, processing the job...
[2025-01-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 19:04:02] Production.INFO: ==5728== Releasing lock...
[2025-01-08 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:04:02] Production.INFO: ==5730== Releasing lock...
[2025-01-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:04:03] Production.INFO: ==5733== Lock acquired, processing the job...
[2025-01-08 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:04:03] Production.INFO: ==5741== Lock acquired, processing the job...
[2025-01-08 19:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:04:03] Production.INFO: ==5735== Lock acquired, processing the job...
[2025-01-08 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:04:03] Production.INFO: ==5743== Lock acquired, processing the job...
[2025-01-08 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:04:03] Production.INFO: ==5737== Lock acquired, processing the job...
[2025-01-08 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:04:03] Production.INFO: ==5739== Lock acquired, processing the job...
[2025-01-08 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:04:03] Production.INFO: count ==21
[2025-01-08 19:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:04:03] Production.INFO: count ==21
[2025-01-08 19:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204249') start
[2025-01-08 19:04:03] Production.INFO: Account Balance Start.
[2025-01-08 19:04:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:04:03] Production.INFO: 117
[2025-01-08 19:04:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:04:03] Production.ERROR: done
[2025-01-08 19:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:04:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:04:04] Production.INFO: ==5735== Releasing lock...
[2025-01-08 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:04:04] Production.INFO: Total Charge 0
[2025-01-08 19:04:04] Production.INFO: CreateAllLog End
[2025-01-08 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204249') end
[2025-01-08 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:04:04] Production.INFO: 1
[2025-01-08 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:04:04] Production.ERROR: done
[2025-01-08 19:04:04] Production.INFO: ==5743== Releasing lock...
[2025-01-08 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:04:04] Production.INFO: Account Balance End.
[2025-01-08 19:04:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:04:04] Production.INFO: ==5739== Releasing lock...
[2025-01-08 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:04:05
[end_date_ymd] => 2025-01-08 19:04:05
[RateCDR] => 1
)
[2025-01-08 19:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:04:05' and `end` < '2025-01-08 19:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:04:11] Production.ERROR: CronJobId end10
[2025-01-08 19:04:11] Production.INFO: ==5737== Releasing lock...
[2025-01-08 19:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:04:13] Production.INFO: call_cost start
[2025-01-08 19:04:13] Production.INFO: call_cost end
[2025-01-08 19:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:04:13] Production.INFO: ==5733== Releasing lock...
[2025-01-08 19:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:04:18] Production.INFO: count ==2834
[2025-01-08 19:04:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:04:05 - End Time 2025-01-08 19:04:05
[2025-01-08 19:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204251', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204251', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204251', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204251', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:04:19] Production.INFO: ProcessCDR(1,14204251,1,1,2)
[2025-01-08 19:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204251', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204251', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:04:22] Production.INFO: ==5741== Releasing lock...
[2025-01-08 19:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:04:22] Production.INFO: 49.25 MB #Memory Used#
[2025-01-09 00:05:01] Production.INFO: ==5915== Lock acquired, processing the job...
[2025-01-09 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:05:01] Production.INFO: neon service started
[2025-01-09 00:05:01] Production.INFO: neon service started
[2025-01-09 00:05:01] Production.INFO: ==5915== Releasing lock...
[2025-01-09 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:05:01] Production.INFO: ==5919== Lock acquired, processing the job...
[2025-01-09 00:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:05:01] Production.INFO: ==5919== Releasing lock...
[2025-01-09 00:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:05:02] Production.INFO: ==5917== Lock acquired, processing the job...
[2025-01-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:05:02] Production.INFO: ==5917== Releasing lock...
[2025-01-08 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:05:03] Production.INFO: ==5927== Lock acquired, processing the job...
[2025-01-08 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:05:03] Production.INFO: ==5932== Lock acquired, processing the job...
[2025-01-08 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:05:03] Production.INFO: Account Balance Start.
[2025-01-08 19:05:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:05:03] Production.INFO: 117
[2025-01-08 19:05:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:05:03] Production.INFO: Total Charge 0
[2025-01-08 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:05:03] Production.INFO: CreateAllLog End
[2025-01-08 19:05:03] Production.INFO: ==5921== Lock acquired, processing the job...
[2025-01-08 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:05:03] Production.INFO: ==5923== Lock acquired, processing the job...
[2025-01-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:05:03] Production.INFO: count ==21
[2025-01-08 19:05:03] Production.INFO: Account Balance End.
[2025-01-08 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:05:03] Production.INFO: ==5925== Lock acquired, processing the job...
[2025-01-08 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:05:03] Production.INFO: count ==21
[2025-01-08 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204253') start
[2025-01-08 19:05:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:05:03] Production.INFO: ==5927== Releasing lock...
[2025-01-08 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:05:03] Production.INFO: ==5929== Lock acquired, processing the job...
[2025-01-08 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204253') end
[2025-01-08 19:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:05:03] Production.INFO: 1
[2025-01-08 19:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:05:03] Production.INFO: ==5932== Releasing lock...
[2025-01-08 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:05:03] Production.INFO: ==5923== Releasing lock...
[2025-01-08 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:05:03] Production.ERROR: done
[2025-01-08 19:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:05:04] Production.ERROR: done
[2025-01-08 19:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:05:04
[end_date_ymd] => 2025-01-08 19:05:04
[RateCDR] => 1
)
[2025-01-08 19:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:05:04' and `end` < '2025-01-08 19:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:05:12] Production.ERROR: CronJobId end10
[2025-01-08 19:05:12] Production.INFO: ==5925== Releasing lock...
[2025-01-08 19:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:05:13] Production.INFO: call_cost start
[2025-01-08 19:05:13] Production.INFO: call_cost end
[2025-01-08 19:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:05:14] Production.INFO: ==5921== Releasing lock...
[2025-01-08 19:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:05:18] Production.INFO: count ==2811
[2025-01-08 19:05:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:05:04 - End Time 2025-01-08 19:05:04
[2025-01-08 19:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204256', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204256', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204256', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204256', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:05:19] Production.INFO: ProcessCDR(1,14204256,1,1,2)
[2025-01-08 19:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204256', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204256', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:05:23] Production.INFO: ==5929== Releasing lock...
[2025-01-08 19:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:05:23] Production.INFO: 49.25 MB #Memory Used#
[2025-01-09 00:06:01] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-01-09 00:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:06:02] Production.INFO: neon service started
[2025-01-09 00:06:02] Production.INFO: neon service started
[2025-01-09 00:06:02] Production.INFO: ==5985== Releasing lock...
[2025-01-09 00:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:06:02] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-01-08 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:06:02] Production.INFO: ==5987== Releasing lock...
[2025-01-08 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:06:02] Production.INFO: ==5989== Lock acquired, processing the job...
[2025-01-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:06:02] Production.INFO: ==5989== Releasing lock...
[2025-01-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:06:03] Production.INFO: ==5994== Lock acquired, processing the job...
[2025-01-08 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:06:03] Production.INFO: ==5996== Lock acquired, processing the job...
[2025-01-08 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:06:03] Production.INFO: ==6000== Lock acquired, processing the job...
[2025-01-08 19:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:06:03] Production.INFO: ==5992== Lock acquired, processing the job...
[2025-01-08 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:06:03] Production.INFO: ==5998== Lock acquired, processing the job...
[2025-01-08 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:06:03] Production.INFO: ==6002== Lock acquired, processing the job...
[2025-01-08 19:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:06:03] Production.INFO: ==5994== Releasing lock...
[2025-01-08 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:06:04] Production.INFO: Account Balance Start.
[2025-01-08 19:06:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:06:04] Production.INFO: 117
[2025-01-08 19:06:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:06:04] Production.ERROR: done
[2025-01-08 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:06:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:06:04] Production.INFO: count ==21
[2025-01-08 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:06:04] Production.INFO: count ==21
[2025-01-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204260') start
[2025-01-08 19:06:04] Production.INFO: Total Charge 0
[2025-01-08 19:06:04] Production.INFO: CreateAllLog End
[2025-01-08 19:06:04] Production.ERROR: done
[2025-01-08 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204260') end
[2025-01-08 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:06:04] Production.INFO: 1
[2025-01-08 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:06:04] Production.INFO: ==6002== Releasing lock...
[2025-01-08 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:06:04] Production.INFO: Account Balance End.
[2025-01-08 19:06:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:06:04] Production.INFO: ==5998== Releasing lock...
[2025-01-08 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:06:05
[end_date_ymd] => 2025-01-08 19:06:05
[RateCDR] => 1
)
[2025-01-08 19:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:06:05' and `end` < '2025-01-08 19:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:06:11] Production.ERROR: CronJobId end10
[2025-01-08 19:06:11] Production.INFO: ==5996== Releasing lock...
[2025-01-08 19:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:06:13] Production.INFO: call_cost start
[2025-01-08 19:06:13] Production.INFO: call_cost end
[2025-01-08 19:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:06:14] Production.INFO: ==5992== Releasing lock...
[2025-01-08 19:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:06:19] Production.INFO: count ==2793
[2025-01-08 19:06:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:06:05 - End Time 2025-01-08 19:06:05
[2025-01-08 19:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204261', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204261', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204261', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204261', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:06:20] Production.INFO: ProcessCDR(1,14204261,1,1,2)
[2025-01-08 19:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204261', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204261', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:06:25] Production.INFO: ==6000== Releasing lock...
[2025-01-08 19:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:06:25] Production.INFO: 49 MB #Memory Used#
[2025-01-09 00:07:01] Production.INFO: ==6058== Lock acquired, processing the job...
[2025-01-09 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:07:01] Production.INFO: neon service started
[2025-01-09 00:07:01] Production.INFO: neon service started
[2025-01-09 00:07:01] Production.INFO: ==6058== Releasing lock...
[2025-01-09 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:07:01] Production.INFO: ==6060== Lock acquired, processing the job...
[2025-01-08 19:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:07:02] Production.INFO: ==6060== Releasing lock...
[2025-01-08 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:07:02] Production.INFO: ==6062== Lock acquired, processing the job...
[2025-01-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:07:02] Production.INFO: ==6062== Releasing lock...
[2025-01-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:07:02] Production.INFO: ==6068== Lock acquired, processing the job...
[2025-01-08 19:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:07:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:07:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:07:02] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:07:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:07:02] Production.INFO: ==6072== Lock acquired, processing the job...
[2025-01-08 19:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:07:03] Production.INFO: ==6064== Lock acquired, processing the job...
[2025-01-08 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:07:03] Production.INFO: ==6066== Lock acquired, processing the job...
[2025-01-08 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:07:03] Production.INFO: ==6070== Lock acquired, processing the job...
[2025-01-08 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:07:03] Production.INFO: ==6074== Lock acquired, processing the job...
[2025-01-08 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:07:03] Production.INFO: Account Balance Start.
[2025-01-08 19:07:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:07:03] Production.ERROR: done
[2025-01-08 19:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:07:03] Production.INFO: 117
[2025-01-08 19:07:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:07:03] Production.ERROR: done
[2025-01-08 19:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:07:03] Production.INFO: Total Charge 0
[2025-01-08 19:07:03] Production.INFO: count ==21
[2025-01-08 19:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:07:03] Production.INFO: count ==21
[2025-01-08 19:07:03] Production.INFO: CreateAllLog End
[2025-01-08 19:07:03] Production.INFO: ==6066== Releasing lock...
[2025-01-08 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204265') start
[2025-01-08 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204265') end
[2025-01-08 19:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:07:03] Production.INFO: 1
[2025-01-08 19:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:07:03] Production.INFO: Account Balance End.
[2025-01-08 19:07:03] Production.INFO: ==6074== Releasing lock...
[2025-01-08 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:07:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:07:03] Production.INFO: ==6070== Releasing lock...
[2025-01-08 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:07:04
[end_date_ymd] => 2025-01-08 19:07:04
[RateCDR] => 1
)
[2025-01-08 19:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:07:04' and `end` < '2025-01-08 19:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:07:11] Production.ERROR: CronJobId end10
[2025-01-08 19:07:11] Production.INFO: ==6068== Releasing lock...
[2025-01-08 19:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:07:13] Production.INFO: call_cost start
[2025-01-08 19:07:13] Production.INFO: call_cost end
[2025-01-08 19:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:07:13] Production.INFO: ==6064== Releasing lock...
[2025-01-08 19:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:07:17] Production.INFO: count ==2779
[2025-01-08 19:07:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:07:04 - End Time 2025-01-08 19:07:04
[2025-01-08 19:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204266', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204266', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204266', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204266', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:07:18] Production.INFO: ProcessCDR(1,14204266,1,1,2)
[2025-01-08 19:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204266', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204266', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:07:21] Production.INFO: ==6072== Releasing lock...
[2025-01-08 19:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:07:21] Production.INFO: 49 MB #Memory Used#
[2025-01-09 00:08:01] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-09 00:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:08:01] Production.INFO: neon service started
[2025-01-09 00:08:01] Production.INFO: neon service started
[2025-01-09 00:08:01] Production.INFO: ==6167== Releasing lock...
[2025-01-09 00:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:08:02] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-01-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:08:02] Production.INFO: ==6170== Releasing lock...
[2025-01-08 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:08:02] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-01-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:08:02] Production.INFO: ==6172== Releasing lock...
[2025-01-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:08:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-01-08 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:08:03] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-01-08 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:08:03] Production.INFO: ==6184== Lock acquired, processing the job...
[2025-01-08 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:08:03] Production.INFO: count ==21
[2025-01-08 19:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:08:03] Production.INFO: count ==21
[2025-01-08 19:08:03] Production.INFO: ==6176== Releasing lock...
[2025-01-08 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204269') start
[2025-01-08 19:08:03] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-01-08 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:08:03] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-01-08 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204269') end
[2025-01-08 19:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:08:03] Production.INFO: 1
[2025-01-08 19:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:08:03] Production.INFO: ==6182== Lock acquired, processing the job...
[2025-01-08 19:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:08:03] Production.INFO: ==6184== Releasing lock...
[2025-01-08 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:08:03] Production.INFO: Account Balance Start.
[2025-01-08 19:08:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:08:03] Production.INFO: 117
[2025-01-08 19:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:08:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:08:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:08:04] Production.INFO: Total Charge 0
[2025-01-08 19:08:04] Production.INFO: CreateAllLog End
[2025-01-08 19:08:04] Production.ERROR: done
[2025-01-08 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:08:04] Production.INFO: Account Balance End.
[2025-01-08 19:08:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:08:04] Production.INFO: ==6180== Releasing lock...
[2025-01-08 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:08:04] Production.ERROR: done
[2025-01-08 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:08:05
[end_date_ymd] => 2025-01-08 19:08:05
[RateCDR] => 1
)
[2025-01-08 19:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:08:05' and `end` < '2025-01-08 19:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:08:12] Production.ERROR: CronJobId end10
[2025-01-08 19:08:12] Production.INFO: ==6178== Releasing lock...
[2025-01-08 19:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:08:12] Production.INFO: call_cost start
[2025-01-08 19:08:12] Production.INFO: call_cost end
[2025-01-08 19:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:08:13] Production.INFO: ==6174== Releasing lock...
[2025-01-08 19:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:08:18] Production.INFO: count ==2782
[2025-01-08 19:08:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:08:05 - End Time 2025-01-08 19:08:05
[2025-01-08 19:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204271', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204271', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204271', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204271', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:08:19] Production.INFO: ProcessCDR(1,14204271,1,1,2)
[2025-01-08 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204271', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204271', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:08:22] Production.INFO: ==6182== Releasing lock...
[2025-01-08 19:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:08:22] Production.INFO: 49 MB #Memory Used#
[2025-01-09 00:09:02] Production.INFO: ==6278== Lock acquired, processing the job...
[2025-01-09 00:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:09:02] Production.INFO: neon service started
[2025-01-09 00:09:02] Production.INFO: neon service started
[2025-01-09 00:09:02] Production.INFO: ==6278== Releasing lock...
[2025-01-09 00:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:09:02] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-01-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:09:02] Production.INFO: ==6282== Releasing lock...
[2025-01-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:09:02] Production.INFO: ==6280== Lock acquired, processing the job...
[2025-01-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:09:02] Production.INFO: ==6280== Releasing lock...
[2025-01-08 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:09:03] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-01-08 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:09:03] Production.INFO: ==6286== Lock acquired, processing the job...
[2025-01-08 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:09:03] Production.INFO: ==6294== Lock acquired, processing the job...
[2025-01-08 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:09:03] Production.INFO: count ==21
[2025-01-08 19:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:09:03] Production.INFO: count ==21
[2025-01-08 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204274') start
[2025-01-08 19:09:03] Production.INFO: ==6288== Lock acquired, processing the job...
[2025-01-08 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:09:03] Production.INFO: ==6286== Releasing lock...
[2025-01-08 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204274') end
[2025-01-08 19:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:09:03] Production.INFO: 1
[2025-01-08 19:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:09:04] Production.INFO: ==6290== Lock acquired, processing the job...
[2025-01-08 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:09:04] Production.INFO: ==6292== Lock acquired, processing the job...
[2025-01-08 19:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:09:04] Production.INFO: ==6294== Releasing lock...
[2025-01-08 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:09:04] Production.INFO: Account Balance Start.
[2025-01-08 19:09:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:09:04] Production.INFO: 117
[2025-01-08 19:09:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:09:04] Production.INFO: Total Charge 0
[2025-01-08 19:09:04] Production.INFO: CreateAllLog End
[2025-01-08 19:09:04] Production.ERROR: done
[2025-01-08 19:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:09:04] Production.INFO: Account Balance End.
[2025-01-08 19:09:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:09:04] Production.INFO: ==6290== Releasing lock...
[2025-01-08 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:09:04] Production.ERROR: done
[2025-01-08 19:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:09:05
[end_date_ymd] => 2025-01-08 19:09:05
[RateCDR] => 1
)
[2025-01-08 19:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:09:05' and `end` < '2025-01-08 19:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:09:11] Production.ERROR: CronJobId end10
[2025-01-08 19:09:11] Production.INFO: ==6288== Releasing lock...
[2025-01-08 19:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:09:12] Production.INFO: call_cost start
[2025-01-08 19:09:12] Production.INFO: call_cost end
[2025-01-08 19:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:09:13] Production.INFO: ==6284== Releasing lock...
[2025-01-08 19:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:09:19] Production.INFO: count ==2760
[2025-01-08 19:09:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:09:05 - End Time 2025-01-08 19:09:05
[2025-01-08 19:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204276', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204276', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204276', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204276', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:09:19] Production.INFO: ProcessCDR(1,14204276,1,1,2)
[2025-01-08 19:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204276', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204276', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:09:23] Production.INFO: ==6292== Releasing lock...
[2025-01-08 19:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:09:23] Production.INFO: 48.75 MB #Memory Used#
[2025-01-09 00:10:01] Production.INFO: ==6349== Lock acquired, processing the job...
[2025-01-09 00:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:10:01] Production.INFO: neon service started
[2025-01-09 00:10:01] Production.INFO: neon service started
[2025-01-09 00:10:01] Production.INFO: ==6349== Releasing lock...
[2025-01-09 00:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:10:02] Production.INFO: ==6351== Lock acquired, processing the job...
[2025-01-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:10:02] Production.INFO: ==6351== Releasing lock...
[2025-01-08 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:10:02] Production.INFO: ==6353== Lock acquired, processing the job...
[2025-01-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:10:02] Production.INFO: ==6353== Releasing lock...
[2025-01-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:10:03] Production.INFO: ==6358== Lock acquired, processing the job...
[2025-01-08 19:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:10:03] Production.INFO: ==6360== Lock acquired, processing the job...
[2025-01-08 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:10:03] Production.INFO: ==6360== Releasing lock...
[2025-01-08 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:10:03] Production.INFO: ==6356== Lock acquired, processing the job...
[2025-01-08 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 19:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 19:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:10:03] Production.ERROR: CronJob PID - 6358
[2025-01-08 19:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 19:10:03] Production.ERROR: CronJob ID - 5
[2025-01-08 19:10:03] Production.ERROR: CronJob Last Run Time 2025-01-08 19:10:00
[2025-01-08 19:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:10:03] Production.INFO: ==6362== Lock acquired, processing the job...
[2025-01-08 19:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:10:03] Production.INFO: ==6370== Lock acquired, processing the job...
[2025-01-08 19:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 19:10:03] Production.INFO: ==6356== Releasing lock...
[2025-01-08 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 19:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 19:10:03] Production.INFO: ==6364== Lock acquired, processing the job...
[2025-01-08 19:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:10:04] Production.INFO: ==6366== Lock acquired, processing the job...
[2025-01-08 19:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:10:04] Production.INFO: ==6368== Lock acquired, processing the job...
[2025-01-08 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 19:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:10:04] Production.INFO: Account Balance Start.
[2025-01-08 19:10:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:10:04] Production.INFO: count ==21
[2025-01-08 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:10:04] Production.INFO: 117
[2025-01-08 19:10:04] Production.INFO: count ==21
[2025-01-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204279') start
[2025-01-08 19:10:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204279') end
[2025-01-08 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:10:04] Production.INFO: 1
[2025-01-08 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:10:04] Production.INFO: Total Charge 0
[2025-01-08 19:10:04] Production.INFO: CreateAllLog End
[2025-01-08 19:10:04] Production.ERROR: done
[2025-01-08 19:10:04] Production.INFO: ==6370== Releasing lock...
[2025-01-08 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:10:04] Production.ERROR: done
[2025-01-08 19:10:04] Production.INFO: Account Balance End.
[2025-01-08 19:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 19:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204281', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 19:10:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:10:04] Production.INFO: ==6364== Releasing lock...
[2025-01-08 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:10:04] Production.ERROR: done
[2025-01-08 19:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:10:05
[end_date_ymd] => 2025-01-08 19:10:05
[RateCDR] => 1
)
[2025-01-08 19:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:10:05' and `end` < '2025-01-08 19:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204281', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 19:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 19:10:08] Production.INFO: ProcessCDR(1,14204281,1,1,2)
[2025-01-08 19:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204281,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204281,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:10:08] Production.INFO: ==6368== Releasing lock...
[2025-01-08 19:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 19:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 19:10:13] Production.ERROR: CronJobId end10
[2025-01-08 19:10:13] Production.INFO: ==6362== Releasing lock...
[2025-01-08 19:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:10:15] Production.INFO: call_cost start
[2025-01-08 19:10:15] Production.INFO: call_cost end
[2025-01-08 19:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:10:16] Production.INFO: ==6358== Releasing lock...
[2025-01-08 19:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:10:19] Production.INFO: count ==2763
[2025-01-08 19:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:10:05 - End Time 2025-01-08 19:10:05
[2025-01-08 19:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204282', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204282', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204282', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204282', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:10:20] Production.INFO: ProcessCDR(1,14204282,1,1,2)
[2025-01-08 19:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204282', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204282', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:10:23] Production.INFO: ==6366== Releasing lock...
[2025-01-08 19:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:10:23] Production.INFO: 48.75 MB #Memory Used#
[2025-01-09 00:11:02] Production.INFO: ==6425== Lock acquired, processing the job...
[2025-01-09 00:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:11:02] Production.INFO: neon service started
[2025-01-09 00:11:02] Production.INFO: neon service started
[2025-01-09 00:11:02] Production.INFO: ==6425== Releasing lock...
[2025-01-09 00:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:11:02] Production.INFO: ==6429== Lock acquired, processing the job...
[2025-01-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:11:02] Production.INFO: ==6429== Releasing lock...
[2025-01-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:11:02] Production.INFO: ==6427== Lock acquired, processing the job...
[2025-01-08 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:11:03] Production.INFO: ==6427== Releasing lock...
[2025-01-08 19:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:11:03] Production.INFO: ==6438== Lock acquired, processing the job...
[2025-01-08 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:11:03] Production.INFO: ==6431== Lock acquired, processing the job...
[2025-01-08 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:11:04] Production.INFO: ==6440== Lock acquired, processing the job...
[2025-01-08 19:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:11:04] Production.INFO: ==6433== Lock acquired, processing the job...
[2025-01-08 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:11:04] Production.INFO: ==6435== Lock acquired, processing the job...
[2025-01-08 19:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:11:04] Production.INFO: Account Balance Start.
[2025-01-08 19:11:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:11:04] Production.INFO: 117
[2025-01-08 19:11:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:11:04] Production.INFO: ==6442== Lock acquired, processing the job...
[2025-01-08 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:11:04] Production.INFO: Total Charge 0
[2025-01-08 19:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:11:04] Production.INFO: CreateAllLog End
[2025-01-08 19:11:04] Production.ERROR: done
[2025-01-08 19:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:11:04] Production.ERROR: done
[2025-01-08 19:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:11:04] Production.INFO: count ==21
[2025-01-08 19:11:04] Production.INFO: Account Balance End.
[2025-01-08 19:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:11:04] Production.INFO: count ==21
[2025-01-08 19:11:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:11:04] Production.INFO: ==6438== Releasing lock...
[2025-01-08 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:11:04] Production.INFO: ==6433== Releasing lock...
[2025-01-08 19:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204286') start
[2025-01-08 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204286') end
[2025-01-08 19:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:11:04] Production.INFO: 1
[2025-01-08 19:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:11:04] Production.INFO: ==6442== Releasing lock...
[2025-01-08 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:11:05
[end_date_ymd] => 2025-01-08 19:11:05
[RateCDR] => 1
)
[2025-01-08 19:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:11:05' and `end` < '2025-01-08 19:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:11:11] Production.ERROR: CronJobId end10
[2025-01-08 19:11:11] Production.INFO: ==6435== Releasing lock...
[2025-01-08 19:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:11:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:11:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:11:14] Production.INFO: call_cost start
[2025-01-08 19:11:14] Production.INFO: call_cost end
[2025-01-08 19:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:11:15] Production.INFO: ==6431== Releasing lock...
[2025-01-08 19:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:11:18] Production.INFO: count ==2697
[2025-01-08 19:11:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:11:05 - End Time 2025-01-08 19:11:05
[2025-01-08 19:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204287', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204287', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204287', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204287', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:11:19] Production.INFO: ProcessCDR(1,14204287,1,1,2)
[2025-01-08 19:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204287', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204287', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:11:22] Production.INFO: ==6440== Releasing lock...
[2025-01-08 19:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:11:22] Production.INFO: 48.25 MB #Memory Used#
[2025-01-09 00:12:01] Production.INFO: ==6574== Lock acquired, processing the job...
[2025-01-09 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:12:01] Production.INFO: neon service started
[2025-01-09 00:12:01] Production.INFO: neon service started
[2025-01-09 00:12:01] Production.INFO: ==6574== Releasing lock...
[2025-01-09 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:12:02] Production.INFO: ==6576== Lock acquired, processing the job...
[2025-01-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:12:02] Production.INFO: ==6578== Lock acquired, processing the job...
[2025-01-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:12:02] Production.INFO: ==6578== Releasing lock...
[2025-01-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:12:02] Production.INFO: ==6576== Releasing lock...
[2025-01-08 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:12:03] Production.INFO: ==6580== Lock acquired, processing the job...
[2025-01-08 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:12:03] Production.INFO: ==6582== Lock acquired, processing the job...
[2025-01-08 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:12:03] Production.INFO: ==6589== Lock acquired, processing the job...
[2025-01-08 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:12:03] Production.INFO: ==6585== Lock acquired, processing the job...
[2025-01-08 19:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:12:03] Production.INFO: ==6587== Lock acquired, processing the job...
[2025-01-08 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:12:03] Production.INFO: ==6591== Lock acquired, processing the job...
[2025-01-08 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:12:03] Production.INFO: ==6582== Releasing lock...
[2025-01-08 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:12:03] Production.INFO: count ==21
[2025-01-08 19:12:03] Production.INFO: Account Balance Start.
[2025-01-08 19:12:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:12:03] Production.INFO: 117
[2025-01-08 19:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:12:03] Production.INFO: count ==21
[2025-01-08 19:12:03] Production.ERROR: done
[2025-01-08 19:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204290') start
[2025-01-08 19:12:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204290') end
[2025-01-08 19:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:12:03] Production.INFO: 1
[2025-01-08 19:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:12:03] Production.INFO: Total Charge 0
[2025-01-08 19:12:03] Production.INFO: CreateAllLog End
[2025-01-08 19:12:03] Production.INFO: ==6591== Releasing lock...
[2025-01-08 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:12:03] Production.ERROR: done
[2025-01-08 19:12:03] Production.INFO: Account Balance End.
[2025-01-08 19:12:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:12:03] Production.INFO: ==6587== Releasing lock...
[2025-01-08 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:12:04
[end_date_ymd] => 2025-01-08 19:12:04
[RateCDR] => 1
)
[2025-01-08 19:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:12:04' and `end` < '2025-01-08 19:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:12:11] Production.ERROR: CronJobId end10
[2025-01-08 19:12:11] Production.INFO: ==6585== Releasing lock...
[2025-01-08 19:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:12:12] Production.INFO: call_cost start
[2025-01-08 19:12:12] Production.INFO: call_cost end
[2025-01-08 19:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:12:13] Production.INFO: ==6580== Releasing lock...
[2025-01-08 19:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:12:17] Production.INFO: count ==2676
[2025-01-08 19:12:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:12:04 - End Time 2025-01-08 19:12:04
[2025-01-08 19:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204292', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204292', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204292', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204292', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:12:18] Production.INFO: ProcessCDR(1,14204292,1,1,2)
[2025-01-08 19:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204292', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204292', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:12:21] Production.INFO: ==6589== Releasing lock...
[2025-01-08 19:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:12:21] Production.INFO: 48.25 MB #Memory Used#
[2025-01-09 00:13:02] Production.INFO: ==6645== Lock acquired, processing the job...
[2025-01-09 00:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:13:02] Production.INFO: neon service started
[2025-01-09 00:13:02] Production.INFO: neon service started
[2025-01-09 00:13:02] Production.INFO: ==6645== Releasing lock...
[2025-01-09 00:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:13:02] Production.INFO: ==6649== Lock acquired, processing the job...
[2025-01-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:13:02] Production.INFO: ==6649== Releasing lock...
[2025-01-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:13:02] Production.INFO: ==6647== Lock acquired, processing the job...
[2025-01-08 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:13:03] Production.INFO: ==6647== Releasing lock...
[2025-01-08 19:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:13:03] Production.INFO: ==6652== Lock acquired, processing the job...
[2025-01-08 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:13:03] Production.INFO: ==6654== Lock acquired, processing the job...
[2025-01-08 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:13:03] Production.INFO: ==6656== Lock acquired, processing the job...
[2025-01-08 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:13:03] Production.INFO: ==6658== Lock acquired, processing the job...
[2025-01-08 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:13:04] Production.INFO: ==6662== Lock acquired, processing the job...
[2025-01-08 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:13:04] Production.INFO: ==6660== Lock acquired, processing the job...
[2025-01-08 19:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:13:04] Production.INFO: ==6654== Releasing lock...
[2025-01-08 19:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:13:04] Production.INFO: Account Balance Start.
[2025-01-08 19:13:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:13:04] Production.INFO: 117
[2025-01-08 19:13:04] Production.INFO: Date 2025-01-08
[2025-01-08 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-01-08 19:13:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:13:04] Production.INFO: count ==21
[2025-01-08 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-01-08 19:13:04] Production.INFO: count ==21
[2025-01-08 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204296') start
[2025-01-08 19:13:04] Production.INFO: Total Charge 0
[2025-01-08 19:13:04] Production.INFO: CreateAllLog End
[2025-01-08 19:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204296') end
[2025-01-08 19:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:13:04] Production.INFO: 1
[2025-01-08 19:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:13:04] Production.ERROR: done
[2025-01-08 19:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:13:04] Production.INFO: ==6662== Releasing lock...
[2025-01-08 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:13:04] Production.ERROR: done
[2025-01-08 19:13:04] Production.INFO: Account Balance End.
[2025-01-08 19:13:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:13:04] Production.INFO: ==6658== Releasing lock...
[2025-01-08 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:13:05
[end_date_ymd] => 2025-01-08 19:13:05
[RateCDR] => 1
)
[2025-01-08 19:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:13:05' and `end` < '2025-01-08 19:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:13:12] Production.ERROR: CronJobId end10
[2025-01-08 19:13:12] Production.INFO: ==6656== Releasing lock...
[2025-01-08 19:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:13:13] Production.INFO: call_cost start
[2025-01-08 19:13:13] Production.INFO: call_cost end
[2025-01-08 19:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:13:14] Production.INFO: ==6652== Releasing lock...
[2025-01-08 19:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:13:19] Production.INFO: count ==2662
[2025-01-08 19:13:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:13:05 - End Time 2025-01-08 19:13:05
[2025-01-08 19:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204297', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204297', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204297', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204297', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:13:19] Production.INFO: ProcessCDR(1,14204297,1,1,2)
[2025-01-08 19:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204297', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204297', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:13:22] Production.INFO: ==6660== Releasing lock...
[2025-01-08 19:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:13:22] Production.INFO: 48 MB #Memory Used#
[2025-01-09 00:14:01] Production.INFO: ==6717== Lock acquired, processing the job...
[2025-01-09 00:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:14:01] Production.INFO: neon service started
[2025-01-09 00:14:01] Production.INFO: neon service started
[2025-01-09 00:14:01] Production.INFO: ==6717== Releasing lock...
[2025-01-09 00:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:14:01] Production.INFO: ==6721== Lock acquired, processing the job...
[2025-01-09 00:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:14:01] Production.INFO: ==6721== Releasing lock...
[2025-01-09 00:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:14:02] Production.INFO: ==6719== Lock acquired, processing the job...
[2025-01-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:14:02] Production.INFO: ==6719== Releasing lock...
[2025-01-08 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:14:03] Production.INFO: ==6724== Lock acquired, processing the job...
[2025-01-08 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:14:03] Production.INFO: ==6726== Lock acquired, processing the job...
[2025-01-08 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:14:03] Production.INFO: ==6728== Lock acquired, processing the job...
[2025-01-08 19:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:14:03] Production.INFO: ==6732== Lock acquired, processing the job...
[2025-01-08 19:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:14:03] Production.INFO: ==6734== Lock acquired, processing the job...
[2025-01-08 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:14:03] Production.INFO: ==6730== Lock acquired, processing the job...
[2025-01-08 19:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:14:03] Production.INFO: count ==21
[2025-01-08 19:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:14:03] Production.INFO: count ==21
[2025-01-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204300') start
[2025-01-08 19:14:03] Production.INFO: Account Balance Start.
[2025-01-08 19:14:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:14:03] Production.INFO: 117
[2025-01-08 19:14:03] Production.INFO: ==6726== Releasing lock...
[2025-01-08 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:14:03] Production.ERROR: done
[2025-01-08 19:14:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204300') end
[2025-01-08 19:14:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:14:03] Production.INFO: 1
[2025-01-08 19:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:14:04] Production.INFO: Total Charge 0
[2025-01-08 19:14:04] Production.INFO: ==6734== Releasing lock...
[2025-01-08 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:14:04] Production.INFO: CreateAllLog End
[2025-01-08 19:14:04] Production.ERROR: done
[2025-01-08 19:14:04] Production.INFO: Account Balance End.
[2025-01-08 19:14:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:14:04] Production.INFO: ==6730== Releasing lock...
[2025-01-08 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:14:05
[end_date_ymd] => 2025-01-08 19:14:05
[RateCDR] => 1
)
[2025-01-08 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:14:05' and `end` < '2025-01-08 19:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:14:13] Production.ERROR: CronJobId end10
[2025-01-08 19:14:13] Production.INFO: ==6728== Releasing lock...
[2025-01-08 19:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:14:13] Production.INFO: call_cost start
[2025-01-08 19:14:13] Production.INFO: call_cost end
[2025-01-08 19:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:14:14] Production.INFO: ==6724== Releasing lock...
[2025-01-08 19:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:14:18] Production.INFO: count ==2650
[2025-01-08 19:14:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:14:05 - End Time 2025-01-08 19:14:05
[2025-01-08 19:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204302', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204302', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204302', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204302', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:14:19] Production.INFO: ProcessCDR(1,14204302,1,1,2)
[2025-01-08 19:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204302', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204302', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:14:22] Production.INFO: ==6732== Releasing lock...
[2025-01-08 19:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:14:22] Production.INFO: 48 MB #Memory Used#
[2025-01-09 00:15:01] Production.INFO: ==6870== Lock acquired, processing the job...
[2025-01-09 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:15:01] Production.INFO: neon service started
[2025-01-09 00:15:01] Production.INFO: neon service started
[2025-01-09 00:15:01] Production.INFO: ==6870== Releasing lock...
[2025-01-09 00:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:15:02] Production.INFO: ==6872== Lock acquired, processing the job...
[2025-01-08 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:15:02] Production.INFO: ==6874== Lock acquired, processing the job...
[2025-01-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:15:02] Production.INFO: ==6874== Releasing lock...
[2025-01-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:15:02] Production.INFO: ==6872== Releasing lock...
[2025-01-08 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:15:03] Production.INFO: ==6879== Lock acquired, processing the job...
[2025-01-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:15:03] Production.INFO: ==6885== Lock acquired, processing the job...
[2025-01-08 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:15:03] Production.INFO: ==6883== Lock acquired, processing the job...
[2025-01-08 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:15:03] Production.INFO: ==6877== Lock acquired, processing the job...
[2025-01-08 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:15:03] Production.INFO: Account Balance Start.
[2025-01-08 19:15:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:15:03] Production.INFO: 117
[2025-01-08 19:15:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:15:03] Production.INFO: ==6879== Releasing lock...
[2025-01-08 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:15:03] Production.INFO: ==6881== Lock acquired, processing the job...
[2025-01-08 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:15:03] Production.INFO: Total Charge 0
[2025-01-08 19:15:03] Production.INFO: CreateAllLog End
[2025-01-08 19:15:03] Production.INFO: ==6887== Lock acquired, processing the job...
[2025-01-08 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:15:03] Production.ERROR: done
[2025-01-08 19:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:15:03] Production.INFO: Account Balance End.
[2025-01-08 19:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:15:03] Production.INFO: count ==21
[2025-01-08 19:15:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:15:03] Production.INFO: ==6883== Releasing lock...
[2025-01-08 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:15:03] Production.INFO: count ==21
[2025-01-08 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204306') start
[2025-01-08 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:15:03] Production.ERROR: done
[2025-01-08 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204306') end
[2025-01-08 19:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:15:03] Production.INFO: 1
[2025-01-08 19:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:15:04] Production.INFO: ==6887== Releasing lock...
[2025-01-08 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:15:04
[end_date_ymd] => 2025-01-08 19:15:04
[RateCDR] => 1
)
[2025-01-08 19:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:15:04' and `end` < '2025-01-08 19:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:15:11] Production.ERROR: CronJobId end10
[2025-01-08 19:15:11] Production.INFO: ==6881== Releasing lock...
[2025-01-08 19:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:15:12] Production.INFO: call_cost start
[2025-01-08 19:15:12] Production.INFO: call_cost end
[2025-01-08 19:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:15:13] Production.INFO: ==6877== Releasing lock...
[2025-01-08 19:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:15:18] Production.INFO: count ==2638
[2025-01-08 19:15:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:15:04 - End Time 2025-01-08 19:15:04
[2025-01-08 19:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204307', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204307', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204307', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204307', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:15:19] Production.INFO: ProcessCDR(1,14204307,1,1,2)
[2025-01-08 19:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204307', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204307', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:15:23] Production.INFO: ==6885== Releasing lock...
[2025-01-08 19:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:15:23] Production.INFO: 47.75 MB #Memory Used#
[2025-01-09 00:16:01] Production.INFO: ==6939== Lock acquired, processing the job...
[2025-01-09 00:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:16:01] Production.INFO: neon service started
[2025-01-09 00:16:01] Production.INFO: neon service started
[2025-01-09 00:16:01] Production.INFO: ==6939== Releasing lock...
[2025-01-09 00:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:16:01] Production.INFO: ==6941== Lock acquired, processing the job...
[2025-01-08 19:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:16:02] Production.INFO: ==6943== Lock acquired, processing the job...
[2025-01-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 19:16:02] Production.INFO: ==6941== Releasing lock...
[2025-01-08 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:16:02] Production.INFO: ==6943== Releasing lock...
[2025-01-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:16:02] Production.INFO: ==6945== Lock acquired, processing the job...
[2025-01-08 19:16:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:16:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:16:02] Production.INFO: ==6947== Lock acquired, processing the job...
[2025-01-08 19:16:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:16:02] Production.INFO: ==6954== Lock acquired, processing the job...
[2025-01-08 19:16:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:16:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:16:03] Production.INFO: ==6949== Lock acquired, processing the job...
[2025-01-08 19:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:16:03] Production.INFO: ==6951== Lock acquired, processing the job...
[2025-01-08 19:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:16:03] Production.INFO: ==6947== Releasing lock...
[2025-01-08 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:16:03] Production.INFO: ==6956== Lock acquired, processing the job...
[2025-01-08 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:16:03] Production.ERROR: done
[2025-01-08 19:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:16:03] Production.INFO: Account Balance Start.
[2025-01-08 19:16:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:16:03] Production.INFO: 117
[2025-01-08 19:16:03] Production.INFO: count ==21
[2025-01-08 19:16:03] Production.ERROR: done
[2025-01-08 19:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:16:03] Production.INFO: count ==21
[2025-01-08 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204310') start
[2025-01-08 19:16:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:16:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204310') end
[2025-01-08 19:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:16:03] Production.INFO: 1
[2025-01-08 19:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:16:03] Production.INFO: ==6956== Releasing lock...
[2025-01-08 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:16:03] Production.INFO: Total Charge 0
[2025-01-08 19:16:03] Production.INFO: CreateAllLog End
[2025-01-08 19:16:04] Production.INFO: Account Balance End.
[2025-01-08 19:16:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:16:04] Production.INFO: ==6951== Releasing lock...
[2025-01-08 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:16:04
[end_date_ymd] => 2025-01-08 19:16:04
[RateCDR] => 1
)
[2025-01-08 19:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:16:04' and `end` < '2025-01-08 19:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:16:10] Production.ERROR: CronJobId end10
[2025-01-08 19:16:10] Production.INFO: ==6949== Releasing lock...
[2025-01-08 19:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:16:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:16:11] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:16:11] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:16:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:16:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:16:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:16:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:16:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:16:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:16:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:16:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:16:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:16:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:16:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:16:12] Production.INFO: call_cost start
[2025-01-08 19:16:12] Production.INFO: call_cost end
[2025-01-08 19:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:16:13] Production.INFO: ==6945== Releasing lock...
[2025-01-08 19:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:16:17] Production.INFO: count ==2630
[2025-01-08 19:16:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:16:04 - End Time 2025-01-08 19:16:04
[2025-01-08 19:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204312', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204312', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204312', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204312', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:16:18] Production.INFO: ProcessCDR(1,14204312,1,1,2)
[2025-01-08 19:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204312', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204312', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:16:21] Production.INFO: ==6954== Releasing lock...
[2025-01-08 19:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:16:21] Production.INFO: 47.75 MB #Memory Used#
[2025-01-09 00:17:01] Production.INFO: ==7017== Lock acquired, processing the job...
[2025-01-09 00:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:17:01] Production.INFO: neon service started
[2025-01-09 00:17:01] Production.INFO: neon service started
[2025-01-09 00:17:01] Production.INFO: ==7017== Releasing lock...
[2025-01-09 00:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:17:02] Production.INFO: ==7019== Lock acquired, processing the job...
[2025-01-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:17:02] Production.INFO: ==7019== Releasing lock...
[2025-01-08 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:17:02] Production.INFO: ==7021== Lock acquired, processing the job...
[2025-01-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:17:02] Production.INFO: ==7021== Releasing lock...
[2025-01-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:17:03] Production.INFO: ==7029== Lock acquired, processing the job...
[2025-01-08 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:17:03] Production.INFO: ==7033== Lock acquired, processing the job...
[2025-01-08 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:17:03] Production.INFO: ==7023== Lock acquired, processing the job...
[2025-01-08 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:17:03] Production.INFO: ==7025== Lock acquired, processing the job...
[2025-01-08 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:17:03] Production.INFO: ==7027== Lock acquired, processing the job...
[2025-01-08 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:17:03] Production.INFO: Account Balance Start.
[2025-01-08 19:17:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:17:03] Production.INFO: 117
[2025-01-08 19:17:03] Production.INFO: ==7031== Lock acquired, processing the job...
[2025-01-08 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:17:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:17:03] Production.INFO: count ==21
[2025-01-08 19:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:17:03] Production.INFO: count ==21
[2025-01-08 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204313') start
[2025-01-08 19:17:03] Production.INFO: Total Charge 0
[2025-01-08 19:17:03] Production.INFO: CreateAllLog End
[2025-01-08 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204313') end
[2025-01-08 19:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:17:03] Production.INFO: 1
[2025-01-08 19:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:17:03] Production.INFO: ==7025== Releasing lock...
[2025-01-08 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:17:03] Production.INFO: ==7033== Releasing lock...
[2025-01-08 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:17:03] Production.ERROR: done
[2025-01-08 19:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:17:04] Production.ERROR: done
[2025-01-08 19:17:04] Production.INFO: Account Balance End.
[2025-01-08 19:17:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:17:04] Production.INFO: ==7029== Releasing lock...
[2025-01-08 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:17:05
[end_date_ymd] => 2025-01-08 19:17:05
[RateCDR] => 1
)
[2025-01-08 19:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:17:05' and `end` < '2025-01-08 19:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:17:12] Production.ERROR: CronJobId end10
[2025-01-08 19:17:12] Production.INFO: ==7027== Releasing lock...
[2025-01-08 19:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:17:13] Production.INFO: call_cost start
[2025-01-08 19:17:13] Production.INFO: call_cost end
[2025-01-08 19:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:17:14] Production.INFO: ==7023== Releasing lock...
[2025-01-08 19:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:17:18] Production.INFO: count ==2621
[2025-01-08 19:17:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:17:05 - End Time 2025-01-08 19:17:05
[2025-01-08 19:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204317', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204317', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204317', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204317', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:17:19] Production.INFO: ProcessCDR(1,14204317,1,1,2)
[2025-01-08 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204317', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204317', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:17:22] Production.INFO: ==7031== Releasing lock...
[2025-01-08 19:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:17:22] Production.INFO: 47.75 MB #Memory Used#
[2025-01-09 00:18:02] Production.INFO: ==7087== Lock acquired, processing the job...
[2025-01-09 00:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:18:02] Production.INFO: neon service started
[2025-01-09 00:18:02] Production.INFO: neon service started
[2025-01-09 00:18:02] Production.INFO: ==7087== Releasing lock...
[2025-01-09 00:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:18:02] Production.INFO: ==7090== Lock acquired, processing the job...
[2025-01-08 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:18:02] Production.INFO: ==7090== Releasing lock...
[2025-01-08 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:18:03] Production.INFO: ==7092== Lock acquired, processing the job...
[2025-01-09 00:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:18:03] Production.INFO: ==7092== Releasing lock...
[2025-01-09 00:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:18:03] Production.INFO: ==7096== Lock acquired, processing the job...
[2025-01-08 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:18:03] Production.INFO: ==7104== Lock acquired, processing the job...
[2025-01-08 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:18:04] Production.INFO: ==7094== Lock acquired, processing the job...
[2025-01-08 19:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:18:04] Production.INFO: ==7100== Lock acquired, processing the job...
[2025-01-08 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:18:04] Production.INFO: ==7098== Lock acquired, processing the job...
[2025-01-08 19:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:18:04] Production.INFO: ==7102== Lock acquired, processing the job...
[2025-01-08 19:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:18:04] Production.INFO: count ==21
[2025-01-08 19:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:18:04] Production.INFO: Account Balance Start.
[2025-01-08 19:18:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:18:04] Production.INFO: count ==21
[2025-01-08 19:18:04] Production.INFO: 117
[2025-01-08 19:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:18:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204318') start
[2025-01-08 19:18:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204318') end
[2025-01-08 19:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:18:04] Production.INFO: 1
[2025-01-08 19:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:18:04] Production.INFO: ==7096== Releasing lock...
[2025-01-08 19:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:18:04] Production.INFO: ==7104== Releasing lock...
[2025-01-08 19:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:18:04] Production.INFO: Total Charge 0
[2025-01-08 19:18:04] Production.INFO: CreateAllLog End
[2025-01-08 19:18:04] Production.ERROR: done
[2025-01-08 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:18:04] Production.ERROR: done
[2025-01-08 19:18:04] Production.INFO: Account Balance End.
[2025-01-08 19:18:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:18:04] Production.INFO: ==7100== Releasing lock...
[2025-01-08 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:18:05
[end_date_ymd] => 2025-01-08 19:18:05
[RateCDR] => 1
)
[2025-01-08 19:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:18:05' and `end` < '2025-01-08 19:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:18:12] Production.ERROR: CronJobId end10
[2025-01-08 19:18:12] Production.INFO: ==7098== Releasing lock...
[2025-01-08 19:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:18:14] Production.INFO: call_cost start
[2025-01-08 19:18:14] Production.INFO: call_cost end
[2025-01-08 19:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:18:15] Production.INFO: ==7094== Releasing lock...
[2025-01-08 19:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:18:19] Production.INFO: count ==2600
[2025-01-08 19:18:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:18:05 - End Time 2025-01-08 19:18:05
[2025-01-08 19:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204322', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204322', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204322', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204322', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:18:20] Production.INFO: ProcessCDR(1,14204322,1,1,2)
[2025-01-08 19:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204322', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204322', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:18:23] Production.INFO: ==7102== Releasing lock...
[2025-01-08 19:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:18:23] Production.INFO: 47.5 MB #Memory Used#
[2025-01-09 00:19:01] Production.INFO: ==7157== Lock acquired, processing the job...
[2025-01-09 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:19:01] Production.INFO: neon service started
[2025-01-09 00:19:01] Production.INFO: neon service started
[2025-01-09 00:19:01] Production.INFO: ==7157== Releasing lock...
[2025-01-09 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:19:02] Production.INFO: ==7159== Lock acquired, processing the job...
[2025-01-08 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:19:02] Production.INFO: ==7161== Lock acquired, processing the job...
[2025-01-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:19:02] Production.INFO: ==7161== Releasing lock...
[2025-01-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:19:02] Production.INFO: ==7159== Releasing lock...
[2025-01-08 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:19:03] Production.INFO: ==7168== Lock acquired, processing the job...
[2025-01-08 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:19:03] Production.INFO: ==7164== Lock acquired, processing the job...
[2025-01-08 19:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:19:03] Production.INFO: ==7172== Lock acquired, processing the job...
[2025-01-08 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:19:03] Production.INFO: ==7166== Lock acquired, processing the job...
[2025-01-08 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:19:03] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-01-08 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:19:03] Production.INFO: ==7170== Lock acquired, processing the job...
[2025-01-08 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:19:03] Production.INFO: Account Balance Start.
[2025-01-08 19:19:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:19:03] Production.INFO: 117
[2025-01-08 19:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:19:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:19:03] Production.INFO: count ==21
[2025-01-08 19:19:03] Production.ERROR: done
[2025-01-08 19:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:19:04] Production.INFO: Total Charge 0
[2025-01-08 19:19:04] Production.INFO: count ==21
[2025-01-08 19:19:04] Production.INFO: CreateAllLog End
[2025-01-08 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204324') start
[2025-01-08 19:19:04] Production.INFO: ==7166== Releasing lock...
[2025-01-08 19:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:19:04] Production.ERROR: done
[2025-01-08 19:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204324') end
[2025-01-08 19:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:19:04] Production.INFO: 1
[2025-01-08 19:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:19:04] Production.INFO: Account Balance End.
[2025-01-08 19:19:04] Production.INFO: ==7174== Releasing lock...
[2025-01-08 19:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:19:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:19:04] Production.INFO: ==7170== Releasing lock...
[2025-01-08 19:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:19:05
[end_date_ymd] => 2025-01-08 19:19:05
[RateCDR] => 1
)
[2025-01-08 19:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:19:05' and `end` < '2025-01-08 19:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:19:11] Production.ERROR: CronJobId end10
[2025-01-08 19:19:11] Production.INFO: ==7168== Releasing lock...
[2025-01-08 19:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:19:13] Production.INFO: call_cost start
[2025-01-08 19:19:13] Production.INFO: call_cost end
[2025-01-08 19:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:19:14] Production.INFO: ==7164== Releasing lock...
[2025-01-08 19:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:19:18] Production.INFO: count ==2594
[2025-01-08 19:19:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:19:05 - End Time 2025-01-08 19:19:05
[2025-01-08 19:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204327', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204327', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204327', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204327', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:19:19] Production.INFO: ProcessCDR(1,14204327,1,1,2)
[2025-01-08 19:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204327', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204327', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:19:22] Production.INFO: ==7172== Releasing lock...
[2025-01-08 19:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:19:22] Production.INFO: 47.5 MB #Memory Used#
[2025-01-09 00:20:02] Production.INFO: ==7234== Lock acquired, processing the job...
[2025-01-09 00:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:20:02] Production.INFO: neon service started
[2025-01-09 00:20:02] Production.INFO: neon service started
[2025-01-09 00:20:02] Production.INFO: ==7234== Releasing lock...
[2025-01-09 00:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:20:02] Production.INFO: ==7236== Lock acquired, processing the job...
[2025-01-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:20:02] Production.INFO: ==7238== Lock acquired, processing the job...
[2025-01-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 19:20:02] Production.INFO: ==7236== Releasing lock...
[2025-01-08 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:20:02] Production.INFO: ==7238== Releasing lock...
[2025-01-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:20:03] Production.INFO: ==7241== Lock acquired, processing the job...
[2025-01-08 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 19:20:04] Production.INFO: ==7243== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 19:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 19:20:04] Production.INFO: ==7241== Releasing lock...
[2025-01-08 19:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 19:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 19:20:04] Production.INFO: ==7247== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:20:04] Production.INFO: ==7245== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:20:04] Production.INFO: ==7251== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:20:04] Production.INFO: ==7249== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:20:04] Production.INFO: ==7253== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 19:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:20:04] Production.INFO: ==7255== Lock acquired, processing the job...
[2025-01-08 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:20:04] Production.INFO: Account Balance Start.
[2025-01-08 19:20:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:20:04] Production.INFO: 117
[2025-01-08 19:20:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:20:04] Production.ERROR: done
[2025-01-08 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:20:04] Production.ERROR: done
[2025-01-08 19:20:04] Production.INFO: Total Charge 0
[2025-01-08 19:20:04] Production.INFO: CreateAllLog End
[2025-01-08 19:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:20:04] Production.ERROR: done
[2025-01-08 19:20:04] Production.INFO: ==7245== Releasing lock...
[2025-01-08 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:20:04] Production.INFO: count ==21
[2025-01-08 19:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:20:04] Production.INFO: count ==21
[2025-01-08 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204331') start
[2025-01-08 19:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 19:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204333', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 19:20:05] Production.INFO: Account Balance End.
[2025-01-08 19:20:05] Production.ERROR: CronJobId end 12
[2025-01-08 19:20:05] Production.INFO: ==7249== Releasing lock...
[2025-01-08 19:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14204331') end
[2025-01-08 19:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:20:05] Production.INFO: 1
[2025-01-08 19:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:20:05] Production.INFO: ==7255== Releasing lock...
[2025-01-08 19:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:20:06
[end_date_ymd] => 2025-01-08 19:20:06
[RateCDR] => 1
)
[2025-01-08 19:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:20:06' and `end` < '2025-01-08 19:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204333', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 19:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 19:20:09] Production.INFO: ProcessCDR(1,14204333,1,1,2)
[2025-01-08 19:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204333,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204333,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:20:09] Production.INFO: ==7253== Releasing lock...
[2025-01-08 19:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 19:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 19:20:14] Production.ERROR: CronJobId end10
[2025-01-08 19:20:14] Production.INFO: ==7247== Releasing lock...
[2025-01-08 19:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:20:16] Production.INFO: call_cost start
[2025-01-08 19:20:16] Production.INFO: call_cost end
[2025-01-08 19:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:20:17] Production.INFO: ==7243== Releasing lock...
[2025-01-08 19:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:20:19] Production.INFO: count ==2586
[2025-01-08 19:20:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:20:06 - End Time 2025-01-08 19:20:06
[2025-01-08 19:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204332', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204332', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204332', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204332', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:20:20] Production.INFO: ProcessCDR(1,14204332,1,1,2)
[2025-01-08 19:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204332', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204332', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:20:23] Production.INFO: ==7251== Releasing lock...
[2025-01-08 19:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:20:23] Production.INFO: 47.5 MB #Memory Used#
[2025-01-09 00:21:01] Production.INFO: ==7346== Lock acquired, processing the job...
[2025-01-09 00:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:21:01] Production.INFO: neon service started
[2025-01-09 00:21:01] Production.INFO: neon service started
[2025-01-09 00:21:01] Production.INFO: ==7346== Releasing lock...
[2025-01-09 00:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:21:01] Production.INFO: ==7348== Lock acquired, processing the job...
[2025-01-08 19:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:21:02] Production.INFO: ==7348== Releasing lock...
[2025-01-08 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:21:02] Production.INFO: ==7350== Lock acquired, processing the job...
[2025-01-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:21:02] Production.INFO: ==7350== Releasing lock...
[2025-01-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:21:03] Production.INFO: ==7353== Lock acquired, processing the job...
[2025-01-08 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:21:03] Production.INFO: ==7363== Lock acquired, processing the job...
[2025-01-08 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:21:03] Production.INFO: ==7361== Lock acquired, processing the job...
[2025-01-08 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:21:03] Production.INFO: ==7355== Lock acquired, processing the job...
[2025-01-08 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:21:03] Production.INFO: ==7357== Lock acquired, processing the job...
[2025-01-08 19:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:21:03] Production.INFO: count ==21
[2025-01-08 19:21:03] Production.INFO: ==7359== Lock acquired, processing the job...
[2025-01-08 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:21:03] Production.INFO: count ==21
[2025-01-08 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204335') start
[2025-01-08 19:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:21:03] Production.INFO: Account Balance Start.
[2025-01-08 19:21:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:21:03] Production.INFO: 117
[2025-01-08 19:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204335') end
[2025-01-08 19:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:21:03] Production.INFO: 1
[2025-01-08 19:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:21:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:21:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:21:03] Production.ERROR: done
[2025-01-08 19:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:21:03] Production.INFO: ==7363== Releasing lock...
[2025-01-08 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:21:03] Production.INFO: Total Charge 0
[2025-01-08 19:21:03] Production.INFO: CreateAllLog End
[2025-01-08 19:21:03] Production.INFO: ==7355== Releasing lock...
[2025-01-08 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:21:03] Production.ERROR: done
[2025-01-08 19:21:03] Production.INFO: Account Balance End.
[2025-01-08 19:21:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:21:03] Production.INFO: ==7359== Releasing lock...
[2025-01-08 19:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:21:04
[end_date_ymd] => 2025-01-08 19:21:04
[RateCDR] => 1
)
[2025-01-08 19:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:21:04' and `end` < '2025-01-08 19:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:21:12] Production.ERROR: CronJobId end10
[2025-01-08 19:21:12] Production.INFO: ==7357== Releasing lock...
[2025-01-08 19:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:21:13] Production.INFO: call_cost start
[2025-01-08 19:21:13] Production.INFO: call_cost end
[2025-01-08 19:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:21:14] Production.INFO: ==7353== Releasing lock...
[2025-01-08 19:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:21:20] Production.INFO: count ==2528
[2025-01-08 19:21:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:21:04 - End Time 2025-01-08 19:21:04
[2025-01-08 19:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204338', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204338', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204338', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204338', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:21:21] Production.INFO: ProcessCDR(1,14204338,1,1,2)
[2025-01-08 19:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204338', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204338', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:21:25] Production.INFO: ==7361== Releasing lock...
[2025-01-08 19:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:21:25] Production.INFO: 47 MB #Memory Used#
[2025-01-09 00:22:02] Production.INFO: ==7418== Lock acquired, processing the job...
[2025-01-09 00:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:22:02] Production.INFO: neon service started
[2025-01-09 00:22:02] Production.INFO: neon service started
[2025-01-09 00:22:02] Production.INFO: ==7418== Releasing lock...
[2025-01-09 00:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:22:02] Production.INFO: ==7420== Lock acquired, processing the job...
[2025-01-08 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:22:02] Production.INFO: ==7422== Lock acquired, processing the job...
[2025-01-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:22:02] Production.INFO: ==7422== Releasing lock...
[2025-01-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:22:02] Production.INFO: ==7420== Releasing lock...
[2025-01-08 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:22:03] Production.INFO: ==7429== Lock acquired, processing the job...
[2025-01-08 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:22:03] Production.INFO: ==7433== Lock acquired, processing the job...
[2025-01-08 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:22:04] Production.INFO: ==7425== Lock acquired, processing the job...
[2025-01-08 19:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:22:04] Production.INFO: ==7427== Lock acquired, processing the job...
[2025-01-08 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:22:04] Production.INFO: ==7431== Lock acquired, processing the job...
[2025-01-08 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:22:04] Production.INFO: ==7435== Lock acquired, processing the job...
[2025-01-08 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:22:04] Production.INFO: count ==21
[2025-01-08 19:22:04] Production.ERROR: done
[2025-01-08 19:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:22:04] Production.INFO: count ==21
[2025-01-08 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204341') start
[2025-01-08 19:22:04] Production.INFO: Account Balance Start.
[2025-01-08 19:22:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:22:04] Production.INFO: 117
[2025-01-08 19:22:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:22:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:22:04] Production.INFO: Total Charge 0
[2025-01-08 19:22:04] Production.INFO: CreateAllLog End
[2025-01-08 19:22:04] Production.ERROR: done
[2025-01-08 19:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204341') end
[2025-01-08 19:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:22:04] Production.INFO: 1
[2025-01-08 19:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:22:04] Production.INFO: Account Balance End.
[2025-01-08 19:22:04] Production.INFO: ==7427== Releasing lock...
[2025-01-08 19:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:22:04] Production.INFO: ==7435== Releasing lock...
[2025-01-08 19:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:22:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:22:04] Production.INFO: ==7431== Releasing lock...
[2025-01-08 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:22:05
[end_date_ymd] => 2025-01-08 19:22:05
[RateCDR] => 1
)
[2025-01-08 19:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:22:05' and `end` < '2025-01-08 19:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:22:12] Production.ERROR: CronJobId end10
[2025-01-08 19:22:12] Production.INFO: ==7429== Releasing lock...
[2025-01-08 19:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:22:14] Production.INFO: call_cost start
[2025-01-08 19:22:14] Production.INFO: call_cost end
[2025-01-08 19:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:22:14] Production.INFO: ==7425== Releasing lock...
[2025-01-08 19:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:22:19] Production.INFO: count ==2521
[2025-01-08 19:22:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:22:05 - End Time 2025-01-08 19:22:05
[2025-01-08 19:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204343', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204343', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204343', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204343', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:22:20] Production.INFO: ProcessCDR(1,14204343,1,1,2)
[2025-01-08 19:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204343', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204343', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:22:23] Production.INFO: ==7433== Releasing lock...
[2025-01-08 19:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:22:23] Production.INFO: 47 MB #Memory Used#
[2025-01-09 00:23:01] Production.INFO: ==7492== Lock acquired, processing the job...
[2025-01-09 00:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:23:01] Production.INFO: neon service started
[2025-01-09 00:23:01] Production.INFO: neon service started
[2025-01-09 00:23:01] Production.INFO: ==7492== Releasing lock...
[2025-01-09 00:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:23:01] Production.INFO: ==7497== Lock acquired, processing the job...
[2025-01-09 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:23:01] Production.INFO: ==7497== Releasing lock...
[2025-01-09 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:23:02] Production.INFO: ==7495== Lock acquired, processing the job...
[2025-01-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:23:02] Production.INFO: ==7495== Releasing lock...
[2025-01-08 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:23:03] Production.INFO: ==7507== Lock acquired, processing the job...
[2025-01-08 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:23:03] Production.INFO: ==7505== Lock acquired, processing the job...
[2025-01-08 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:23:03] Production.INFO: ==7499== Lock acquired, processing the job...
[2025-01-08 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:23:03] Production.INFO: ==7501== Lock acquired, processing the job...
[2025-01-08 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:23:03] Production.INFO: Account Balance Start.
[2025-01-08 19:23:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:23:03] Production.INFO: 117
[2025-01-08 19:23:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:23:03] Production.INFO: ==7503== Lock acquired, processing the job...
[2025-01-08 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:23:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:23:03] Production.INFO: ==7509== Lock acquired, processing the job...
[2025-01-08 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:23:03] Production.INFO: Total Charge 0
[2025-01-08 19:23:03] Production.INFO: CreateAllLog End
[2025-01-08 19:23:03] Production.ERROR: done
[2025-01-08 19:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:23:03] Production.INFO: count ==21
[2025-01-08 19:23:03] Production.ERROR: done
[2025-01-08 19:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:23:03] Production.INFO: count ==21
[2025-01-08 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204347') start
[2025-01-08 19:23:03] Production.INFO: Account Balance End.
[2025-01-08 19:23:03] Production.INFO: ==7501== Releasing lock...
[2025-01-08 19:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204347') end
[2025-01-08 19:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:23:03] Production.INFO: 1
[2025-01-08 19:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:23:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:23:03] Production.INFO: ==7505== Releasing lock...
[2025-01-08 19:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:23:03] Production.INFO: ==7509== Releasing lock...
[2025-01-08 19:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:23:04
[end_date_ymd] => 2025-01-08 19:23:04
[RateCDR] => 1
)
[2025-01-08 19:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:23:04' and `end` < '2025-01-08 19:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:23:11] Production.ERROR: CronJobId end10
[2025-01-08 19:23:11] Production.INFO: ==7503== Releasing lock...
[2025-01-08 19:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:23:13] Production.INFO: call_cost start
[2025-01-08 19:23:13] Production.INFO: call_cost end
[2025-01-08 19:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:23:13] Production.INFO: ==7499== Releasing lock...
[2025-01-08 19:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:23:18] Production.INFO: count ==2513
[2025-01-08 19:23:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:23:04 - End Time 2025-01-08 19:23:04
[2025-01-08 19:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204348', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204348', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204348', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204348', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:23:19] Production.INFO: ProcessCDR(1,14204348,1,1,2)
[2025-01-08 19:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204348', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204348', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:23:23] Production.INFO: ==7507== Releasing lock...
[2025-01-08 19:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:23:23] Production.INFO: 47 MB #Memory Used#
[2025-01-09 00:24:01] Production.INFO: ==7563== Lock acquired, processing the job...
[2025-01-09 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:24:01] Production.INFO: neon service started
[2025-01-09 00:24:02] Production.INFO: neon service started
[2025-01-09 00:24:02] Production.INFO: ==7563== Releasing lock...
[2025-01-09 00:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:24:02] Production.INFO: ==7565== Lock acquired, processing the job...
[2025-01-08 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:24:02] Production.INFO: ==7565== Releasing lock...
[2025-01-08 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:24:02] Production.INFO: ==7567== Lock acquired, processing the job...
[2025-01-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:24:02] Production.INFO: ==7567== Releasing lock...
[2025-01-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:24:03] Production.INFO: ==7578== Lock acquired, processing the job...
[2025-01-08 19:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:24:03] Production.INFO: ==7570== Lock acquired, processing the job...
[2025-01-08 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:24:03] Production.INFO: ==7580== Lock acquired, processing the job...
[2025-01-08 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:24:03] Production.INFO: ==7572== Lock acquired, processing the job...
[2025-01-08 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:24:03] Production.INFO: ==7574== Lock acquired, processing the job...
[2025-01-08 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:24:03] Production.INFO: ==7576== Lock acquired, processing the job...
[2025-01-08 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:24:03] Production.INFO: count ==21
[2025-01-08 19:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:24:03] Production.INFO: count ==21
[2025-01-08 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204349') start
[2025-01-08 19:24:03] Production.INFO: Account Balance Start.
[2025-01-08 19:24:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:24:03] Production.INFO: 117
[2025-01-08 19:24:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:24:03] Production.INFO: Total Charge 0
[2025-01-08 19:24:03] Production.INFO: CreateAllLog End
[2025-01-08 19:24:03] Production.ERROR: done
[2025-01-08 19:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:24:04] Production.INFO: ==7572== Releasing lock...
[2025-01-08 19:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204349') end
[2025-01-08 19:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:24:04] Production.INFO: 1
[2025-01-08 19:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:24:04] Production.INFO: ==7580== Releasing lock...
[2025-01-08 19:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:24:04] Production.ERROR: done
[2025-01-08 19:24:04] Production.INFO: Account Balance End.
[2025-01-08 19:24:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:24:04] Production.INFO: ==7576== Releasing lock...
[2025-01-08 19:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:24:05
[end_date_ymd] => 2025-01-08 19:24:05
[RateCDR] => 1
)
[2025-01-08 19:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:24:05' and `end` < '2025-01-08 19:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:24:12] Production.ERROR: CronJobId end10
[2025-01-08 19:24:12] Production.INFO: ==7574== Releasing lock...
[2025-01-08 19:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:24:13] Production.INFO: call_cost start
[2025-01-08 19:24:13] Production.INFO: call_cost end
[2025-01-08 19:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:24:14] Production.INFO: ==7570== Releasing lock...
[2025-01-08 19:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:24:18] Production.INFO: count ==2497
[2025-01-08 19:24:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:24:05 - End Time 2025-01-08 19:24:05
[2025-01-08 19:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204353', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204353', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204353', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204353', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:24:19] Production.INFO: ProcessCDR(1,14204353,1,1,2)
[2025-01-08 19:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204353', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204353', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:24:23] Production.INFO: ==7578== Releasing lock...
[2025-01-08 19:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:24:23] Production.INFO: 46.75 MB #Memory Used#
[2025-01-09 00:25:01] Production.INFO: ==7635== Lock acquired, processing the job...
[2025-01-09 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:25:01] Production.INFO: neon service started
[2025-01-09 00:25:01] Production.INFO: neon service started
[2025-01-09 00:25:01] Production.INFO: ==7635== Releasing lock...
[2025-01-09 00:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:25:01] Production.INFO: ==7637== Lock acquired, processing the job...
[2025-01-08 19:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:25:02] Production.INFO: ==7637== Releasing lock...
[2025-01-08 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:25:02] Production.INFO: ==7639== Lock acquired, processing the job...
[2025-01-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:25:02] Production.INFO: ==7639== Releasing lock...
[2025-01-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:25:02] Production.INFO: ==7643== Lock acquired, processing the job...
[2025-01-08 19:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:25:02] Production.INFO: ==7651== Lock acquired, processing the job...
[2025-01-08 19:25:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:25:03] Production.INFO: ==7641== Lock acquired, processing the job...
[2025-01-08 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:25:03] Production.INFO: ==7645== Lock acquired, processing the job...
[2025-01-08 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:25:03] Production.INFO: count ==21
[2025-01-08 19:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:25:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-01-08 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:25:03] Production.INFO: count ==21
[2025-01-08 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204354') start
[2025-01-08 19:25:03] Production.INFO: ==7649== Lock acquired, processing the job...
[2025-01-08 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204354') end
[2025-01-08 19:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:25:03] Production.INFO: 1
[2025-01-08 19:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:25:03] Production.INFO: ==7643== Releasing lock...
[2025-01-08 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:25:03] Production.INFO: Account Balance Start.
[2025-01-08 19:25:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:25:03] Production.INFO: 117
[2025-01-08 19:25:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:25:03] Production.INFO: Total Charge 0
[2025-01-08 19:25:03] Production.INFO: ==7651== Releasing lock...
[2025-01-08 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:25:03] Production.INFO: CreateAllLog End
[2025-01-08 19:25:03] Production.ERROR: done
[2025-01-08 19:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:25:03] Production.ERROR: done
[2025-01-08 19:25:03] Production.INFO: Account Balance End.
[2025-01-08 19:25:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:25:03] Production.INFO: ==7647== Releasing lock...
[2025-01-08 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:25:04
[end_date_ymd] => 2025-01-08 19:25:04
[RateCDR] => 1
)
[2025-01-08 19:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:25:04' and `end` < '2025-01-08 19:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:25:10] Production.ERROR: CronJobId end10
[2025-01-08 19:25:10] Production.INFO: ==7645== Releasing lock...
[2025-01-08 19:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:25:13] Production.INFO: call_cost start
[2025-01-08 19:25:13] Production.INFO: call_cost end
[2025-01-08 19:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:25:13] Production.INFO: ==7641== Releasing lock...
[2025-01-08 19:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:25:17] Production.INFO: count ==2476
[2025-01-08 19:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:25:04 - End Time 2025-01-08 19:25:04
[2025-01-08 19:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204358', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204358', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204358', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204358', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:25:18] Production.INFO: ProcessCDR(1,14204358,1,1,2)
[2025-01-08 19:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204358', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204358', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:25:21] Production.INFO: ==7649== Releasing lock...
[2025-01-08 19:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:25:21] Production.INFO: 47 MB #Memory Used#
[2025-01-09 00:26:01] Production.INFO: ==7709== Lock acquired, processing the job...
[2025-01-09 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:26:01] Production.INFO: neon service started
[2025-01-09 00:26:01] Production.INFO: neon service started
[2025-01-09 00:26:01] Production.INFO: ==7709== Releasing lock...
[2025-01-09 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:26:02] Production.INFO: ==7711== Lock acquired, processing the job...
[2025-01-08 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:26:02] Production.INFO: ==7711== Releasing lock...
[2025-01-08 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:26:02] Production.INFO: ==7713== Lock acquired, processing the job...
[2025-01-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:26:02] Production.INFO: ==7713== Releasing lock...
[2025-01-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:26:03] Production.INFO: ==7715== Lock acquired, processing the job...
[2025-01-08 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:26:03] Production.INFO: ==7719== Lock acquired, processing the job...
[2025-01-08 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:26:03] Production.INFO: ==7721== Lock acquired, processing the job...
[2025-01-08 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:26:03] Production.INFO: Account Balance Start.
[2025-01-08 19:26:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:26:03] Production.INFO: 117
[2025-01-08 19:26:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:26:03] Production.INFO: Total Charge 0
[2025-01-08 19:26:03] Production.INFO: CreateAllLog End
[2025-01-08 19:26:03] Production.INFO: Account Balance End.
[2025-01-08 19:26:03] Production.INFO: ==7717== Lock acquired, processing the job...
[2025-01-08 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:26:03] Production.INFO: ==7723== Lock acquired, processing the job...
[2025-01-08 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:26:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:26:03] Production.INFO: ==7721== Releasing lock...
[2025-01-08 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:26:03] Production.INFO: ==7726== Lock acquired, processing the job...
[2025-01-08 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:26:04] Production.INFO: count ==21
[2025-01-08 19:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:26:04] Production.INFO: count ==21
[2025-01-08 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204362') start
[2025-01-08 19:26:04] Production.ERROR: done
[2025-01-08 19:26:04] Production.INFO: ==7717== Releasing lock...
[2025-01-08 19:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204362') end
[2025-01-08 19:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:26:04] Production.INFO: 1
[2025-01-08 19:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:26:04] Production.INFO: ==7726== Releasing lock...
[2025-01-08 19:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:26:04] Production.ERROR: done
[2025-01-08 19:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:26:05
[end_date_ymd] => 2025-01-08 19:26:05
[RateCDR] => 1
)
[2025-01-08 19:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:26:05' and `end` < '2025-01-08 19:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:26:12] Production.ERROR: CronJobId end10
[2025-01-08 19:26:12] Production.INFO: ==7719== Releasing lock...
[2025-01-08 19:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:26:13] Production.INFO: call_cost start
[2025-01-08 19:26:13] Production.INFO: call_cost end
[2025-01-08 19:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:26:14] Production.INFO: ==7715== Releasing lock...
[2025-01-08 19:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:26:18] Production.INFO: count ==2455
[2025-01-08 19:26:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:26:05 - End Time 2025-01-08 19:26:05
[2025-01-08 19:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204363', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204363', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204363', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204363', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:26:19] Production.INFO: ProcessCDR(1,14204363,1,1,2)
[2025-01-08 19:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204363', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204363', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:26:22] Production.INFO: ==7723== Releasing lock...
[2025-01-08 19:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:26:22] Production.INFO: 46.5 MB #Memory Used#
[2025-01-09 00:27:02] Production.INFO: ==7786== Lock acquired, processing the job...
[2025-01-09 00:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:27:02] Production.INFO: neon service started
[2025-01-09 00:27:02] Production.INFO: neon service started
[2025-01-09 00:27:02] Production.INFO: ==7786== Releasing lock...
[2025-01-09 00:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:27:02] Production.INFO: ==7788== Lock acquired, processing the job...
[2025-01-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:27:02] Production.INFO: ==7788== Releasing lock...
[2025-01-08 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:27:02] Production.INFO: ==7790== Lock acquired, processing the job...
[2025-01-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:27:02] Production.INFO: ==7790== Releasing lock...
[2025-01-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:27:03] Production.INFO: ==7798== Lock acquired, processing the job...
[2025-01-08 19:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:27:03] Production.INFO: ==7794== Lock acquired, processing the job...
[2025-01-08 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:27:03] Production.INFO: ==7792== Lock acquired, processing the job...
[2025-01-08 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:27:03] Production.INFO: ==7796== Lock acquired, processing the job...
[2025-01-08 19:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:27:03] Production.INFO: ==7800== Lock acquired, processing the job...
[2025-01-08 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:27:03] Production.INFO: ==7802== Lock acquired, processing the job...
[2025-01-08 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:27:03] Production.INFO: Account Balance Start.
[2025-01-08 19:27:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:27:03] Production.INFO: 117
[2025-01-08 19:27:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:27:04] Production.INFO: Total Charge 0
[2025-01-08 19:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:27:04] Production.INFO: CreateAllLog End
[2025-01-08 19:27:04] Production.INFO: count ==21
[2025-01-08 19:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:27:04] Production.INFO: count ==21
[2025-01-08 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204367') start
[2025-01-08 19:27:04] Production.INFO: ==7794== Releasing lock...
[2025-01-08 19:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:27:04] Production.ERROR: done
[2025-01-08 19:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204367') end
[2025-01-08 19:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:27:04] Production.INFO: 1
[2025-01-08 19:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:27:04] Production.ERROR: done
[2025-01-08 19:27:04] Production.INFO: ==7802== Releasing lock...
[2025-01-08 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:27:04] Production.INFO: Account Balance End.
[2025-01-08 19:27:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:27:04] Production.INFO: ==7798== Releasing lock...
[2025-01-08 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:27:05
[end_date_ymd] => 2025-01-08 19:27:05
[RateCDR] => 1
)
[2025-01-08 19:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:27:05' and `end` < '2025-01-08 19:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:27:11] Production.ERROR: CronJobId end10
[2025-01-08 19:27:11] Production.INFO: ==7796== Releasing lock...
[2025-01-08 19:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:27:13] Production.INFO: call_cost start
[2025-01-08 19:27:13] Production.INFO: call_cost end
[2025-01-08 19:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:27:14] Production.INFO: ==7792== Releasing lock...
[2025-01-08 19:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:27:18] Production.INFO: count ==2440
[2025-01-08 19:27:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:27:05 - End Time 2025-01-08 19:27:05
[2025-01-08 19:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204368', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204368', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204368', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204368', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:27:19] Production.INFO: ProcessCDR(1,14204368,1,1,2)
[2025-01-08 19:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204368', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204368', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:27:23] Production.INFO: ==7800== Releasing lock...
[2025-01-08 19:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:27:23] Production.INFO: 46.25 MB #Memory Used#
[2025-01-09 00:28:01] Production.INFO: ==7856== Lock acquired, processing the job...
[2025-01-09 00:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:28:01] Production.INFO: neon service started
[2025-01-09 00:28:01] Production.INFO: neon service started
[2025-01-09 00:28:01] Production.INFO: ==7856== Releasing lock...
[2025-01-09 00:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:28:01] Production.INFO: ==7858== Lock acquired, processing the job...
[2025-01-08 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:28:02] Production.INFO: ==7858== Releasing lock...
[2025-01-08 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:28:02] Production.INFO: ==7860== Lock acquired, processing the job...
[2025-01-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:28:02] Production.INFO: ==7860== Releasing lock...
[2025-01-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:28:03] Production.INFO: ==7862== Lock acquired, processing the job...
[2025-01-08 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:28:03] Production.INFO: ==7864== Lock acquired, processing the job...
[2025-01-08 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:28:03] Production.INFO: ==7870== Lock acquired, processing the job...
[2025-01-08 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:28:03] Production.INFO: ==7866== Lock acquired, processing the job...
[2025-01-08 19:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:28:03] Production.INFO: ==7868== Lock acquired, processing the job...
[2025-01-08 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:28:03] Production.INFO: ==7864== Releasing lock...
[2025-01-08 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:28:03] Production.INFO: ==7872== Lock acquired, processing the job...
[2025-01-08 19:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:28:03] Production.ERROR: done
[2025-01-08 19:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:28:03] Production.INFO: Account Balance Start.
[2025-01-08 19:28:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:28:03] Production.INFO: 117
[2025-01-08 19:28:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:28:03] Production.ERROR: done
[2025-01-08 19:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:28:03] Production.INFO: count ==21
[2025-01-08 19:28:03] Production.INFO: Total Charge 0
[2025-01-08 19:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:28:03] Production.INFO: count ==21
[2025-01-08 19:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204372') start
[2025-01-08 19:28:03] Production.INFO: CreateAllLog End
[2025-01-08 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204372') end
[2025-01-08 19:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:28:04] Production.INFO: 1
[2025-01-08 19:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:28:04] Production.INFO: Account Balance End.
[2025-01-08 19:28:04] Production.INFO: ==7872== Releasing lock...
[2025-01-08 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:28:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:28:04] Production.INFO: ==7868== Releasing lock...
[2025-01-08 19:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:28:04
[end_date_ymd] => 2025-01-08 19:28:04
[RateCDR] => 1
)
[2025-01-08 19:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:28:04' and `end` < '2025-01-08 19:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:28:11] Production.ERROR: CronJobId end10
[2025-01-08 19:28:11] Production.INFO: ==7866== Releasing lock...
[2025-01-08 19:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:28:13] Production.INFO: call_cost start
[2025-01-08 19:28:13] Production.INFO: call_cost end
[2025-01-08 19:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:28:14] Production.INFO: ==7862== Releasing lock...
[2025-01-08 19:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:28:17] Production.INFO: count ==2427
[2025-01-08 19:28:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:28:04 - End Time 2025-01-08 19:28:04
[2025-01-08 19:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204373', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204373', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204373', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204373', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:28:18] Production.INFO: ProcessCDR(1,14204373,1,1,2)
[2025-01-08 19:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204373', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204373', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:28:21] Production.INFO: ==7870== Releasing lock...
[2025-01-08 19:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:28:21] Production.INFO: 46.25 MB #Memory Used#
[2025-01-09 00:29:02] Production.INFO: ==7927== Lock acquired, processing the job...
[2025-01-09 00:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:29:02] Production.INFO: neon service started
[2025-01-09 00:29:02] Production.INFO: neon service started
[2025-01-09 00:29:02] Production.INFO: ==7927== Releasing lock...
[2025-01-09 00:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:29:02] Production.INFO: ==7929== Lock acquired, processing the job...
[2025-01-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:29:02] Production.INFO: ==7929== Releasing lock...
[2025-01-08 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:29:02] Production.INFO: ==7931== Lock acquired, processing the job...
[2025-01-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:29:02] Production.INFO: ==7931== Releasing lock...
[2025-01-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:29:03] Production.INFO: ==7935== Lock acquired, processing the job...
[2025-01-08 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:29:03] Production.INFO: ==7943== Lock acquired, processing the job...
[2025-01-08 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:29:03] Production.INFO: ==7933== Lock acquired, processing the job...
[2025-01-08 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:29:03] Production.INFO: count ==21
[2025-01-08 19:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:29:03] Production.INFO: count ==21
[2025-01-08 19:29:03] Production.INFO: ==7937== Lock acquired, processing the job...
[2025-01-08 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204374') start
[2025-01-08 19:29:03] Production.INFO: ==7939== Lock acquired, processing the job...
[2025-01-08 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:29:03] Production.INFO: ==7935== Releasing lock...
[2025-01-08 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204374') end
[2025-01-08 19:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:29:03] Production.INFO: 1
[2025-01-08 19:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:29:03] Production.INFO: ==7941== Lock acquired, processing the job...
[2025-01-08 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:29:03] Production.INFO: Account Balance Start.
[2025-01-08 19:29:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:29:03] Production.INFO: 117
[2025-01-08 19:29:03] Production.INFO: ==7943== Releasing lock...
[2025-01-08 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:29:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:29:04] Production.INFO: Total Charge 0
[2025-01-08 19:29:04] Production.INFO: CreateAllLog End
[2025-01-08 19:29:04] Production.INFO: Account Balance End.
[2025-01-08 19:29:04] Production.ERROR: done
[2025-01-08 19:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:29:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:29:04] Production.INFO: ==7939== Releasing lock...
[2025-01-08 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:29:04] Production.ERROR: done
[2025-01-08 19:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:29:05
[end_date_ymd] => 2025-01-08 19:29:05
[RateCDR] => 1
)
[2025-01-08 19:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:29:05' and `end` < '2025-01-08 19:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:29:12] Production.ERROR: CronJobId end10
[2025-01-08 19:29:12] Production.INFO: ==7937== Releasing lock...
[2025-01-08 19:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:29:13] Production.INFO: call_cost start
[2025-01-08 19:29:13] Production.INFO: call_cost end
[2025-01-08 19:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:29:14] Production.INFO: ==7933== Releasing lock...
[2025-01-08 19:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:29:18] Production.INFO: count ==2432
[2025-01-08 19:29:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:29:05 - End Time 2025-01-08 19:29:05
[2025-01-08 19:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204378', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204378', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204378', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204378', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:29:19] Production.INFO: ProcessCDR(1,14204378,1,1,2)
[2025-01-08 19:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204378', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204378', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:29:24] Production.INFO: ==7941== Releasing lock...
[2025-01-08 19:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:29:24] Production.INFO: 46.25 MB #Memory Used#
[2025-01-09 00:30:01] Production.INFO: ==8001== Lock acquired, processing the job...
[2025-01-09 00:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:30:01] Production.INFO: neon service started
[2025-01-09 00:30:01] Production.INFO: neon service started
[2025-01-09 00:30:01] Production.INFO: ==8001== Releasing lock...
[2025-01-09 00:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:30:01] Production.INFO: ==8005== Lock acquired, processing the job...
[2025-01-09 00:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:30:01] Production.INFO: ==8005== Releasing lock...
[2025-01-09 00:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:30:01] Production.INFO: ==8003== Lock acquired, processing the job...
[2025-01-08 19:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:30:02] Production.INFO: ==8003== Releasing lock...
[2025-01-08 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:30:03] Production.INFO: ==8017== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:30:03] Production.INFO: ==8009== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:30:03] Production.INFO: ==8022== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:30:03] Production.INFO: ==8007== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 19:30:03] Production.INFO: ==8011== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:30:03] Production.ERROR: CronJob PID - 8009
[2025-01-08 19:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 19:30:03] Production.ERROR: CronJob ID - 5
[2025-01-08 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-08 19:30:00
[2025-01-08 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:30:03] Production.ERROR: CronJob PID - 8017
[2025-01-08 19:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-08 19:30:03] Production.ERROR: CronJob ID - 16
[2025-01-08 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-08 19:30:00
[2025-01-08 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:30:03] Production.ERROR: CronJob PID - 8022
[2025-01-08 19:30:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-08 19:30:03] Production.ERROR: CronJob ID - 19
[2025-01-08 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-08 19:30:00
[2025-01-08 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 19:30:03] Production.INFO: ==8007== Releasing lock...
[2025-01-08 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 19:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 19:30:03] Production.INFO: ==8015== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:30:03] Production.INFO: ==8013== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:30:03] Production.INFO: count ==21
[2025-01-08 19:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:30:03] Production.INFO: count ==21
[2025-01-08 19:30:03] Production.INFO: ==8020== Lock acquired, processing the job...
[2025-01-08 19:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 19:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204380') start
[2025-01-08 19:30:03] Production.ERROR: done
[2025-01-08 19:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:30:03] Production.INFO: Account Balance Start.
[2025-01-08 19:30:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:30:03] Production.INFO: 117
[2025-01-08 19:30:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:30:04] Production.INFO: ==8011== Releasing lock...
[2025-01-08 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204380') end
[2025-01-08 19:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:30:04] Production.INFO: 1
[2025-01-08 19:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:30:04] Production.INFO: ==8022== Releasing lock...
[2025-01-08 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:30:04] Production.ERROR: done
[2025-01-08 19:30:04] Production.INFO: Total Charge 0
[2025-01-08 19:30:04] Production.INFO: CreateAllLog End
[2025-01-08 19:30:04] Production.ERROR: done
[2025-01-08 19:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 19:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204384', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 19:30:04] Production.INFO: Account Balance End.
[2025-01-08 19:30:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:30:04] Production.INFO: ==8015== Releasing lock...
[2025-01-08 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:30:05
[end_date_ymd] => 2025-01-08 19:30:05
[RateCDR] => 1
)
[2025-01-08 19:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:30:05' and `end` < '2025-01-08 19:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204384', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 19:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 19:30:08] Production.INFO: ProcessCDR(1,14204384,1,1,2)
[2025-01-08 19:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204384,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204384,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:30:08] Production.INFO: ==8020== Releasing lock...
[2025-01-08 19:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 19:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 19:30:13] Production.ERROR: CronJobId end10
[2025-01-08 19:30:13] Production.INFO: ==8013== Releasing lock...
[2025-01-08 19:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:30:14] Production.INFO: call_cost start
[2025-01-08 19:30:14] Production.INFO: call_cost end
[2025-01-08 19:30:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:30:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:30:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:30:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:30:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:30:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:30:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:30:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:30:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:30:14] Production.INFO: ==8009== Releasing lock...
[2025-01-08 19:30:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:30:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:30:18] Production.INFO: count ==2433
[2025-01-08 19:30:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:30:05 - End Time 2025-01-08 19:30:05
[2025-01-08 19:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204383', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204383', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204383', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204383', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:30:18] Production.INFO: ProcessCDR(1,14204383,1,1,2)
[2025-01-08 19:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204383', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204383', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:30:23] Production.INFO: ==8017== Releasing lock...
[2025-01-08 19:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:30:23] Production.INFO: 46.25 MB #Memory Used#
[2025-01-09 00:31:01] Production.INFO: ==8077== Lock acquired, processing the job...
[2025-01-09 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:31:01] Production.INFO: neon service started
[2025-01-09 00:31:01] Production.INFO: neon service started
[2025-01-09 00:31:01] Production.INFO: ==8077== Releasing lock...
[2025-01-09 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:31:02] Production.INFO: ==8079== Lock acquired, processing the job...
[2025-01-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:31:02] Production.INFO: ==8079== Releasing lock...
[2025-01-08 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:31:02] Production.INFO: ==8081== Lock acquired, processing the job...
[2025-01-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:31:02] Production.INFO: ==8081== Releasing lock...
[2025-01-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:31:03] Production.INFO: ==8090== Lock acquired, processing the job...
[2025-01-08 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:31:03] Production.INFO: ==8084== Lock acquired, processing the job...
[2025-01-08 19:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:31:03] Production.INFO: ==8092== Lock acquired, processing the job...
[2025-01-08 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:31:03] Production.INFO: ==8086== Lock acquired, processing the job...
[2025-01-08 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:31:03] Production.INFO: Account Balance Start.
[2025-01-08 19:31:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:31:03] Production.INFO: 117
[2025-01-08 19:31:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:31:03] Production.INFO: ==8088== Lock acquired, processing the job...
[2025-01-08 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:31:03] Production.INFO: Total Charge 0
[2025-01-08 19:31:03] Production.INFO: CreateAllLog End
[2025-01-08 19:31:03] Production.INFO: ==8094== Lock acquired, processing the job...
[2025-01-08 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:31:03] Production.INFO: Account Balance End.
[2025-01-08 19:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:31:03] Production.INFO: count ==21
[2025-01-08 19:31:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:31:03] Production.INFO: ==8090== Releasing lock...
[2025-01-08 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:31:03] Production.ERROR: done
[2025-01-08 19:31:03] Production.INFO: count ==21
[2025-01-08 19:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:31:03] Production.INFO: ==8086== Releasing lock...
[2025-01-08 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204388') start
[2025-01-08 19:31:04] Production.ERROR: done
[2025-01-08 19:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204388') end
[2025-01-08 19:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:31:04] Production.INFO: 1
[2025-01-08 19:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:31:04] Production.INFO: ==8094== Releasing lock...
[2025-01-08 19:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:31:05
[end_date_ymd] => 2025-01-08 19:31:05
[RateCDR] => 1
)
[2025-01-08 19:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:31:05' and `end` < '2025-01-08 19:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:31:10] Production.ERROR: CronJobId end10
[2025-01-08 19:31:10] Production.INFO: ==8088== Releasing lock...
[2025-01-08 19:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:31:12] Production.INFO: call_cost start
[2025-01-08 19:31:12] Production.INFO: call_cost end
[2025-01-08 19:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:31:13] Production.INFO: ==8084== Releasing lock...
[2025-01-08 19:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:31:18] Production.INFO: count ==2407
[2025-01-08 19:31:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:31:05 - End Time 2025-01-08 19:31:05
[2025-01-08 19:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204389', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204389', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204389', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204389', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:31:19] Production.INFO: ProcessCDR(1,14204389,1,1,2)
[2025-01-08 19:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204389', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204389', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:31:22] Production.INFO: ==8092== Releasing lock...
[2025-01-08 19:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:31:22] Production.INFO: 46.25 MB #Memory Used#
[2025-01-09 00:32:02] Production.INFO: ==8148== Lock acquired, processing the job...
[2025-01-09 00:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:32:02] Production.INFO: neon service started
[2025-01-09 00:32:02] Production.INFO: neon service started
[2025-01-09 00:32:02] Production.INFO: ==8148== Releasing lock...
[2025-01-09 00:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:32:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:32:02] Production.INFO: ==8153== Lock acquired, processing the job...
[2025-01-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:32:02] Production.INFO: ==8153== Releasing lock...
[2025-01-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:32:02] Production.INFO: ==8151== Lock acquired, processing the job...
[2025-01-08 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:32:03] Production.INFO: ==8151== Releasing lock...
[2025-01-08 19:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:32:03] Production.INFO: ==8156== Lock acquired, processing the job...
[2025-01-08 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:32:03] Production.INFO: ==8158== Lock acquired, processing the job...
[2025-01-08 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:32:03] Production.INFO: ==8164== Lock acquired, processing the job...
[2025-01-08 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:32:04] Production.INFO: ==8160== Lock acquired, processing the job...
[2025-01-08 19:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:32:04] Production.INFO: ==8162== Lock acquired, processing the job...
[2025-01-08 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:32:04] Production.INFO: ==8158== Releasing lock...
[2025-01-08 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:32:04] Production.INFO: ==8166== Lock acquired, processing the job...
[2025-01-08 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:32:04] Production.INFO: Account Balance Start.
[2025-01-08 19:32:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:32:04] Production.INFO: 117
[2025-01-08 19:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:32:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:32:04] Production.INFO: Total Charge 0
[2025-01-08 19:32:04] Production.ERROR: done
[2025-01-08 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:32:04] Production.INFO: CreateAllLog End
[2025-01-08 19:32:04] Production.INFO: count ==21
[2025-01-08 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:32:04] Production.INFO: count ==21
[2025-01-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204393') start
[2025-01-08 19:32:04] Production.ERROR: done
[2025-01-08 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204393') end
[2025-01-08 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:32:04] Production.INFO: 1
[2025-01-08 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:32:04] Production.INFO: ==8166== Releasing lock...
[2025-01-08 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:32:04] Production.INFO: Account Balance End.
[2025-01-08 19:32:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:32:04] Production.INFO: ==8162== Releasing lock...
[2025-01-08 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:32:05
[end_date_ymd] => 2025-01-08 19:32:05
[RateCDR] => 1
)
[2025-01-08 19:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:32:05' and `end` < '2025-01-08 19:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:32:11] Production.ERROR: CronJobId end10
[2025-01-08 19:32:11] Production.INFO: ==8160== Releasing lock...
[2025-01-08 19:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:32:13] Production.INFO: call_cost start
[2025-01-08 19:32:13] Production.INFO: call_cost end
[2025-01-08 19:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:32:14] Production.INFO: ==8156== Releasing lock...
[2025-01-08 19:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:32:18] Production.INFO: count ==2391
[2025-01-08 19:32:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:32:05 - End Time 2025-01-08 19:32:05
[2025-01-08 19:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204394', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204394', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204394', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204394', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:32:19] Production.INFO: ProcessCDR(1,14204394,1,1,2)
[2025-01-08 19:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204394', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204394', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:32:22] Production.INFO: ==8164== Releasing lock...
[2025-01-08 19:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:32:22] Production.INFO: 46.5 MB #Memory Used#
[2025-01-09 00:33:01] Production.INFO: ==8218== Lock acquired, processing the job...
[2025-01-09 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:33:01] Production.INFO: neon service started
[2025-01-09 00:33:01] Production.INFO: neon service started
[2025-01-09 00:33:01] Production.INFO: ==8218== Releasing lock...
[2025-01-09 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:33:01] Production.INFO: ==8222== Lock acquired, processing the job...
[2025-01-09 00:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:33:02] Production.INFO: ==8222== Releasing lock...
[2025-01-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:33:02] Production.INFO: ==8220== Lock acquired, processing the job...
[2025-01-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:33:02] Production.INFO: ==8220== Releasing lock...
[2025-01-08 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:33:03] Production.INFO: ==8231== Lock acquired, processing the job...
[2025-01-08 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:33:03] Production.INFO: ==8233== Lock acquired, processing the job...
[2025-01-08 19:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:33:03] Production.INFO: Account Balance Start.
[2025-01-08 19:33:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:33:03] Production.INFO: 117
[2025-01-08 19:33:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:33:03] Production.INFO: Total Charge 0
[2025-01-08 19:33:03] Production.INFO: ==8225== Lock acquired, processing the job...
[2025-01-08 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:33:03] Production.INFO: CreateAllLog End
[2025-01-08 19:33:03] Production.INFO: ==8227== Lock acquired, processing the job...
[2025-01-08 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:33:03] Production.INFO: ==8229== Lock acquired, processing the job...
[2025-01-08 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:33:03] Production.INFO: ==8235== Lock acquired, processing the job...
[2025-01-08 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:33:03] Production.INFO: Account Balance End.
[2025-01-08 19:33:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:33:03] Production.INFO: ==8231== Releasing lock...
[2025-01-08 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:33:03] Production.ERROR: done
[2025-01-08 19:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:33:03] Production.INFO: count ==21
[2025-01-08 19:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:33:03] Production.INFO: count ==21
[2025-01-08 19:33:03] Production.INFO: ==8227== Releasing lock...
[2025-01-08 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204398') start
[2025-01-08 19:33:03] Production.ERROR: done
[2025-01-08 19:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204398') end
[2025-01-08 19:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:33:04] Production.INFO: 1
[2025-01-08 19:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:33:04] Production.INFO: ==8235== Releasing lock...
[2025-01-08 19:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:33:04
[end_date_ymd] => 2025-01-08 19:33:04
[RateCDR] => 1
)
[2025-01-08 19:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:33:04' and `end` < '2025-01-08 19:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:33:11] Production.ERROR: CronJobId end10
[2025-01-08 19:33:11] Production.INFO: ==8229== Releasing lock...
[2025-01-08 19:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:33:13] Production.INFO: call_cost start
[2025-01-08 19:33:13] Production.INFO: call_cost end
[2025-01-08 19:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:33:14] Production.INFO: ==8225== Releasing lock...
[2025-01-08 19:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:33:17] Production.INFO: count ==2392
[2025-01-08 19:33:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:33:04 - End Time 2025-01-08 19:33:04
[2025-01-08 19:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204399', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204399', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204399', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204399', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:33:18] Production.INFO: ProcessCDR(1,14204399,1,1,2)
[2025-01-08 19:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204399', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204399', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:33:21] Production.INFO: ==8233== Releasing lock...
[2025-01-08 19:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:33:21] Production.INFO: 46 MB #Memory Used#
[2025-01-09 00:34:02] Production.INFO: ==8290== Lock acquired, processing the job...
[2025-01-09 00:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:34:02] Production.INFO: neon service started
[2025-01-09 00:34:02] Production.INFO: neon service started
[2025-01-09 00:34:02] Production.INFO: ==8290== Releasing lock...
[2025-01-09 00:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:34:02] Production.INFO: ==8294== Lock acquired, processing the job...
[2025-01-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 19:34:02] Production.INFO: ==8292== Lock acquired, processing the job...
[2025-01-08 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:34:02] Production.INFO: ==8294== Releasing lock...
[2025-01-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:34:02] Production.INFO: ==8292== Releasing lock...
[2025-01-08 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:34:03] Production.INFO: ==8303== Lock acquired, processing the job...
[2025-01-08 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:34:03] Production.INFO: ==8307== Lock acquired, processing the job...
[2025-01-08 19:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:34:03] Production.INFO: Account Balance Start.
[2025-01-08 19:34:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:34:03] Production.INFO: 117
[2025-01-08 19:34:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:34:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:34:03] Production.INFO: Total Charge 0
[2025-01-08 19:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:34:03] Production.INFO: CreateAllLog End
[2025-01-08 19:34:03] Production.INFO: ==8297== Lock acquired, processing the job...
[2025-01-08 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:34:03] Production.INFO: ==8299== Lock acquired, processing the job...
[2025-01-08 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:34:03] Production.INFO: Account Balance End.
[2025-01-08 19:34:03] Production.INFO: count ==21
[2025-01-08 19:34:04] Production.INFO: ==8301== Lock acquired, processing the job...
[2025-01-08 19:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:34:04] Production.INFO: count ==21
[2025-01-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204401') start
[2025-01-08 19:34:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:34:04] Production.INFO: ==8303== Releasing lock...
[2025-01-08 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:34:04] Production.INFO: ==8305== Lock acquired, processing the job...
[2025-01-08 19:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204401') end
[2025-01-08 19:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:34:04] Production.INFO: 1
[2025-01-08 19:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:34:04] Production.INFO: ==8307== Releasing lock...
[2025-01-08 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:34:04] Production.INFO: ==8299== Releasing lock...
[2025-01-08 19:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:34:04] Production.ERROR: done
[2025-01-08 19:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:34:04] Production.ERROR: done
[2025-01-08 19:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:34:05
[end_date_ymd] => 2025-01-08 19:34:05
[RateCDR] => 1
)
[2025-01-08 19:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:34:05' and `end` < '2025-01-08 19:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:34:11] Production.ERROR: CronJobId end10
[2025-01-08 19:34:11] Production.INFO: ==8301== Releasing lock...
[2025-01-08 19:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:34:14] Production.INFO: call_cost start
[2025-01-08 19:34:14] Production.INFO: call_cost end
[2025-01-08 19:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:34:15] Production.INFO: ==8297== Releasing lock...
[2025-01-08 19:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:34:19] Production.INFO: count ==2389
[2025-01-08 19:34:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:34:05 - End Time 2025-01-08 19:34:05
[2025-01-08 19:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204404', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204404', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204404', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204404', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:34:20] Production.INFO: ProcessCDR(1,14204404,1,1,2)
[2025-01-08 19:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204404', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204404', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:34:24] Production.INFO: ==8305== Releasing lock...
[2025-01-08 19:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:34:24] Production.INFO: 46 MB #Memory Used#
[2025-01-09 00:35:01] Production.INFO: ==8359== Lock acquired, processing the job...
[2025-01-09 00:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:35:01] Production.INFO: neon service started
[2025-01-09 00:35:01] Production.INFO: neon service started
[2025-01-09 00:35:01] Production.INFO: ==8359== Releasing lock...
[2025-01-09 00:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:35:01] Production.INFO: ==8361== Lock acquired, processing the job...
[2025-01-08 19:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:35:02] Production.INFO: ==8361== Releasing lock...
[2025-01-08 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:35:02] Production.INFO: ==8363== Lock acquired, processing the job...
[2025-01-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:35:02] Production.INFO: ==8363== Releasing lock...
[2025-01-09 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:35:02] Production.INFO: ==8372== Lock acquired, processing the job...
[2025-01-08 19:35:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:35:03] Production.INFO: ==8376== Lock acquired, processing the job...
[2025-01-08 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:35:03] Production.INFO: Account Balance Start.
[2025-01-08 19:35:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:35:03] Production.INFO: 117
[2025-01-08 19:35:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:35:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:35:03] Production.INFO: count ==21
[2025-01-08 19:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:35:03] Production.INFO: count ==21
[2025-01-08 19:35:03] Production.INFO: Total Charge 0
[2025-01-08 19:35:03] Production.INFO: ==8366== Lock acquired, processing the job...
[2025-01-08 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:35:03] Production.INFO: ==8368== Lock acquired, processing the job...
[2025-01-08 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:35:03] Production.INFO: CreateAllLog End
[2025-01-08 19:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204406') start
[2025-01-08 19:35:03] Production.INFO: ==8370== Lock acquired, processing the job...
[2025-01-08 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204406') end
[2025-01-08 19:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:35:03] Production.INFO: 1
[2025-01-08 19:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:35:03] Production.INFO: Account Balance End.
[2025-01-08 19:35:03] Production.INFO: ==8374== Lock acquired, processing the job...
[2025-01-08 19:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:35:03] Production.INFO: ==8376== Releasing lock...
[2025-01-08 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:35:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:35:03] Production.INFO: ==8372== Releasing lock...
[2025-01-08 19:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:35:03] Production.INFO: ==8368== Releasing lock...
[2025-01-08 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:35:03] Production.ERROR: done
[2025-01-08 19:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:35:03] Production.ERROR: done
[2025-01-08 19:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:35:04
[end_date_ymd] => 2025-01-08 19:35:04
[RateCDR] => 1
)
[2025-01-08 19:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:35:04' and `end` < '2025-01-08 19:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:35:11] Production.ERROR: CronJobId end10
[2025-01-08 19:35:11] Production.INFO: ==8370== Releasing lock...
[2025-01-08 19:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:35:13] Production.INFO: call_cost start
[2025-01-08 19:35:13] Production.INFO: call_cost end
[2025-01-08 19:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:35:14] Production.INFO: ==8366== Releasing lock...
[2025-01-08 19:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:35:18] Production.INFO: count ==2371
[2025-01-08 19:35:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:35:04 - End Time 2025-01-08 19:35:04
[2025-01-08 19:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204409', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204409', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204409', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204409', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:35:18] Production.INFO: ProcessCDR(1,14204409,1,1,2)
[2025-01-08 19:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204409', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204409', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:35:23] Production.INFO: ==8374== Releasing lock...
[2025-01-08 19:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:35:23] Production.INFO: 45.75 MB #Memory Used#
[2025-01-09 00:36:01] Production.INFO: ==8434== Lock acquired, processing the job...
[2025-01-09 00:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:36:01] Production.INFO: neon service started
[2025-01-09 00:36:01] Production.INFO: neon service started
[2025-01-09 00:36:01] Production.INFO: ==8434== Releasing lock...
[2025-01-09 00:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:36:02] Production.INFO: ==8436== Lock acquired, processing the job...
[2025-01-08 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:36:02] Production.INFO: ==8438== Lock acquired, processing the job...
[2025-01-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 19:36:02] Production.INFO: ==8436== Releasing lock...
[2025-01-08 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:36:02] Production.INFO: ==8438== Releasing lock...
[2025-01-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:36:03] Production.INFO: ==8442== Lock acquired, processing the job...
[2025-01-08 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:36:03] Production.INFO: ==8444== Lock acquired, processing the job...
[2025-01-08 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:36:03] Production.INFO: ==8440== Lock acquired, processing the job...
[2025-01-08 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:36:03] Production.INFO: ==8446== Lock acquired, processing the job...
[2025-01-08 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:36:03] Production.INFO: ==8450== Lock acquired, processing the job...
[2025-01-08 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:36:03] Production.INFO: ==8448== Lock acquired, processing the job...
[2025-01-08 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:36:03] Production.INFO: Account Balance Start.
[2025-01-08 19:36:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:36:03] Production.INFO: 117
[2025-01-08 19:36:03] Production.INFO: ==8442== Releasing lock...
[2025-01-08 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:36:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:36:03] Production.INFO: count ==21
[2025-01-08 19:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:36:03] Production.INFO: count ==21
[2025-01-08 19:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204413') start
[2025-01-08 19:36:03] Production.INFO: Total Charge 0
[2025-01-08 19:36:03] Production.INFO: CreateAllLog End
[2025-01-08 19:36:04] Production.ERROR: done
[2025-01-08 19:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204413') end
[2025-01-08 19:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:36:04] Production.INFO: 1
[2025-01-08 19:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:36:04] Production.INFO: ==8450== Releasing lock...
[2025-01-08 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:36:04] Production.ERROR: done
[2025-01-08 19:36:04] Production.INFO: Account Balance End.
[2025-01-08 19:36:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:36:04] Production.INFO: ==8446== Releasing lock...
[2025-01-08 19:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:36:04
[end_date_ymd] => 2025-01-08 19:36:04
[RateCDR] => 1
)
[2025-01-08 19:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:36:04' and `end` < '2025-01-08 19:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:36:11] Production.ERROR: CronJobId end10
[2025-01-08 19:36:11] Production.INFO: ==8444== Releasing lock...
[2025-01-08 19:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:36:13] Production.INFO: call_cost start
[2025-01-08 19:36:13] Production.INFO: call_cost end
[2025-01-08 19:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:36:14] Production.INFO: ==8440== Releasing lock...
[2025-01-08 19:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:36:18] Production.INFO: count ==2358
[2025-01-08 19:36:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:36:04 - End Time 2025-01-08 19:36:04
[2025-01-08 19:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204414', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204414', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204414', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204414', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:36:18] Production.INFO: ProcessCDR(1,14204414,1,1,2)
[2025-01-08 19:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204414', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204414', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:36:22] Production.INFO: ==8448== Releasing lock...
[2025-01-08 19:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:36:22] Production.INFO: 45.75 MB #Memory Used#
[2025-01-09 00:37:02] Production.INFO: ==8542== Lock acquired, processing the job...
[2025-01-09 00:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:37:02] Production.INFO: neon service started
[2025-01-09 00:37:02] Production.INFO: neon service started
[2025-01-09 00:37:02] Production.INFO: ==8542== Releasing lock...
[2025-01-09 00:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:37:02] Production.INFO: ==8544== Lock acquired, processing the job...
[2025-01-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:37:02] Production.INFO: ==8544== Releasing lock...
[2025-01-08 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:37:03] Production.INFO: ==8546== Lock acquired, processing the job...
[2025-01-09 00:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:37:03] Production.INFO: ==8546== Releasing lock...
[2025-01-09 00:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:37:03] Production.INFO: ==8549== Lock acquired, processing the job...
[2025-01-08 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:37:03] Production.INFO: ==8553== Lock acquired, processing the job...
[2025-01-08 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:37:03] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-01-08 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:37:03] Production.INFO: ==8551== Lock acquired, processing the job...
[2025-01-08 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:37:04] Production.INFO: count ==21
[2025-01-08 19:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:37:04] Production.INFO: count ==21
[2025-01-08 19:37:04] Production.INFO: ==8555== Lock acquired, processing the job...
[2025-01-08 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204415') start
[2025-01-08 19:37:04] Production.INFO: ==8557== Lock acquired, processing the job...
[2025-01-08 19:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:37:04] Production.INFO: Account Balance Start.
[2025-01-08 19:37:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:37:04] Production.INFO: 117
[2025-01-08 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204415') end
[2025-01-08 19:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:37:04] Production.INFO: 1
[2025-01-08 19:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:37:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:37:04] Production.INFO: ==8559== Releasing lock...
[2025-01-08 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:37:04] Production.INFO: Total Charge 0
[2025-01-08 19:37:04] Production.INFO: CreateAllLog End
[2025-01-08 19:37:04] Production.INFO: ==8551== Releasing lock...
[2025-01-08 19:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:37:04] Production.ERROR: done
[2025-01-08 19:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:37:04] Production.INFO: Account Balance End.
[2025-01-08 19:37:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:37:04] Production.INFO: ==8555== Releasing lock...
[2025-01-08 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:37:04] Production.ERROR: done
[2025-01-08 19:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:37:05
[end_date_ymd] => 2025-01-08 19:37:05
[RateCDR] => 1
)
[2025-01-08 19:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:37:05' and `end` < '2025-01-08 19:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:37:12] Production.ERROR: CronJobId end10
[2025-01-08 19:37:12] Production.INFO: ==8553== Releasing lock...
[2025-01-08 19:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:37:13] Production.INFO: call_cost start
[2025-01-08 19:37:13] Production.INFO: call_cost end
[2025-01-08 19:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:37:14] Production.INFO: ==8549== Releasing lock...
[2025-01-08 19:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:37:19] Production.INFO: count ==2339
[2025-01-08 19:37:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:37:05 - End Time 2025-01-08 19:37:05
[2025-01-08 19:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204419', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204419', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204419', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204419', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:37:19] Production.INFO: ProcessCDR(1,14204419,1,1,2)
[2025-01-08 19:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204419', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204419', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:37:24] Production.INFO: ==8557== Releasing lock...
[2025-01-08 19:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:37:24] Production.INFO: 45.75 MB #Memory Used#
[2025-01-09 00:38:01] Production.INFO: ==8613== Lock acquired, processing the job...
[2025-01-09 00:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:38:01] Production.INFO: neon service started
[2025-01-09 00:38:01] Production.INFO: neon service started
[2025-01-09 00:38:01] Production.INFO: ==8613== Releasing lock...
[2025-01-09 00:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:38:02] Production.INFO: ==8617== Lock acquired, processing the job...
[2025-01-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:38:02] Production.INFO: ==8617== Releasing lock...
[2025-01-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:38:02] Production.INFO: ==8615== Lock acquired, processing the job...
[2025-01-08 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:38:02] Production.INFO: ==8615== Releasing lock...
[2025-01-08 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:38:03] Production.INFO: ==8622== Lock acquired, processing the job...
[2025-01-08 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:38:03] Production.INFO: ==8626== Lock acquired, processing the job...
[2025-01-08 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:38:03] Production.INFO: ==8628== Lock acquired, processing the job...
[2025-01-08 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:38:03] Production.INFO: Account Balance Start.
[2025-01-08 19:38:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:38:03] Production.INFO: 117
[2025-01-08 19:38:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:38:03] Production.INFO: Total Charge 0
[2025-01-08 19:38:03] Production.INFO: CreateAllLog End
[2025-01-08 19:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:38:03] Production.INFO: ==8620== Lock acquired, processing the job...
[2025-01-08 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:38:03] Production.INFO: ==8622== Releasing lock...
[2025-01-08 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:38:03] Production.INFO: ==8624== Lock acquired, processing the job...
[2025-01-08 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:38:03] Production.INFO: ==8630== Lock acquired, processing the job...
[2025-01-08 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:38:03] Production.INFO: Account Balance End.
[2025-01-08 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:38:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:38:03] Production.INFO: ==8626== Releasing lock...
[2025-01-08 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:38:03] Production.ERROR: done
[2025-01-08 19:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:38:04] Production.ERROR: done
[2025-01-08 19:38:04] Production.INFO: count ==21
[2025-01-08 19:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:38:04] Production.INFO: count ==21
[2025-01-08 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204423') start
[2025-01-08 19:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204423') end
[2025-01-08 19:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:38:04] Production.INFO: 1
[2025-01-08 19:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:38:04] Production.INFO: ==8630== Releasing lock...
[2025-01-08 19:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:38:04
[end_date_ymd] => 2025-01-08 19:38:04
[RateCDR] => 1
)
[2025-01-08 19:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:38:04' and `end` < '2025-01-08 19:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:38:12] Production.ERROR: CronJobId end10
[2025-01-08 19:38:12] Production.INFO: ==8624== Releasing lock...
[2025-01-08 19:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:38:13] Production.INFO: call_cost start
[2025-01-08 19:38:13] Production.INFO: call_cost end
[2025-01-08 19:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:38:14] Production.INFO: ==8620== Releasing lock...
[2025-01-08 19:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:38:19] Production.INFO: count ==2295
[2025-01-08 19:38:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:38:04 - End Time 2025-01-08 19:38:04
[2025-01-08 19:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204424', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204424', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204424', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204424', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:38:19] Production.INFO: ProcessCDR(1,14204424,1,1,2)
[2025-01-08 19:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204424', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204424', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:38:22] Production.INFO: ==8628== Releasing lock...
[2025-01-08 19:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:38:22] Production.INFO: 45.25 MB #Memory Used#
[2025-01-09 00:39:02] Production.INFO: ==8684== Lock acquired, processing the job...
[2025-01-09 00:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:39:02] Production.INFO: neon service started
[2025-01-09 00:39:02] Production.INFO: neon service started
[2025-01-09 00:39:02] Production.INFO: ==8684== Releasing lock...
[2025-01-09 00:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:39:02] Production.INFO: ==8686== Lock acquired, processing the job...
[2025-01-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:39:02] Production.INFO: ==8686== Releasing lock...
[2025-01-08 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:39:02] Production.INFO: ==8688== Lock acquired, processing the job...
[2025-01-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:39:02] Production.INFO: ==8688== Releasing lock...
[2025-01-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:39:03] Production.INFO: ==8691== Lock acquired, processing the job...
[2025-01-08 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:39:03] Production.INFO: ==8695== Lock acquired, processing the job...
[2025-01-08 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:39:03] Production.INFO: ==8697== Lock acquired, processing the job...
[2025-01-08 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:39:03] Production.INFO: Account Balance Start.
[2025-01-08 19:39:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:39:03] Production.INFO: 117
[2025-01-08 19:39:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:39:03] Production.INFO: Total Charge 0
[2025-01-08 19:39:03] Production.INFO: CreateAllLog End
[2025-01-08 19:39:03] Production.INFO: ==8693== Lock acquired, processing the job...
[2025-01-08 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:39:03] Production.INFO: ==8701== Lock acquired, processing the job...
[2025-01-08 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:39:03] Production.INFO: Account Balance End.
[2025-01-08 19:39:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:39:04] Production.INFO: ==8697== Releasing lock...
[2025-01-08 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:39:04] Production.INFO: ==8699== Lock acquired, processing the job...
[2025-01-08 19:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 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-01-08 19:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:39:04] Production.INFO: count ==21
[2025-01-08 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-01-08 19:39:04] Production.INFO: count ==21
[2025-01-08 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204427') start
[2025-01-08 19:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204427') end
[2025-01-08 19:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:39:04] Production.INFO: 1
[2025-01-08 19:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:39:04] Production.INFO: ==8701== Releasing lock...
[2025-01-08 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:39:04] Production.ERROR: done
[2025-01-08 19:39:04] Production.INFO: ==8693== Releasing lock...
[2025-01-08 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:39:04] Production.ERROR: done
[2025-01-08 19:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:39:05
[end_date_ymd] => 2025-01-08 19:39:05
[RateCDR] => 1
)
[2025-01-08 19:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:39:05' and `end` < '2025-01-08 19:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:39:12] Production.ERROR: CronJobId end10
[2025-01-08 19:39:12] Production.INFO: ==8695== Releasing lock...
[2025-01-08 19:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:39:13] Production.INFO: call_cost start
[2025-01-08 19:39:13] Production.INFO: call_cost end
[2025-01-08 19:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:39:14] Production.INFO: ==8691== Releasing lock...
[2025-01-08 19:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:39:18] Production.INFO: count ==2287
[2025-01-08 19:39:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:39:05 - End Time 2025-01-08 19:39:05
[2025-01-08 19:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204429', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204429', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204429', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204429', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:39:19] Production.INFO: ProcessCDR(1,14204429,1,1,2)
[2025-01-08 19:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204429', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204429', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:39:22] Production.INFO: ==8699== Releasing lock...
[2025-01-08 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:39:22] Production.INFO: 45.25 MB #Memory Used#
[2025-01-09 00:40:01] Production.INFO: ==8757== Lock acquired, processing the job...
[2025-01-09 00:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:40:01] Production.INFO: neon service started
[2025-01-09 00:40:01] Production.INFO: neon service started
[2025-01-09 00:40:01] Production.INFO: ==8757== Releasing lock...
[2025-01-09 00:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:40:02] Production.INFO: ==8759== Lock acquired, processing the job...
[2025-01-08 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:40:02] Production.INFO: ==8761== Lock acquired, processing the job...
[2025-01-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:40:02] Production.INFO: ==8761== Releasing lock...
[2025-01-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:40:02] Production.INFO: ==8759== Releasing lock...
[2025-01-08 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:40:03] Production.INFO: ==8763== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 19:40:03] Production.INFO: ==8765== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 19:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:40:03] Production.ERROR: CronJob PID - 8765
[2025-01-08 19:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 19:40:03] Production.ERROR: CronJob ID - 5
[2025-01-08 19:40:03] Production.ERROR: CronJob Last Run Time 2025-01-08 19:40:00
[2025-01-08 19:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 19:40:03] Production.INFO: ==8763== Releasing lock...
[2025-01-08 19:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 19:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 19:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:40:03] Production.INFO: ==8769== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:40:03] Production.INFO: ==8767== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:40:03] Production.INFO: ==8775== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 19:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:40:03] Production.INFO: ==8771== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:40:03] Production.INFO: ==8773== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:40:03] Production.INFO: Account Balance Start.
[2025-01-08 19:40:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:40:03] Production.INFO: 117
[2025-01-08 19:40:03] Production.INFO: ==8777== Lock acquired, processing the job...
[2025-01-08 19:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:40:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:40:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:40:03] Production.ERROR: done
[2025-01-08 19:40:03] Production.INFO: ==8767== Releasing lock...
[2025-01-08 19:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:40:04] Production.INFO: Total Charge 0
[2025-01-08 19:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 19:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204434', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 19:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:40:04] Production.INFO: CreateAllLog End
[2025-01-08 19:40:04] Production.INFO: count ==21
[2025-01-08 19:40:04] Production.ERROR: done
[2025-01-08 19:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:40:04] Production.INFO: count ==21
[2025-01-08 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204433') start
[2025-01-08 19:40:04] Production.ERROR: done
[2025-01-08 19:40:04] Production.INFO: Account Balance End.
[2025-01-08 19:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204433') end
[2025-01-08 19:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:40:04] Production.INFO: 1
[2025-01-08 19:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:40:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:40:04] Production.INFO: ==8771== Releasing lock...
[2025-01-08 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:40:04] Production.INFO: ==8777== Releasing lock...
[2025-01-08 19:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:40:05
[end_date_ymd] => 2025-01-08 19:40:05
[RateCDR] => 1
)
[2025-01-08 19:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:40:05' and `end` < '2025-01-08 19:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204434', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 19:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 19:40:08] Production.INFO: ProcessCDR(1,14204434,1,1,2)
[2025-01-08 19:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204434,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204434,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:40:08] Production.INFO: ==8775== Releasing lock...
[2025-01-08 19:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 19:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 19:40:13] Production.ERROR: CronJobId end10
[2025-01-08 19:40:13] Production.INFO: ==8769== Releasing lock...
[2025-01-08 19:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:40:15] Production.INFO: call_cost start
[2025-01-08 19:40:15] Production.INFO: call_cost end
[2025-01-08 19:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:40:15] Production.INFO: ==8765== Releasing lock...
[2025-01-08 19:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:40:18] Production.INFO: count ==2280
[2025-01-08 19:40:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:40:05 - End Time 2025-01-08 19:40:05
[2025-01-08 19:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204435', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204435', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204435', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204435', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:40:19] Production.INFO: ProcessCDR(1,14204435,1,1,2)
[2025-01-08 19:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204435', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204435', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:40:23] Production.INFO: ==8773== Releasing lock...
[2025-01-08 19:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:40:23] Production.INFO: 45.25 MB #Memory Used#
[2025-01-09 00:41:02] Production.INFO: ==8840== Lock acquired, processing the job...
[2025-01-09 00:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:41:02] Production.INFO: neon service started
[2025-01-09 00:41:02] Production.INFO: neon service started
[2025-01-09 00:41:02] Production.INFO: ==8840== Releasing lock...
[2025-01-09 00:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:41:02] Production.INFO: ==8844== Lock acquired, processing the job...
[2025-01-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:41:02] Production.INFO: ==8844== Releasing lock...
[2025-01-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:41:02] Production.INFO: ==8842== Lock acquired, processing the job...
[2025-01-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:41:02] Production.INFO: ==8842== Releasing lock...
[2025-01-08 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:41:03] Production.INFO: ==8850== Lock acquired, processing the job...
[2025-01-08 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:41:03] Production.INFO: ==8846== Lock acquired, processing the job...
[2025-01-08 19:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:41:03] Production.INFO: ==8848== Lock acquired, processing the job...
[2025-01-08 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:41:03] Production.INFO: ==8857== Lock acquired, processing the job...
[2025-01-08 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:41:03] Production.INFO: ==8852== Lock acquired, processing the job...
[2025-01-08 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:41:03] Production.INFO: count ==21
[2025-01-08 19:41:03] Production.INFO: ==8854== Lock acquired, processing the job...
[2025-01-08 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:41:03] Production.INFO: count ==21
[2025-01-08 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204436') start
[2025-01-08 19:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:41:04] Production.INFO: Account Balance Start.
[2025-01-08 19:41:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:41:04] Production.INFO: 117
[2025-01-08 19:41:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:41:04] Production.INFO: Total Charge 0
[2025-01-08 19:41:04] Production.INFO: CreateAllLog End
[2025-01-08 19:41:04] Production.INFO: ==8848== Releasing lock...
[2025-01-08 19:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204436') end
[2025-01-08 19:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:41:04] Production.INFO: 1
[2025-01-08 19:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:41:04] Production.INFO: ==8857== Releasing lock...
[2025-01-08 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:41:04] Production.ERROR: done
[2025-01-08 19:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:41:04] Production.INFO: Account Balance End.
[2025-01-08 19:41:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:41:04] Production.INFO: ==8852== Releasing lock...
[2025-01-08 19:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:41:04] Production.ERROR: done
[2025-01-08 19:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:41:05
[end_date_ymd] => 2025-01-08 19:41:05
[RateCDR] => 1
)
[2025-01-08 19:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:41:05' and `end` < '2025-01-08 19:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:41:11] Production.ERROR: CronJobId end10
[2025-01-08 19:41:11] Production.INFO: ==8850== Releasing lock...
[2025-01-08 19:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:41:14] Production.INFO: call_cost start
[2025-01-08 19:41:14] Production.INFO: call_cost end
[2025-01-08 19:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:41:15] Production.INFO: ==8846== Releasing lock...
[2025-01-08 19:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:41:18] Production.INFO: count ==2231
[2025-01-08 19:41:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:41:05 - End Time 2025-01-08 19:41:05
[2025-01-08 19:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204440', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204440', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204440', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204440', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:41:19] Production.INFO: ProcessCDR(1,14204440,1,1,2)
[2025-01-08 19:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204440', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204440', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:41:24] Production.INFO: ==8854== Releasing lock...
[2025-01-08 19:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:41:24] Production.INFO: 44.75 MB #Memory Used#
[2025-01-09 00:42:01] Production.INFO: ==8920== Lock acquired, processing the job...
[2025-01-09 00:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:42:01] Production.INFO: neon service started
[2025-01-09 00:42:01] Production.INFO: neon service started
[2025-01-09 00:42:01] Production.INFO: ==8920== Releasing lock...
[2025-01-09 00:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:42:02] Production.INFO: ==8922== Lock acquired, processing the job...
[2025-01-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:42:02] Production.INFO: ==8924== Lock acquired, processing the job...
[2025-01-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:42:02] Production.INFO: ==8924== Releasing lock...
[2025-01-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:42:02] Production.INFO: ==8922== Releasing lock...
[2025-01-08 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:42:03] Production.INFO: ==8931== Lock acquired, processing the job...
[2025-01-08 19:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:42:03] Production.INFO: ==8937== Lock acquired, processing the job...
[2025-01-08 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:42:03] Production.INFO: ==8927== Lock acquired, processing the job...
[2025-01-08 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:42:03] Production.INFO: ==8929== Lock acquired, processing the job...
[2025-01-08 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:42:03] Production.INFO: count ==21
[2025-01-08 19:42:03] Production.INFO: ==8933== Lock acquired, processing the job...
[2025-01-08 19:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:42:03] Production.INFO: count ==21
[2025-01-08 19:42:03] Production.INFO: ==8935== Lock acquired, processing the job...
[2025-01-08 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204441') start
[2025-01-08 19:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204441') end
[2025-01-08 19:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:42:03] Production.INFO: 1
[2025-01-08 19:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:42:03] Production.INFO: Account Balance Start.
[2025-01-08 19:42:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:42:03] Production.INFO: 117
[2025-01-08 19:42:03] Production.INFO: ==8937== Releasing lock...
[2025-01-08 19:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:42:03] Production.INFO: ==8929== Releasing lock...
[2025-01-08 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:42:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:42:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:42:03] Production.INFO: Total Charge 0
[2025-01-08 19:42:03] Production.INFO: CreateAllLog End
[2025-01-08 19:42:03] Production.ERROR: done
[2025-01-08 19:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:42:04] Production.ERROR: done
[2025-01-08 19:42:04] Production.INFO: Account Balance End.
[2025-01-08 19:42:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:42:04] Production.INFO: ==8933== Releasing lock...
[2025-01-08 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:42:04
[end_date_ymd] => 2025-01-08 19:42:04
[RateCDR] => 1
)
[2025-01-08 19:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:42:04' and `end` < '2025-01-08 19:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:42:10] Production.ERROR: CronJobId end10
[2025-01-08 19:42:10] Production.INFO: ==8931== Releasing lock...
[2025-01-08 19:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:42:12] Production.INFO: call_cost start
[2025-01-08 19:42:12] Production.INFO: call_cost end
[2025-01-08 19:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:42:13] Production.INFO: ==8927== Releasing lock...
[2025-01-08 19:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:42:18] Production.INFO: count ==2226
[2025-01-08 19:42:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:42:04 - End Time 2025-01-08 19:42:04
[2025-01-08 19:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204445', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204445', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204445', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204445', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:42:18] Production.INFO: ProcessCDR(1,14204445,1,1,2)
[2025-01-08 19:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204445', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204445', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:42:21] Production.INFO: ==8935== Releasing lock...
[2025-01-08 19:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:42:21] Production.INFO: 44.75 MB #Memory Used#
[2025-01-09 00:43:01] Production.INFO: ==8999== Lock acquired, processing the job...
[2025-01-09 00:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:43:01] Production.INFO: neon service started
[2025-01-09 00:43:01] Production.INFO: neon service started
[2025-01-09 00:43:01] Production.INFO: ==8999== Releasing lock...
[2025-01-09 00:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:43:02] Production.INFO: ==9001== Lock acquired, processing the job...
[2025-01-08 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:43:02] Production.INFO: ==9003== Lock acquired, processing the job...
[2025-01-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:43:02] Production.INFO: ==9003== Releasing lock...
[2025-01-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:43:02] Production.INFO: ==9001== Releasing lock...
[2025-01-08 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:43:03] Production.INFO: ==9010== Lock acquired, processing the job...
[2025-01-08 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:43:03] Production.INFO: ==9014== Lock acquired, processing the job...
[2025-01-08 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:43:03] Production.INFO: ==9006== Lock acquired, processing the job...
[2025-01-08 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:43:03] Production.INFO: ==9008== Lock acquired, processing the job...
[2025-01-08 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:43:03] Production.INFO: ==9012== Lock acquired, processing the job...
[2025-01-08 19:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:43:04] Production.INFO: ==9016== Lock acquired, processing the job...
[2025-01-08 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:43:04] Production.ERROR: done
[2025-01-08 19:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:43:04] Production.INFO: Account Balance Start.
[2025-01-08 19:43:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:43:04] Production.INFO: 117
[2025-01-08 19:43:04] Production.ERROR: done
[2025-01-08 19:43:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:43:04] Production.INFO: count ==21
[2025-01-08 19:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:43:04] Production.INFO: count ==21
[2025-01-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204449') start
[2025-01-08 19:43:04] Production.INFO: Total Charge 0
[2025-01-08 19:43:04] Production.INFO: ==9008== Releasing lock...
[2025-01-08 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:43:04] Production.INFO: CreateAllLog End
[2025-01-08 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204449') end
[2025-01-08 19:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:43:04] Production.INFO: 1
[2025-01-08 19:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:43:04] Production.INFO: ==9016== Releasing lock...
[2025-01-08 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:43:04] Production.INFO: Account Balance End.
[2025-01-08 19:43:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:43:04] Production.INFO: ==9012== Releasing lock...
[2025-01-08 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:43:05
[end_date_ymd] => 2025-01-08 19:43:05
[RateCDR] => 1
)
[2025-01-08 19:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:43:05' and `end` < '2025-01-08 19:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:43:11] Production.ERROR: CronJobId end10
[2025-01-08 19:43:11] Production.INFO: ==9010== Releasing lock...
[2025-01-08 19:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:43:14] Production.INFO: call_cost start
[2025-01-08 19:43:14] Production.INFO: call_cost end
[2025-01-08 19:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:43:14] Production.INFO: ==9006== Releasing lock...
[2025-01-08 19:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:43:18] Production.INFO: count ==2217
[2025-01-08 19:43:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:43:05 - End Time 2025-01-08 19:43:05
[2025-01-08 19:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204450', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204450', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204450', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204450', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:43:19] Production.INFO: ProcessCDR(1,14204450,1,1,2)
[2025-01-08 19:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204450', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204450', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:43:23] Production.INFO: ==9014== Releasing lock...
[2025-01-08 19:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:43:23] Production.INFO: 44.75 MB #Memory Used#
[2025-01-09 00:44:02] Production.INFO: ==9078== Lock acquired, processing the job...
[2025-01-09 00:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:44:02] Production.INFO: neon service started
[2025-01-09 00:44:02] Production.INFO: neon service started
[2025-01-09 00:44:02] Production.INFO: ==9078== Releasing lock...
[2025-01-09 00:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:44:02] Production.INFO: ==9080== Lock acquired, processing the job...
[2025-01-08 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:44:02] Production.INFO: ==9082== Lock acquired, processing the job...
[2025-01-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:44:02] Production.INFO: ==9082== Releasing lock...
[2025-01-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:44:03] Production.INFO: ==9080== Releasing lock...
[2025-01-08 19:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:44:03] Production.INFO: ==9086== Lock acquired, processing the job...
[2025-01-08 19:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:44:03] Production.INFO: ==9088== Lock acquired, processing the job...
[2025-01-08 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:44:03] Production.INFO: ==9097== Lock acquired, processing the job...
[2025-01-08 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:44:04] Production.INFO: ==9090== Lock acquired, processing the job...
[2025-01-08 19:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:44:04] Production.INFO: ==9092== Lock acquired, processing the job...
[2025-01-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:44:04] Production.INFO: ==9095== Lock acquired, processing the job...
[2025-01-08 19:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:44:04] Production.INFO: Account Balance Start.
[2025-01-08 19:44:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:44:04] Production.INFO: 117
[2025-01-08 19:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:44:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:44:04] Production.INFO: Total Charge 0
[2025-01-08 19:44:04] Production.INFO: CreateAllLog End
[2025-01-08 19:44:04] Production.INFO: count ==21
[2025-01-08 19:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:44:04] Production.INFO: count ==21
[2025-01-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204453') start
[2025-01-08 19:44:04] Production.INFO: ==9088== Releasing lock...
[2025-01-08 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204453') end
[2025-01-08 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:44:04] Production.INFO: 1
[2025-01-08 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:44:04] Production.ERROR: done
[2025-01-08 19:44:04] Production.INFO: ==9097== Releasing lock...
[2025-01-08 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:44:04] Production.INFO: Account Balance End.
[2025-01-08 19:44:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:44:04] Production.INFO: ==9092== Releasing lock...
[2025-01-08 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:44:04] Production.ERROR: done
[2025-01-08 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:44:05
[end_date_ymd] => 2025-01-08 19:44:05
[RateCDR] => 1
)
[2025-01-08 19:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:44:05' and `end` < '2025-01-08 19:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:44:12] Production.ERROR: CronJobId end10
[2025-01-08 19:44:12] Production.INFO: ==9090== Releasing lock...
[2025-01-08 19:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:44:14] Production.INFO: call_cost start
[2025-01-08 19:44:14] Production.INFO: call_cost end
[2025-01-08 19:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:44:14] Production.INFO: ==9086== Releasing lock...
[2025-01-08 19:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:44:20] Production.INFO: count ==2202
[2025-01-08 19:44:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:44:05 - End Time 2025-01-08 19:44:05
[2025-01-08 19:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204455', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204455', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204455', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204455', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:44:20] Production.INFO: ProcessCDR(1,14204455,1,1,2)
[2025-01-08 19:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204455', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204455', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:44:23] Production.INFO: ==9095== Releasing lock...
[2025-01-08 19:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:44:23] Production.INFO: 44.5 MB #Memory Used#
[2025-01-09 00:45:01] Production.INFO: ==9159== Lock acquired, processing the job...
[2025-01-09 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:45:01] Production.INFO: neon service started
[2025-01-09 00:45:01] Production.INFO: neon service started
[2025-01-09 00:45:01] Production.INFO: ==9159== Releasing lock...
[2025-01-09 00:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:45:02] Production.INFO: ==9162== Lock acquired, processing the job...
[2025-01-08 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:45:02] Production.INFO: ==9162== Releasing lock...
[2025-01-08 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:45:02] Production.INFO: ==9164== Lock acquired, processing the job...
[2025-01-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:45:02] Production.INFO: ==9164== Releasing lock...
[2025-01-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:45:03] Production.INFO: ==9168== Lock acquired, processing the job...
[2025-01-08 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:45:03] Production.INFO: ==9172== Lock acquired, processing the job...
[2025-01-08 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:45:03] Production.INFO: ==9176== Lock acquired, processing the job...
[2025-01-08 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:45:03] Production.INFO: Account Balance Start.
[2025-01-08 19:45:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:45:03] Production.INFO: 117
[2025-01-08 19:45:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:45:03] Production.INFO: ==9168== Releasing lock...
[2025-01-08 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:45:03] Production.INFO: Total Charge 0
[2025-01-08 19:45:03] Production.INFO: ==9166== Lock acquired, processing the job...
[2025-01-08 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:45:03] Production.INFO: CreateAllLog End
[2025-01-08 19:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:45:03] Production.INFO: ==9170== Lock acquired, processing the job...
[2025-01-08 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:45:03] Production.INFO: count ==21
[2025-01-08 19:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:45:03] Production.INFO: Account Balance End.
[2025-01-08 19:45:03] Production.INFO: count ==21
[2025-01-08 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204458') start
[2025-01-08 19:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:45:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:45:03] Production.INFO: ==9172== Releasing lock...
[2025-01-08 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204458') end
[2025-01-08 19:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:45:03] Production.INFO: 1
[2025-01-08 19:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:45:03] Production.INFO: ==9176== Releasing lock...
[2025-01-08 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:45:03] Production.INFO: ==9174== Lock acquired, processing the job...
[2025-01-08 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:45:03] Production.ERROR: done
[2025-01-08 19:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:45:04] Production.ERROR: done
[2025-01-08 19:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:45:04
[end_date_ymd] => 2025-01-08 19:45:04
[RateCDR] => 1
)
[2025-01-08 19:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:45:04' and `end` < '2025-01-08 19:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:45:11] Production.ERROR: CronJobId end10
[2025-01-08 19:45:11] Production.INFO: ==9170== Releasing lock...
[2025-01-08 19:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:45:12] Production.INFO: call_cost start
[2025-01-08 19:45:12] Production.INFO: call_cost end
[2025-01-08 19:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:45:13] Production.INFO: ==9166== Releasing lock...
[2025-01-08 19:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:45:18] Production.INFO: count ==2198
[2025-01-08 19:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:45:04 - End Time 2025-01-08 19:45:04
[2025-01-08 19:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204460', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204460', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204460', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204460', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:45:18] Production.INFO: ProcessCDR(1,14204460,1,1,2)
[2025-01-08 19:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204460', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204460', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:45:21] Production.INFO: ==9174== Releasing lock...
[2025-01-08 19:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:45:21] Production.INFO: 44.5 MB #Memory Used#
[2025-01-09 00:46:02] Production.INFO: ==9239== Lock acquired, processing the job...
[2025-01-09 00:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:46:02] Production.INFO: neon service started
[2025-01-09 00:46:02] Production.INFO: neon service started
[2025-01-09 00:46:02] Production.INFO: ==9239== Releasing lock...
[2025-01-09 00:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:46:02] Production.INFO: ==9243== Lock acquired, processing the job...
[2025-01-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:46:02] Production.INFO: ==9243== Releasing lock...
[2025-01-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:46:02] Production.INFO: ==9241== Lock acquired, processing the job...
[2025-01-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:46:02] Production.INFO: ==9241== Releasing lock...
[2025-01-08 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:46:03] Production.INFO: ==9247== Lock acquired, processing the job...
[2025-01-08 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:46:03] Production.INFO: ==9253== Lock acquired, processing the job...
[2025-01-08 19:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:46:03] Production.INFO: ==9245== Lock acquired, processing the job...
[2025-01-08 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:46:03] Production.INFO: ==9249== Lock acquired, processing the job...
[2025-01-08 19:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:46:03] Production.INFO: ==9247== Releasing lock...
[2025-01-08 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:46:03] Production.INFO: ==9251== Lock acquired, processing the job...
[2025-01-08 19:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:46:03] Production.INFO: ==9255== Lock acquired, processing the job...
[2025-01-08 19:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:46:04] Production.ERROR: done
[2025-01-08 19:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:46:04] Production.INFO: Account Balance Start.
[2025-01-08 19:46:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:46:04] Production.INFO: 117
[2025-01-08 19:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:46:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:46:04] Production.INFO: Total Charge 0
[2025-01-08 19:46:04] Production.INFO: CreateAllLog End
[2025-01-08 19:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:46:04] Production.ERROR: done
[2025-01-08 19:46:04] Production.INFO: count ==21
[2025-01-08 19:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:46:04] Production.INFO: count ==21
[2025-01-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204464') start
[2025-01-08 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204464') end
[2025-01-08 19:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:46:04] Production.INFO: 1
[2025-01-08 19:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:46:04] Production.INFO: Account Balance End.
[2025-01-08 19:46:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:46:04] Production.INFO: ==9255== Releasing lock...
[2025-01-08 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:46:04] Production.INFO: ==9251== Releasing lock...
[2025-01-08 19:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:46:05
[end_date_ymd] => 2025-01-08 19:46:05
[RateCDR] => 1
)
[2025-01-08 19:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:46:05' and `end` < '2025-01-08 19:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:46:12] Production.ERROR: CronJobId end10
[2025-01-08 19:46:12] Production.INFO: ==9249== Releasing lock...
[2025-01-08 19:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:46:13] Production.INFO: call_cost start
[2025-01-08 19:46:13] Production.INFO: call_cost end
[2025-01-08 19:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:46:14] Production.INFO: ==9245== Releasing lock...
[2025-01-08 19:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:46:18] Production.INFO: count ==2179
[2025-01-08 19:46:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:46:05 - End Time 2025-01-08 19:46:05
[2025-01-08 19:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204465', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204465', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204465', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204465', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:46:18] Production.INFO: ProcessCDR(1,14204465,1,1,2)
[2025-01-08 19:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204465', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204465', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:46:22] Production.INFO: ==9253== Releasing lock...
[2025-01-08 19:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:46:22] Production.INFO: 44.5 MB #Memory Used#
[2025-01-09 00:47:01] Production.INFO: ==9319== Lock acquired, processing the job...
[2025-01-09 00:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:47:01] Production.INFO: neon service started
[2025-01-09 00:47:01] Production.INFO: neon service started
[2025-01-09 00:47:01] Production.INFO: ==9319== Releasing lock...
[2025-01-09 00:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:47:01] Production.INFO: ==9323== Lock acquired, processing the job...
[2025-01-08 19:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:47:02] Production.INFO: ==9323== Releasing lock...
[2025-01-08 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:47:02] Production.INFO: ==9325== Lock acquired, processing the job...
[2025-01-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:47:02] Production.INFO: ==9325== Releasing lock...
[2025-01-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:47:02] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-01-08 19:47:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:47:02] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-01-08 19:47:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:47:02] Production.INFO: Account Balance Start.
[2025-01-08 19:47:02] Production.INFO: CreateAllLog Start
[2025-01-08 19:47:02] Production.INFO: 117
[2025-01-08 19:47:02] Production.INFO: Date 2025-01-08
[2025-01-08 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:47:03] Production.INFO: ==9329== Releasing lock...
[2025-01-08 19:47:03] Production.INFO: Total Charge 0
[2025-01-08 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:47:03] Production.INFO: ==9337== Lock acquired, processing the job...
[2025-01-08 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:47:03] Production.INFO: CreateAllLog End
[2025-01-08 19:47:03] Production.INFO: Account Balance End.
[2025-01-08 19:47:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:47:03] Production.INFO: ==9333== Releasing lock...
[2025-01-08 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:47:03] Production.INFO: ==9327== Lock acquired, processing the job...
[2025-01-08 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:47:03] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-01-08 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:47:03] Production.INFO: ==9335== Lock acquired, processing the job...
[2025-01-08 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:47:03] Production.INFO: count ==21
[2025-01-08 19:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:47:03] Production.INFO: count ==21
[2025-01-08 19:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204468') start
[2025-01-08 19:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204468') end
[2025-01-08 19:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:47:03] Production.INFO: 1
[2025-01-08 19:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:47:03] Production.INFO: ==9337== Releasing lock...
[2025-01-08 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:47:03] Production.ERROR: done
[2025-01-08 19:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:47:03] Production.ERROR: done
[2025-01-08 19:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:47:04
[end_date_ymd] => 2025-01-08 19:47:04
[RateCDR] => 1
)
[2025-01-08 19:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:47:04' and `end` < '2025-01-08 19:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:47:11] Production.ERROR: CronJobId end10
[2025-01-08 19:47:11] Production.INFO: ==9331== Releasing lock...
[2025-01-08 19:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:47:12] Production.INFO: call_cost start
[2025-01-08 19:47:12] Production.INFO: call_cost end
[2025-01-08 19:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:47:13] Production.INFO: ==9327== Releasing lock...
[2025-01-08 19:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:47:18] Production.INFO: count ==2170
[2025-01-08 19:47:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:47:04 - End Time 2025-01-08 19:47:04
[2025-01-08 19:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204470', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204470', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204470', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204470', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:47:18] Production.INFO: ProcessCDR(1,14204470,1,1,2)
[2025-01-08 19:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204470', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204470', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:47:21] Production.INFO: ==9335== Releasing lock...
[2025-01-08 19:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:47:21] Production.INFO: 44.5 MB #Memory Used#
[2025-01-09 00:48:01] Production.INFO: ==9404== Lock acquired, processing the job...
[2025-01-09 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:48:02] Production.INFO: neon service started
[2025-01-09 00:48:02] Production.INFO: neon service started
[2025-01-09 00:48:02] Production.INFO: ==9404== Releasing lock...
[2025-01-09 00:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:48:02] Production.INFO: ==9406== Lock acquired, processing the job...
[2025-01-08 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:48:02] Production.INFO: ==9408== Lock acquired, processing the job...
[2025-01-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:48:02] Production.INFO: ==9408== Releasing lock...
[2025-01-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:48:03] Production.INFO: ==9406== Releasing lock...
[2025-01-08 19:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:48:03] Production.INFO: ==9411== Lock acquired, processing the job...
[2025-01-08 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:48:03] Production.INFO: ==9413== Lock acquired, processing the job...
[2025-01-08 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:48:03] Production.INFO: ==9416== Lock acquired, processing the job...
[2025-01-08 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:48:04] Production.INFO: ==9418== Lock acquired, processing the job...
[2025-01-08 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:48:04] Production.INFO: ==9422== Lock acquired, processing the job...
[2025-01-08 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:48:04] Production.INFO: ==9420== Lock acquired, processing the job...
[2025-01-08 19:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:48:04] Production.INFO: Account Balance Start.
[2025-01-08 19:48:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:48:04] Production.INFO: 117
[2025-01-08 19:48:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:48:04] Production.INFO: ==9413== Releasing lock...
[2025-01-08 19:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:48:04] Production.INFO: count ==21
[2025-01-08 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:48:04] Production.INFO: count ==21
[2025-01-08 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204474') start
[2025-01-08 19:48:04] Production.INFO: Total Charge 0
[2025-01-08 19:48:04] Production.INFO: CreateAllLog End
[2025-01-08 19:48:04] Production.INFO: Account Balance End.
[2025-01-08 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204474') end
[2025-01-08 19:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:48:04] Production.INFO: 1
[2025-01-08 19:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:48:04] Production.INFO: ==9422== Releasing lock...
[2025-01-08 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:48:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:48:04] Production.INFO: ==9418== Releasing lock...
[2025-01-08 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:48:04] Production.ERROR: done
[2025-01-08 19:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:48:04] Production.ERROR: done
[2025-01-08 19:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:48:05
[end_date_ymd] => 2025-01-08 19:48:05
[RateCDR] => 1
)
[2025-01-08 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-01-08 16:48:05' and `end` < '2025-01-08 19:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:48:13] Production.ERROR: CronJobId end10
[2025-01-08 19:48:13] Production.INFO: ==9416== Releasing lock...
[2025-01-08 19:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:48:14] Production.INFO: call_cost start
[2025-01-08 19:48:14] Production.INFO: call_cost end
[2025-01-08 19:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:48:15] Production.INFO: ==9411== Releasing lock...
[2025-01-08 19:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:48:19] Production.INFO: count ==2164
[2025-01-08 19:48:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:48:05 - End Time 2025-01-08 19:48:05
[2025-01-08 19:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204475', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204475', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204475', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204475', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:48:19] Production.INFO: ProcessCDR(1,14204475,1,1,2)
[2025-01-08 19:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204475', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204475', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:48:22] Production.INFO: ==9420== Releasing lock...
[2025-01-08 19:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:48:22] Production.INFO: 44.75 MB #Memory Used#
[2025-01-09 00:49:01] Production.INFO: ==9490== Lock acquired, processing the job...
[2025-01-09 00:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:49:01] Production.INFO: neon service started
[2025-01-09 00:49:01] Production.INFO: neon service started
[2025-01-09 00:49:01] Production.INFO: ==9490== Releasing lock...
[2025-01-09 00:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:49:01] Production.INFO: ==9492== Lock acquired, processing the job...
[2025-01-08 19:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:49:02] Production.INFO: ==9492== Releasing lock...
[2025-01-08 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:49:02] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-01-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:49:02] Production.INFO: ==9494== Releasing lock...
[2025-01-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:49:02] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-01-08 19:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:49:03] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-01-08 19:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:49:03] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-01-08 19:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:49:03] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-01-08 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:49:03] Production.INFO: ==9506== Lock acquired, processing the job...
[2025-01-08 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:49:03] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-01-08 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:49:03] Production.INFO: count ==21
[2025-01-08 19:49:03] Production.ERROR: done
[2025-01-08 19:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:49:03] Production.INFO: count ==21
[2025-01-08 19:49:03] Production.INFO: Account Balance Start.
[2025-01-08 19:49:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:49:03] Production.INFO: ==9498== Releasing lock...
[2025-01-08 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204478') start
[2025-01-08 19:49:03] Production.INFO: 117
[2025-01-08 19:49:03] Production.ERROR: done
[2025-01-08 19:49:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:49:03] Production.INFO: Total Charge 0
[2025-01-08 19:49:03] Production.INFO: CreateAllLog End
[2025-01-08 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204478') end
[2025-01-08 19:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:49:03] Production.INFO: 1
[2025-01-08 19:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:49:03] Production.INFO: Account Balance End.
[2025-01-08 19:49:03] Production.INFO: ==9506== Releasing lock...
[2025-01-08 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:49:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:49:03] Production.INFO: ==9502== Releasing lock...
[2025-01-08 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:49:04
[end_date_ymd] => 2025-01-08 19:49:04
[RateCDR] => 1
)
[2025-01-08 19:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:49:04' and `end` < '2025-01-08 19:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:49:11] Production.ERROR: CronJobId end10
[2025-01-08 19:49:11] Production.INFO: ==9500== Releasing lock...
[2025-01-08 19:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:49:12] Production.INFO: call_cost start
[2025-01-08 19:49:12] Production.INFO: call_cost end
[2025-01-08 19:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:49:13] Production.INFO: ==9496== Releasing lock...
[2025-01-08 19:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:49:17] Production.INFO: count ==2160
[2025-01-08 19:49:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:49:04 - End Time 2025-01-08 19:49:04
[2025-01-08 19:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204480', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204480', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204480', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204480', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:49:18] Production.INFO: ProcessCDR(1,14204480,1,1,2)
[2025-01-08 19:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204480', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204480', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:49:21] Production.INFO: ==9504== Releasing lock...
[2025-01-08 19:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:49:21] Production.INFO: 44.25 MB #Memory Used#
[2025-01-09 00:50:01] Production.INFO: ==9572== Lock acquired, processing the job...
[2025-01-09 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:50:01] Production.INFO: neon service started
[2025-01-09 00:50:01] Production.INFO: neon service started
[2025-01-09 00:50:01] Production.INFO: ==9572== Releasing lock...
[2025-01-09 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:50:02] Production.INFO: ==9574== Lock acquired, processing the job...
[2025-01-08 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:50:02] Production.INFO: ==9576== Lock acquired, processing the job...
[2025-01-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:50:02] Production.INFO: ==9576== Releasing lock...
[2025-01-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:50:03] Production.INFO: ==9574== Releasing lock...
[2025-01-08 19:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:50:03] Production.INFO: ==9585== Lock acquired, processing the job...
[2025-01-08 19:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:50:04] Production.INFO: ==9589== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:50:04] Production.INFO: ==9593== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:50:04] Production.INFO: ==9579== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: ==9581== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:50:04] Production.INFO: ==9583== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:50:04] Production.INFO: count ==21
[2025-01-08 19:50:04] Production.ERROR: done
[2025-01-08 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:50:04] Production.INFO: count ==21
[2025-01-08 19:50:04] Production.INFO: ==9591== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204481') start
[2025-01-08 19:50:04] Production.INFO: ==9587== Lock acquired, processing the job...
[2025-01-08 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:50:04] Production.ERROR: CronJob PID - 9581
[2025-01-08 19:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 19:50:04] Production.ERROR: CronJob ID - 5
[2025-01-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:50:00
[2025-01-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:50:04] Production.ERROR: CronJob PID - 9583
[2025-01-08 19:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-08 19:50:04] Production.ERROR: CronJob ID - 7
[2025-01-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:50:00
[2025-01-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:50:04] Production.ERROR: CronJob PID - 9585
[2025-01-08 19:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 19:50:04] Production.ERROR: CronJob ID - 10
[2025-01-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:50:00
[2025-01-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:50:04] Production.ERROR: CronJob PID - 9589
[2025-01-08 19:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-08 19:50:04] Production.ERROR: CronJob ID - 16
[2025-01-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:50:00
[2025-01-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:50:04] Production.ERROR: CronJob PID - 9591
[2025-01-08 19:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-08 19:50:04] Production.ERROR: CronJob ID - 17
[2025-01-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:50:00
[2025-01-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 19:50:04] Production.ERROR: CronJob PID - 9593
[2025-01-08 19:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-08 19:50:04] Production.ERROR: CronJob ID - 19
[2025-01-08 19:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 19:50:00
[2025-01-08 19:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:50:04] Production.ERROR: done
[2025-01-08 19:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 19:50:04] Production.INFO: ==9579== Releasing lock...
[2025-01-08 19:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 19:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204481') end
[2025-01-08 19:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:50:04] Production.INFO: 1
[2025-01-08 19:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:50:04] Production.INFO: Account Balance Start.
[2025-01-08 19:50:04] Production.INFO: CreateAllLog Start
[2025-01-08 19:50:04] Production.INFO: 117
[2025-01-08 19:50:04] Production.INFO: Date 2025-01-08
[2025-01-08 19:50:04] Production.INFO: ==9593== Releasing lock...
[2025-01-08 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:50:04] Production.INFO: Total Charge 0
[2025-01-08 19:50:04] Production.INFO: CreateAllLog End
[2025-01-08 19:50:05] Production.ERROR: done
[2025-01-08 19:50:05] Production.INFO: ==9583== Releasing lock...
[2025-01-08 19:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:50:05] Production.INFO: Account Balance End.
[2025-01-08 19:50:05] Production.ERROR: CronJobId end 12
[2025-01-08 19:50:05] Production.INFO: ==9587== Releasing lock...
[2025-01-08 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 19:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204486', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 19:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:50:05
[end_date_ymd] => 2025-01-08 19:50:05
[RateCDR] => 1
)
[2025-01-08 19:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:50:05' and `end` < '2025-01-08 19:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204486', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 19:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 19:50:08] Production.INFO: ProcessCDR(1,14204486,1,1,2)
[2025-01-08 19:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204486,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204486,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:50:09] Production.INFO: ==9591== Releasing lock...
[2025-01-08 19:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 19:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 19:50:14] Production.ERROR: CronJobId end10
[2025-01-08 19:50:14] Production.INFO: ==9585== Releasing lock...
[2025-01-08 19:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:50:15] Production.INFO: call_cost start
[2025-01-08 19:50:15] Production.INFO: call_cost end
[2025-01-08 19:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:50:16] Production.INFO: ==9581== Releasing lock...
[2025-01-08 19:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:50:19] Production.INFO: count ==2146
[2025-01-08 19:50:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:50:05 - End Time 2025-01-08 19:50:05
[2025-01-08 19:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204484', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204484', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204484', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204484', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:50:19] Production.INFO: ProcessCDR(1,14204484,1,1,2)
[2025-01-08 19:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204484,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204484,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204484', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204484', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:50:23] Production.INFO: ==9589== Releasing lock...
[2025-01-08 19:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:50:23] Production.INFO: 44.25 MB #Memory Used#
[2025-01-09 00:51:01] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-01-09 00:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:51:01] Production.INFO: neon service started
[2025-01-09 00:51:01] Production.INFO: neon service started
[2025-01-09 00:51:01] Production.INFO: ==9663== Releasing lock...
[2025-01-09 00:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:51:01] Production.INFO: ==9667== Lock acquired, processing the job...
[2025-01-08 19:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:51:02] Production.INFO: ==9669== Lock acquired, processing the job...
[2025-01-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:51:02] Production.INFO: ==9669== Releasing lock...
[2025-01-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:51:02] Production.INFO: ==9667== Releasing lock...
[2025-01-08 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:51:03] Production.INFO: ==9672== Lock acquired, processing the job...
[2025-01-08 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:51:03] Production.INFO: ==9674== Lock acquired, processing the job...
[2025-01-08 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:51:03] Production.INFO: ==9680== Lock acquired, processing the job...
[2025-01-08 19:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:51:03] Production.INFO: ==9676== Lock acquired, processing the job...
[2025-01-08 19:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:51:03] Production.INFO: ==9678== Lock acquired, processing the job...
[2025-01-08 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:51:03] Production.INFO: ==9682== Lock acquired, processing the job...
[2025-01-08 19:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:51:03] Production.INFO: ==9674== Releasing lock...
[2025-01-08 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:51:03] Production.ERROR: done
[2025-01-08 19:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:51:03] Production.INFO: count ==21
[2025-01-08 19:51:03] Production.INFO: Account Balance Start.
[2025-01-08 19:51:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:51:03] Production.INFO: 117
[2025-01-08 19:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:51:03] Production.INFO: count ==21
[2025-01-08 19:51:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204489') start
[2025-01-08 19:51:03] Production.ERROR: done
[2025-01-08 19:51:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:51:03] Production.INFO: Total Charge 0
[2025-01-08 19:51:03] Production.INFO: CreateAllLog End
[2025-01-08 19:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204489') end
[2025-01-08 19:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:51:03] Production.INFO: 1
[2025-01-08 19:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:51:04] Production.INFO: ==9682== Releasing lock...
[2025-01-08 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:51:04] Production.INFO: Account Balance End.
[2025-01-08 19:51:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:51:04] Production.INFO: ==9678== Releasing lock...
[2025-01-08 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:51:04
[end_date_ymd] => 2025-01-08 19:51:04
[RateCDR] => 1
)
[2025-01-08 19:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:51:04' and `end` < '2025-01-08 19:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:51:12] Production.ERROR: CronJobId end10
[2025-01-08 19:51:12] Production.INFO: ==9676== Releasing lock...
[2025-01-08 19:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:51:13] Production.INFO: call_cost start
[2025-01-08 19:51:13] Production.INFO: call_cost end
[2025-01-08 19:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:51:14] Production.INFO: ==9672== Releasing lock...
[2025-01-08 19:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:51:18] Production.INFO: count ==2105
[2025-01-08 19:51:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:51:04 - End Time 2025-01-08 19:51:04
[2025-01-08 19:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204491', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204491', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204491', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204491', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:51:18] Production.INFO: ProcessCDR(1,14204491,1,1,2)
[2025-01-08 19:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204491', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204491', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:51:21] Production.INFO: ==9680== Releasing lock...
[2025-01-08 19:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:51:21] Production.INFO: 43.75 MB #Memory Used#
[2025-01-09 00:52:01] Production.INFO: ==9800== Lock acquired, processing the job...
[2025-01-09 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:52:01] Production.INFO: neon service started
[2025-01-09 00:52:01] Production.INFO: neon service started
[2025-01-09 00:52:01] Production.INFO: ==9800== Releasing lock...
[2025-01-09 00:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:52:02] Production.INFO: ==9803== Lock acquired, processing the job...
[2025-01-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:52:02] Production.INFO: ==9805== Lock acquired, processing the job...
[2025-01-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:52:02] Production.INFO: ==9805== Releasing lock...
[2025-01-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:52:02] Production.INFO: ==9803== Releasing lock...
[2025-01-08 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:52:03] Production.INFO: ==9807== Lock acquired, processing the job...
[2025-01-08 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:52:03] Production.INFO: ==9811== Lock acquired, processing the job...
[2025-01-08 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:52:03] Production.INFO: ==9815== Lock acquired, processing the job...
[2025-01-08 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:52:03] Production.INFO: ==9809== Lock acquired, processing the job...
[2025-01-08 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:52:03] Production.INFO: ==9813== Lock acquired, processing the job...
[2025-01-08 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:52:03] Production.INFO: ==9817== Lock acquired, processing the job...
[2025-01-08 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:52:03] Production.INFO: Account Balance Start.
[2025-01-08 19:52:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:52:03] Production.INFO: 117
[2025-01-08 19:52:03] Production.ERROR: done
[2025-01-08 19:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:52:04] Production.INFO: Date 2025-01-08
[2025-01-08 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-01-08 19:52:04] Production.INFO: Reseller ==> 0
[2025-01-08 19:52:04] Production.INFO: count ==21
[2025-01-08 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-01-08 19:52:04] Production.INFO: count ==21
[2025-01-08 19:52:04] Production.INFO: Total Charge 0
[2025-01-08 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204495') start
[2025-01-08 19:52:04] Production.ERROR: done
[2025-01-08 19:52:04] Production.INFO: CreateAllLog End
[2025-01-08 19:52:04] Production.INFO: ==9809== Releasing lock...
[2025-01-08 19:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204495') end
[2025-01-08 19:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:52:04] Production.INFO: 1
[2025-01-08 19:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:52:04] Production.INFO: ==9817== Releasing lock...
[2025-01-08 19:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:52:04] Production.INFO: Account Balance End.
[2025-01-08 19:52:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:52:04] Production.INFO: ==9813== Releasing lock...
[2025-01-08 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:52:05
[end_date_ymd] => 2025-01-08 19:52:05
[RateCDR] => 1
)
[2025-01-08 19:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:52:05' and `end` < '2025-01-08 19:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:52:12] Production.ERROR: CronJobId end10
[2025-01-08 19:52:12] Production.INFO: ==9811== Releasing lock...
[2025-01-08 19:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:52:13] Production.INFO: call_cost start
[2025-01-08 19:52:13] Production.INFO: call_cost end
[2025-01-08 19:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:52:14] Production.INFO: ==9807== Releasing lock...
[2025-01-08 19:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:52:20] Production.INFO: count ==2100
[2025-01-08 19:52:21] Production.ERROR: pbx CDR StartTime 2025-01-08 16:52:05 - End Time 2025-01-08 19:52:05
[2025-01-08 19:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204496', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204496', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204496', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204496', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:52:21] Production.INFO: ProcessCDR(1,14204496,1,1,2)
[2025-01-08 19:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204496', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204496', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:52:25] Production.INFO: ==9815== Releasing lock...
[2025-01-08 19:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:52:25] Production.INFO: 44 MB #Memory Used#
[2025-01-09 00:53:02] Production.INFO: ==9897== Lock acquired, processing the job...
[2025-01-09 00:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:53:02] Production.INFO: neon service started
[2025-01-09 00:53:02] Production.INFO: neon service started
[2025-01-09 00:53:02] Production.INFO: ==9897== Releasing lock...
[2025-01-09 00:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:53:02] Production.INFO: ==9899== Lock acquired, processing the job...
[2025-01-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:53:02] Production.INFO: ==9899== Releasing lock...
[2025-01-08 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:53:02] Production.INFO: ==9901== Lock acquired, processing the job...
[2025-01-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:53:03] Production.INFO: ==9901== Releasing lock...
[2025-01-09 00:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:53:03] Production.INFO: ==9904== Lock acquired, processing the job...
[2025-01-08 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:53:03] Production.INFO: ==9910== Lock acquired, processing the job...
[2025-01-08 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:53:03] Production.INFO: ==9912== Lock acquired, processing the job...
[2025-01-08 19:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:53:03] Production.INFO: Account Balance Start.
[2025-01-08 19:53:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:53:03] Production.INFO: 117
[2025-01-08 19:53:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:53:03] Production.INFO: Total Charge 0
[2025-01-08 19:53:04] Production.INFO: ==9906== Lock acquired, processing the job...
[2025-01-08 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:53:04] Production.INFO: ==9908== Lock acquired, processing the job...
[2025-01-08 19:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:53:04] Production.INFO: CreateAllLog End
[2025-01-08 19:53:04] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-01-08 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:53:04] Production.ERROR: done
[2025-01-08 19:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:53:04] Production.INFO: count ==21
[2025-01-08 19:53:04] Production.INFO: Account Balance End.
[2025-01-08 19:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:53:04] Production.INFO: count ==21
[2025-01-08 19:53:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:53:04] Production.INFO: ==9910== Releasing lock...
[2025-01-08 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204499') start
[2025-01-08 19:53:04] Production.ERROR: done
[2025-01-08 19:53:04] Production.INFO: ==9906== Releasing lock...
[2025-01-08 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204499') end
[2025-01-08 19:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:53:04] Production.INFO: 1
[2025-01-08 19:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:53:04] Production.INFO: ==9914== Releasing lock...
[2025-01-08 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:53:05
[end_date_ymd] => 2025-01-08 19:53:05
[RateCDR] => 1
)
[2025-01-08 19:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:53:05' and `end` < '2025-01-08 19:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:53:12] Production.ERROR: CronJobId end10
[2025-01-08 19:53:12] Production.INFO: ==9908== Releasing lock...
[2025-01-08 19:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:53:14] Production.INFO: call_cost start
[2025-01-08 19:53:14] Production.INFO: call_cost end
[2025-01-08 19:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:53:14] Production.INFO: ==9904== Releasing lock...
[2025-01-08 19:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:53:18] Production.INFO: count ==2088
[2025-01-08 19:53:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:53:05 - End Time 2025-01-08 19:53:05
[2025-01-08 19:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204501', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204501', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204501', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204501', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:53:19] Production.INFO: ProcessCDR(1,14204501,1,1,2)
[2025-01-08 19:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204501', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204501', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:53:23] Production.INFO: ==9912== Releasing lock...
[2025-01-08 19:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:53:23] Production.INFO: 43.75 MB #Memory Used#
[2025-01-09 00:54:01] Production.INFO: ==9993== Lock acquired, processing the job...
[2025-01-09 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:54:01] Production.INFO: neon service started
[2025-01-09 00:54:01] Production.INFO: neon service started
[2025-01-09 00:54:01] Production.INFO: ==9993== Releasing lock...
[2025-01-09 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:54:01] Production.INFO: ==9997== Lock acquired, processing the job...
[2025-01-09 00:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:54:01] Production.INFO: ==9997== Releasing lock...
[2025-01-09 00:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:54:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:54:02] Production.INFO: ==9995== Lock acquired, processing the job...
[2025-01-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:54:02] Production.INFO: ==9995== Releasing lock...
[2025-01-08 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:54:03] Production.INFO: ==10004== Lock acquired, processing the job...
[2025-01-08 19:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:54:03] Production.INFO: ==10006== Lock acquired, processing the job...
[2025-01-08 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:54:03] Production.INFO: ==10002== Lock acquired, processing the job...
[2025-01-08 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:54:03] Production.INFO: ==10000== Lock acquired, processing the job...
[2025-01-08 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:54:03] Production.INFO: Account Balance Start.
[2025-01-08 19:54:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:54:03] Production.INFO: 117
[2025-01-08 19:54:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:54:03] Production.INFO: Total Charge 0
[2025-01-08 19:54:03] Production.INFO: ==10010== Lock acquired, processing the job...
[2025-01-08 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:54:03] Production.INFO: ==10008== Lock acquired, processing the job...
[2025-01-08 19:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:54:03] Production.INFO: CreateAllLog End
[2025-01-08 19:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:54:03] Production.INFO: count ==21
[2025-01-08 19:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:54:03] Production.INFO: count ==21
[2025-01-08 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204505') start
[2025-01-08 19:54:03] Production.INFO: Account Balance End.
[2025-01-08 19:54:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:54:03] Production.INFO: ==10006== Releasing lock...
[2025-01-08 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204505') end
[2025-01-08 19:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:54:03] Production.INFO: 1
[2025-01-08 19:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:54:03] Production.INFO: ==10002== Releasing lock...
[2025-01-08 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:54:03] Production.ERROR: done
[2025-01-08 19:54:03] Production.INFO: ==10010== Releasing lock...
[2025-01-08 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:54:04] Production.ERROR: done
[2025-01-08 19:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:54:04
[end_date_ymd] => 2025-01-08 19:54:04
[RateCDR] => 1
)
[2025-01-08 19:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:54:04' and `end` < '2025-01-08 19:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:54:12] Production.ERROR: CronJobId end10
[2025-01-08 19:54:12] Production.INFO: ==10004== Releasing lock...
[2025-01-08 19:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:54:14] Production.INFO: call_cost start
[2025-01-08 19:54:14] Production.INFO: call_cost end
[2025-01-08 19:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:54:14] Production.INFO: ==10000== Releasing lock...
[2025-01-08 19:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:54:18] Production.INFO: count ==2074
[2025-01-08 19:54:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:54:04 - End Time 2025-01-08 19:54:04
[2025-01-08 19:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204506', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204506', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204506', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204506', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:54:19] Production.INFO: ProcessCDR(1,14204506,1,1,2)
[2025-01-08 19:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204506', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204506', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:54:23] Production.INFO: ==10008== Releasing lock...
[2025-01-08 19:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:54:23] Production.INFO: 43.75 MB #Memory Used#
[2025-01-09 00:55:01] Production.INFO: ==10091== Lock acquired, processing the job...
[2025-01-09 00:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:55:02] Production.INFO: neon service started
[2025-01-09 00:55:02] Production.INFO: neon service started
[2025-01-09 00:55:02] Production.INFO: ==10091== Releasing lock...
[2025-01-09 00:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:55:02] Production.INFO: ==10095== Lock acquired, processing the job...
[2025-01-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:55:02] Production.INFO: ==10095== Releasing lock...
[2025-01-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:55:02] Production.INFO: ==10093== Lock acquired, processing the job...
[2025-01-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:55:02] Production.INFO: ==10093== Releasing lock...
[2025-01-08 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:55:03] Production.INFO: ==10109== Lock acquired, processing the job...
[2025-01-08 19:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:55:03] Production.INFO: ==10107== Lock acquired, processing the job...
[2025-01-08 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:55:03] Production.INFO: ==10101== Lock acquired, processing the job...
[2025-01-08 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:55:03] Production.INFO: Account Balance Start.
[2025-01-08 19:55:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:55:03] Production.INFO: 117
[2025-01-08 19:55:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:55:03] Production.INFO: ==10105== Lock acquired, processing the job...
[2025-01-08 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:55:03] Production.INFO: ==10103== Lock acquired, processing the job...
[2025-01-08 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:55:03] Production.INFO: Total Charge 0
[2025-01-08 19:55:03] Production.INFO: ==10111== Lock acquired, processing the job...
[2025-01-08 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:55:03] Production.INFO: CreateAllLog End
[2025-01-08 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:55:03] Production.ERROR: done
[2025-01-08 19:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:55:03] Production.INFO: count ==21
[2025-01-08 19:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:55:03] Production.INFO: Account Balance End.
[2025-01-08 19:55:03] Production.INFO: count ==21
[2025-01-08 19:55:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:55:04] Production.INFO: ==10107== Releasing lock...
[2025-01-08 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204509') start
[2025-01-08 19:55:04] Production.ERROR: done
[2025-01-08 19:55:04] Production.INFO: ==10103== Releasing lock...
[2025-01-08 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204509') end
[2025-01-08 19:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:55:04] Production.INFO: 1
[2025-01-08 19:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:55:04] Production.INFO: ==10111== Releasing lock...
[2025-01-08 19:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:55:05
[end_date_ymd] => 2025-01-08 19:55:05
[RateCDR] => 1
)
[2025-01-08 19:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:55:05' and `end` < '2025-01-08 19:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:55:12] Production.ERROR: CronJobId end10
[2025-01-08 19:55:12] Production.INFO: ==10105== Releasing lock...
[2025-01-08 19:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:55:14] Production.INFO: call_cost start
[2025-01-08 19:55:14] Production.INFO: call_cost end
[2025-01-08 19:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:55:14] Production.INFO: ==10101== Releasing lock...
[2025-01-08 19:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:55:18] Production.INFO: count ==2064
[2025-01-08 19:55:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:55:05 - End Time 2025-01-08 19:55:05
[2025-01-08 19:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204511', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204511', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204511', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204511', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:55:18] Production.INFO: ProcessCDR(1,14204511,1,1,2)
[2025-01-08 19:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204511', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204511', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:55:21] Production.INFO: ==10109== Releasing lock...
[2025-01-08 19:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:55:21] Production.INFO: 43.5 MB #Memory Used#
[2025-01-09 00:56:01] Production.INFO: ==10190== Lock acquired, processing the job...
[2025-01-09 00:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:56:01] Production.INFO: neon service started
[2025-01-09 00:56:01] Production.INFO: neon service started
[2025-01-09 00:56:01] Production.INFO: ==10190== Releasing lock...
[2025-01-09 00:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:56:01] Production.INFO: ==10192== Lock acquired, processing the job...
[2025-01-08 19:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:56:02] Production.INFO: ==10192== Releasing lock...
[2025-01-08 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:56:02] Production.INFO: ==10194== Lock acquired, processing the job...
[2025-01-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:56:02] Production.INFO: ==10194== Releasing lock...
[2025-01-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:56:02] Production.INFO: ==10203== Lock acquired, processing the job...
[2025-01-08 19:56:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:56:02] Production.INFO: ==10205== Lock acquired, processing the job...
[2025-01-08 19:56:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:56:02] Production.INFO: Account Balance Start.
[2025-01-08 19:56:02] Production.INFO: CreateAllLog Start
[2025-01-08 19:56:02] Production.INFO: 117
[2025-01-08 19:56:02] Production.INFO: Date 2025-01-08
[2025-01-08 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:56:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:56:03] Production.INFO: Total Charge 0
[2025-01-08 19:56:03] Production.INFO: CreateAllLog End
[2025-01-08 19:56:03] Production.INFO: ==10197== Lock acquired, processing the job...
[2025-01-08 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:56:03] Production.INFO: ==10199== Lock acquired, processing the job...
[2025-01-08 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:56:03] Production.INFO: ==10201== Lock acquired, processing the job...
[2025-01-08 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:56:03] Production.INFO: ==10207== Lock acquired, processing the job...
[2025-01-08 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:56:03] Production.INFO: Account Balance End.
[2025-01-08 19:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:56:03] Production.ERROR: done
[2025-01-08 19:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:56:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:56:03] Production.INFO: ==10203== Releasing lock...
[2025-01-08 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:56:03] Production.ERROR: done
[2025-01-08 19:56:03] Production.INFO: count ==21
[2025-01-08 19:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:56:03] Production.INFO: count ==21
[2025-01-08 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204515') start
[2025-01-08 19:56:03] Production.INFO: ==10199== Releasing lock...
[2025-01-08 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204515') end
[2025-01-08 19:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:56:03] Production.INFO: 1
[2025-01-08 19:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:56:03] Production.INFO: ==10207== Releasing lock...
[2025-01-08 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:56:04
[end_date_ymd] => 2025-01-08 19:56:04
[RateCDR] => 1
)
[2025-01-08 19:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:56:04' and `end` < '2025-01-08 19:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:56:12] Production.ERROR: CronJobId end10
[2025-01-08 19:56:12] Production.INFO: ==10201== Releasing lock...
[2025-01-08 19:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:56:13] Production.INFO: call_cost start
[2025-01-08 19:56:13] Production.INFO: call_cost end
[2025-01-08 19:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:56:14] Production.INFO: ==10197== Releasing lock...
[2025-01-08 19:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:56:19] Production.INFO: count ==2050
[2025-01-08 19:56:19] Production.ERROR: pbx CDR StartTime 2025-01-08 16:56:04 - End Time 2025-01-08 19:56:04
[2025-01-08 19:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204516', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204516', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204516', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204516', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:56:19] Production.INFO: ProcessCDR(1,14204516,1,1,2)
[2025-01-08 19:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204516', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204516', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:56:22] Production.INFO: ==10205== Releasing lock...
[2025-01-08 19:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:56:22] Production.INFO: 43.5 MB #Memory Used#
[2025-01-09 00:57:01] Production.INFO: ==10287== Lock acquired, processing the job...
[2025-01-09 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:57:02] Production.INFO: neon service started
[2025-01-09 00:57:02] Production.INFO: neon service started
[2025-01-09 00:57:02] Production.INFO: ==10287== Releasing lock...
[2025-01-09 00:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:57:02] Production.INFO: ==10289== Lock acquired, processing the job...
[2025-01-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:57:02] Production.INFO: ==10291== Lock acquired, processing the job...
[2025-01-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:57:02] Production.INFO: ==10291== Releasing lock...
[2025-01-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:57:02] Production.INFO: ==10289== Releasing lock...
[2025-01-08 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:57:03] Production.INFO: ==10300== Lock acquired, processing the job...
[2025-01-08 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:57:03] Production.INFO: Account Balance Start.
[2025-01-08 19:57:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:57:03] Production.INFO: 117
[2025-01-08 19:57:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:57:03] Production.INFO: ==10304== Lock acquired, processing the job...
[2025-01-08 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:57:03] Production.INFO: Total Charge 0
[2025-01-08 19:57:03] Production.INFO: CreateAllLog End
[2025-01-08 19:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:57:03] Production.INFO: Account Balance End.
[2025-01-08 19:57:03] Production.INFO: count ==21
[2025-01-08 19:57:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:57:03] Production.INFO: ==10300== Releasing lock...
[2025-01-08 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:57:03] Production.INFO: count ==21
[2025-01-08 19:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204518') start
[2025-01-08 19:57:04] Production.INFO: ==10294== Lock acquired, processing the job...
[2025-01-08 19:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:57:04] Production.INFO: ==10296== Lock acquired, processing the job...
[2025-01-08 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:57:04] Production.INFO: ==10298== Lock acquired, processing the job...
[2025-01-08 19:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204518') end
[2025-01-08 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:57:04] Production.INFO: 1
[2025-01-08 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:57:04] Production.INFO: ==10302== Lock acquired, processing the job...
[2025-01-08 19:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:57:04] Production.INFO: ==10304== Releasing lock...
[2025-01-08 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:57:04] Production.ERROR: done
[2025-01-08 19:57:04] Production.INFO: ==10296== Releasing lock...
[2025-01-08 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:57:04] Production.ERROR: done
[2025-01-08 19:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:57:05
[end_date_ymd] => 2025-01-08 19:57:05
[RateCDR] => 1
)
[2025-01-08 19:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:57:05' and `end` < '2025-01-08 19:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:57:12] Production.ERROR: CronJobId end10
[2025-01-08 19:57:12] Production.INFO: ==10298== Releasing lock...
[2025-01-08 19:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:57:14] Production.INFO: call_cost start
[2025-01-08 19:57:14] Production.INFO: call_cost end
[2025-01-08 19:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:57:15] Production.INFO: ==10294== Releasing lock...
[2025-01-08 19:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:57:19] Production.INFO: count ==2017
[2025-01-08 19:57:20] Production.ERROR: pbx CDR StartTime 2025-01-08 16:57:05 - End Time 2025-01-08 19:57:05
[2025-01-08 19:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204521', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204521', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204521', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204521', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:57:20] Production.INFO: ProcessCDR(1,14204521,1,1,2)
[2025-01-08 19:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204521', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204521', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:57:23] Production.INFO: ==10302== Releasing lock...
[2025-01-08 19:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:57:23] Production.INFO: 43.25 MB #Memory Used#
[2025-01-09 00:58:01] Production.INFO: ==10384== Lock acquired, processing the job...
[2025-01-09 00:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:58:01] Production.INFO: neon service started
[2025-01-09 00:58:01] Production.INFO: neon service started
[2025-01-09 00:58:01] Production.INFO: ==10384== Releasing lock...
[2025-01-09 00:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:58:01] Production.INFO: ==10388== Lock acquired, processing the job...
[2025-01-09 00:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:58:01] Production.INFO: ==10388== Releasing lock...
[2025-01-09 00:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:58:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:58:01] Production.INFO: ==10386== Lock acquired, processing the job...
[2025-01-08 19:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 19:58:02] Production.INFO: ==10386== Releasing lock...
[2025-01-08 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:58:02] Production.INFO: ==10391== Lock acquired, processing the job...
[2025-01-08 19:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:58:02] Production.INFO: ==10395== Lock acquired, processing the job...
[2025-01-08 19:58:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:58:03] Production.INFO: ==10399== Lock acquired, processing the job...
[2025-01-08 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:58:03] Production.INFO: ==10393== Lock acquired, processing the job...
[2025-01-08 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:58:03] Production.INFO: ==10397== Lock acquired, processing the job...
[2025-01-08 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:58:03] Production.INFO: ==10401== Lock acquired, processing the job...
[2025-01-08 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:58:03] Production.ERROR: done
[2025-01-08 19:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:58:03] Production.INFO: Account Balance Start.
[2025-01-08 19:58:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:58:03] Production.INFO: 117
[2025-01-08 19:58:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:58:03] Production.ERROR: done
[2025-01-08 19:58:03] Production.INFO: Total Charge 0
[2025-01-08 19:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:58:03] Production.INFO: CreateAllLog End
[2025-01-08 19:58:03] Production.INFO: count ==21
[2025-01-08 19:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:58:03] Production.INFO: count ==21
[2025-01-08 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204525') start
[2025-01-08 19:58:03] Production.INFO: Account Balance End.
[2025-01-08 19:58:03] Production.INFO: ==10393== Releasing lock...
[2025-01-08 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204525') end
[2025-01-08 19:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:58:03] Production.INFO: 1
[2025-01-08 19:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:58:03] Production.ERROR: CronJobId end 12
[2025-01-08 19:58:03] Production.INFO: ==10397== Releasing lock...
[2025-01-08 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:58:03] Production.INFO: ==10401== Releasing lock...
[2025-01-08 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:58:04
[end_date_ymd] => 2025-01-08 19:58:04
[RateCDR] => 1
)
[2025-01-08 19:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:58:04' and `end` < '2025-01-08 19:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:58:11] Production.ERROR: CronJobId end10
[2025-01-08 19:58:11] Production.INFO: ==10395== Releasing lock...
[2025-01-08 19:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:58:12] Production.INFO: call_cost start
[2025-01-08 19:58:12] Production.INFO: call_cost end
[2025-01-08 19:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:58:13] Production.INFO: ==10391== Releasing lock...
[2025-01-08 19:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:58:17] Production.INFO: count ==1991
[2025-01-08 19:58:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:58:04 - End Time 2025-01-08 19:58:04
[2025-01-08 19:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204526', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204526', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204526', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204526', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:58:18] Production.INFO: ProcessCDR(1,14204526,1,1,2)
[2025-01-08 19:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204526', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204526', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:58:23] Production.INFO: ==10399== Releasing lock...
[2025-01-08 19:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:58:23] Production.INFO: 43.25 MB #Memory Used#
[2025-01-09 00:59:01] Production.INFO: ==10478== Lock acquired, processing the job...
[2025-01-09 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 00:59:01] Production.INFO: neon service started
[2025-01-09 00:59:01] Production.INFO: neon service started
[2025-01-09 00:59:01] Production.INFO: ==10478== Releasing lock...
[2025-01-09 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 19:59:02] Production.INFO: ==10480== Lock acquired, processing the job...
[2025-01-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:59:02] Production.INFO: ==10482== Lock acquired, processing the job...
[2025-01-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:59:02] Production.INFO: ==10482== Releasing lock...
[2025-01-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 19:59:02] Production.INFO: ==10480== Releasing lock...
[2025-01-08 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 19:59:03] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-01-08 19:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 19:59:03] Production.INFO: ==10489== Lock acquired, processing the job...
[2025-01-08 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 19:59:03] Production.INFO: ==10493== Lock acquired, processing the job...
[2025-01-08 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 19:59:03] Production.INFO: ==10487== Lock acquired, processing the job...
[2025-01-08 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 19:59:03] Production.INFO: ==10491== Lock acquired, processing the job...
[2025-01-08 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 19:59:03] Production.INFO: ==10495== Lock acquired, processing the job...
[2025-01-08 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 19:59:03] Production.INFO: Account Balance Start.
[2025-01-08 19:59:03] Production.INFO: CreateAllLog Start
[2025-01-08 19:59:03] Production.INFO: 117
[2025-01-08 19:59:03] Production.INFO: Date 2025-01-08
[2025-01-08 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-08 19:59:03] Production.INFO: Total Charge 0
[2025-01-08 19:59:04] Production.ERROR: done
[2025-01-08 19:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 19:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:59:04] Production.INFO: CreateAllLog End
[2025-01-08 19:59:04] Production.INFO: count ==21
[2025-01-08 19:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 19:59:04] Production.INFO: ==10487== Releasing lock...
[2025-01-08 19:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 19:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 19:59:04] Production.INFO: count ==21
[2025-01-08 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204530') start
[2025-01-08 19:59:04] Production.ERROR: done
[2025-01-08 19:59:04] Production.INFO: Account Balance End.
[2025-01-08 19:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204530') end
[2025-01-08 19:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 19:59:04] Production.INFO: 1
[2025-01-08 19:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 19:59:04] Production.ERROR: CronJobId end 12
[2025-01-08 19:59:04] Production.INFO: ==10491== Releasing lock...
[2025-01-08 19:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 19:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 19:59:04] Production.INFO: ==10495== Releasing lock...
[2025-01-08 19:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 19:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 19:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 16:59:05
[end_date_ymd] => 2025-01-08 19:59:05
[RateCDR] => 1
)
[2025-01-08 19:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 16:59:05' and `end` < '2025-01-08 19:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 19:59:12] Production.ERROR: CronJobId end10
[2025-01-08 19:59:12] Production.INFO: ==10489== Releasing lock...
[2025-01-08 19:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 19:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 19:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 19:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 19:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 19:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 19:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 19:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 19:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 19:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 19:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 19:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 19:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 19:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 19:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 19:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 19:59:13] Production.INFO: call_cost start
[2025-01-08 19:59:13] Production.INFO: call_cost end
[2025-01-08 19:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 19:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 19:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 19:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 19:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 19:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 19:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 19:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 19:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 19:59:13] Production.INFO: ==10485== Releasing lock...
[2025-01-08 19:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 19:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 19:59:18] Production.INFO: count ==1984
[2025-01-08 19:59:18] Production.ERROR: pbx CDR StartTime 2025-01-08 16:59:05 - End Time 2025-01-08 19:59:05
[2025-01-08 19:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204531', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204531', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204531', 'tblTempVendorCDR_20' ) start
[2025-01-08 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204531', 'tblTempVendorCDR_20' ) end
[2025-01-08 19:59:18] Production.INFO: ProcessCDR(1,14204531,1,1,2)
[2025-01-08 19:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 19:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204531', 'tblTempUsageDetail_20' ) start
[2025-01-08 19:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204531', 'tblTempUsageDetail_20' ) end
[2025-01-08 19:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 19:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 19:59:22] Production.INFO: ==10493== Releasing lock...
[2025-01-08 19:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 19:59:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-09 01:00:02] Production.INFO: ==10572== Lock acquired, processing the job...
[2025-01-09 01:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:00:02] Production.INFO: neon service started
[2025-01-09 01:00:02] Production.INFO: neon service started
[2025-01-09 01:00:02] Production.INFO: ==10572== Releasing lock...
[2025-01-09 01:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:00:02] Production.INFO: ==10574== Lock acquired, processing the job...
[2025-01-08 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:00:02] Production.INFO: ==10574== Releasing lock...
[2025-01-08 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:00:03] Production.INFO: ==10576== Lock acquired, processing the job...
[2025-01-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:00:03] Production.INFO: ==10576== Releasing lock...
[2025-01-09 01:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:00:03] Production.INFO: ==10581== Lock acquired, processing the job...
[2025-01-08 20:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:00:03] Production.INFO: ==10583== Lock acquired, processing the job...
[2025-01-08 20:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:00:03] Production.INFO: ==10585== Lock acquired, processing the job...
[2025-01-08 20:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:00:04] Production.INFO: ==10593== Lock acquired, processing the job...
[2025-01-08 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:00:04] Production.INFO: ==10579== Lock acquired, processing the job...
[2025-01-08 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:00:04] Production.ERROR: CronJob PID - 10581
[2025-01-08 20:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 20:00:04] Production.ERROR: CronJob ID - 5
[2025-01-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:00:00
[2025-01-08 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:00:04] Production.ERROR: CronJob PID - 10583
[2025-01-08 20:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-08 20:00:04] Production.ERROR: CronJob ID - 7
[2025-01-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:00:00
[2025-01-08 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:00:04] Production.ERROR: CronJob PID - 10585
[2025-01-08 20:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 20:00:04] Production.ERROR: CronJob ID - 10
[2025-01-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:00:00
[2025-01-08 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:00:04] Production.ERROR: CronJob PID - 10593
[2025-01-08 20:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-08 20:00:04] Production.ERROR: CronJob ID - 19
[2025-01-08 20:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:00:00
[2025-01-08 20:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 20:00:04] Production.INFO: ==10579== Releasing lock...
[2025-01-08 20:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 20:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:00:04] Production.INFO: ==10589== Lock acquired, processing the job...
[2025-01-08 20:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:00:04] Production.INFO: count ==21
[2025-01-08 20:00:04] Production.INFO: ==10587== Lock acquired, processing the job...
[2025-01-08 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:00:04] Production.INFO: count ==21
[2025-01-08 20:00:04] Production.INFO: ==10591== Lock acquired, processing the job...
[2025-01-08 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204534') start
[2025-01-08 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204534') end
[2025-01-08 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:00:04] Production.INFO: 1
[2025-01-08 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:00:04] Production.INFO: Account Balance Start.
[2025-01-08 20:00:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:00:04] Production.INFO: 117
[2025-01-08 20:00:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:00:04] Production.INFO: ==10583== Releasing lock...
[2025-01-08 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:00:04] Production.INFO: ==10593== Releasing lock...
[2025-01-08 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:00:04] Production.ERROR: done
[2025-01-08 20:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:00:04] Production.INFO: Total Charge 0
[2025-01-08 20:00:04] Production.INFO: CreateAllLog End
[2025-01-08 20:00:04] Production.ERROR: done
[2025-01-08 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204536', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 20:00:04] Production.ERROR: done
[2025-01-08 20:00:04] Production.INFO: Account Balance End.
[2025-01-08 20:00:05] Production.ERROR: CronJobId end 12
[2025-01-08 20:00:05] Production.INFO: ==10587== Releasing lock...
[2025-01-08 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:00:06
[end_date_ymd] => 2025-01-08 20:00:06
[RateCDR] => 1
)
[2025-01-08 20:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:00:06' and `end` < '2025-01-08 20:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204536', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 20:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 20:00:08] Production.INFO: ProcessCDR(1,14204536,1,1,2)
[2025-01-08 20:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204536,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204536,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:00:09] Production.INFO: ==10591== Releasing lock...
[2025-01-08 20:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 20:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 20:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:00:14] Production.ERROR: CronJobId end10
[2025-01-08 20:00:14] Production.INFO: ==10585== Releasing lock...
[2025-01-08 20:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:00:14] Production.INFO: call_cost start
[2025-01-08 20:00:14] Production.INFO: call_cost end
[2025-01-08 20:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:00:15] Production.INFO: ==10581== Releasing lock...
[2025-01-08 20:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:00:19] Production.INFO: count ==1975
[2025-01-08 20:00:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:00:06 - End Time 2025-01-08 20:00:06
[2025-01-08 20:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204537', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204537', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204537', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204537', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:00:19] Production.INFO: ProcessCDR(1,14204537,1,1,2)
[2025-01-08 20:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204537', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204537', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:00:24] Production.INFO: ==10589== Releasing lock...
[2025-01-08 20:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:00:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-09 01:01:01] Production.INFO: ==10707== Lock acquired, processing the job...
[2025-01-09 01:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:01:01] Production.INFO: neon service started
[2025-01-09 01:01:01] Production.INFO: neon service started
[2025-01-09 01:01:01] Production.INFO: ==10707== Releasing lock...
[2025-01-09 01:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:01:02] Production.INFO: ==10716== Lock acquired, processing the job...
[2025-01-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:01:02] Production.INFO: ==10718== Lock acquired, processing the job...
[2025-01-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:01:02] Production.INFO: ==10718== Releasing lock...
[2025-01-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:01:02] Production.INFO: ==10716== Releasing lock...
[2025-01-08 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:01:03] Production.INFO: ==10721== Lock acquired, processing the job...
[2025-01-08 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:01:03] Production.INFO: ==10723== Lock acquired, processing the job...
[2025-01-08 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:01:03] Production.INFO: ==10725== Lock acquired, processing the job...
[2025-01-08 20:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:01:03] Production.INFO: ==10723== Releasing lock...
[2025-01-08 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:01:03] Production.INFO: ==10727== Lock acquired, processing the job...
[2025-01-08 20:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:01:03] Production.INFO: ==10731== Lock acquired, processing the job...
[2025-01-08 20:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:01:03] Production.INFO: ==10729== Lock acquired, processing the job...
[2025-01-08 20:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:01:03] Production.INFO: Account Balance Start.
[2025-01-08 20:01:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:01:03] Production.INFO: 117
[2025-01-08 20:01:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:01:03] Production.INFO: Reseller ==> 0
[2025-01-08 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-01-08 20:01:03] Production.INFO: count ==21
[2025-01-08 20:01:03] Production.INFO: Total Charge 0
[2025-01-08 20:01:03] Production.INFO: CreateAllLog End
[2025-01-08 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-01-08 20:01:03] Production.INFO: count ==21
[2025-01-08 20:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204541') start
[2025-01-08 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204541') end
[2025-01-08 20:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:01:04] Production.INFO: 1
[2025-01-08 20:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:01:04] Production.ERROR: done
[2025-01-08 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:01:04] Production.INFO: ==10731== Releasing lock...
[2025-01-08 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:01:04] Production.ERROR: done
[2025-01-08 20:01:04] Production.INFO: Account Balance End.
[2025-01-08 20:01:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:01:04] Production.INFO: ==10727== Releasing lock...
[2025-01-08 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:01:05
[end_date_ymd] => 2025-01-08 20:01:05
[RateCDR] => 1
)
[2025-01-08 20:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:01:05' and `end` < '2025-01-08 20:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:01:12] Production.ERROR: CronJobId end10
[2025-01-08 20:01:12] Production.INFO: ==10725== Releasing lock...
[2025-01-08 20:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:01:13] Production.INFO: call_cost start
[2025-01-08 20:01:13] Production.INFO: call_cost end
[2025-01-08 20:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:01:14] Production.INFO: ==10721== Releasing lock...
[2025-01-08 20:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:01:19] Production.INFO: count ==1926
[2025-01-08 20:01:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:01:05 - End Time 2025-01-08 20:01:05
[2025-01-08 20:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204542', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204542', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204542', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204542', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:01:19] Production.INFO: ProcessCDR(1,14204542,1,1,2)
[2025-01-08 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204542', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204542', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:01:23] Production.INFO: ==10729== Releasing lock...
[2025-01-08 20:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:01:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 01:02:02] Production.INFO: ==10802== Lock acquired, processing the job...
[2025-01-09 01:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:02:02] Production.INFO: neon service started
[2025-01-09 01:02:02] Production.INFO: neon service started
[2025-01-09 01:02:02] Production.INFO: ==10802== Releasing lock...
[2025-01-09 01:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:02:02] Production.INFO: ==10804== Lock acquired, processing the job...
[2025-01-08 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:02:02] Production.INFO: ==10806== Lock acquired, processing the job...
[2025-01-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:02:02] Production.INFO: ==10804== Releasing lock...
[2025-01-08 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:02:03] Production.INFO: ==10806== Releasing lock...
[2025-01-09 01:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:02:03] Production.INFO: ==10815== Lock acquired, processing the job...
[2025-01-08 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:02:03] Production.INFO: Account Balance Start.
[2025-01-08 20:02:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:02:03] Production.INFO: 117
[2025-01-08 20:02:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:02:03] Production.INFO: ==10819== Lock acquired, processing the job...
[2025-01-08 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:02:03] Production.INFO: Total Charge 0
[2025-01-08 20:02:03] Production.INFO: CreateAllLog End
[2025-01-08 20:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:02:04] Production.INFO: Account Balance End.
[2025-01-08 20:02:04] Production.INFO: count ==21
[2025-01-08 20:02:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:02:04] Production.INFO: ==10815== Releasing lock...
[2025-01-08 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:02:04] Production.INFO: count ==21
[2025-01-08 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204544') start
[2025-01-08 20:02:04] Production.INFO: ==10811== Lock acquired, processing the job...
[2025-01-08 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:02:04] Production.INFO: ==10809== Lock acquired, processing the job...
[2025-01-08 20:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204544') end
[2025-01-08 20:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:02:04] Production.INFO: 1
[2025-01-08 20:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:02:04] Production.INFO: ==10813== Lock acquired, processing the job...
[2025-01-08 20:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:02:04] Production.INFO: ==10817== Lock acquired, processing the job...
[2025-01-08 20:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:02:04] Production.INFO: ==10819== Releasing lock...
[2025-01-08 20:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:02:04] Production.ERROR: done
[2025-01-08 20:02:04] Production.INFO: ==10811== Releasing lock...
[2025-01-08 20:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:02:04] Production.ERROR: done
[2025-01-08 20:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:02:05
[end_date_ymd] => 2025-01-08 20:02:05
[RateCDR] => 1
)
[2025-01-08 20:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:02:05' and `end` < '2025-01-08 20:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:02:12] Production.ERROR: CronJobId end10
[2025-01-08 20:02:12] Production.INFO: ==10813== Releasing lock...
[2025-01-08 20:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:02:14] Production.INFO: call_cost start
[2025-01-08 20:02:14] Production.INFO: call_cost end
[2025-01-08 20:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:02:15] Production.INFO: ==10809== Releasing lock...
[2025-01-08 20:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:02:18] Production.INFO: count ==1927
[2025-01-08 20:02:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:02:05 - End Time 2025-01-08 20:02:05
[2025-01-08 20:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204547', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204547', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204547', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204547', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:02:19] Production.INFO: ProcessCDR(1,14204547,1,1,2)
[2025-01-08 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204547', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204547', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:02:24] Production.INFO: ==10817== Releasing lock...
[2025-01-08 20:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:02:24] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 01:03:01] Production.INFO: ==10889== Lock acquired, processing the job...
[2025-01-09 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:03:01] Production.INFO: neon service started
[2025-01-09 01:03:01] Production.INFO: neon service started
[2025-01-09 01:03:01] Production.INFO: ==10889== Releasing lock...
[2025-01-09 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:03:02] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-01-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:03:02] Production.INFO: ==10891== Releasing lock...
[2025-01-08 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:03:02] Production.INFO: ==10893== Lock acquired, processing the job...
[2025-01-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:03:02] Production.INFO: ==10893== Releasing lock...
[2025-01-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:03:02] Production.INFO: ==10896== Lock acquired, processing the job...
[2025-01-08 20:03:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:03:03] Production.INFO: ==10898== Lock acquired, processing the job...
[2025-01-08 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:03:03] Production.INFO: ==10900== Lock acquired, processing the job...
[2025-01-08 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:03:03] Production.INFO: ==10898== Releasing lock...
[2025-01-08 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:03:03] Production.INFO: ==10902== Lock acquired, processing the job...
[2025-01-08 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:03:03] Production.INFO: ==10906== Lock acquired, processing the job...
[2025-01-08 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:03:03] Production.INFO: ==10904== Lock acquired, processing the job...
[2025-01-08 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:03:03] Production.INFO: Account Balance Start.
[2025-01-08 20:03:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:03:03] Production.INFO: 117
[2025-01-08 20:03:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:03:03] Production.INFO: count ==21
[2025-01-08 20:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:03:04] Production.INFO: count ==21
[2025-01-08 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204551') start
[2025-01-08 20:03:04] Production.INFO: Total Charge 0
[2025-01-08 20:03:04] Production.INFO: CreateAllLog End
[2025-01-08 20:03:04] Production.ERROR: done
[2025-01-08 20:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204551') end
[2025-01-08 20:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:03:04] Production.INFO: 1
[2025-01-08 20:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:03:04] Production.INFO: ==10906== Releasing lock...
[2025-01-08 20:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:03:04] Production.ERROR: done
[2025-01-08 20:03:04] Production.INFO: Account Balance End.
[2025-01-08 20:03:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:03:04] Production.INFO: ==10902== Releasing lock...
[2025-01-08 20:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:03:05
[end_date_ymd] => 2025-01-08 20:03:05
[RateCDR] => 1
)
[2025-01-08 20:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:03:05' and `end` < '2025-01-08 20:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:03:11] Production.ERROR: CronJobId end10
[2025-01-08 20:03:11] Production.INFO: ==10900== Releasing lock...
[2025-01-08 20:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:03:13] Production.INFO: call_cost start
[2025-01-08 20:03:13] Production.INFO: call_cost end
[2025-01-08 20:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:03:14] Production.INFO: ==10896== Releasing lock...
[2025-01-08 20:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:03:18] Production.INFO: count ==1923
[2025-01-08 20:03:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:03:05 - End Time 2025-01-08 20:03:05
[2025-01-08 20:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204552', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204552', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204552', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204552', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:03:19] Production.INFO: ProcessCDR(1,14204552,1,1,2)
[2025-01-08 20:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204552', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204552', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:03:22] Production.INFO: ==10904== Releasing lock...
[2025-01-08 20:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:03:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 01:04:02] Production.INFO: ==10979== Lock acquired, processing the job...
[2025-01-09 01:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:04:02] Production.INFO: neon service started
[2025-01-09 01:04:02] Production.INFO: neon service started
[2025-01-09 01:04:02] Production.INFO: ==10979== Releasing lock...
[2025-01-09 01:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:04:02] Production.INFO: ==10981== Lock acquired, processing the job...
[2025-01-08 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:04:02] Production.INFO: ==10983== Lock acquired, processing the job...
[2025-01-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:04:02] Production.INFO: ==10983== Releasing lock...
[2025-01-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:04:02] Production.INFO: ==10981== Releasing lock...
[2025-01-08 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:04:03] Production.INFO: ==10989== Lock acquired, processing the job...
[2025-01-08 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:04:03] Production.INFO: ==10985== Lock acquired, processing the job...
[2025-01-08 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:04:03] Production.INFO: ==10991== Lock acquired, processing the job...
[2025-01-08 20:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:04:03] Production.INFO: ==10987== Lock acquired, processing the job...
[2025-01-08 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:04:03] Production.INFO: Account Balance Start.
[2025-01-08 20:04:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:04:03] Production.INFO: 117
[2025-01-08 20:04:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:04:03] Production.INFO: Total Charge 0
[2025-01-08 20:04:03] Production.INFO: CreateAllLog End
[2025-01-08 20:04:03] Production.INFO: ==10993== Lock acquired, processing the job...
[2025-01-08 20:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:04:04] Production.INFO: ==10995== Lock acquired, processing the job...
[2025-01-08 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:04:04] Production.INFO: Account Balance End.
[2025-01-08 20:04:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:04:04] Production.INFO: ==10991== Releasing lock...
[2025-01-08 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:04:04] Production.INFO: count ==21
[2025-01-08 20:04:04] Production.INFO: ==10987== Releasing lock...
[2025-01-08 20:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:04:04] Production.INFO: count ==21
[2025-01-08 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204556') start
[2025-01-08 20:04:04] Production.ERROR: done
[2025-01-08 20:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204556') end
[2025-01-08 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:04:04] Production.INFO: 1
[2025-01-08 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:04:04] Production.INFO: ==10995== Releasing lock...
[2025-01-08 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:04:04] Production.ERROR: done
[2025-01-08 20:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:04:05
[end_date_ymd] => 2025-01-08 20:04:05
[RateCDR] => 1
)
[2025-01-08 20:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:04:05' and `end` < '2025-01-08 20:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:04:12] Production.ERROR: CronJobId end10
[2025-01-08 20:04:12] Production.INFO: ==10989== Releasing lock...
[2025-01-08 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:04:13] Production.INFO: call_cost start
[2025-01-08 20:04:13] Production.INFO: call_cost end
[2025-01-08 20:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:04:14] Production.INFO: ==10985== Releasing lock...
[2025-01-08 20:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:04:18] Production.INFO: count ==1919
[2025-01-08 20:04:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:04:05 - End Time 2025-01-08 20:04:05
[2025-01-08 20:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204557', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204557', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204557', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204557', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:04:19] Production.INFO: ProcessCDR(1,14204557,1,1,2)
[2025-01-08 20:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204557', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204557', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:04:22] Production.INFO: ==10993== Releasing lock...
[2025-01-08 20:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:04:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 01:05:01] Production.INFO: ==11066== Lock acquired, processing the job...
[2025-01-09 01:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:05:01] Production.INFO: neon service started
[2025-01-09 01:05:01] Production.INFO: neon service started
[2025-01-09 01:05:01] Production.INFO: ==11066== Releasing lock...
[2025-01-09 01:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:05:02] Production.INFO: ==11070== Lock acquired, processing the job...
[2025-01-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:05:02] Production.INFO: ==11068== Lock acquired, processing the job...
[2025-01-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:05:02] Production.INFO: ==11070== Releasing lock...
[2025-01-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:05:02] Production.INFO: ==11068== Releasing lock...
[2025-01-08 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:05:03] Production.INFO: ==11073== Lock acquired, processing the job...
[2025-01-08 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:05:03] Production.INFO: ==11075== Lock acquired, processing the job...
[2025-01-08 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:05:03] Production.INFO: ==11081== Lock acquired, processing the job...
[2025-01-08 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:05:03] Production.INFO: ==11077== Lock acquired, processing the job...
[2025-01-08 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:05:03] Production.INFO: ==11079== Lock acquired, processing the job...
[2025-01-08 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:05:03] Production.INFO: ==11075== Releasing lock...
[2025-01-08 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:05:03] Production.INFO: Account Balance Start.
[2025-01-08 20:05:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:05:03] Production.INFO: ==11083== Lock acquired, processing the job...
[2025-01-08 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:05:03] Production.INFO: 117
[2025-01-08 20:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:05:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:05:03] Production.ERROR: done
[2025-01-08 20:05:03] Production.INFO: Total Charge 0
[2025-01-08 20:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:05:03] Production.INFO: CreateAllLog End
[2025-01-08 20:05:03] Production.INFO: count ==21
[2025-01-08 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-01-08 20:05:03] Production.INFO: count ==21
[2025-01-08 20:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204561') start
[2025-01-08 20:05:03] Production.ERROR: done
[2025-01-08 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204561') end
[2025-01-08 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:05:04] Production.INFO: 1
[2025-01-08 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:05:04] Production.INFO: Account Balance End.
[2025-01-08 20:05:04] Production.INFO: ==11083== Releasing lock...
[2025-01-08 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:05:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:05:04] Production.INFO: ==11079== Releasing lock...
[2025-01-08 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:05:04
[end_date_ymd] => 2025-01-08 20:05:04
[RateCDR] => 1
)
[2025-01-08 20:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:05:04' and `end` < '2025-01-08 20:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:05:11] Production.ERROR: CronJobId end10
[2025-01-08 20:05:11] Production.INFO: ==11077== Releasing lock...
[2025-01-08 20:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:05:12] Production.INFO: call_cost start
[2025-01-08 20:05:12] Production.INFO: call_cost end
[2025-01-08 20:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:05:13] Production.INFO: ==11073== Releasing lock...
[2025-01-08 20:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:05:17] Production.INFO: count ==1911
[2025-01-08 20:05:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:05:04 - End Time 2025-01-08 20:05:04
[2025-01-08 20:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204562', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204562', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204562', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204562', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:05:18] Production.INFO: ProcessCDR(1,14204562,1,1,2)
[2025-01-08 20:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204562', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204562', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:05:21] Production.INFO: ==11081== Releasing lock...
[2025-01-08 20:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:05:21] Production.INFO: 42.5 MB #Memory Used#
[2025-01-09 01:06:02] Production.INFO: ==11155== Lock acquired, processing the job...
[2025-01-09 01:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:06:02] Production.INFO: neon service started
[2025-01-09 01:06:02] Production.INFO: neon service started
[2025-01-09 01:06:02] Production.INFO: ==11155== Releasing lock...
[2025-01-09 01:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:06:02] Production.INFO: ==11157== Lock acquired, processing the job...
[2025-01-08 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:06:02] Production.INFO: ==11157== Releasing lock...
[2025-01-08 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:06:02] Production.INFO: ==11159== Lock acquired, processing the job...
[2025-01-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:06:02] Production.INFO: ==11159== Releasing lock...
[2025-01-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:06:03] Production.INFO: ==11170== Lock acquired, processing the job...
[2025-01-08 20:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:06:03] Production.INFO: ==11172== Lock acquired, processing the job...
[2025-01-08 20:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:06:03] Production.INFO: ==11162== Lock acquired, processing the job...
[2025-01-08 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:06:03] Production.INFO: ==11164== Lock acquired, processing the job...
[2025-01-08 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:06:03] Production.INFO: ==11166== Lock acquired, processing the job...
[2025-01-08 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:06:03] Production.INFO: ==11168== Lock acquired, processing the job...
[2025-01-08 20:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:06:03] Production.INFO: count ==21
[2025-01-08 20:06:03] Production.INFO: Account Balance Start.
[2025-01-08 20:06:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:06:03] Production.INFO: 117
[2025-01-08 20:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:06:03] Production.INFO: count ==21
[2025-01-08 20:06:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204563') start
[2025-01-08 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:06:03] Production.ERROR: done
[2025-01-08 20:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:06:04] Production.INFO: Total Charge 0
[2025-01-08 20:06:04] Production.INFO: CreateAllLog End
[2025-01-08 20:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204563') end
[2025-01-08 20:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:06:04] Production.INFO: 1
[2025-01-08 20:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:06:04] Production.INFO: ==11172== Releasing lock...
[2025-01-08 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:06:04] Production.ERROR: done
[2025-01-08 20:06:04] Production.INFO: ==11164== Releasing lock...
[2025-01-08 20:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:06:04] Production.INFO: Account Balance End.
[2025-01-08 20:06:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:06:04] Production.INFO: ==11168== Releasing lock...
[2025-01-08 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:06:05
[end_date_ymd] => 2025-01-08 20:06:05
[RateCDR] => 1
)
[2025-01-08 20:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:06:05' and `end` < '2025-01-08 20:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:06:12] Production.ERROR: CronJobId end10
[2025-01-08 20:06:12] Production.INFO: ==11166== Releasing lock...
[2025-01-08 20:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:06:13] Production.INFO: call_cost start
[2025-01-08 20:06:13] Production.INFO: call_cost end
[2025-01-08 20:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:06:14] Production.INFO: ==11162== Releasing lock...
[2025-01-08 20:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:06:18] Production.INFO: count ==1901
[2025-01-08 20:06:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:06:05 - End Time 2025-01-08 20:06:05
[2025-01-08 20:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204567', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204567', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204567', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204567', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:06:18] Production.INFO: ProcessCDR(1,14204567,1,1,2)
[2025-01-08 20:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204567', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204567', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:06:22] Production.INFO: ==11170== Releasing lock...
[2025-01-08 20:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:06:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 01:07:01] Production.INFO: ==11241== Lock acquired, processing the job...
[2025-01-09 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:07:01] Production.INFO: neon service started
[2025-01-09 01:07:01] Production.INFO: neon service started
[2025-01-09 01:07:01] Production.INFO: ==11241== Releasing lock...
[2025-01-09 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:07:01] Production.INFO: ==11245== Lock acquired, processing the job...
[2025-01-09 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:07:01] Production.INFO: ==11245== Releasing lock...
[2025-01-09 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:07:01] Production.INFO: ==11243== Lock acquired, processing the job...
[2025-01-08 20:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:07:02] Production.INFO: ==11243== Releasing lock...
[2025-01-08 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:07:03] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-01-08 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:07:03] Production.INFO: ==11247== Lock acquired, processing the job...
[2025-01-08 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:07:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-01-08 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:07:03] Production.INFO: ==11249== Lock acquired, processing the job...
[2025-01-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:07:03] Production.INFO: Account Balance Start.
[2025-01-08 20:07:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:07:03] Production.INFO: 117
[2025-01-08 20:07:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:07:03] Production.INFO: Total Charge 0
[2025-01-08 20:07:03] Production.INFO: CreateAllLog End
[2025-01-08 20:07:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-01-08 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:07:03] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-01-08 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:07:03] Production.INFO: Account Balance End.
[2025-01-08 20:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:07:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:07:03] Production.INFO: ==11253== Releasing lock...
[2025-01-08 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:07:03] Production.INFO: count ==21
[2025-01-08 20:07:03] Production.INFO: ==11249== Releasing lock...
[2025-01-08 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:07:03] Production.INFO: count ==21
[2025-01-08 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204571') start
[2025-01-08 20:07:03] Production.ERROR: done
[2025-01-08 20:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204571') end
[2025-01-08 20:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:07:03] Production.INFO: 1
[2025-01-08 20:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:07:03] Production.ERROR: done
[2025-01-08 20:07:03] Production.INFO: ==11257== Releasing lock...
[2025-01-08 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:07:04
[end_date_ymd] => 2025-01-08 20:07:04
[RateCDR] => 1
)
[2025-01-08 20:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:07:04' and `end` < '2025-01-08 20:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:07:11] Production.ERROR: CronJobId end10
[2025-01-08 20:07:11] Production.INFO: ==11251== Releasing lock...
[2025-01-08 20:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:07:12] Production.INFO: call_cost start
[2025-01-08 20:07:12] Production.INFO: call_cost end
[2025-01-08 20:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:07:13] Production.INFO: ==11247== Releasing lock...
[2025-01-08 20:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:07:18] Production.INFO: count ==1882
[2025-01-08 20:07:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:07:04 - End Time 2025-01-08 20:07:04
[2025-01-08 20:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204572', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204572', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204572', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204572', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:07:19] Production.INFO: ProcessCDR(1,14204572,1,1,2)
[2025-01-08 20:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204572', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204572', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:07:22] Production.INFO: ==11255== Releasing lock...
[2025-01-08 20:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:07:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 01:08:01] Production.INFO: ==11365== Lock acquired, processing the job...
[2025-01-09 01:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:08:01] Production.INFO: neon service started
[2025-01-09 01:08:01] Production.INFO: neon service started
[2025-01-09 01:08:01] Production.INFO: ==11365== Releasing lock...
[2025-01-09 01:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:08:02] Production.INFO: ==11368== Lock acquired, processing the job...
[2025-01-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:08:02] Production.INFO: ==11368== Releasing lock...
[2025-01-08 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:08:02] Production.INFO: ==11370== Lock acquired, processing the job...
[2025-01-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:08:02] Production.INFO: ==11370== Releasing lock...
[2025-01-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:08:03] Production.INFO: ==11380== Lock acquired, processing the job...
[2025-01-08 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:08:03] Production.INFO: ==11382== Lock acquired, processing the job...
[2025-01-08 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:08:03] Production.INFO: ==11372== Lock acquired, processing the job...
[2025-01-08 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:08:03] Production.INFO: ==11374== Lock acquired, processing the job...
[2025-01-08 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:08:03] Production.INFO: ==11378== Lock acquired, processing the job...
[2025-01-08 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:08:03] Production.INFO: ==11376== Lock acquired, processing the job...
[2025-01-08 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:08:03] Production.INFO: Account Balance Start.
[2025-01-08 20:08:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:08:03] Production.INFO: 117
[2025-01-08 20:08:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:08:03] Production.INFO: count ==21
[2025-01-08 20:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:08:03] Production.INFO: count ==21
[2025-01-08 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204574') start
[2025-01-08 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:08:03] Production.INFO: Total Charge 0
[2025-01-08 20:08:03] Production.INFO: CreateAllLog End
[2025-01-08 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:08:03] Production.INFO: ==11374== Releasing lock...
[2025-01-08 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:08:03] Production.ERROR: done
[2025-01-08 20:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204574') end
[2025-01-08 20:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:08:03] Production.INFO: 1
[2025-01-08 20:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:08:03] Production.INFO: ==11382== Releasing lock...
[2025-01-08 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:08:03] Production.INFO: Account Balance End.
[2025-01-08 20:08:03] Production.ERROR: done
[2025-01-08 20:08:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:08:03] Production.INFO: ==11378== Releasing lock...
[2025-01-08 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:08:04
[end_date_ymd] => 2025-01-08 20:08:04
[RateCDR] => 1
)
[2025-01-08 20:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:08:04' and `end` < '2025-01-08 20:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:08:12] Production.ERROR: CronJobId end10
[2025-01-08 20:08:12] Production.INFO: ==11376== Releasing lock...
[2025-01-08 20:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:08:12] Production.INFO: call_cost start
[2025-01-08 20:08:12] Production.INFO: call_cost end
[2025-01-08 20:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:08:13] Production.INFO: ==11372== Releasing lock...
[2025-01-08 20:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:08:18] Production.INFO: count ==1876
[2025-01-08 20:08:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:08:04 - End Time 2025-01-08 20:08:04
[2025-01-08 20:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204577', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204577', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204577', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204577', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:08:18] Production.INFO: ProcessCDR(1,14204577,1,1,2)
[2025-01-08 20:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204577', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204577', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:08:21] Production.INFO: ==11380== Releasing lock...
[2025-01-08 20:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:08:21] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 01:09:02] Production.INFO: ==11445== Lock acquired, processing the job...
[2025-01-09 01:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:09:02] Production.INFO: neon service started
[2025-01-09 01:09:02] Production.INFO: neon service started
[2025-01-09 01:09:02] Production.INFO: ==11445== Releasing lock...
[2025-01-09 01:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:09:02] Production.INFO: ==11447== Lock acquired, processing the job...
[2025-01-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:09:02] Production.INFO: ==11449== Lock acquired, processing the job...
[2025-01-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:09:02] Production.INFO: ==11449== Releasing lock...
[2025-01-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:09:02] Production.INFO: ==11447== Releasing lock...
[2025-01-08 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:09:03] Production.INFO: ==11452== Lock acquired, processing the job...
[2025-01-08 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:09:03] Production.INFO: ==11454== Lock acquired, processing the job...
[2025-01-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:09:03] Production.INFO: ==11460== Lock acquired, processing the job...
[2025-01-08 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:09:03] Production.INFO: ==11456== Lock acquired, processing the job...
[2025-01-08 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:09:03] Production.INFO: ==11454== Releasing lock...
[2025-01-08 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:09:03] Production.INFO: ==11458== Lock acquired, processing the job...
[2025-01-08 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:09:04] Production.INFO: ==11464== Lock acquired, processing the job...
[2025-01-08 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:09:04] Production.INFO: Account Balance Start.
[2025-01-08 20:09:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:09:04] Production.INFO: 117
[2025-01-08 20:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:09:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:09:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:09:04] Production.INFO: count ==21
[2025-01-08 20:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:09:04] Production.INFO: count ==21
[2025-01-08 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204581') start
[2025-01-08 20:09:04] Production.ERROR: done
[2025-01-08 20:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:09:04] Production.INFO: Total Charge 0
[2025-01-08 20:09:04] Production.INFO: CreateAllLog End
[2025-01-08 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204581') end
[2025-01-08 20:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:09:04] Production.INFO: 1
[2025-01-08 20:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:09:04] Production.ERROR: done
[2025-01-08 20:09:04] Production.INFO: Account Balance End.
[2025-01-08 20:09:04] Production.INFO: ==11464== Releasing lock...
[2025-01-08 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:09:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:09:04] Production.INFO: ==11458== Releasing lock...
[2025-01-08 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:09:05
[end_date_ymd] => 2025-01-08 20:09:05
[RateCDR] => 1
)
[2025-01-08 20:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:09:05' and `end` < '2025-01-08 20:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:09:12] Production.ERROR: CronJobId end10
[2025-01-08 20:09:12] Production.INFO: ==11456== Releasing lock...
[2025-01-08 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:09:13] Production.INFO: call_cost start
[2025-01-08 20:09:13] Production.INFO: call_cost end
[2025-01-08 20:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:09:14] Production.INFO: ==11452== Releasing lock...
[2025-01-08 20:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:09:19] Production.INFO: count ==1865
[2025-01-08 20:09:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:09:05 - End Time 2025-01-08 20:09:05
[2025-01-08 20:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204582', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204582', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204582', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204582', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:09:19] Production.INFO: ProcessCDR(1,14204582,1,1,2)
[2025-01-08 20:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204582', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204582', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:09:22] Production.INFO: ==11460== Releasing lock...
[2025-01-08 20:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:09:22] Production.INFO: 42 MB #Memory Used#
[2025-01-09 01:10:01] Production.INFO: ==11529== Lock acquired, processing the job...
[2025-01-09 01:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:10:01] Production.INFO: neon service started
[2025-01-09 01:10:01] Production.INFO: neon service started
[2025-01-09 01:10:01] Production.INFO: ==11529== Releasing lock...
[2025-01-09 01:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:10:01] Production.INFO: ==11531== Lock acquired, processing the job...
[2025-01-08 20:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:10:02] Production.INFO: ==11533== Lock acquired, processing the job...
[2025-01-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:10:02] Production.INFO: ==11533== Releasing lock...
[2025-01-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:10:02] Production.INFO: ==11531== Releasing lock...
[2025-01-08 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:10:03] Production.INFO: ==11535== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 20:10:03] Production.INFO: ==11540== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:10:03] Production.INFO: ==11544== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:10:03] Production.INFO: ==11538== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 20:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:10:03] Production.ERROR: CronJob PID - 11540
[2025-01-08 20:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-08 20:10:03] Production.ERROR: CronJob ID - 7
[2025-01-08 20:10:03] Production.ERROR: CronJob Last Run Time 2025-01-08 20:10:00
[2025-01-08 20:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:10:03] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 20:10:03] Production.INFO: ==11535== Releasing lock...
[2025-01-08 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 20:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:10:03] Production.INFO: ==11542== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:10:03] Production.INFO: Account Balance Start.
[2025-01-08 20:10:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:10:03] Production.INFO: 117
[2025-01-08 20:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:10:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:10:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:10:03] Production.INFO: count ==21
[2025-01-08 20:10:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:10:03] Production.INFO: count ==21
[2025-01-08 20:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204585') start
[2025-01-08 20:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:10:03] Production.INFO: Total Charge 0
[2025-01-08 20:10:03] Production.INFO: ==11546== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:10:03] Production.INFO: CreateAllLog End
[2025-01-08 20:10:03] Production.INFO: ==11540== Releasing lock...
[2025-01-08 20:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:10:03] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-01-08 20:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 20:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204585') end
[2025-01-08 20:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:10:03] Production.INFO: 1
[2025-01-08 20:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:10:03] Production.INFO: ==11550== Releasing lock...
[2025-01-08 20:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:10:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:10:03] Production.INFO: Account Balance End.
[2025-01-08 20:10:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:10:04] Production.INFO: ==11544== Releasing lock...
[2025-01-08 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:10:04] Production.ERROR: done
[2025-01-08 20:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:10:04] Production.ERROR: done
[2025-01-08 20:10:04] Production.ERROR: done
[2025-01-08 20:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 20:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204587', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 20:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:10:05
[end_date_ymd] => 2025-01-08 20:10:05
[RateCDR] => 1
)
[2025-01-08 20:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:10:05' and `end` < '2025-01-08 20:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204587', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 20:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 20:10:08] Production.INFO: ProcessCDR(1,14204587,1,1,2)
[2025-01-08 20:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204587,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204587,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:10:08] Production.INFO: ==11548== Releasing lock...
[2025-01-08 20:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 20:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 20:10:13] Production.ERROR: CronJobId end10
[2025-01-08 20:10:13] Production.INFO: ==11542== Releasing lock...
[2025-01-08 20:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:10:14] Production.INFO: call_cost start
[2025-01-08 20:10:14] Production.INFO: call_cost end
[2025-01-08 20:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:10:15] Production.INFO: ==11538== Releasing lock...
[2025-01-08 20:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:10:18] Production.INFO: count ==1860
[2025-01-08 20:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:10:05 - End Time 2025-01-08 20:10:05
[2025-01-08 20:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204588', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204588', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204588', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204588', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:10:19] Production.INFO: ProcessCDR(1,14204588,1,1,2)
[2025-01-08 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204588', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204588', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:10:22] Production.INFO: ==11546== Releasing lock...
[2025-01-08 20:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:10:22] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 01:11:02] Production.INFO: ==11617== Lock acquired, processing the job...
[2025-01-09 01:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:11:02] Production.INFO: neon service started
[2025-01-09 01:11:02] Production.INFO: neon service started
[2025-01-09 01:11:02] Production.INFO: ==11617== Releasing lock...
[2025-01-09 01:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:11:02] Production.INFO: ==11619== Lock acquired, processing the job...
[2025-01-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:11:02] Production.INFO: ==11619== Releasing lock...
[2025-01-08 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:11:02] Production.INFO: ==11621== Lock acquired, processing the job...
[2025-01-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:11:02] Production.INFO: ==11621== Releasing lock...
[2025-01-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:11:03] Production.INFO: ==11624== Lock acquired, processing the job...
[2025-01-08 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:11:03] Production.INFO: ==11634== Lock acquired, processing the job...
[2025-01-08 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:11:03] Production.INFO: ==11626== Lock acquired, processing the job...
[2025-01-08 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:11:03] Production.INFO: count ==21
[2025-01-08 20:11:03] Production.INFO: ==11628== Lock acquired, processing the job...
[2025-01-08 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:11:03] Production.INFO: count ==21
[2025-01-08 20:11:03] Production.INFO: ==11632== Lock acquired, processing the job...
[2025-01-08 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204590') start
[2025-01-08 20:11:03] Production.INFO: ==11630== Lock acquired, processing the job...
[2025-01-08 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204590') end
[2025-01-08 20:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:11:03] Production.INFO: 1
[2025-01-08 20:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:11:03] Production.INFO: Account Balance Start.
[2025-01-08 20:11:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:11:03] Production.INFO: 117
[2025-01-08 20:11:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:11:03] Production.INFO: Total Charge 0
[2025-01-08 20:11:04] Production.INFO: ==11634== Releasing lock...
[2025-01-08 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:11:04] Production.INFO: CreateAllLog End
[2025-01-08 20:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:11:04] Production.ERROR: done
[2025-01-08 20:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:11:04] Production.INFO: ==11626== Releasing lock...
[2025-01-08 20:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:11:04] Production.INFO: Account Balance End.
[2025-01-08 20:11:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:11:04] Production.ERROR: done
[2025-01-08 20:11:04] Production.INFO: ==11630== Releasing lock...
[2025-01-08 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:11:05
[end_date_ymd] => 2025-01-08 20:11:05
[RateCDR] => 1
)
[2025-01-08 20:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:11:05' and `end` < '2025-01-08 20:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:11:11] Production.ERROR: CronJobId end10
[2025-01-08 20:11:11] Production.INFO: ==11628== Releasing lock...
[2025-01-08 20:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:11:13] Production.INFO: call_cost start
[2025-01-08 20:11:13] Production.INFO: call_cost end
[2025-01-08 20:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:11:14] Production.INFO: ==11624== Releasing lock...
[2025-01-08 20:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:11:18] Production.INFO: count ==1823
[2025-01-08 20:11:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:11:05 - End Time 2025-01-08 20:11:05
[2025-01-08 20:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204593', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204593', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204593', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204593', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:11:19] Production.INFO: ProcessCDR(1,14204593,1,1,2)
[2025-01-08 20:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204593', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204593', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:11:22] Production.INFO: ==11632== Releasing lock...
[2025-01-08 20:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:11:22] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 01:12:01] Production.INFO: ==11691== Lock acquired, processing the job...
[2025-01-09 01:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:12:01] Production.INFO: neon service started
[2025-01-09 01:12:01] Production.INFO: neon service started
[2025-01-09 01:12:01] Production.INFO: ==11691== Releasing lock...
[2025-01-09 01:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:12:01] Production.INFO: ==11695== Lock acquired, processing the job...
[2025-01-09 01:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:12:01] Production.INFO: ==11695== Releasing lock...
[2025-01-09 01:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:12:02] Production.INFO: ==11693== Lock acquired, processing the job...
[2025-01-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:12:02] Production.INFO: ==11693== Releasing lock...
[2025-01-08 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:12:03] Production.INFO: ==11697== Lock acquired, processing the job...
[2025-01-08 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:12:03] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-01-08 20:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:12:03] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-01-08 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:12:03] Production.INFO: ==11699== Lock acquired, processing the job...
[2025-01-08 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:12:03] Production.INFO: Account Balance Start.
[2025-01-08 20:12:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:12:03] Production.INFO: 117
[2025-01-08 20:12:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:12:03] Production.INFO: Total Charge 0
[2025-01-08 20:12:03] Production.INFO: CreateAllLog End
[2025-01-08 20:12:03] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-01-08 20:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:12:03] Production.INFO: ==11708== Lock acquired, processing the job...
[2025-01-08 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:12:03] Production.INFO: Account Balance End.
[2025-01-08 20:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:12:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:12:03] Production.INFO: ==11704== Releasing lock...
[2025-01-08 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:12:03] Production.INFO: count ==21
[2025-01-08 20:12:03] Production.INFO: ==11699== Releasing lock...
[2025-01-08 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:12:03] Production.INFO: count ==21
[2025-01-08 20:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204597') start
[2025-01-08 20:12:04] Production.ERROR: done
[2025-01-08 20:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204597') end
[2025-01-08 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:12:04] Production.INFO: 1
[2025-01-08 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:12:04] Production.ERROR: done
[2025-01-08 20:12:04] Production.INFO: ==11708== Releasing lock...
[2025-01-08 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:12:05
[end_date_ymd] => 2025-01-08 20:12:05
[RateCDR] => 1
)
[2025-01-08 20:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:12:05' and `end` < '2025-01-08 20:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:12:11] Production.ERROR: CronJobId end10
[2025-01-08 20:12:11] Production.INFO: ==11702== Releasing lock...
[2025-01-08 20:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:12:13] Production.INFO: call_cost start
[2025-01-08 20:12:13] Production.INFO: call_cost end
[2025-01-08 20:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:12:14] Production.INFO: ==11697== Releasing lock...
[2025-01-08 20:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:12:18] Production.INFO: count ==1820
[2025-01-08 20:12:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:12:05 - End Time 2025-01-08 20:12:05
[2025-01-08 20:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204598', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204598', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204598', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204598', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:12:18] Production.INFO: ProcessCDR(1,14204598,1,1,2)
[2025-01-08 20:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204598', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204598', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:12:22] Production.INFO: ==11706== Releasing lock...
[2025-01-08 20:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:12:22] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 01:13:02] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-01-09 01:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:13:02] Production.INFO: neon service started
[2025-01-09 01:13:02] Production.INFO: neon service started
[2025-01-09 01:13:02] Production.INFO: ==11770== Releasing lock...
[2025-01-09 01:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:13:02] Production.INFO: ==11772== Lock acquired, processing the job...
[2025-01-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:13:02] Production.INFO: ==11772== Releasing lock...
[2025-01-08 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:13:02] Production.INFO: ==11774== Lock acquired, processing the job...
[2025-01-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:13:02] Production.INFO: ==11774== Releasing lock...
[2025-01-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:13:03] Production.INFO: ==11782== Lock acquired, processing the job...
[2025-01-08 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:13:03] Production.INFO: ==11787== Lock acquired, processing the job...
[2025-01-08 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:13:03] Production.INFO: Account Balance Start.
[2025-01-08 20:13:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:13:03] Production.INFO: 117
[2025-01-08 20:13:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:13:03] Production.INFO: ==11776== Lock acquired, processing the job...
[2025-01-08 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:13:03] Production.INFO: ==11780== Lock acquired, processing the job...
[2025-01-08 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:13:03] Production.INFO: ==11778== Lock acquired, processing the job...
[2025-01-08 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:13:03] Production.INFO: Total Charge 0
[2025-01-08 20:13:03] Production.INFO: count ==21
[2025-01-08 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:13:03] Production.INFO: count ==21
[2025-01-08 20:13:03] Production.INFO: CreateAllLog End
[2025-01-08 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204600') start
[2025-01-08 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:13:04] Production.INFO: ==11784== Lock acquired, processing the job...
[2025-01-08 20:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204600') end
[2025-01-08 20:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:13:04] Production.INFO: 1
[2025-01-08 20:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:13:04] Production.INFO: Account Balance End.
[2025-01-08 20:13:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:13:04] Production.INFO: ==11782== Releasing lock...
[2025-01-08 20:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:13:04] Production.INFO: ==11787== Releasing lock...
[2025-01-08 20:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:13:04] Production.INFO: ==11778== Releasing lock...
[2025-01-08 20:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:13:04] Production.ERROR: done
[2025-01-08 20:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:13:04] Production.ERROR: done
[2025-01-08 20:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:13:05
[end_date_ymd] => 2025-01-08 20:13:05
[RateCDR] => 1
)
[2025-01-08 20:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:13:05' and `end` < '2025-01-08 20:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:13:12] Production.ERROR: CronJobId end10
[2025-01-08 20:13:12] Production.INFO: ==11780== Releasing lock...
[2025-01-08 20:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:13:14] Production.INFO: call_cost start
[2025-01-08 20:13:14] Production.INFO: call_cost end
[2025-01-08 20:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:13:15] Production.INFO: ==11776== Releasing lock...
[2025-01-08 20:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:13:18] Production.INFO: count ==1816
[2025-01-08 20:13:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:13:05 - End Time 2025-01-08 20:13:05
[2025-01-08 20:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204603', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204603', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204603', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204603', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:13:19] Production.INFO: ProcessCDR(1,14204603,1,1,2)
[2025-01-08 20:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204603', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204603', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:13:22] Production.INFO: ==11784== Releasing lock...
[2025-01-08 20:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:13:22] Production.INFO: 41.5 MB #Memory Used#
[2025-01-09 01:14:01] Production.INFO: ==11844== Lock acquired, processing the job...
[2025-01-09 01:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:14:01] Production.INFO: neon service started
[2025-01-09 01:14:01] Production.INFO: neon service started
[2025-01-09 01:14:01] Production.INFO: ==11844== Releasing lock...
[2025-01-09 01:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:14:02] Production.INFO: ==11846== Lock acquired, processing the job...
[2025-01-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:14:02] Production.INFO: ==11848== Lock acquired, processing the job...
[2025-01-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:14:02] Production.INFO: ==11848== Releasing lock...
[2025-01-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:14:02] Production.INFO: ==11846== Releasing lock...
[2025-01-08 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:14:03] Production.INFO: ==11851== Lock acquired, processing the job...
[2025-01-08 20:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:14:03] Production.INFO: ==11857== Lock acquired, processing the job...
[2025-01-08 20:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:14:03] Production.INFO: ==11855== Lock acquired, processing the job...
[2025-01-08 20:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:14:03] Production.INFO: ==11853== Lock acquired, processing the job...
[2025-01-08 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:14:03] Production.INFO: Account Balance Start.
[2025-01-08 20:14:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:14:03] Production.INFO: 117
[2025-01-08 20:14:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:14:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:14:04] Production.INFO: Total Charge 0
[2025-01-08 20:14:04] Production.INFO: CreateAllLog End
[2025-01-08 20:14:04] Production.INFO: ==11859== Lock acquired, processing the job...
[2025-01-08 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:14:04] Production.INFO: ==11861== Lock acquired, processing the job...
[2025-01-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:14:04] Production.INFO: Account Balance End.
[2025-01-08 20:14:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:14:04] Production.INFO: ==11857== Releasing lock...
[2025-01-08 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:14:04] Production.INFO: ==11853== Releasing lock...
[2025-01-08 20:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:14:04] Production.INFO: count ==21
[2025-01-08 20:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:14:04] Production.INFO: count ==21
[2025-01-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204607') start
[2025-01-08 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204607') end
[2025-01-08 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:14:04] Production.INFO: 1
[2025-01-08 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:14:04] Production.INFO: ==11861== Releasing lock...
[2025-01-08 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:14:04] Production.ERROR: done
[2025-01-08 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:14:04] Production.ERROR: done
[2025-01-08 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:14:05
[end_date_ymd] => 2025-01-08 20:14:05
[RateCDR] => 1
)
[2025-01-08 20:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:14:05' and `end` < '2025-01-08 20:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:14:12] Production.ERROR: CronJobId end10
[2025-01-08 20:14:12] Production.INFO: ==11855== Releasing lock...
[2025-01-08 20:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:14:13] Production.INFO: call_cost start
[2025-01-08 20:14:13] Production.INFO: call_cost end
[2025-01-08 20:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:14:14] Production.INFO: ==11851== Releasing lock...
[2025-01-08 20:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:14:18] Production.INFO: count ==1798
[2025-01-08 20:14:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:14:05 - End Time 2025-01-08 20:14:05
[2025-01-08 20:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204608', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204608', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204608', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204608', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:14:19] Production.INFO: ProcessCDR(1,14204608,1,1,2)
[2025-01-08 20:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204608', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204608', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:14:22] Production.INFO: ==11859== Releasing lock...
[2025-01-08 20:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:14:22] Production.INFO: 41.25 MB #Memory Used#
[2025-01-09 01:15:02] Production.INFO: ==11917== Lock acquired, processing the job...
[2025-01-09 01:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:15:02] Production.INFO: neon service started
[2025-01-09 01:15:02] Production.INFO: neon service started
[2025-01-09 01:15:02] Production.INFO: ==11917== Releasing lock...
[2025-01-09 01:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:15:02] Production.INFO: ==11921== Lock acquired, processing the job...
[2025-01-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:15:02] Production.INFO: ==11921== Releasing lock...
[2025-01-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:15:02] Production.INFO: ==11919== Lock acquired, processing the job...
[2025-01-08 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:15:03] Production.INFO: ==11919== Releasing lock...
[2025-01-08 20:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:15:03] Production.INFO: ==11927== Lock acquired, processing the job...
[2025-01-08 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:15:03] Production.INFO: ==11923== Lock acquired, processing the job...
[2025-01-08 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:15:03] Production.INFO: ==11925== Lock acquired, processing the job...
[2025-01-08 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:15:04] Production.INFO: ==11929== Lock acquired, processing the job...
[2025-01-08 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:15:04] Production.INFO: ==11931== Lock acquired, processing the job...
[2025-01-08 20:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:15:04] Production.INFO: Account Balance Start.
[2025-01-08 20:15:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:15:04] Production.INFO: 117
[2025-01-08 20:15:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:15:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:15:04] Production.INFO: ==11934== Lock acquired, processing the job...
[2025-01-08 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:15:04] Production.INFO: Total Charge 0
[2025-01-08 20:15:04] Production.INFO: CreateAllLog End
[2025-01-08 20:15:04] Production.INFO: ==11925== Releasing lock...
[2025-01-08 20:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 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-01-08 20:15:04] Production.INFO: count ==21
[2025-01-08 20:15:04] Production.INFO: Account Balance End.
[2025-01-08 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-01-08 20:15:04] Production.INFO: count ==21
[2025-01-08 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204612') start
[2025-01-08 20:15:04] Production.ERROR: done
[2025-01-08 20:15:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:15:04] Production.INFO: ==11929== Releasing lock...
[2025-01-08 20:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:15:04] Production.ERROR: done
[2025-01-08 20:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204612') end
[2025-01-08 20:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:15:04] Production.INFO: 1
[2025-01-08 20:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:15:04] Production.INFO: ==11934== Releasing lock...
[2025-01-08 20:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:15:05
[end_date_ymd] => 2025-01-08 20:15:05
[RateCDR] => 1
)
[2025-01-08 20:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:15:05' and `end` < '2025-01-08 20:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:15:12] Production.ERROR: CronJobId end10
[2025-01-08 20:15:12] Production.INFO: ==11927== Releasing lock...
[2025-01-08 20:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:15:14] Production.INFO: call_cost start
[2025-01-08 20:15:14] Production.INFO: call_cost end
[2025-01-08 20:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:15:14] Production.INFO: ==11923== Releasing lock...
[2025-01-08 20:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:15:18] Production.INFO: count ==1790
[2025-01-08 20:15:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:15:05 - End Time 2025-01-08 20:15:05
[2025-01-08 20:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204613', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204613', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204613', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204613', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:15:18] Production.INFO: ProcessCDR(1,14204613,1,1,2)
[2025-01-08 20:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204613', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204613', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:15:21] Production.INFO: ==11931== Releasing lock...
[2025-01-08 20:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:15:21] Production.INFO: 41.5 MB #Memory Used#
[2025-01-09 01:16:01] Production.INFO: ==11991== Lock acquired, processing the job...
[2025-01-09 01:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:16:01] Production.INFO: neon service started
[2025-01-09 01:16:01] Production.INFO: neon service started
[2025-01-09 01:16:01] Production.INFO: ==11991== Releasing lock...
[2025-01-09 01:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:16:01] Production.INFO: ==11993== Lock acquired, processing the job...
[2025-01-08 20:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:16:02] Production.INFO: ==11993== Releasing lock...
[2025-01-08 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:16:02] Production.INFO: ==11995== Lock acquired, processing the job...
[2025-01-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:16:02] Production.INFO: ==11995== Releasing lock...
[2025-01-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:16:03] Production.INFO: ==12003== Lock acquired, processing the job...
[2025-01-08 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:16:03] Production.INFO: ==11997== Lock acquired, processing the job...
[2025-01-08 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:16:03] Production.INFO: Account Balance Start.
[2025-01-08 20:16:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:16:03] Production.INFO: 117
[2025-01-08 20:16:03] Production.INFO: ==11999== Lock acquired, processing the job...
[2025-01-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:16:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:16:03] Production.INFO: Total Charge 0
[2025-01-08 20:16:03] Production.INFO: ==12005== Lock acquired, processing the job...
[2025-01-08 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:16:03] Production.INFO: ==12001== Lock acquired, processing the job...
[2025-01-08 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:16:03] Production.INFO: CreateAllLog End
[2025-01-08 20:16:03] Production.INFO: ==12007== Lock acquired, processing the job...
[2025-01-08 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:16:03] Production.INFO: Account Balance End.
[2025-01-08 20:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:16:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:16:03] Production.INFO: ==12003== Releasing lock...
[2025-01-08 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:16:03] Production.INFO: ==11999== Releasing lock...
[2025-01-08 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:16:03] Production.INFO: count ==21
[2025-01-08 20:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:16:03] Production.INFO: count ==21
[2025-01-08 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204617') start
[2025-01-08 20:16:03] Production.ERROR: done
[2025-01-08 20:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204617') end
[2025-01-08 20:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:16:03] Production.INFO: 1
[2025-01-08 20:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:16:04] Production.ERROR: done
[2025-01-08 20:16:04] Production.INFO: ==12007== Releasing lock...
[2025-01-08 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:16:04
[end_date_ymd] => 2025-01-08 20:16:04
[RateCDR] => 1
)
[2025-01-08 20:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:16:04' and `end` < '2025-01-08 20:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:16:12] Production.ERROR: CronJobId end10
[2025-01-08 20:16:12] Production.INFO: ==12001== Releasing lock...
[2025-01-08 20:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:16:14] Production.INFO: call_cost start
[2025-01-08 20:16:14] Production.INFO: call_cost end
[2025-01-08 20:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:16:14] Production.INFO: ==11997== Releasing lock...
[2025-01-08 20:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:16:18] Production.INFO: count ==1768
[2025-01-08 20:16:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:16:04 - End Time 2025-01-08 20:16:04
[2025-01-08 20:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204618', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204618', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204618', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204618', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:16:19] Production.INFO: ProcessCDR(1,14204618,1,1,2)
[2025-01-08 20:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204618', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204618', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:16:22] Production.INFO: ==12005== Releasing lock...
[2025-01-08 20:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:16:22] Production.INFO: 41.25 MB #Memory Used#
[2025-01-09 01:17:02] Production.INFO: ==12071== Lock acquired, processing the job...
[2025-01-09 01:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:17:02] Production.INFO: neon service started
[2025-01-09 01:17:02] Production.INFO: neon service started
[2025-01-09 01:17:02] Production.INFO: ==12071== Releasing lock...
[2025-01-09 01:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:17:02] Production.INFO: ==12074== Lock acquired, processing the job...
[2025-01-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:17:02] Production.INFO: ==12074== Releasing lock...
[2025-01-08 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:17:02] Production.INFO: ==12076== Lock acquired, processing the job...
[2025-01-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:17:02] Production.INFO: ==12076== Releasing lock...
[2025-01-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:17:03] Production.INFO: ==12086== Lock acquired, processing the job...
[2025-01-08 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:17:03] Production.INFO: ==12088== Lock acquired, processing the job...
[2025-01-08 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:17:03] Production.INFO: ==12078== Lock acquired, processing the job...
[2025-01-08 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:17:03] Production.INFO: ==12080== Lock acquired, processing the job...
[2025-01-08 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:17:03] Production.INFO: ==12082== Lock acquired, processing the job...
[2025-01-08 20:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:17:03] Production.INFO: ==12084== Lock acquired, processing the job...
[2025-01-08 20:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:17:03] Production.INFO: count ==21
[2025-01-08 20:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:17:03] Production.INFO: count ==21
[2025-01-08 20:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204619') start
[2025-01-08 20:17:03] Production.INFO: Account Balance Start.
[2025-01-08 20:17:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:17:03] Production.INFO: 117
[2025-01-08 20:17:03] Production.ERROR: done
[2025-01-08 20:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:17:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204619') end
[2025-01-08 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:17:04] Production.INFO: 1
[2025-01-08 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:17:04] Production.ERROR: done
[2025-01-08 20:17:04] Production.INFO: Total Charge 0
[2025-01-08 20:17:04] Production.INFO: ==12080== Releasing lock...
[2025-01-08 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:17:04] Production.INFO: ==12088== Releasing lock...
[2025-01-08 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:17:04] Production.INFO: CreateAllLog End
[2025-01-08 20:17:04] Production.INFO: Account Balance End.
[2025-01-08 20:17:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:17:04] Production.INFO: ==12084== Releasing lock...
[2025-01-08 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:17:05
[end_date_ymd] => 2025-01-08 20:17:05
[RateCDR] => 1
)
[2025-01-08 20:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:17:05' and `end` < '2025-01-08 20:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:17:11] Production.ERROR: CronJobId end10
[2025-01-08 20:17:11] Production.INFO: ==12082== Releasing lock...
[2025-01-08 20:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:17:13] Production.INFO: call_cost start
[2025-01-08 20:17:13] Production.INFO: call_cost end
[2025-01-08 20:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:17:14] Production.INFO: ==12078== Releasing lock...
[2025-01-08 20:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:17:18] Production.INFO: count ==1755
[2025-01-08 20:17:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:17:05 - End Time 2025-01-08 20:17:05
[2025-01-08 20:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204623', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204623', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204623', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204623', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:17:18] Production.INFO: ProcessCDR(1,14204623,1,1,2)
[2025-01-08 20:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204623', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204623', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:17:21] Production.INFO: ==12086== Releasing lock...
[2025-01-08 20:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:17:21] Production.INFO: 41.5 MB #Memory Used#
[2025-01-09 01:18:01] Production.INFO: ==12155== Lock acquired, processing the job...
[2025-01-09 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:18:01] Production.INFO: neon service started
[2025-01-09 01:18:01] Production.INFO: neon service started
[2025-01-09 01:18:01] Production.INFO: ==12155== Releasing lock...
[2025-01-09 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:18:02] Production.INFO: ==12159== Lock acquired, processing the job...
[2025-01-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:18:02] Production.INFO: ==12157== Lock acquired, processing the job...
[2025-01-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:18:02] Production.INFO: ==12159== Releasing lock...
[2025-01-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:18:02] Production.INFO: ==12157== Releasing lock...
[2025-01-08 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:18:03] Production.INFO: ==12170== Lock acquired, processing the job...
[2025-01-08 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:18:03] Production.INFO: ==12168== Lock acquired, processing the job...
[2025-01-08 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:18:03] Production.INFO: Account Balance Start.
[2025-01-08 20:18:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:18:03] Production.INFO: 117
[2025-01-08 20:18:03] Production.INFO: ==12162== Lock acquired, processing the job...
[2025-01-08 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:18:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:18:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:18:03] Production.INFO: ==12166== Lock acquired, processing the job...
[2025-01-08 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:18:03] Production.INFO: ==12164== Lock acquired, processing the job...
[2025-01-08 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:18:03] Production.INFO: Total Charge 0
[2025-01-08 20:18:03] Production.INFO: CreateAllLog End
[2025-01-08 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:18:03] Production.INFO: ==12172== Lock acquired, processing the job...
[2025-01-08 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:18:03] Production.ERROR: done
[2025-01-08 20:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:18:03] Production.INFO: count ==21
[2025-01-08 20:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:18:03] Production.INFO: count ==21
[2025-01-08 20:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204627') start
[2025-01-08 20:18:03] Production.INFO: Account Balance End.
[2025-01-08 20:18:03] Production.ERROR: done
[2025-01-08 20:18:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:18:03] Production.INFO: ==12168== Releasing lock...
[2025-01-08 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:18:04] Production.INFO: ==12164== Releasing lock...
[2025-01-08 20:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204627') end
[2025-01-08 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:18:04] Production.INFO: 1
[2025-01-08 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:18:04] Production.INFO: ==12172== Releasing lock...
[2025-01-08 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:18:04
[end_date_ymd] => 2025-01-08 20:18:04
[RateCDR] => 1
)
[2025-01-08 20:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:18:04' and `end` < '2025-01-08 20:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:18:11] Production.ERROR: CronJobId end10
[2025-01-08 20:18:11] Production.INFO: ==12166== Releasing lock...
[2025-01-08 20:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:18:13] Production.INFO: call_cost start
[2025-01-08 20:18:13] Production.INFO: call_cost end
[2025-01-08 20:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:18:13] Production.INFO: ==12162== Releasing lock...
[2025-01-08 20:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:18:18] Production.INFO: count ==1754
[2025-01-08 20:18:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:18:04 - End Time 2025-01-08 20:18:04
[2025-01-08 20:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204628', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204628', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204628', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204628', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:18:18] Production.INFO: ProcessCDR(1,14204628,1,1,2)
[2025-01-08 20:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204628', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204628', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:18:21] Production.INFO: ==12170== Releasing lock...
[2025-01-08 20:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:18:21] Production.INFO: 41.25 MB #Memory Used#
[2025-01-09 01:19:02] Production.INFO: ==12227== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:19:02] Production.INFO: neon service started
[2025-01-09 01:19:02] Production.INFO: neon service started
[2025-01-09 01:19:02] Production.INFO: ==12227== Releasing lock...
[2025-01-09 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:19:02] Production.INFO: ==12229== Lock acquired, processing the job...
[2025-01-08 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:19:02] Production.INFO: ==12231== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:19:02] Production.INFO: ==12231== Releasing lock...
[2025-01-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:19:02] Production.INFO: ==12229== Releasing lock...
[2025-01-08 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:19:03] Production.INFO: ==12234== Lock acquired, processing the job...
[2025-01-08 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:19:03] Production.INFO: ==12240== Lock acquired, processing the job...
[2025-01-08 20:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:19:03] Production.INFO: ==12244== Lock acquired, processing the job...
[2025-01-08 20:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:19:03] Production.INFO: Account Balance Start.
[2025-01-08 20:19:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:19:03] Production.INFO: 117
[2025-01-08 20:19:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:19:03] Production.INFO: ==12238== Lock acquired, processing the job...
[2025-01-08 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:19:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:19:03] Production.INFO: ==12236== Lock acquired, processing the job...
[2025-01-08 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:19:03] Production.INFO: Total Charge 0
[2025-01-08 20:19:03] Production.INFO: CreateAllLog End
[2025-01-08 20:19:03] Production.INFO: ==12242== Lock acquired, processing the job...
[2025-01-08 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:19:03] Production.INFO: count ==21
[2025-01-08 20:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:19:03] Production.INFO: count ==21
[2025-01-08 20:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204631') start
[2025-01-08 20:19:03] Production.INFO: Account Balance End.
[2025-01-08 20:19:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:19:04] Production.INFO: ==12240== Releasing lock...
[2025-01-08 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:19:04] Production.INFO: ==12236== Releasing lock...
[2025-01-08 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:19:04] Production.ERROR: done
[2025-01-08 20:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204631') end
[2025-01-08 20:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:19:04] Production.INFO: 1
[2025-01-08 20:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:19:04] Production.INFO: ==12244== Releasing lock...
[2025-01-08 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:19:04] Production.ERROR: done
[2025-01-08 20:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:19:05
[end_date_ymd] => 2025-01-08 20:19:05
[RateCDR] => 1
)
[2025-01-08 20:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:19:05' and `end` < '2025-01-08 20:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:19:11] Production.ERROR: CronJobId end10
[2025-01-08 20:19:11] Production.INFO: ==12238== Releasing lock...
[2025-01-08 20:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:19:13] Production.INFO: call_cost start
[2025-01-08 20:19:13] Production.INFO: call_cost end
[2025-01-08 20:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:19:14] Production.INFO: ==12234== Releasing lock...
[2025-01-08 20:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:19:18] Production.INFO: count ==1753
[2025-01-08 20:19:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:19:05 - End Time 2025-01-08 20:19:05
[2025-01-08 20:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204633', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204633', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204633', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204633', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:19:18] Production.INFO: ProcessCDR(1,14204633,1,1,2)
[2025-01-08 20:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204633', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204633', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:19:21] Production.INFO: ==12242== Releasing lock...
[2025-01-08 20:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:19:21] Production.INFO: 41.25 MB #Memory Used#
[2025-01-09 01:20:01] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-01-09 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:20:01] Production.INFO: neon service started
[2025-01-09 01:20:01] Production.INFO: neon service started
[2025-01-09 01:20:01] Production.INFO: ==12298== Releasing lock...
[2025-01-09 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:20:01] Production.INFO: ==12300== Lock acquired, processing the job...
[2025-01-08 20:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:20:02] Production.INFO: ==12302== Lock acquired, processing the job...
[2025-01-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:20:02] Production.INFO: ==12300== Releasing lock...
[2025-01-08 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:20:02] Production.INFO: ==12302== Releasing lock...
[2025-01-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:20:03] Production.INFO: ==12306== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:20:03] Production.INFO: ==12308== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:20:03] Production.INFO: ==12312== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:20:03] Production.INFO: ==12304== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 20:20:03] Production.INFO: ==12314== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:20:03] Production.INFO: ==12310== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:20:03] Production.ERROR: CronJob PID - 12306
[2025-01-08 20:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 20:20:03] Production.ERROR: CronJob ID - 5
[2025-01-08 20:20:03] Production.ERROR: CronJob Last Run Time 2025-01-08 20:20:00
[2025-01-08 20:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:20:03] Production.ERROR: CronJob PID - 12308
[2025-01-08 20:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-08 20:20:03] Production.ERROR: CronJob ID - 7
[2025-01-08 20:20:03] Production.ERROR: CronJob Last Run Time 2025-01-08 20:20:00
[2025-01-08 20:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:20:03] Production.ERROR: CronJob PID - 12312
[2025-01-08 20:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-08 20:20:03] Production.ERROR: CronJob ID - 12
[2025-01-08 20:20:03] Production.ERROR: CronJob Last Run Time 2025-01-08 20:20:00
[2025-01-08 20:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:20:03] Production.INFO: ==12319== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 20:20:03] Production.INFO: ==12304== Releasing lock...
[2025-01-08 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:20:03] Production.INFO: Account Balance Start.
[2025-01-08 20:20:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:20:03] Production.INFO: 117
[2025-01-08 20:20:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:20:03] Production.INFO: ==12316== Lock acquired, processing the job...
[2025-01-08 20:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 20:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:20:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:20:03] Production.INFO: Total Charge 0
[2025-01-08 20:20:03] Production.INFO: CreateAllLog End
[2025-01-08 20:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:20:03] Production.INFO: ==12308== Releasing lock...
[2025-01-08 20:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:20:03] Production.INFO: count ==21
[2025-01-08 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:20:03] Production.INFO: count ==21
[2025-01-08 20:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204637') start
[2025-01-08 20:20:04] Production.ERROR: done
[2025-01-08 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:20:04] Production.INFO: Account Balance End.
[2025-01-08 20:20:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:20:04] Production.INFO: ==12312== Releasing lock...
[2025-01-08 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204637') end
[2025-01-08 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:20:04] Production.INFO: 1
[2025-01-08 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:20:04] Production.ERROR: done
[2025-01-08 20:20:04] Production.INFO: ==12319== Releasing lock...
[2025-01-08 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:20:04] Production.ERROR: done
[2025-01-08 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204639', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 20:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:20:05
[end_date_ymd] => 2025-01-08 20:20:05
[RateCDR] => 1
)
[2025-01-08 20:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:20:05' and `end` < '2025-01-08 20:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204639', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 20:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 20:20:08] Production.INFO: ProcessCDR(1,14204639,1,1,2)
[2025-01-08 20:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204639,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204639,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:20:08] Production.INFO: ==12316== Releasing lock...
[2025-01-08 20:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 20:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 20:20:14] Production.ERROR: CronJobId end10
[2025-01-08 20:20:14] Production.INFO: ==12310== Releasing lock...
[2025-01-08 20:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:20:15] Production.INFO: call_cost start
[2025-01-08 20:20:15] Production.INFO: call_cost end
[2025-01-08 20:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:20:16] Production.INFO: ==12306== Releasing lock...
[2025-01-08 20:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:20:18] Production.INFO: count ==1745
[2025-01-08 20:20:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:20:05 - End Time 2025-01-08 20:20:05
[2025-01-08 20:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204638', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204638', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204638', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204638', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:20:18] Production.INFO: ProcessCDR(1,14204638,1,1,2)
[2025-01-08 20:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204638', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204638', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:20:23] Production.INFO: ==12314== Releasing lock...
[2025-01-08 20:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:20:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-09 01:21:01] Production.INFO: ==12376== Lock acquired, processing the job...
[2025-01-09 01:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:21:01] Production.INFO: neon service started
[2025-01-09 01:21:02] Production.INFO: neon service started
[2025-01-09 01:21:02] Production.INFO: ==12376== Releasing lock...
[2025-01-09 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:21:02] Production.INFO: ==12378== Lock acquired, processing the job...
[2025-01-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:21:02] Production.INFO: ==12380== Lock acquired, processing the job...
[2025-01-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:21:02] Production.INFO: ==12378== Releasing lock...
[2025-01-08 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:21:02] Production.INFO: ==12380== Releasing lock...
[2025-01-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:21:03] Production.INFO: ==12383== Lock acquired, processing the job...
[2025-01-08 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:21:03] Production.INFO: ==12385== Lock acquired, processing the job...
[2025-01-08 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:21:03] Production.INFO: ==12389== Lock acquired, processing the job...
[2025-01-08 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:21:03] Production.INFO: ==12387== Lock acquired, processing the job...
[2025-01-08 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:21:03] Production.INFO: Account Balance Start.
[2025-01-08 20:21:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:21:03] Production.INFO: 117
[2025-01-08 20:21:03] Production.INFO: ==12391== Lock acquired, processing the job...
[2025-01-08 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:21:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:21:03] Production.INFO: ==12393== Lock acquired, processing the job...
[2025-01-08 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:21:03] Production.INFO: Total Charge 0
[2025-01-08 20:21:03] Production.INFO: CreateAllLog End
[2025-01-08 20:21:03] Production.INFO: ==12385== Releasing lock...
[2025-01-08 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:21:04] Production.INFO: count ==21
[2025-01-08 20:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:21:04] Production.INFO: count ==21
[2025-01-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204643') start
[2025-01-08 20:21:04] Production.ERROR: done
[2025-01-08 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204643') end
[2025-01-08 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:21:04] Production.INFO: 1
[2025-01-08 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:21:04] Production.INFO: ==12393== Releasing lock...
[2025-01-08 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:21:04] Production.INFO: Account Balance End.
[2025-01-08 20:21:04] Production.ERROR: done
[2025-01-08 20:21:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:21:04] Production.INFO: ==12389== Releasing lock...
[2025-01-08 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:21:05
[end_date_ymd] => 2025-01-08 20:21:05
[RateCDR] => 1
)
[2025-01-08 20:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:21:05' and `end` < '2025-01-08 20:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:21:12] Production.ERROR: CronJobId end10
[2025-01-08 20:21:12] Production.INFO: ==12387== Releasing lock...
[2025-01-08 20:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:21:13] Production.INFO: call_cost start
[2025-01-08 20:21:13] Production.INFO: call_cost end
[2025-01-08 20:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:21:14] Production.INFO: ==12383== Releasing lock...
[2025-01-08 20:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:21:18] Production.INFO: count ==1701
[2025-01-08 20:21:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:21:05 - End Time 2025-01-08 20:21:05
[2025-01-08 20:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204644', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204644', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204644', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204644', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:21:18] Production.INFO: ProcessCDR(1,14204644,1,1,2)
[2025-01-08 20:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204644', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204644', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:21:22] Production.INFO: ==12391== Releasing lock...
[2025-01-08 20:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:21:22] Production.INFO: 40.75 MB #Memory Used#
[2025-01-09 01:22:01] Production.INFO: ==12450== Lock acquired, processing the job...
[2025-01-09 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:22:01] Production.INFO: neon service started
[2025-01-09 01:22:01] Production.INFO: neon service started
[2025-01-09 01:22:01] Production.INFO: ==12450== Releasing lock...
[2025-01-09 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:22:01] Production.INFO: ==12452== Lock acquired, processing the job...
[2025-01-08 20:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:22:02] Production.INFO: ==12452== Releasing lock...
[2025-01-08 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:22:02] Production.INFO: ==12454== Lock acquired, processing the job...
[2025-01-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:22:02] Production.INFO: ==12454== Releasing lock...
[2025-01-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:22:03] Production.INFO: ==12457== Lock acquired, processing the job...
[2025-01-08 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:22:03] Production.INFO: ==12463== Lock acquired, processing the job...
[2025-01-08 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:22:03] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-01-08 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:22:03] Production.INFO: ==12467== Lock acquired, processing the job...
[2025-01-08 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:22:03] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-01-08 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:22:03] Production.INFO: Account Balance Start.
[2025-01-08 20:22:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:22:03] Production.INFO: 117
[2025-01-08 20:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:22:03] Production.INFO: count ==21
[2025-01-08 20:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:22:03] Production.INFO: ==12465== Lock acquired, processing the job...
[2025-01-08 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:22:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:22:03] Production.INFO: count ==21
[2025-01-08 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204648') start
[2025-01-08 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:22:03] Production.INFO: Total Charge 0
[2025-01-08 20:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204648') end
[2025-01-08 20:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:22:03] Production.INFO: 1
[2025-01-08 20:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:22:03] Production.INFO: CreateAllLog End
[2025-01-08 20:22:03] Production.INFO: ==12467== Releasing lock...
[2025-01-08 20:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:22:03] Production.INFO: ==12459== Releasing lock...
[2025-01-08 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:22:03] Production.INFO: Account Balance End.
[2025-01-08 20:22:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:22:03] Production.INFO: ==12463== Releasing lock...
[2025-01-08 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:22:03] Production.ERROR: done
[2025-01-08 20:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:22:04] Production.ERROR: done
[2025-01-08 20:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:22:05
[end_date_ymd] => 2025-01-08 20:22:05
[RateCDR] => 1
)
[2025-01-08 20:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:22:05' and `end` < '2025-01-08 20:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:22:12] Production.ERROR: CronJobId end10
[2025-01-08 20:22:12] Production.INFO: ==12461== Releasing lock...
[2025-01-08 20:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:22:14] Production.INFO: call_cost start
[2025-01-08 20:22:14] Production.INFO: call_cost end
[2025-01-08 20:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:22:15] Production.INFO: ==12457== Releasing lock...
[2025-01-08 20:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:22:18] Production.INFO: count ==1700
[2025-01-08 20:22:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:22:05 - End Time 2025-01-08 20:22:05
[2025-01-08 20:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204649', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204649', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204649', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204649', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:22:18] Production.INFO: ProcessCDR(1,14204649,1,1,2)
[2025-01-08 20:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204649', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204649', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:22:21] Production.INFO: ==12465== Releasing lock...
[2025-01-08 20:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:22:21] Production.INFO: 41 MB #Memory Used#
[2025-01-09 01:23:01] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-01-09 01:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:23:01] Production.INFO: neon service started
[2025-01-09 01:23:01] Production.INFO: neon service started
[2025-01-09 01:23:01] Production.INFO: ==12524== Releasing lock...
[2025-01-09 01:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:23:02] Production.INFO: ==12526== Lock acquired, processing the job...
[2025-01-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:23:02] Production.INFO: ==12526== Releasing lock...
[2025-01-08 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:23:02] Production.INFO: ==12528== Lock acquired, processing the job...
[2025-01-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:23:02] Production.INFO: ==12528== Releasing lock...
[2025-01-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:23:03] Production.INFO: ==12536== Lock acquired, processing the job...
[2025-01-08 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:23:03] Production.INFO: ==12530== Lock acquired, processing the job...
[2025-01-08 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:23:03] Production.INFO: ==12532== Lock acquired, processing the job...
[2025-01-08 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:23:03] Production.INFO: ==12538== Lock acquired, processing the job...
[2025-01-08 20:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:23:03] Production.INFO: ==12534== Lock acquired, processing the job...
[2025-01-08 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:23:03] Production.INFO: Account Balance Start.
[2025-01-08 20:23:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:23:03] Production.INFO: 117
[2025-01-08 20:23:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:23:03] Production.INFO: Total Charge 0
[2025-01-08 20:23:03] Production.INFO: CreateAllLog End
[2025-01-08 20:23:03] Production.INFO: ==12540== Lock acquired, processing the job...
[2025-01-08 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:23:03] Production.INFO: ==12532== Releasing lock...
[2025-01-08 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:23:03] Production.ERROR: done
[2025-01-08 20:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:23:03] Production.INFO: count ==21
[2025-01-08 20:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:23:03] Production.INFO: count ==21
[2025-01-08 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204653') start
[2025-01-08 20:23:03] Production.ERROR: done
[2025-01-08 20:23:03] Production.INFO: Account Balance End.
[2025-01-08 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204653') end
[2025-01-08 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:23:04] Production.INFO: 1
[2025-01-08 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:23:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:23:04] Production.INFO: ==12536== Releasing lock...
[2025-01-08 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:23:04] Production.INFO: ==12540== Releasing lock...
[2025-01-08 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:23:05
[end_date_ymd] => 2025-01-08 20:23:05
[RateCDR] => 1
)
[2025-01-08 20:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:23:05' and `end` < '2025-01-08 20:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:23:12] Production.ERROR: CronJobId end10
[2025-01-08 20:23:12] Production.INFO: ==12534== Releasing lock...
[2025-01-08 20:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:23:14] Production.INFO: call_cost start
[2025-01-08 20:23:14] Production.INFO: call_cost end
[2025-01-08 20:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:23:15] Production.INFO: ==12530== Releasing lock...
[2025-01-08 20:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:23:18] Production.INFO: count ==1698
[2025-01-08 20:23:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:23:05 - End Time 2025-01-08 20:23:05
[2025-01-08 20:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204654', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204654', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204654', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204654', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:23:18] Production.INFO: ProcessCDR(1,14204654,1,1,2)
[2025-01-08 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204654', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204654', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:23:22] Production.INFO: ==12538== Releasing lock...
[2025-01-08 20:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:23:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-09 01:24:02] Production.INFO: ==12638== Lock acquired, processing the job...
[2025-01-09 01:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:24:02] Production.INFO: neon service started
[2025-01-09 01:24:02] Production.INFO: neon service started
[2025-01-09 01:24:02] Production.INFO: ==12638== Releasing lock...
[2025-01-09 01:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:24:02] Production.INFO: ==12643== Lock acquired, processing the job...
[2025-01-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:24:02] Production.INFO: ==12643== Releasing lock...
[2025-01-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:24:02] Production.INFO: ==12640== Lock acquired, processing the job...
[2025-01-08 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:24:03] Production.INFO: ==12640== Releasing lock...
[2025-01-08 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:24:03] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-01-08 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:24:03] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-01-08 20:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:24:03] Production.INFO: ==12653== Lock acquired, processing the job...
[2025-01-08 20:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:24:04] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-01-08 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:24:04] Production.INFO: ==12651== Lock acquired, processing the job...
[2025-01-08 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:24:04] Production.ERROR: done
[2025-01-08 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:24:04] Production.INFO: ==12655== Lock acquired, processing the job...
[2025-01-08 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:24:04] Production.INFO: Account Balance Start.
[2025-01-08 20:24:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:24:04] Production.INFO: 117
[2025-01-08 20:24:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:24:04] Production.INFO: Total Charge 0
[2025-01-08 20:24:04] Production.ERROR: done
[2025-01-08 20:24:04] Production.INFO: CreateAllLog End
[2025-01-08 20:24:04] Production.INFO: Account Balance End.
[2025-01-08 20:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:24:04] Production.INFO: ==12647== Releasing lock...
[2025-01-08 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:24:04] Production.INFO: count ==21
[2025-01-08 20:24:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:24:04] Production.INFO: ==12651== Releasing lock...
[2025-01-08 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:24:04] Production.INFO: count ==21
[2025-01-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204658') start
[2025-01-08 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204658') end
[2025-01-08 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:24:04] Production.INFO: 1
[2025-01-08 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:24:04] Production.INFO: ==12655== Releasing lock...
[2025-01-08 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:24:05
[end_date_ymd] => 2025-01-08 20:24:05
[RateCDR] => 1
)
[2025-01-08 20:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:24:05' and `end` < '2025-01-08 20:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:24:12] Production.ERROR: CronJobId end10
[2025-01-08 20:24:12] Production.INFO: ==12649== Releasing lock...
[2025-01-08 20:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:24:13] Production.INFO: call_cost start
[2025-01-08 20:24:13] Production.INFO: call_cost end
[2025-01-08 20:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:24:14] Production.INFO: ==12645== Releasing lock...
[2025-01-08 20:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:24:18] Production.INFO: count ==1696
[2025-01-08 20:24:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:24:05 - End Time 2025-01-08 20:24:05
[2025-01-08 20:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204659', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204659', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204659', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204659', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:24:18] Production.INFO: ProcessCDR(1,14204659,1,1,2)
[2025-01-08 20:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204659', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204659', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:24:23] Production.INFO: ==12653== Releasing lock...
[2025-01-08 20:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:24:23] Production.INFO: 40.5 MB #Memory Used#
[2025-01-09 01:25:01] Production.INFO: ==12722== Lock acquired, processing the job...
[2025-01-09 01:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:25:01] Production.INFO: neon service started
[2025-01-09 01:25:01] Production.INFO: neon service started
[2025-01-09 01:25:01] Production.INFO: ==12722== Releasing lock...
[2025-01-09 01:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:25:02] Production.INFO: ==12724== Lock acquired, processing the job...
[2025-01-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:25:02] Production.INFO: ==12726== Lock acquired, processing the job...
[2025-01-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:25:02] Production.INFO: ==12726== Releasing lock...
[2025-01-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:25:02] Production.INFO: ==12724== Releasing lock...
[2025-01-08 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:25:03] Production.INFO: ==12737== Lock acquired, processing the job...
[2025-01-08 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:25:03] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-01-08 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:25:03] Production.INFO: ==12739== Lock acquired, processing the job...
[2025-01-08 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:25:03] Production.INFO: ==12731== Lock acquired, processing the job...
[2025-01-08 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:25:03] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-01-08 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:25:03] Production.INFO: ==12735== Lock acquired, processing the job...
[2025-01-08 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:25:03] Production.INFO: count ==21
[2025-01-08 20:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:25:03] Production.INFO: count ==21
[2025-01-08 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204660') start
[2025-01-08 20:25:03] Production.INFO: Account Balance Start.
[2025-01-08 20:25:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:25:03] Production.INFO: 117
[2025-01-08 20:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:25:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:25:03] Production.ERROR: done
[2025-01-08 20:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204660') end
[2025-01-08 20:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:25:03] Production.INFO: 1
[2025-01-08 20:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:25:03] Production.INFO: Total Charge 0
[2025-01-08 20:25:03] Production.INFO: CreateAllLog End
[2025-01-08 20:25:03] Production.INFO: ==12739== Releasing lock...
[2025-01-08 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:25:03] Production.ERROR: done
[2025-01-08 20:25:03] Production.INFO: ==12731== Releasing lock...
[2025-01-08 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:25:04] Production.INFO: Account Balance End.
[2025-01-08 20:25:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:25:04] Production.INFO: ==12735== Releasing lock...
[2025-01-08 20:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:25:04
[end_date_ymd] => 2025-01-08 20:25:04
[RateCDR] => 1
)
[2025-01-08 20:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:25:04' and `end` < '2025-01-08 20:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:25:11] Production.ERROR: CronJobId end10
[2025-01-08 20:25:11] Production.INFO: ==12733== Releasing lock...
[2025-01-08 20:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:25:13] Production.INFO: call_cost start
[2025-01-08 20:25:13] Production.INFO: call_cost end
[2025-01-08 20:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:25:14] Production.INFO: ==12729== Releasing lock...
[2025-01-08 20:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:25:17] Production.INFO: count ==1691
[2025-01-08 20:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:25:04 - End Time 2025-01-08 20:25:04
[2025-01-08 20:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204664', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204664', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204664', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204664', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:25:18] Production.INFO: ProcessCDR(1,14204664,1,1,2)
[2025-01-08 20:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204664', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204664', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:25:21] Production.INFO: ==12737== Releasing lock...
[2025-01-08 20:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:25:21] Production.INFO: 40.75 MB #Memory Used#
[2025-01-09 01:26:02] Production.INFO: ==12793== Lock acquired, processing the job...
[2025-01-09 01:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:26:02] Production.INFO: neon service started
[2025-01-09 01:26:02] Production.INFO: neon service started
[2025-01-09 01:26:02] Production.INFO: ==12793== Releasing lock...
[2025-01-09 01:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:26:02] Production.INFO: ==12795== Lock acquired, processing the job...
[2025-01-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:26:02] Production.INFO: ==12795== Releasing lock...
[2025-01-08 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:26:02] Production.INFO: ==12797== Lock acquired, processing the job...
[2025-01-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:26:02] Production.INFO: ==12797== Releasing lock...
[2025-01-09 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:26:03] Production.INFO: ==12806== Lock acquired, processing the job...
[2025-01-08 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:26:03] Production.INFO: Account Balance Start.
[2025-01-08 20:26:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:26:03] Production.INFO: 117
[2025-01-08 20:26:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:26:03] Production.INFO: Total Charge 0
[2025-01-08 20:26:03] Production.INFO: CreateAllLog End
[2025-01-08 20:26:03] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-01-08 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:26:03] Production.INFO: Account Balance End.
[2025-01-08 20:26:03] Production.INFO: ==12802== Lock acquired, processing the job...
[2025-01-08 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:26:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:26:03] Production.INFO: ==12806== Releasing lock...
[2025-01-08 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:26:03] Production.INFO: ==12804== Lock acquired, processing the job...
[2025-01-08 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:26:03] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-01-08 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:26:03] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-01-08 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:26:04] Production.INFO: ==12802== Releasing lock...
[2025-01-08 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:26:04] Production.INFO: count ==21
[2025-01-08 20:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:26:04] Production.INFO: count ==21
[2025-01-08 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204668') start
[2025-01-08 20:26:04] Production.ERROR: done
[2025-01-08 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204668') end
[2025-01-08 20:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:26:04] Production.INFO: 1
[2025-01-08 20:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:26:04] Production.ERROR: done
[2025-01-08 20:26:04] Production.INFO: ==12810== Releasing lock...
[2025-01-08 20:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:26:05
[end_date_ymd] => 2025-01-08 20:26:05
[RateCDR] => 1
)
[2025-01-08 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:26:05' and `end` < '2025-01-08 20:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:26:12] Production.ERROR: CronJobId end10
[2025-01-08 20:26:12] Production.INFO: ==12804== Releasing lock...
[2025-01-08 20:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:26:13] Production.INFO: call_cost start
[2025-01-08 20:26:13] Production.INFO: call_cost end
[2025-01-08 20:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:26:14] Production.INFO: ==12800== Releasing lock...
[2025-01-08 20:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:26:19] Production.INFO: count ==1661
[2025-01-08 20:26:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:26:05 - End Time 2025-01-08 20:26:05
[2025-01-08 20:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204669', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204669', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204669', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204669', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:26:19] Production.INFO: ProcessCDR(1,14204669,1,1,2)
[2025-01-08 20:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204669', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204669', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:26:23] Production.INFO: ==12808== Releasing lock...
[2025-01-08 20:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:26:23] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 01:27:01] Production.INFO: ==12864== Lock acquired, processing the job...
[2025-01-09 01:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:27:01] Production.INFO: neon service started
[2025-01-09 01:27:01] Production.INFO: neon service started
[2025-01-09 01:27:01] Production.INFO: ==12864== Releasing lock...
[2025-01-09 01:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:27:02] Production.INFO: ==12866== Lock acquired, processing the job...
[2025-01-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:27:02] Production.INFO: ==12866== Releasing lock...
[2025-01-08 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:27:02] Production.INFO: ==12868== Lock acquired, processing the job...
[2025-01-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:27:02] Production.INFO: ==12868== Releasing lock...
[2025-01-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:27:03] Production.INFO: ==12881== Lock acquired, processing the job...
[2025-01-08 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:27:03] Production.INFO: ==12879== Lock acquired, processing the job...
[2025-01-08 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 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-01-08 20:27:03] Production.INFO: ==12871== Lock acquired, processing the job...
[2025-01-08 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:27:03] Production.INFO: count ==21
[2025-01-08 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-01-08 20:27:03] Production.INFO: count ==21
[2025-01-08 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204670') start
[2025-01-08 20:27:03] Production.INFO: ==12873== Lock acquired, processing the job...
[2025-01-08 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:27:03] Production.INFO: ==12875== Lock acquired, processing the job...
[2025-01-08 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:27:03] Production.INFO: ==12877== Lock acquired, processing the job...
[2025-01-08 20:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204670') end
[2025-01-08 20:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:27:03] Production.INFO: 1
[2025-01-08 20:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:27:03] Production.INFO: Account Balance Start.
[2025-01-08 20:27:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:27:03] Production.INFO: 117
[2025-01-08 20:27:03] Production.INFO: ==12881== Releasing lock...
[2025-01-08 20:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:27:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:27:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:27:03] Production.ERROR: done
[2025-01-08 20:27:03] Production.INFO: Total Charge 0
[2025-01-08 20:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:27:03] Production.INFO: CreateAllLog End
[2025-01-08 20:27:03] Production.INFO: ==12873== Releasing lock...
[2025-01-08 20:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:27:03] Production.ERROR: done
[2025-01-08 20:27:03] Production.INFO: Account Balance End.
[2025-01-08 20:27:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:27:04] Production.INFO: ==12877== Releasing lock...
[2025-01-08 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:27:04
[end_date_ymd] => 2025-01-08 20:27:04
[RateCDR] => 1
)
[2025-01-08 20:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:27:04' and `end` < '2025-01-08 20:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:27:11] Production.ERROR: CronJobId end10
[2025-01-08 20:27:11] Production.INFO: ==12875== Releasing lock...
[2025-01-08 20:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:27:12] Production.INFO: call_cost start
[2025-01-08 20:27:12] Production.INFO: call_cost end
[2025-01-08 20:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:27:13] Production.INFO: ==12871== Releasing lock...
[2025-01-08 20:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:27:19] Production.INFO: count ==1647
[2025-01-08 20:27:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:27:04 - End Time 2025-01-08 20:27:04
[2025-01-08 20:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204674', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204674', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204674', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204674', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:27:19] Production.INFO: ProcessCDR(1,14204674,1,1,2)
[2025-01-08 20:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204674', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204674', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:27:24] Production.INFO: ==12879== Releasing lock...
[2025-01-08 20:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:27:24] Production.INFO: 40.5 MB #Memory Used#
[2025-01-09 01:28:02] Production.INFO: ==12934== Lock acquired, processing the job...
[2025-01-09 01:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:28:02] Production.INFO: neon service started
[2025-01-09 01:28:02] Production.INFO: neon service started
[2025-01-09 01:28:02] Production.INFO: ==12934== Releasing lock...
[2025-01-09 01:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:28:02] Production.INFO: ==12936== Lock acquired, processing the job...
[2025-01-08 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:28:02] Production.INFO: ==12936== Releasing lock...
[2025-01-08 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:28:02] Production.INFO: ==12938== Lock acquired, processing the job...
[2025-01-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:28:02] Production.INFO: ==12938== Releasing lock...
[2025-01-09 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:28:03] Production.INFO: ==12947== Lock acquired, processing the job...
[2025-01-08 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:28:03] Production.INFO: ==12949== Lock acquired, processing the job...
[2025-01-08 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:28:03] Production.INFO: ==12941== Lock acquired, processing the job...
[2025-01-08 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:28:03] Production.INFO: ==12943== Lock acquired, processing the job...
[2025-01-08 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:28:03] Production.INFO: Account Balance Start.
[2025-01-08 20:28:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:28:03] Production.INFO: 117
[2025-01-08 20:28:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:28:03] Production.INFO: ==12945== Lock acquired, processing the job...
[2025-01-08 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:28:04] Production.INFO: Total Charge 0
[2025-01-08 20:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:28:04] Production.INFO: ==12951== Lock acquired, processing the job...
[2025-01-08 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:28:04] Production.ERROR: done
[2025-01-08 20:28:04] Production.INFO: CreateAllLog End
[2025-01-08 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:28:04] Production.INFO: count ==21
[2025-01-08 20:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:28:04] Production.INFO: count ==21
[2025-01-08 20:28:04] Production.INFO: ==12943== Releasing lock...
[2025-01-08 20:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204678') start
[2025-01-08 20:28:04] Production.ERROR: done
[2025-01-08 20:28:04] Production.INFO: Account Balance End.
[2025-01-08 20:28:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:28:04] Production.INFO: ==12947== Releasing lock...
[2025-01-08 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204678') end
[2025-01-08 20:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:28:04] Production.INFO: 1
[2025-01-08 20:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:28:04] Production.INFO: ==12951== Releasing lock...
[2025-01-08 20:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:28:05
[end_date_ymd] => 2025-01-08 20:28:05
[RateCDR] => 1
)
[2025-01-08 20:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:28:05' and `end` < '2025-01-08 20:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:28:13] Production.ERROR: CronJobId end10
[2025-01-08 20:28:13] Production.INFO: ==12945== Releasing lock...
[2025-01-08 20:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:28:14] Production.INFO: call_cost start
[2025-01-08 20:28:14] Production.INFO: call_cost end
[2025-01-08 20:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:28:14] Production.INFO: ==12941== Releasing lock...
[2025-01-08 20:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:28:18] Production.INFO: count ==1635
[2025-01-08 20:28:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:28:05 - End Time 2025-01-08 20:28:05
[2025-01-08 20:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204679', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204679', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204679', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204679', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:28:18] Production.INFO: ProcessCDR(1,14204679,1,1,2)
[2025-01-08 20:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204679', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204679', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:28:22] Production.INFO: ==12949== Releasing lock...
[2025-01-08 20:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:28:22] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 01:29:01] Production.INFO: ==13003== Lock acquired, processing the job...
[2025-01-09 01:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:29:01] Production.INFO: neon service started
[2025-01-09 01:29:01] Production.INFO: neon service started
[2025-01-09 01:29:01] Production.INFO: ==13003== Releasing lock...
[2025-01-09 01:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:29:01] Production.INFO: ==13005== Lock acquired, processing the job...
[2025-01-08 20:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:29:02] Production.INFO: ==13005== Releasing lock...
[2025-01-08 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:29:02] Production.INFO: ==13007== Lock acquired, processing the job...
[2025-01-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:29:02] Production.INFO: ==13007== Releasing lock...
[2025-01-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:29:03] Production.INFO: ==13018== Lock acquired, processing the job...
[2025-01-08 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:29:03] Production.INFO: ==13012== Lock acquired, processing the job...
[2025-01-08 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:29:03] Production.INFO: ==13014== Lock acquired, processing the job...
[2025-01-08 20:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:29:03] Production.INFO: ==13010== Lock acquired, processing the job...
[2025-01-08 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:29:03] Production.INFO: ==13016== Lock acquired, processing the job...
[2025-01-08 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:29:03] Production.INFO: ==13020== Lock acquired, processing the job...
[2025-01-08 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:29:03] Production.ERROR: done
[2025-01-08 20:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:29:03] Production.INFO: Account Balance Start.
[2025-01-08 20:29:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:29:03] Production.INFO: 117
[2025-01-08 20:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:29:03] Production.INFO: count ==21
[2025-01-08 20:29:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:29:03] Production.INFO: count ==21
[2025-01-08 20:29:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:29:03] Production.ERROR: done
[2025-01-08 20:29:03] Production.INFO: ==13012== Releasing lock...
[2025-01-08 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204683') start
[2025-01-08 20:29:03] Production.INFO: Total Charge 0
[2025-01-08 20:29:03] Production.INFO: CreateAllLog End
[2025-01-08 20:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204683') end
[2025-01-08 20:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:29:03] Production.INFO: 1
[2025-01-08 20:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:29:03] Production.INFO: ==13020== Releasing lock...
[2025-01-08 20:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:29:03] Production.INFO: Account Balance End.
[2025-01-08 20:29:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:29:03] Production.INFO: ==13016== Releasing lock...
[2025-01-08 20:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:29:04
[end_date_ymd] => 2025-01-08 20:29:04
[RateCDR] => 1
)
[2025-01-08 20:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:29:04' and `end` < '2025-01-08 20:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:29:11] Production.ERROR: CronJobId end10
[2025-01-08 20:29:11] Production.INFO: ==13014== Releasing lock...
[2025-01-08 20:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:29:13] Production.INFO: call_cost start
[2025-01-08 20:29:13] Production.INFO: call_cost end
[2025-01-08 20:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:29:14] Production.INFO: ==13010== Releasing lock...
[2025-01-08 20:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:29:17] Production.INFO: count ==1634
[2025-01-08 20:29:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:29:04 - End Time 2025-01-08 20:29:04
[2025-01-08 20:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204684', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204684', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204684', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204684', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:29:18] Production.INFO: ProcessCDR(1,14204684,1,1,2)
[2025-01-08 20:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204684', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204684', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:29:21] Production.INFO: ==13018== Releasing lock...
[2025-01-08 20:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:29:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 01:30:02] Production.INFO: ==13073== Lock acquired, processing the job...
[2025-01-09 01:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:30:02] Production.INFO: neon service started
[2025-01-09 01:30:02] Production.INFO: neon service started
[2025-01-09 01:30:02] Production.INFO: ==13073== Releasing lock...
[2025-01-09 01:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:30:02] Production.INFO: ==13075== Lock acquired, processing the job...
[2025-01-08 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:30:02] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-01-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:30:02] Production.INFO: ==13077== Releasing lock...
[2025-01-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:30:03] Production.INFO: ==13075== Releasing lock...
[2025-01-08 20:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:30:04] Production.INFO: ==13086== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:30:04] Production.INFO: ==13084== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:30:04] Production.INFO: ==13080== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 20:30:04] Production.INFO: ==13082== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 20:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:30:04] Production.ERROR: CronJob PID - 13084
[2025-01-08 20:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-08 20:30:04] Production.ERROR: CronJob ID - 7
[2025-01-08 20:30:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:30:00
[2025-01-08 20:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:30:04] Production.ERROR: CronJob PID - 13086
[2025-01-08 20:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 20:30:04] Production.ERROR: CronJob ID - 10
[2025-01-08 20:30:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:30:00
[2025-01-08 20:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:30:04] Production.INFO: ==13088== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:30:04] Production.INFO: ==13092== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 20:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 20:30:04] Production.INFO: ==13080== Releasing lock...
[2025-01-08 20:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 20:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:30:04] Production.INFO: ==13094== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:30:04] Production.INFO: Account Balance Start.
[2025-01-08 20:30:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:30:04] Production.INFO: 117
[2025-01-08 20:30:04] Production.INFO: ==13090== Lock acquired, processing the job...
[2025-01-08 20:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:30:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:30:04] Production.INFO: ==13084== Releasing lock...
[2025-01-08 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:30:04] Production.INFO: Total Charge 0
[2025-01-08 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:30:04] Production.INFO: CreateAllLog End
[2025-01-08 20:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:30:04] Production.INFO: count ==21
[2025-01-08 20:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:30:04] Production.ERROR: done
[2025-01-08 20:30:04] Production.INFO: count ==21
[2025-01-08 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204689', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204688') start
[2025-01-08 20:30:04] Production.INFO: Account Balance End.
[2025-01-08 20:30:04] Production.ERROR: done
[2025-01-08 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204688') end
[2025-01-08 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:30:04] Production.INFO: 1
[2025-01-08 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:30:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:30:04] Production.INFO: ==13088== Releasing lock...
[2025-01-08 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:30:05] Production.INFO: ==13094== Releasing lock...
[2025-01-08 20:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:30:05] Production.ERROR: done
[2025-01-08 20:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:30:05
[end_date_ymd] => 2025-01-08 20:30:05
[RateCDR] => 1
)
[2025-01-08 20:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:30:05' and `end` < '2025-01-08 20:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204689', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 20:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 20:30:09] Production.INFO: ProcessCDR(1,14204689,1,1,2)
[2025-01-08 20:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204689,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204689,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:30:09] Production.INFO: ==13092== Releasing lock...
[2025-01-08 20:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 20:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 20:30:13] Production.ERROR: CronJobId end10
[2025-01-08 20:30:13] Production.INFO: ==13086== Releasing lock...
[2025-01-08 20:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:30:15] Production.INFO: call_cost start
[2025-01-08 20:30:15] Production.INFO: call_cost end
[2025-01-08 20:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:30:16] Production.INFO: ==13082== Releasing lock...
[2025-01-08 20:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:30:19] Production.INFO: count ==1613
[2025-01-08 20:30:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:30:05 - End Time 2025-01-08 20:30:05
[2025-01-08 20:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204690', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204690', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204690', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204690', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:30:19] Production.INFO: ProcessCDR(1,14204690,1,1,2)
[2025-01-08 20:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204690', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204690', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:30:22] Production.INFO: ==13090== Releasing lock...
[2025-01-08 20:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:30:22] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 01:31:01] Production.INFO: ==13147== Lock acquired, processing the job...
[2025-01-09 01:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:31:01] Production.INFO: neon service started
[2025-01-09 01:31:01] Production.INFO: neon service started
[2025-01-09 01:31:01] Production.INFO: ==13147== Releasing lock...
[2025-01-09 01:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:31:01] Production.INFO: ==13149== Lock acquired, processing the job...
[2025-01-08 20:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:31:02] Production.INFO: ==13149== Releasing lock...
[2025-01-08 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:31:02] Production.INFO: ==13151== Lock acquired, processing the job...
[2025-01-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:31:02] Production.INFO: ==13151== Releasing lock...
[2025-01-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:31:02] Production.INFO: ==13154== Lock acquired, processing the job...
[2025-01-08 20:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:31:02] Production.INFO: ==13156== Lock acquired, processing the job...
[2025-01-08 20:31:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:31:03] Production.INFO: ==13160== Lock acquired, processing the job...
[2025-01-08 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:31:03] Production.INFO: ==13158== Lock acquired, processing the job...
[2025-01-08 20:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:31:03] Production.INFO: ==13156== Releasing lock...
[2025-01-08 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:31:03] Production.INFO: Account Balance Start.
[2025-01-08 20:31:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:31:03] Production.INFO: 117
[2025-01-08 20:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:31:03] Production.INFO: ==13162== Lock acquired, processing the job...
[2025-01-08 20:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:31:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:31:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:31:03] Production.INFO: ==13164== Lock acquired, processing the job...
[2025-01-08 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:31:03] Production.INFO: Total Charge 0
[2025-01-08 20:31:03] Production.INFO: CreateAllLog End
[2025-01-08 20:31:03] Production.ERROR: done
[2025-01-08 20:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:31:03] Production.INFO: Account Balance End.
[2025-01-08 20:31:03] Production.INFO: count ==21
[2025-01-08 20:31:03] Production.ERROR: done
[2025-01-08 20:31:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:31:03] Production.INFO: ==13160== Releasing lock...
[2025-01-08 20:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:31:03] Production.INFO: count ==21
[2025-01-08 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204694') start
[2025-01-08 20:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204694') end
[2025-01-08 20:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:31:03] Production.INFO: 1
[2025-01-08 20:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:31:04] Production.INFO: ==13164== Releasing lock...
[2025-01-08 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:31:04
[end_date_ymd] => 2025-01-08 20:31:04
[RateCDR] => 1
)
[2025-01-08 20:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:31:04' and `end` < '2025-01-08 20:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:31:11] Production.ERROR: CronJobId end10
[2025-01-08 20:31:11] Production.INFO: ==13158== Releasing lock...
[2025-01-08 20:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:31:13] Production.INFO: call_cost start
[2025-01-08 20:31:13] Production.INFO: call_cost end
[2025-01-08 20:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:31:13] Production.INFO: ==13154== Releasing lock...
[2025-01-08 20:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:31:17] Production.INFO: count ==1557
[2025-01-08 20:31:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:31:04 - End Time 2025-01-08 20:31:04
[2025-01-08 20:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204695', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204695', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204695', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204695', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:31:18] Production.INFO: ProcessCDR(1,14204695,1,1,2)
[2025-01-08 20:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204695', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204695', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:31:22] Production.INFO: ==13162== Releasing lock...
[2025-01-08 20:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:31:22] Production.INFO: 39.75 MB #Memory Used#
[2025-01-09 01:32:02] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-01-09 01:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:32:02] Production.INFO: neon service started
[2025-01-09 01:32:02] Production.INFO: neon service started
[2025-01-09 01:32:02] Production.INFO: ==13222== Releasing lock...
[2025-01-09 01:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:32:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:32:02] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-01-08 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:32:02] Production.INFO: ==13224== Releasing lock...
[2025-01-08 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:32:02] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-01-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:32:02] Production.INFO: ==13226== Releasing lock...
[2025-01-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:32:03] Production.INFO: ==13229== Lock acquired, processing the job...
[2025-01-08 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:32:03] Production.INFO: ==13239== Lock acquired, processing the job...
[2025-01-08 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:32:03] Production.INFO: ==13231== Lock acquired, processing the job...
[2025-01-08 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:32:03] Production.INFO: ==13233== Lock acquired, processing the job...
[2025-01-08 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:32:03] Production.INFO: count ==21
[2025-01-08 20:32:03] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-01-08 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:32:03] Production.INFO: count ==21
[2025-01-08 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204697') start
[2025-01-08 20:32:03] Production.INFO: ==13237== Lock acquired, processing the job...
[2025-01-08 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:32:04] Production.INFO: Account Balance Start.
[2025-01-08 20:32:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:32:04] Production.INFO: 117
[2025-01-08 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204697') end
[2025-01-08 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:32:04] Production.INFO: 1
[2025-01-08 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:32:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:32:04] Production.INFO: ==13231== Releasing lock...
[2025-01-08 20:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:32:04] Production.INFO: ==13239== Releasing lock...
[2025-01-08 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:32:04] Production.ERROR: done
[2025-01-08 20:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:32:04] Production.INFO: Total Charge 0
[2025-01-08 20:32:04] Production.INFO: CreateAllLog End
[2025-01-08 20:32:04] Production.ERROR: done
[2025-01-08 20:32:04] Production.INFO: Account Balance End.
[2025-01-08 20:32:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:32:04] Production.INFO: ==13235== Releasing lock...
[2025-01-08 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:32:05
[end_date_ymd] => 2025-01-08 20:32:05
[RateCDR] => 1
)
[2025-01-08 20:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:32:05' and `end` < '2025-01-08 20:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:32:13] Production.ERROR: CronJobId end10
[2025-01-08 20:32:13] Production.INFO: ==13233== Releasing lock...
[2025-01-08 20:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:32:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:32:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:32:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:32:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:32:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:32:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:32:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:32:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:32:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:32:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:32:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:32:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:32:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:32:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:32:15] Production.INFO: call_cost start
[2025-01-08 20:32:15] Production.INFO: call_cost end
[2025-01-08 20:32:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:32:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:32:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:32:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:32:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:32:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:32:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:32:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:32:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:32:16] Production.INFO: ==13229== Releasing lock...
[2025-01-08 20:32:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:32:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:32:18] Production.INFO: count ==1561
[2025-01-08 20:32:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:32:05 - End Time 2025-01-08 20:32:05
[2025-01-08 20:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204700', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204700', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204700', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204700', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:32:19] Production.INFO: ProcessCDR(1,14204700,1,1,2)
[2025-01-08 20:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204700', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204700', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:32:22] Production.INFO: ==13237== Releasing lock...
[2025-01-08 20:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:32:22] Production.INFO: 39.75 MB #Memory Used#
[2025-01-09 01:33:01] Production.INFO: ==13292== Lock acquired, processing the job...
[2025-01-09 01:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:33:01] Production.INFO: neon service started
[2025-01-09 01:33:01] Production.INFO: neon service started
[2025-01-09 01:33:01] Production.INFO: ==13292== Releasing lock...
[2025-01-09 01:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:33:01] Production.INFO: ==13294== Lock acquired, processing the job...
[2025-01-08 20:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:33:02] Production.INFO: ==13294== Releasing lock...
[2025-01-08 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:33:02] Production.INFO: ==13296== Lock acquired, processing the job...
[2025-01-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:33:02] Production.INFO: ==13296== Releasing lock...
[2025-01-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:33:03] Production.INFO: ==13300== Lock acquired, processing the job...
[2025-01-08 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:33:03] Production.INFO: ==13308== Lock acquired, processing the job...
[2025-01-08 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:33:03] Production.INFO: ==13298== Lock acquired, processing the job...
[2025-01-08 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:33:03] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-01-08 20:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:33:03] Production.INFO: count ==21
[2025-01-08 20:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:33:03] Production.INFO: count ==21
[2025-01-08 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204702') start
[2025-01-08 20:33:03] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-01-08 20:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:33:03] Production.INFO: ==13300== Releasing lock...
[2025-01-08 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:33:03] Production.INFO: ==13306== Lock acquired, processing the job...
[2025-01-08 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204702') end
[2025-01-08 20:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:33:03] Production.INFO: 1
[2025-01-08 20:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:33:03] Production.INFO: ==13308== Releasing lock...
[2025-01-08 20:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:33:03] Production.INFO: Account Balance Start.
[2025-01-08 20:33:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:33:03] Production.INFO: 117
[2025-01-08 20:33:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:33:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:33:03] Production.INFO: Total Charge 0
[2025-01-08 20:33:03] Production.INFO: CreateAllLog End
[2025-01-08 20:33:03] Production.ERROR: done
[2025-01-08 20:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:33:04] Production.ERROR: done
[2025-01-08 20:33:04] Production.INFO: Account Balance End.
[2025-01-08 20:33:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:33:04] Production.INFO: ==13304== Releasing lock...
[2025-01-08 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:33:04
[end_date_ymd] => 2025-01-08 20:33:04
[RateCDR] => 1
)
[2025-01-08 20:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:33:04' and `end` < '2025-01-08 20:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:33:12] Production.ERROR: CronJobId end10
[2025-01-08 20:33:12] Production.INFO: ==13302== Releasing lock...
[2025-01-08 20:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:33:13] Production.INFO: call_cost start
[2025-01-08 20:33:13] Production.INFO: call_cost end
[2025-01-08 20:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:33:14] Production.INFO: ==13298== Releasing lock...
[2025-01-08 20:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:33:17] Production.INFO: count ==1549
[2025-01-08 20:33:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:33:04 - End Time 2025-01-08 20:33:04
[2025-01-08 20:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204705', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204705', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204705', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204705', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:33:18] Production.INFO: ProcessCDR(1,14204705,1,1,2)
[2025-01-08 20:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204705', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204705', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:33:21] Production.INFO: ==13306== Releasing lock...
[2025-01-08 20:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:33:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-09 01:34:02] Production.INFO: ==13364== Lock acquired, processing the job...
[2025-01-09 01:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:34:02] Production.INFO: neon service started
[2025-01-09 01:34:02] Production.INFO: neon service started
[2025-01-09 01:34:02] Production.INFO: ==13364== Releasing lock...
[2025-01-09 01:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:34:02] Production.INFO: ==13366== Lock acquired, processing the job...
[2025-01-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:34:02] Production.INFO: ==13366== Releasing lock...
[2025-01-08 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:34:02] Production.INFO: ==13368== Lock acquired, processing the job...
[2025-01-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:34:02] Production.INFO: ==13368== Releasing lock...
[2025-01-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:34:03] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-08 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:34:03] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-01-08 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:34:03] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-01-08 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:34:03] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-01-08 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:34:03] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-01-08 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:34:03] Production.INFO: ==13380== Lock acquired, processing the job...
[2025-01-08 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:34:03] Production.INFO: ==13372== Releasing lock...
[2025-01-08 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:34:04] Production.INFO: count ==21
[2025-01-08 20:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:34:04] Production.INFO: count ==21
[2025-01-08 20:34:04] Production.INFO: Account Balance Start.
[2025-01-08 20:34:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:34:04] Production.INFO: 117
[2025-01-08 20:34:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:34:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204708') start
[2025-01-08 20:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:34:04] Production.ERROR: done
[2025-01-08 20:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:34:04] Production.INFO: Total Charge 0
[2025-01-08 20:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204708') end
[2025-01-08 20:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:34:04] Production.INFO: 1
[2025-01-08 20:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:34:04] Production.INFO: CreateAllLog End
[2025-01-08 20:34:04] Production.INFO: ==13380== Releasing lock...
[2025-01-08 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:34:04] Production.ERROR: done
[2025-01-08 20:34:04] Production.INFO: Account Balance End.
[2025-01-08 20:34:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:34:04] Production.INFO: ==13376== Releasing lock...
[2025-01-08 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:34:05
[end_date_ymd] => 2025-01-08 20:34:05
[RateCDR] => 1
)
[2025-01-08 20:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:34:05' and `end` < '2025-01-08 20:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:34:12] Production.ERROR: CronJobId end10
[2025-01-08 20:34:12] Production.INFO: ==13374== Releasing lock...
[2025-01-08 20:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:34:14] Production.INFO: call_cost start
[2025-01-08 20:34:14] Production.INFO: call_cost end
[2025-01-08 20:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:34:15] Production.INFO: ==13370== Releasing lock...
[2025-01-08 20:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:34:18] Production.INFO: count ==1536
[2025-01-08 20:34:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:34:05 - End Time 2025-01-08 20:34:05
[2025-01-08 20:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204710', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204710', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204710', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204710', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:34:18] Production.INFO: ProcessCDR(1,14204710,1,1,2)
[2025-01-08 20:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204710', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204710', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:34:21] Production.INFO: ==13378== Releasing lock...
[2025-01-08 20:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:34:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 01:35:01] Production.INFO: ==13434== Lock acquired, processing the job...
[2025-01-09 01:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:35:01] Production.INFO: neon service started
[2025-01-09 01:35:01] Production.INFO: neon service started
[2025-01-09 01:35:01] Production.INFO: ==13434== Releasing lock...
[2025-01-09 01:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:35:01] Production.INFO: ==13438== Lock acquired, processing the job...
[2025-01-09 01:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:35:01] Production.INFO: ==13438== Releasing lock...
[2025-01-09 01:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:35:01] Production.INFO: ==13436== Lock acquired, processing the job...
[2025-01-08 20:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:35:02] Production.INFO: ==13436== Releasing lock...
[2025-01-08 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:35:02] Production.INFO: ==13440== Lock acquired, processing the job...
[2025-01-08 20:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:35:03] Production.INFO: ==13444== Lock acquired, processing the job...
[2025-01-08 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:35:03] Production.INFO: ==13446== Lock acquired, processing the job...
[2025-01-08 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:35:03] Production.INFO: ==13442== Lock acquired, processing the job...
[2025-01-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:35:03] Production.INFO: Account Balance Start.
[2025-01-08 20:35:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:35:03] Production.INFO: 117
[2025-01-08 20:35:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:35:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:35:03] Production.INFO: Total Charge 0
[2025-01-08 20:35:03] Production.INFO: CreateAllLog End
[2025-01-08 20:35:03] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-01-08 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:35:03] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-01-08 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:35:03] Production.INFO: Account Balance End.
[2025-01-08 20:35:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:35:03] Production.INFO: ==13446== Releasing lock...
[2025-01-08 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:35:03] Production.INFO: ==13442== Releasing lock...
[2025-01-08 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:35:03] Production.INFO: count ==21
[2025-01-08 20:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:35:03] Production.INFO: count ==21
[2025-01-08 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204714') start
[2025-01-08 20:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204714') end
[2025-01-08 20:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:35:03] Production.INFO: 1
[2025-01-08 20:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:35:03] Production.INFO: ==13450== Releasing lock...
[2025-01-08 20:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:35:03] Production.ERROR: done
[2025-01-08 20:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:35:04] Production.ERROR: done
[2025-01-08 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:35:05
[end_date_ymd] => 2025-01-08 20:35:05
[RateCDR] => 1
)
[2025-01-08 20:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:35:05' and `end` < '2025-01-08 20:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:35:11] Production.ERROR: CronJobId end10
[2025-01-08 20:35:11] Production.INFO: ==13444== Releasing lock...
[2025-01-08 20:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:35:13] Production.INFO: call_cost start
[2025-01-08 20:35:13] Production.INFO: call_cost end
[2025-01-08 20:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:35:13] Production.INFO: ==13440== Releasing lock...
[2025-01-08 20:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:35:18] Production.INFO: count ==1542
[2025-01-08 20:35:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:35:05 - End Time 2025-01-08 20:35:05
[2025-01-08 20:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204715', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204715', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204715', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204715', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:35:18] Production.INFO: ProcessCDR(1,14204715,1,1,2)
[2025-01-08 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204715', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204715', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:35:21] Production.INFO: ==13448== Releasing lock...
[2025-01-08 20:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:35:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-09 01:36:01] Production.INFO: ==13504== Lock acquired, processing the job...
[2025-01-09 01:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:36:01] Production.INFO: neon service started
[2025-01-09 01:36:01] Production.INFO: neon service started
[2025-01-09 01:36:01] Production.INFO: ==13504== Releasing lock...
[2025-01-09 01:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:36:02] Production.INFO: ==13508== Lock acquired, processing the job...
[2025-01-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:36:02] Production.INFO: ==13508== Releasing lock...
[2025-01-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:36:02] Production.INFO: ==13506== Lock acquired, processing the job...
[2025-01-08 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:36:02] Production.INFO: ==13506== Releasing lock...
[2025-01-08 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:36:03] Production.INFO: ==13513== Lock acquired, processing the job...
[2025-01-08 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:36:03] Production.INFO: ==13521== Lock acquired, processing the job...
[2025-01-08 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:36:03] Production.INFO: ==13511== Lock acquired, processing the job...
[2025-01-08 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:36:03] Production.INFO: ==13513== Releasing lock...
[2025-01-08 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:36:03] Production.INFO: ==13515== Lock acquired, processing the job...
[2025-01-08 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:36:03] Production.INFO: count ==21
[2025-01-08 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:36:03] Production.INFO: ==13517== Lock acquired, processing the job...
[2025-01-08 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:36:03] Production.INFO: ==13519== Lock acquired, processing the job...
[2025-01-08 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 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-01-08 20:36:03] Production.INFO: count ==21
[2025-01-08 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204717') start
[2025-01-08 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:36:03] Production.INFO: Account Balance Start.
[2025-01-08 20:36:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:36:03] Production.INFO: 117
[2025-01-08 20:36:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:36:03] Production.INFO: Total Charge 0
[2025-01-08 20:36:03] Production.INFO: CreateAllLog End
[2025-01-08 20:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204717') end
[2025-01-08 20:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:36:03] Production.INFO: 1
[2025-01-08 20:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:36:04] Production.INFO: ==13521== Releasing lock...
[2025-01-08 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:36:04] Production.INFO: Account Balance End.
[2025-01-08 20:36:04] Production.ERROR: done
[2025-01-08 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:36:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:36:04] Production.INFO: ==13517== Releasing lock...
[2025-01-08 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:36:04] Production.ERROR: done
[2025-01-08 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:36:05
[end_date_ymd] => 2025-01-08 20:36:05
[RateCDR] => 1
)
[2025-01-08 20:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:36:05' and `end` < '2025-01-08 20:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:36:11] Production.ERROR: CronJobId end10
[2025-01-08 20:36:11] Production.INFO: ==13515== Releasing lock...
[2025-01-08 20:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:36:13] Production.INFO: call_cost start
[2025-01-08 20:36:13] Production.INFO: call_cost end
[2025-01-08 20:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:36:13] Production.INFO: ==13511== Releasing lock...
[2025-01-08 20:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:36:18] Production.INFO: count ==1536
[2025-01-08 20:36:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:36:05 - End Time 2025-01-08 20:36:05
[2025-01-08 20:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204720', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204720', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204720', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204720', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:36:18] Production.INFO: ProcessCDR(1,14204720,1,1,2)
[2025-01-08 20:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204720', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204720', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:36:21] Production.INFO: ==13519== Releasing lock...
[2025-01-08 20:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:36:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 01:37:02] Production.INFO: ==13574== Lock acquired, processing the job...
[2025-01-09 01:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:37:02] Production.INFO: neon service started
[2025-01-09 01:37:02] Production.INFO: neon service started
[2025-01-09 01:37:02] Production.INFO: ==13574== Releasing lock...
[2025-01-09 01:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:37:02] Production.INFO: ==13576== Lock acquired, processing the job...
[2025-01-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:37:02] Production.INFO: ==13576== Releasing lock...
[2025-01-08 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:37:03] Production.INFO: ==13578== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:37:03] Production.INFO: ==13578== Releasing lock...
[2025-01-09 01:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:37:03] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-01-08 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:37:03] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-01-08 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:37:03] Production.INFO: ==13591== Lock acquired, processing the job...
[2025-01-08 20:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:37:03] Production.INFO: ==13585== Lock acquired, processing the job...
[2025-01-08 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:37:03] Production.INFO: ==13589== Lock acquired, processing the job...
[2025-01-08 20:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:37:03] Production.INFO: ==13587== Lock acquired, processing the job...
[2025-01-08 20:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:37:04] Production.INFO: count ==21
[2025-01-08 20:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:37:04] Production.INFO: count ==21
[2025-01-08 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204723') start
[2025-01-08 20:37:04] Production.INFO: ==13583== Releasing lock...
[2025-01-08 20:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:37:04] Production.INFO: Account Balance Start.
[2025-01-08 20:37:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:37:04] Production.INFO: 117
[2025-01-08 20:37:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204723') end
[2025-01-08 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:37:04] Production.INFO: 1
[2025-01-08 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:37:04] Production.INFO: ==13591== Releasing lock...
[2025-01-08 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:37:04] Production.ERROR: done
[2025-01-08 20:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:37:04] Production.INFO: Total Charge 0
[2025-01-08 20:37:04] Production.INFO: CreateAllLog End
[2025-01-08 20:37:04] Production.ERROR: done
[2025-01-08 20:37:04] Production.INFO: Account Balance End.
[2025-01-08 20:37:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:37:04] Production.INFO: ==13587== Releasing lock...
[2025-01-08 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:37:05
[end_date_ymd] => 2025-01-08 20:37:05
[RateCDR] => 1
)
[2025-01-08 20:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:37:05' and `end` < '2025-01-08 20:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:37:11] Production.ERROR: CronJobId end10
[2025-01-08 20:37:11] Production.INFO: ==13585== Releasing lock...
[2025-01-08 20:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:37:14] Production.INFO: call_cost start
[2025-01-08 20:37:14] Production.INFO: call_cost end
[2025-01-08 20:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:37:14] Production.INFO: ==13581== Releasing lock...
[2025-01-08 20:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:37:18] Production.INFO: count ==1525
[2025-01-08 20:37:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:37:05 - End Time 2025-01-08 20:37:05
[2025-01-08 20:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204725', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204725', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204725', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204725', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:37:18] Production.INFO: ProcessCDR(1,14204725,1,1,2)
[2025-01-08 20:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204725', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204725', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:37:23] Production.INFO: ==13589== Releasing lock...
[2025-01-08 20:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:37:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-09 01:38:01] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-01-09 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:38:01] Production.INFO: neon service started
[2025-01-09 01:38:01] Production.INFO: neon service started
[2025-01-09 01:38:01] Production.INFO: ==13648== Releasing lock...
[2025-01-09 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:38:02] Production.INFO: ==13650== Lock acquired, processing the job...
[2025-01-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:38:02] Production.INFO: ==13650== Releasing lock...
[2025-01-08 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:38:02] Production.INFO: ==13652== Lock acquired, processing the job...
[2025-01-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:38:02] Production.INFO: ==13652== Releasing lock...
[2025-01-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:38:03] Production.INFO: ==13659== Lock acquired, processing the job...
[2025-01-08 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:38:03] Production.INFO: ==13657== Lock acquired, processing the job...
[2025-01-08 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:38:03] Production.INFO: ==13663== Lock acquired, processing the job...
[2025-01-08 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:38:03] Production.INFO: ==13655== Lock acquired, processing the job...
[2025-01-08 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:38:03] Production.INFO: ==13661== Lock acquired, processing the job...
[2025-01-08 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:38:03] Production.INFO: ==13665== Lock acquired, processing the job...
[2025-01-08 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:38:03] Production.INFO: Account Balance Start.
[2025-01-08 20:38:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:38:03] Production.INFO: 117
[2025-01-08 20:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:38:03] Production.INFO: count ==21
[2025-01-08 20:38:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:38:03] Production.INFO: count ==21
[2025-01-08 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:38:03] Production.ERROR: done
[2025-01-08 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204729') start
[2025-01-08 20:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:38:03] Production.INFO: ==13657== Releasing lock...
[2025-01-08 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:38:03] Production.INFO: Total Charge 0
[2025-01-08 20:38:03] Production.INFO: CreateAllLog End
[2025-01-08 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204729') end
[2025-01-08 20:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:38:03] Production.INFO: 1
[2025-01-08 20:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:38:03] Production.INFO: ==13665== Releasing lock...
[2025-01-08 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:38:03] Production.ERROR: done
[2025-01-08 20:38:03] Production.INFO: Account Balance End.
[2025-01-08 20:38:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:38:04] Production.INFO: ==13661== Releasing lock...
[2025-01-08 20:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:38:04
[end_date_ymd] => 2025-01-08 20:38:04
[RateCDR] => 1
)
[2025-01-08 20:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:38:04' and `end` < '2025-01-08 20:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:38:12] Production.ERROR: CronJobId end10
[2025-01-08 20:38:12] Production.INFO: ==13659== Releasing lock...
[2025-01-08 20:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:38:12] Production.INFO: call_cost start
[2025-01-08 20:38:12] Production.INFO: call_cost end
[2025-01-08 20:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:38:13] Production.INFO: ==13655== Releasing lock...
[2025-01-08 20:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:38:17] Production.INFO: count ==1509
[2025-01-08 20:38:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:38:04 - End Time 2025-01-08 20:38:04
[2025-01-08 20:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204730', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204730', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204730', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204730', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:38:18] Production.INFO: ProcessCDR(1,14204730,1,1,2)
[2025-01-08 20:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204730', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204730', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:38:21] Production.INFO: ==13663== Releasing lock...
[2025-01-08 20:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:38:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 01:39:02] Production.INFO: ==13758== Lock acquired, processing the job...
[2025-01-09 01:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:39:02] Production.INFO: neon service started
[2025-01-09 01:39:02] Production.INFO: neon service started
[2025-01-09 01:39:02] Production.INFO: ==13758== Releasing lock...
[2025-01-09 01:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:39:02] Production.INFO: ==13762== Lock acquired, processing the job...
[2025-01-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:39:02] Production.INFO: ==13760== Lock acquired, processing the job...
[2025-01-08 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:39:02] Production.INFO: ==13762== Releasing lock...
[2025-01-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:39:03] Production.INFO: ==13760== Releasing lock...
[2025-01-08 20:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:39:03] Production.INFO: ==13769== Lock acquired, processing the job...
[2025-01-08 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:39:03] Production.INFO: ==13773== Lock acquired, processing the job...
[2025-01-08 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:39:04] Production.INFO: ==13765== Lock acquired, processing the job...
[2025-01-08 20:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:39:04] Production.INFO: ==13767== Lock acquired, processing the job...
[2025-01-08 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:39:04] Production.INFO: ==13771== Lock acquired, processing the job...
[2025-01-08 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:39:04] Production.INFO: ==13775== Lock acquired, processing the job...
[2025-01-08 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:39:04] Production.ERROR: done
[2025-01-08 20:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:39:04] Production.INFO: Account Balance Start.
[2025-01-08 20:39:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:39:04] Production.INFO: 117
[2025-01-08 20:39:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:39:04] Production.INFO: count ==21
[2025-01-08 20:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:39:04] Production.INFO: count ==21
[2025-01-08 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204734') start
[2025-01-08 20:39:04] Production.INFO: Total Charge 0
[2025-01-08 20:39:04] Production.ERROR: done
[2025-01-08 20:39:04] Production.INFO: CreateAllLog End
[2025-01-08 20:39:04] Production.INFO: ==13767== Releasing lock...
[2025-01-08 20:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204734') end
[2025-01-08 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:39:04] Production.INFO: 1
[2025-01-08 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:39:04] Production.INFO: Account Balance End.
[2025-01-08 20:39:04] Production.INFO: ==13775== Releasing lock...
[2025-01-08 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:39:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:39:04] Production.INFO: ==13771== Releasing lock...
[2025-01-08 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:39:05
[end_date_ymd] => 2025-01-08 20:39:05
[RateCDR] => 1
)
[2025-01-08 20:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:39:05' and `end` < '2025-01-08 20:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:39:11] Production.ERROR: CronJobId end10
[2025-01-08 20:39:11] Production.INFO: ==13769== Releasing lock...
[2025-01-08 20:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:39:13] Production.INFO: call_cost start
[2025-01-08 20:39:13] Production.INFO: call_cost end
[2025-01-08 20:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:39:14] Production.INFO: ==13765== Releasing lock...
[2025-01-08 20:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:39:20] Production.INFO: count ==1503
[2025-01-08 20:39:20] Production.ERROR: pbx CDR StartTime 2025-01-08 17:39:05 - End Time 2025-01-08 20:39:05
[2025-01-08 20:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204735', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204735', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204735', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204735', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:39:20] Production.INFO: ProcessCDR(1,14204735,1,1,2)
[2025-01-08 20:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204735', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204735', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:39:23] Production.INFO: ==13773== Releasing lock...
[2025-01-08 20:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:39:23] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 01:40:01] Production.INFO: ==13841== Lock acquired, processing the job...
[2025-01-09 01:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:40:01] Production.INFO: neon service started
[2025-01-09 01:40:01] Production.INFO: neon service started
[2025-01-09 01:40:01] Production.INFO: ==13841== Releasing lock...
[2025-01-09 01:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:40:02] Production.INFO: ==13843== Lock acquired, processing the job...
[2025-01-08 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:40:02] Production.INFO: ==13845== Lock acquired, processing the job...
[2025-01-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:40:02] Production.INFO: ==13843== Releasing lock...
[2025-01-08 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:40:02] Production.INFO: ==13845== Releasing lock...
[2025-01-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:40:03] Production.INFO: ==13847== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 20:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 20:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 20:40:03] Production.INFO: ==13847== Releasing lock...
[2025-01-08 20:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 20:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:40:03] Production.INFO: ==13850== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:40:03] Production.INFO: ==13852== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:40:03] Production.INFO: ==13854== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:40:03] Production.INFO: ==13856== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:40:03] Production.INFO: ==13858== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:40:03] Production.INFO: Account Balance Start.
[2025-01-08 20:40:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:40:03] Production.INFO: 117
[2025-01-08 20:40:03] Production.INFO: ==13860== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 20:40:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:40:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:40:03] Production.INFO: ==13862== Lock acquired, processing the job...
[2025-01-08 20:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:40:03] Production.INFO: Total Charge 0
[2025-01-08 20:40:04] Production.INFO: ==13852== Releasing lock...
[2025-01-08 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:40:04] Production.INFO: CreateAllLog End
[2025-01-08 20:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:40:04] Production.INFO: count ==21
[2025-01-08 20:40:04] Production.ERROR: done
[2025-01-08 20:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:40:04] Production.INFO: count ==21
[2025-01-08 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204739') start
[2025-01-08 20:40:04] Production.INFO: Account Balance End.
[2025-01-08 20:40:04] Production.ERROR: done
[2025-01-08 20:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204739') end
[2025-01-08 20:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:40:04] Production.INFO: 1
[2025-01-08 20:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:40:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:40:04] Production.INFO: ==13856== Releasing lock...
[2025-01-08 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:40:04] Production.INFO: ==13862== Releasing lock...
[2025-01-08 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:40:04] Production.ERROR: done
[2025-01-08 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204741', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 20:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:40:05
[end_date_ymd] => 2025-01-08 20:40:05
[RateCDR] => 1
)
[2025-01-08 20:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:40:05' and `end` < '2025-01-08 20:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204741', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 20:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 20:40:08] Production.INFO: ProcessCDR(1,14204741,1,1,2)
[2025-01-08 20:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204741,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204741,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:40:08] Production.INFO: ==13860== Releasing lock...
[2025-01-08 20:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 20:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 20:40:13] Production.ERROR: CronJobId end10
[2025-01-08 20:40:13] Production.INFO: ==13854== Releasing lock...
[2025-01-08 20:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:40:14] Production.INFO: call_cost start
[2025-01-08 20:40:14] Production.INFO: call_cost end
[2025-01-08 20:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:40:15] Production.INFO: ==13850== Releasing lock...
[2025-01-08 20:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:40:18] Production.INFO: count ==1496
[2025-01-08 20:40:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:40:05 - End Time 2025-01-08 20:40:05
[2025-01-08 20:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204740', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204740', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204740', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204740', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:40:18] Production.INFO: ProcessCDR(1,14204740,1,1,2)
[2025-01-08 20:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204740', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204740', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:40:21] Production.INFO: ==13858== Releasing lock...
[2025-01-08 20:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:40:21] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 01:41:02] Production.INFO: ==13919== Lock acquired, processing the job...
[2025-01-09 01:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:41:02] Production.INFO: neon service started
[2025-01-09 01:41:02] Production.INFO: neon service started
[2025-01-09 01:41:02] Production.INFO: ==13919== Releasing lock...
[2025-01-09 01:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:41:02] Production.INFO: ==13921== Lock acquired, processing the job...
[2025-01-08 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:41:02] Production.INFO: ==13923== Lock acquired, processing the job...
[2025-01-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 20:41:02] Production.INFO: ==13921== Releasing lock...
[2025-01-08 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:41:03] Production.INFO: ==13923== Releasing lock...
[2025-01-09 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:41:03] Production.INFO: ==13925== Lock acquired, processing the job...
[2025-01-08 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:41:03] Production.INFO: ==13931== Lock acquired, processing the job...
[2025-01-08 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:41:03] Production.INFO: ==13929== Lock acquired, processing the job...
[2025-01-08 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:41:03] Production.INFO: Account Balance Start.
[2025-01-08 20:41:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:41:03] Production.INFO: 117
[2025-01-08 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:41:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:41:03] Production.INFO: ==13927== Lock acquired, processing the job...
[2025-01-08 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:41:03] Production.INFO: Total Charge 0
[2025-01-08 20:41:03] Production.INFO: CreateAllLog End
[2025-01-08 20:41:04] Production.INFO: ==13933== Lock acquired, processing the job...
[2025-01-08 20:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:41:04] Production.INFO: ==13935== Lock acquired, processing the job...
[2025-01-08 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:41:04] Production.INFO: Account Balance End.
[2025-01-08 20:41:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:41:04] Production.INFO: ==13931== Releasing lock...
[2025-01-08 20:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 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-01-08 20:41:04] Production.INFO: ==13927== Releasing lock...
[2025-01-08 20:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:41:04] Production.INFO: count ==21
[2025-01-08 20:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:41:04] Production.INFO: count ==21
[2025-01-08 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204745') start
[2025-01-08 20:41:04] Production.ERROR: done
[2025-01-08 20:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204745') end
[2025-01-08 20:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:41:04] Production.INFO: 1
[2025-01-08 20:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:41:04] Production.INFO: ==13935== Releasing lock...
[2025-01-08 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:41:04] Production.ERROR: done
[2025-01-08 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:41:05
[end_date_ymd] => 2025-01-08 20:41:05
[RateCDR] => 1
)
[2025-01-08 20:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:41:05' and `end` < '2025-01-08 20:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:41:12] Production.ERROR: CronJobId end10
[2025-01-08 20:41:12] Production.INFO: ==13929== Releasing lock...
[2025-01-08 20:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:41:13] Production.INFO: call_cost start
[2025-01-08 20:41:13] Production.INFO: call_cost end
[2025-01-08 20:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:41:14] Production.INFO: ==13925== Releasing lock...
[2025-01-08 20:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:41:19] Production.INFO: count ==1463
[2025-01-08 20:41:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:41:05 - End Time 2025-01-08 20:41:05
[2025-01-08 20:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204746', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204746', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204746', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204746', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:41:19] Production.INFO: ProcessCDR(1,14204746,1,1,2)
[2025-01-08 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204746', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204746', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:41:23] Production.INFO: ==13933== Releasing lock...
[2025-01-08 20:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:41:23] Production.INFO: 39 MB #Memory Used#
[2025-01-09 01:42:01] Production.INFO: ==14000== Lock acquired, processing the job...
[2025-01-09 01:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:42:01] Production.INFO: neon service started
[2025-01-09 01:42:01] Production.INFO: neon service started
[2025-01-09 01:42:01] Production.INFO: ==14000== Releasing lock...
[2025-01-09 01:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:42:02] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-01-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:42:02] Production.INFO: ==14004== Lock acquired, processing the job...
[2025-01-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:42:02] Production.INFO: ==14004== Releasing lock...
[2025-01-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:42:02] Production.INFO: ==14002== Releasing lock...
[2025-01-08 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:42:03] Production.INFO: ==14007== Lock acquired, processing the job...
[2025-01-08 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:42:03] Production.INFO: ==14009== Lock acquired, processing the job...
[2025-01-08 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:42:03] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-01-08 20:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:42:03] Production.INFO: ==14011== Lock acquired, processing the job...
[2025-01-08 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:42:03] Production.INFO: ==14013== Lock acquired, processing the job...
[2025-01-08 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:42:03] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-01-08 20:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:42:03] Production.INFO: ==14009== Releasing lock...
[2025-01-08 20:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:42:03] Production.ERROR: done
[2025-01-08 20:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:42:03] Production.INFO: Account Balance Start.
[2025-01-08 20:42:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:42:03] Production.INFO: 117
[2025-01-08 20:42:03] Production.INFO: Date 2025-01-08
[2025-01-08 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-01-08 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:42:03] Production.INFO: count ==21
[2025-01-08 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-01-08 20:42:04] Production.INFO: count ==21
[2025-01-08 20:42:04] Production.INFO: Total Charge 0
[2025-01-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204750') start
[2025-01-08 20:42:04] Production.ERROR: done
[2025-01-08 20:42:04] Production.INFO: CreateAllLog End
[2025-01-08 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204750') end
[2025-01-08 20:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:42:04] Production.INFO: 1
[2025-01-08 20:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:42:04] Production.INFO: ==14017== Releasing lock...
[2025-01-08 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:42:04] Production.INFO: Account Balance End.
[2025-01-08 20:42:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:42:04] Production.INFO: ==14013== Releasing lock...
[2025-01-08 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:42:05
[end_date_ymd] => 2025-01-08 20:42:05
[RateCDR] => 1
)
[2025-01-08 20:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:42:05' and `end` < '2025-01-08 20:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:42:11] Production.ERROR: CronJobId end10
[2025-01-08 20:42:11] Production.INFO: ==14011== Releasing lock...
[2025-01-08 20:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:42:13] Production.INFO: call_cost start
[2025-01-08 20:42:13] Production.INFO: call_cost end
[2025-01-08 20:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:42:13] Production.INFO: ==14007== Releasing lock...
[2025-01-08 20:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:42:19] Production.INFO: count ==1459
[2025-01-08 20:42:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:42:05 - End Time 2025-01-08 20:42:05
[2025-01-08 20:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204751', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204751', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204751', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204751', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:42:19] Production.INFO: ProcessCDR(1,14204751,1,1,2)
[2025-01-08 20:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204751', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204751', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:42:22] Production.INFO: ==14015== Releasing lock...
[2025-01-08 20:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:42:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-09 01:43:02] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-01-09 01:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:43:02] Production.INFO: neon service started
[2025-01-09 01:43:02] Production.INFO: neon service started
[2025-01-09 01:43:02] Production.INFO: ==14087== Releasing lock...
[2025-01-09 01:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:43:02] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-01-08 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:43:02] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-01-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:43:02] Production.INFO: ==14091== Releasing lock...
[2025-01-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:43:02] Production.INFO: ==14089== Releasing lock...
[2025-01-08 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:43:03] Production.INFO: ==14097== Lock acquired, processing the job...
[2025-01-08 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:43:03] Production.INFO: ==14093== Lock acquired, processing the job...
[2025-01-08 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:43:03] Production.INFO: ==14095== Lock acquired, processing the job...
[2025-01-08 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:43:03] Production.INFO: ==14101== Lock acquired, processing the job...
[2025-01-08 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:43:03] Production.INFO: ==14099== Lock acquired, processing the job...
[2025-01-08 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:43:03] Production.INFO: ==14104== Lock acquired, processing the job...
[2025-01-08 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:43:03] Production.INFO: Account Balance Start.
[2025-01-08 20:43:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:43:03] Production.INFO: 117
[2025-01-08 20:43:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:43:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:43:03] Production.INFO: Total Charge 0
[2025-01-08 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:43:03] Production.INFO: CreateAllLog End
[2025-01-08 20:43:04] Production.INFO: count ==21
[2025-01-08 20:43:04] Production.INFO: ==14095== Releasing lock...
[2025-01-08 20:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:43:04] Production.ERROR: done
[2025-01-08 20:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 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-01-08 20:43:04] Production.INFO: count ==21
[2025-01-08 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204755') start
[2025-01-08 20:43:04] Production.INFO: Account Balance End.
[2025-01-08 20:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204755') end
[2025-01-08 20:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:43:04] Production.INFO: 1
[2025-01-08 20:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:43:04] Production.ERROR: done
[2025-01-08 20:43:04] Production.INFO: ==14104== Releasing lock...
[2025-01-08 20:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:43:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:43:04] Production.INFO: ==14099== Releasing lock...
[2025-01-08 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:43:05
[end_date_ymd] => 2025-01-08 20:43:05
[RateCDR] => 1
)
[2025-01-08 20:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:43:05' and `end` < '2025-01-08 20:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:43:12] Production.ERROR: CronJobId end10
[2025-01-08 20:43:12] Production.INFO: ==14097== Releasing lock...
[2025-01-08 20:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:43:14] Production.INFO: call_cost start
[2025-01-08 20:43:14] Production.INFO: call_cost end
[2025-01-08 20:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:43:15] Production.INFO: ==14093== Releasing lock...
[2025-01-08 20:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:43:19] Production.INFO: count ==1456
[2025-01-08 20:43:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:43:05 - End Time 2025-01-08 20:43:05
[2025-01-08 20:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204756', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204756', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204756', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204756', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:43:19] Production.INFO: ProcessCDR(1,14204756,1,1,2)
[2025-01-08 20:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204756', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204756', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:43:23] Production.INFO: ==14101== Releasing lock...
[2025-01-08 20:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:43:23] Production.INFO: 38.75 MB #Memory Used#
[2025-01-09 01:44:01] Production.INFO: ==14176== Lock acquired, processing the job...
[2025-01-09 01:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:44:01] Production.INFO: neon service started
[2025-01-09 01:44:01] Production.INFO: neon service started
[2025-01-09 01:44:01] Production.INFO: ==14176== Releasing lock...
[2025-01-09 01:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:44:01] Production.INFO: ==14178== Lock acquired, processing the job...
[2025-01-08 20:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:44:02] Production.INFO: ==14178== Releasing lock...
[2025-01-08 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:44:02] Production.INFO: ==14180== Lock acquired, processing the job...
[2025-01-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:44:02] Production.INFO: ==14180== Releasing lock...
[2025-01-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:44:03] Production.INFO: ==14188== Lock acquired, processing the job...
[2025-01-08 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:44:03] Production.INFO: ==14192== Lock acquired, processing the job...
[2025-01-08 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:44:03] Production.INFO: ==14182== Lock acquired, processing the job...
[2025-01-08 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:44:03] Production.INFO: Account Balance Start.
[2025-01-08 20:44:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:44:03] Production.INFO: 117
[2025-01-08 20:44:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:44:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:44:03] Production.INFO: ==14184== Lock acquired, processing the job...
[2025-01-08 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:44:03] Production.INFO: Total Charge 0
[2025-01-08 20:44:03] Production.INFO: count ==21
[2025-01-08 20:44:03] Production.INFO: ==14186== Lock acquired, processing the job...
[2025-01-08 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:44:03] Production.INFO: CreateAllLog End
[2025-01-08 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 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-01-08 20:44:03] Production.INFO: count ==21
[2025-01-08 20:44:03] Production.INFO: ==14190== Lock acquired, processing the job...
[2025-01-08 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204758') start
[2025-01-08 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204758') end
[2025-01-08 20:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:44:03] Production.INFO: 1
[2025-01-08 20:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:44:03] Production.INFO: ==14192== Releasing lock...
[2025-01-08 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:44:03] Production.INFO: Account Balance End.
[2025-01-08 20:44:03] Production.INFO: ==14184== Releasing lock...
[2025-01-08 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:44:03] Production.ERROR: done
[2025-01-08 20:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:44:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:44:03] Production.INFO: ==14188== Releasing lock...
[2025-01-08 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:44:03] Production.ERROR: done
[2025-01-08 20:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:44:04
[end_date_ymd] => 2025-01-08 20:44:04
[RateCDR] => 1
)
[2025-01-08 20:44:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:44:04' and `end` < '2025-01-08 20:44:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:44: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-01-08 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-08 20:44:11] Production.ERROR: CronJobId end10
[2025-01-08 20:44:11] Production.INFO: ==14186== Releasing lock...
[2025-01-08 20:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:44:12] Production.INFO: call_cost start
[2025-01-08 20:44:12] Production.INFO: call_cost end
[2025-01-08 20:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:44:13] Production.INFO: ==14182== Releasing lock...
[2025-01-08 20:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:44:17] Production.INFO: count ==1453
[2025-01-08 20:44:17] Production.ERROR: pbx CDR StartTime 2025-01-08 17:44:04 - End Time 2025-01-08 20:44:04
[2025-01-08 20:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204761', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204761', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204761', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204761', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:44:17] Production.INFO: ProcessCDR(1,14204761,1,1,2)
[2025-01-08 20:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204761', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204761', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:44:20] Production.INFO: ==14190== Releasing lock...
[2025-01-08 20:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:44:20] Production.INFO: 39 MB #Memory Used#
[2025-01-09 01:45:01] Production.INFO: ==14265== Lock acquired, processing the job...
[2025-01-09 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:45:01] Production.INFO: neon service started
[2025-01-09 01:45:02] Production.INFO: neon service started
[2025-01-09 01:45:02] Production.INFO: ==14265== Releasing lock...
[2025-01-09 01:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:45:02] Production.INFO: ==14267== Lock acquired, processing the job...
[2025-01-08 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:45:02] Production.INFO: ==14267== Releasing lock...
[2025-01-08 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:45:02] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-01-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:45:02] Production.INFO: ==14269== Releasing lock...
[2025-01-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:45:03] Production.INFO: ==14273== Lock acquired, processing the job...
[2025-01-08 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:45:03] Production.INFO: ==14279== Lock acquired, processing the job...
[2025-01-08 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:45:03] Production.INFO: ==14271== Lock acquired, processing the job...
[2025-01-08 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:45:03] Production.INFO: ==14275== Lock acquired, processing the job...
[2025-01-08 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:45:03] Production.INFO: ==14277== Lock acquired, processing the job...
[2025-01-08 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:45:03] Production.ERROR: done
[2025-01-08 20:45:03] Production.INFO: ==14282== Lock acquired, processing the job...
[2025-01-08 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:45:03] Production.INFO: Account Balance Start.
[2025-01-08 20:45:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:45:03] Production.INFO: 117
[2025-01-08 20:45:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:45:03] Production.INFO: Total Charge 0
[2025-01-08 20:45:03] Production.INFO: CreateAllLog End
[2025-01-08 20:45:03] Production.INFO: ==14273== Releasing lock...
[2025-01-08 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 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-01-08 20:45:04] Production.ERROR: done
[2025-01-08 20:45:04] Production.INFO: count ==21
[2025-01-08 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-01-08 20:45:04] Production.INFO: count ==21
[2025-01-08 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204765') start
[2025-01-08 20:45:04] Production.INFO: Account Balance End.
[2025-01-08 20:45:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:45:04] Production.INFO: ==14277== Releasing lock...
[2025-01-08 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204765') end
[2025-01-08 20:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:45:04] Production.INFO: 1
[2025-01-08 20:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:45:04] Production.INFO: ==14282== Releasing lock...
[2025-01-08 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:45:05
[end_date_ymd] => 2025-01-08 20:45:05
[RateCDR] => 1
)
[2025-01-08 20:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:45:05' and `end` < '2025-01-08 20:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:45:11] Production.ERROR: CronJobId end10
[2025-01-08 20:45:11] Production.INFO: ==14275== Releasing lock...
[2025-01-08 20:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:45:13] Production.INFO: call_cost start
[2025-01-08 20:45:13] Production.INFO: call_cost end
[2025-01-08 20:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:45:14] Production.INFO: ==14271== Releasing lock...
[2025-01-08 20:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:45:18] Production.INFO: count ==1448
[2025-01-08 20:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:45:05 - End Time 2025-01-08 20:45:05
[2025-01-08 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204766', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204766', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204766', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204766', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:45:18] Production.INFO: ProcessCDR(1,14204766,1,1,2)
[2025-01-08 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204766', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204766', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:45:22] Production.INFO: ==14279== Releasing lock...
[2025-01-08 20:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:45:22] Production.INFO: 39 MB #Memory Used#
[2025-01-09 01:46:01] Production.INFO: ==14350== Lock acquired, processing the job...
[2025-01-09 01:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:46:01] Production.INFO: neon service started
[2025-01-09 01:46:01] Production.INFO: neon service started
[2025-01-09 01:46:01] Production.INFO: ==14350== Releasing lock...
[2025-01-09 01:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:46:01] Production.INFO: ==14352== Lock acquired, processing the job...
[2025-01-08 20:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:46:02] Production.INFO: ==14352== Releasing lock...
[2025-01-08 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:46:02] Production.INFO: ==14354== Lock acquired, processing the job...
[2025-01-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:46:02] Production.INFO: ==14354== Releasing lock...
[2025-01-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:46:02] Production.INFO: ==14357== Lock acquired, processing the job...
[2025-01-08 20:46:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:46:02] Production.INFO: ==14359== Lock acquired, processing the job...
[2025-01-08 20:46:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:46:02] Production.INFO: ==14363== Lock acquired, processing the job...
[2025-01-08 20:46:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:46:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:46:03] Production.INFO: ==14361== Lock acquired, processing the job...
[2025-01-08 20:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:46:03] Production.INFO: Account Balance Start.
[2025-01-08 20:46:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:46:03] Production.INFO: 117
[2025-01-08 20:46:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:46:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:46:03] Production.INFO: Total Charge 0
[2025-01-08 20:46:03] Production.INFO: CreateAllLog End
[2025-01-08 20:46:03] Production.INFO: ==14365== Lock acquired, processing the job...
[2025-01-08 20:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:46:03] Production.INFO: ==14359== Releasing lock...
[2025-01-08 20:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:46:03] Production.INFO: ==14367== Lock acquired, processing the job...
[2025-01-08 20:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:46:03] Production.INFO: Account Balance End.
[2025-01-08 20:46:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:46:03] Production.INFO: ==14363== Releasing lock...
[2025-01-08 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:46:03] Production.ERROR: done
[2025-01-08 20:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:46:03] Production.INFO: count ==21
[2025-01-08 20:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:46:03] Production.INFO: count ==21
[2025-01-08 20:46:03] Production.ERROR: done
[2025-01-08 20:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204770') start
[2025-01-08 20:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204770') end
[2025-01-08 20:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:46:03] Production.INFO: 1
[2025-01-08 20:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:46:04] Production.INFO: ==14367== Releasing lock...
[2025-01-08 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:46:04
[end_date_ymd] => 2025-01-08 20:46:04
[RateCDR] => 1
)
[2025-01-08 20:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:46:04' and `end` < '2025-01-08 20:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:46:12] Production.ERROR: CronJobId end10
[2025-01-08 20:46:12] Production.INFO: ==14361== Releasing lock...
[2025-01-08 20:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:46:13] Production.INFO: call_cost start
[2025-01-08 20:46:13] Production.INFO: call_cost end
[2025-01-08 20:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:46:14] Production.INFO: ==14357== Releasing lock...
[2025-01-08 20:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:46:17] Production.INFO: count ==1447
[2025-01-08 20:46:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:46:04 - End Time 2025-01-08 20:46:04
[2025-01-08 20:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204771', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204771', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204771', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204771', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:46:18] Production.INFO: ProcessCDR(1,14204771,1,1,2)
[2025-01-08 20:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204771', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204771', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:46:21] Production.INFO: ==14365== Releasing lock...
[2025-01-08 20:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:46:21] Production.INFO: 39 MB #Memory Used#
[2025-01-09 01:47:01] Production.INFO: ==14440== Lock acquired, processing the job...
[2025-01-09 01:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:47:01] Production.INFO: neon service started
[2025-01-09 01:47:01] Production.INFO: neon service started
[2025-01-09 01:47:01] Production.INFO: ==14440== Releasing lock...
[2025-01-09 01:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:47:02] Production.INFO: ==14442== Lock acquired, processing the job...
[2025-01-08 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:47:02] Production.INFO: ==14442== Releasing lock...
[2025-01-08 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:47:02] Production.INFO: ==14444== Lock acquired, processing the job...
[2025-01-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:47:02] Production.INFO: ==14444== Releasing lock...
[2025-01-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:47:03] Production.INFO: ==14451== Lock acquired, processing the job...
[2025-01-08 20:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:47:03] Production.INFO: ==14453== Lock acquired, processing the job...
[2025-01-08 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:47:03] Production.INFO: ==14447== Lock acquired, processing the job...
[2025-01-08 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:47:03] Production.INFO: ==14449== Lock acquired, processing the job...
[2025-01-08 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:47:03] Production.INFO: Account Balance Start.
[2025-01-08 20:47:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:47:03] Production.INFO: 117
[2025-01-08 20:47:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:47:03] Production.INFO: Total Charge 0
[2025-01-08 20:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:47:03] Production.INFO: ==14455== Lock acquired, processing the job...
[2025-01-08 20:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:47:03] Production.INFO: CreateAllLog End
[2025-01-08 20:47:03] Production.INFO: ==14457== Lock acquired, processing the job...
[2025-01-08 20:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:47:03] Production.INFO: count ==21
[2025-01-08 20:47:03] Production.INFO: Account Balance End.
[2025-01-08 20:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:47:03] Production.INFO: count ==21
[2025-01-08 20:47:03] Production.INFO: ==14449== Releasing lock...
[2025-01-08 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204775') start
[2025-01-08 20:47:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:47:03] Production.INFO: ==14453== Releasing lock...
[2025-01-08 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:47:03] Production.ERROR: done
[2025-01-08 20:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204775') end
[2025-01-08 20:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:47:03] Production.INFO: 1
[2025-01-08 20:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:47:04] Production.INFO: ==14457== Releasing lock...
[2025-01-08 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:47:04] Production.ERROR: done
[2025-01-08 20:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:47:05
[end_date_ymd] => 2025-01-08 20:47:05
[RateCDR] => 1
)
[2025-01-08 20:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:47:05' and `end` < '2025-01-08 20:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:47:11] Production.ERROR: CronJobId end10
[2025-01-08 20:47:11] Production.INFO: ==14451== Releasing lock...
[2025-01-08 20:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:47:12] Production.INFO: call_cost start
[2025-01-08 20:47:12] Production.INFO: call_cost end
[2025-01-08 20:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:47:13] Production.INFO: ==14447== Releasing lock...
[2025-01-08 20:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:47:18] Production.INFO: count ==1447
[2025-01-08 20:47:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:47:05 - End Time 2025-01-08 20:47:05
[2025-01-08 20:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204776', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204776', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204776', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204776', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:47:18] Production.INFO: ProcessCDR(1,14204776,1,1,2)
[2025-01-08 20:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204776', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204776', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:47:21] Production.INFO: ==14455== Releasing lock...
[2025-01-08 20:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:47:21] Production.INFO: 38.75 MB #Memory Used#
[2025-01-09 01:48:02] Production.INFO: ==14530== Lock acquired, processing the job...
[2025-01-09 01:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:48:02] Production.INFO: neon service started
[2025-01-09 01:48:02] Production.INFO: neon service started
[2025-01-09 01:48:02] Production.INFO: ==14530== Releasing lock...
[2025-01-09 01:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:48:02] Production.INFO: ==14532== Lock acquired, processing the job...
[2025-01-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:48:02] Production.INFO: ==14532== Releasing lock...
[2025-01-08 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:48:03] Production.INFO: ==14534== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:48:03] Production.INFO: ==14534== Releasing lock...
[2025-01-09 01:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:48:03] Production.INFO: ==14536== Lock acquired, processing the job...
[2025-01-08 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:48:03] Production.INFO: ==14540== Lock acquired, processing the job...
[2025-01-08 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:48:03] Production.INFO: ==14542== Lock acquired, processing the job...
[2025-01-08 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:48:03] Production.INFO: ==14538== Lock acquired, processing the job...
[2025-01-08 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:48:03] Production.INFO: ==14546== Lock acquired, processing the job...
[2025-01-08 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:48:03] Production.INFO: Account Balance Start.
[2025-01-08 20:48:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:48:03] Production.INFO: ==14544== Lock acquired, processing the job...
[2025-01-08 20:48:03] Production.INFO: 117
[2025-01-08 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:48:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:48:04] Production.INFO: Total Charge 0
[2025-01-08 20:48:04] Production.INFO: CreateAllLog End
[2025-01-08 20:48:04] Production.INFO: count ==21
[2025-01-08 20:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:48:04] Production.INFO: count ==21
[2025-01-08 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204780') start
[2025-01-08 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204780') end
[2025-01-08 20:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:48:04] Production.INFO: 1
[2025-01-08 20:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:48:04] Production.INFO: Account Balance End.
[2025-01-08 20:48:04] Production.INFO: ==14538== Releasing lock...
[2025-01-08 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:48:04] Production.ERROR: done
[2025-01-08 20:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:48:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:48:04] Production.INFO: ==14542== Releasing lock...
[2025-01-08 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:48:04] Production.INFO: ==14546== Releasing lock...
[2025-01-08 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:48:04] Production.ERROR: done
[2025-01-08 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:48:05
[end_date_ymd] => 2025-01-08 20:48:05
[RateCDR] => 1
)
[2025-01-08 20:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:48:05' and `end` < '2025-01-08 20:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:48:13] Production.ERROR: CronJobId end10
[2025-01-08 20:48:13] Production.INFO: ==14540== Releasing lock...
[2025-01-08 20:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:48:14] Production.INFO: call_cost start
[2025-01-08 20:48:14] Production.INFO: call_cost end
[2025-01-08 20:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:48:15] Production.INFO: ==14536== Releasing lock...
[2025-01-08 20:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:48:18] Production.INFO: count ==1445
[2025-01-08 20:48:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:48:05 - End Time 2025-01-08 20:48:05
[2025-01-08 20:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204781', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204781', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204781', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204781', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:48:19] Production.INFO: ProcessCDR(1,14204781,1,1,2)
[2025-01-08 20:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204781', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204781', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:48:22] Production.INFO: ==14544== Releasing lock...
[2025-01-08 20:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:48:22] Production.INFO: 38.75 MB #Memory Used#
[2025-01-09 01:49:01] Production.INFO: ==14614== Lock acquired, processing the job...
[2025-01-09 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:49:01] Production.INFO: neon service started
[2025-01-09 01:49:01] Production.INFO: neon service started
[2025-01-09 01:49:01] Production.INFO: ==14614== Releasing lock...
[2025-01-09 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:49:02] Production.INFO: ==14618== Lock acquired, processing the job...
[2025-01-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:49:02] Production.INFO: ==14618== Releasing lock...
[2025-01-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:49:02] Production.INFO: ==14616== Lock acquired, processing the job...
[2025-01-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:49:02] Production.INFO: ==14616== Releasing lock...
[2025-01-08 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:49:03] Production.INFO: ==14623== Lock acquired, processing the job...
[2025-01-08 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:49:03] Production.INFO: ==14627== Lock acquired, processing the job...
[2025-01-08 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:49:03] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-01-08 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:49:03] Production.INFO: ==14625== Lock acquired, processing the job...
[2025-01-08 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:49:03] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-01-08 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:49:03] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-01-08 20:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:49:03] Production.INFO: Account Balance Start.
[2025-01-08 20:49:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:49:03] Production.INFO: 117
[2025-01-08 20:49:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:49:03] Production.INFO: Total Charge 0
[2025-01-08 20:49:03] Production.INFO: CreateAllLog End
[2025-01-08 20:49:03] Production.ERROR: done
[2025-01-08 20:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:49:03] Production.INFO: count ==21
[2025-01-08 20:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:49:03] Production.INFO: count ==21
[2025-01-08 20:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204785') start
[2025-01-08 20:49:03] Production.INFO: ==14625== Releasing lock...
[2025-01-08 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:49:03] Production.ERROR: done
[2025-01-08 20:49:03] Production.INFO: Account Balance End.
[2025-01-08 20:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204785') end
[2025-01-08 20:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:49:03] Production.INFO: 1
[2025-01-08 20:49:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:49:03] Production.INFO: ==14629== Releasing lock...
[2025-01-08 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:49:04] Production.INFO: ==14633== Releasing lock...
[2025-01-08 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:49:05
[end_date_ymd] => 2025-01-08 20:49:05
[RateCDR] => 1
)
[2025-01-08 20:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:49:05' and `end` < '2025-01-08 20:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:49:11] Production.ERROR: CronJobId end10
[2025-01-08 20:49:11] Production.INFO: ==14627== Releasing lock...
[2025-01-08 20:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:49:12] Production.INFO: call_cost start
[2025-01-08 20:49:12] Production.INFO: call_cost end
[2025-01-08 20:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:49:13] Production.INFO: ==14623== Releasing lock...
[2025-01-08 20:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:49:18] Production.INFO: count ==1442
[2025-01-08 20:49:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:49:05 - End Time 2025-01-08 20:49:05
[2025-01-08 20:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204786', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204786', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204786', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204786', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:49:18] Production.INFO: ProcessCDR(1,14204786,1,1,2)
[2025-01-08 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204786', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204786', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:49:21] Production.INFO: ==14631== Releasing lock...
[2025-01-08 20:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:49:21] Production.INFO: 38.75 MB #Memory Used#
[2025-01-09 01:50:02] Production.INFO: ==14704== Lock acquired, processing the job...
[2025-01-09 01:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:50:02] Production.INFO: neon service started
[2025-01-09 01:50:02] Production.INFO: neon service started
[2025-01-09 01:50:02] Production.INFO: ==14704== Releasing lock...
[2025-01-09 01:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:50:02] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-01-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:50:02] Production.INFO: ==14709== Releasing lock...
[2025-01-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:50:02] Production.INFO: ==14707== Lock acquired, processing the job...
[2025-01-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:50:02] Production.INFO: ==14707== Releasing lock...
[2025-01-08 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:50:03] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-01-08 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 20:50:03] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-01-08 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 20:50:04] Production.ERROR: CronJob PID - 14713
[2025-01-08 20:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 20:50:04] Production.ERROR: CronJob ID - 5
[2025-01-08 20:50:04] Production.ERROR: CronJob Last Run Time 2025-01-08 20:50:00
[2025-01-08 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 20:50:04] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-01-08 20:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 20:50:04] Production.INFO: ==14711== Releasing lock...
[2025-01-08 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 20:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 20:50:04] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-01-08 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:50:04] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-01-08 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:50:04] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-01-08 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:50:04] Production.INFO: Account Balance Start.
[2025-01-08 20:50:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:50:04] Production.INFO: 117
[2025-01-08 20:50:04] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-08 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:50:04] Production.INFO: ==14725== Lock acquired, processing the job...
[2025-01-08 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:50:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:50:04] Production.INFO: count ==21
[2025-01-08 20:50:04] Production.INFO: Total Charge 0
[2025-01-08 20:50:04] Production.INFO: CreateAllLog End
[2025-01-08 20:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:50:04] Production.INFO: count ==21
[2025-01-08 20:50:04] Production.ERROR: done
[2025-01-08 20:50:04] Production.INFO: ==14715== Releasing lock...
[2025-01-08 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204790') start
[2025-01-08 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204791', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 20:50:04] Production.ERROR: done
[2025-01-08 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204790') end
[2025-01-08 20:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:50:04] Production.INFO: 1
[2025-01-08 20:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:50:04] Production.INFO: Account Balance End.
[2025-01-08 20:50:05] Production.INFO: ==14725== Releasing lock...
[2025-01-08 20:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:50:05] Production.ERROR: done
[2025-01-08 20:50:05] Production.ERROR: CronJobId end 12
[2025-01-08 20:50:05] Production.INFO: ==14719== Releasing lock...
[2025-01-08 20:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:50:06
[end_date_ymd] => 2025-01-08 20:50:06
[RateCDR] => 1
)
[2025-01-08 20:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:50:06' and `end` < '2025-01-08 20:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204791', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 20:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 20:50:08] Production.INFO: ProcessCDR(1,14204791,1,1,2)
[2025-01-08 20:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204791,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204791,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:50:08] Production.INFO: ==14723== Releasing lock...
[2025-01-08 20:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 20:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 20:50:14] Production.ERROR: CronJobId end10
[2025-01-08 20:50:14] Production.INFO: ==14717== Releasing lock...
[2025-01-08 20:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:50:15] Production.INFO: call_cost start
[2025-01-08 20:50:15] Production.INFO: call_cost end
[2025-01-08 20:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:50:15] Production.INFO: ==14713== Releasing lock...
[2025-01-08 20:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:50:19] Production.INFO: count ==1448
[2025-01-08 20:50:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:50:06 - End Time 2025-01-08 20:50:06
[2025-01-08 20:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204792', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204792', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204792', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204792', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:50:19] Production.INFO: ProcessCDR(1,14204792,1,1,2)
[2025-01-08 20:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204792', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204792', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:50:22] Production.INFO: ==14721== Releasing lock...
[2025-01-08 20:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:50:22] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 01:51:01] Production.INFO: ==14795== Lock acquired, processing the job...
[2025-01-09 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:51:01] Production.INFO: neon service started
[2025-01-09 01:51:01] Production.INFO: neon service started
[2025-01-09 01:51:01] Production.INFO: ==14795== Releasing lock...
[2025-01-09 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:51:01] Production.INFO: ==14797== Lock acquired, processing the job...
[2025-01-08 20:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:51:02] Production.INFO: ==14797== Releasing lock...
[2025-01-08 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:51:02] Production.INFO: ==14799== Lock acquired, processing the job...
[2025-01-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:51:02] Production.INFO: ==14799== Releasing lock...
[2025-01-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:51:02] Production.INFO: ==14805== Lock acquired, processing the job...
[2025-01-08 20:51:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:51:03] Production.INFO: ==14811== Lock acquired, processing the job...
[2025-01-08 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:51:03] Production.INFO: ==14801== Lock acquired, processing the job...
[2025-01-08 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:51:03] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-01-08 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:51:03] Production.INFO: ==14808== Lock acquired, processing the job...
[2025-01-08 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:51:03] Production.INFO: ==14813== Lock acquired, processing the job...
[2025-01-08 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:51:03] Production.ERROR: done
[2025-01-08 20:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:51:03] Production.INFO: Account Balance Start.
[2025-01-08 20:51:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:51:03] Production.INFO: 117
[2025-01-08 20:51:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:51:03] Production.INFO: count ==21
[2025-01-08 20:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:51:03] Production.ERROR: done
[2025-01-08 20:51:03] Production.INFO: count ==21
[2025-01-08 20:51:03] Production.INFO: ==14803== Releasing lock...
[2025-01-08 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:51:03] Production.INFO: Total Charge 0
[2025-01-08 20:51:03] Production.INFO: CreateAllLog End
[2025-01-08 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204795') start
[2025-01-08 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204795') end
[2025-01-08 20:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:51:03] Production.INFO: 1
[2025-01-08 20:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:51:03] Production.INFO: Account Balance End.
[2025-01-08 20:51:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:51:03] Production.INFO: ==14808== Releasing lock...
[2025-01-08 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:51:03] Production.INFO: ==14813== Releasing lock...
[2025-01-08 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:51:04
[end_date_ymd] => 2025-01-08 20:51:04
[RateCDR] => 1
)
[2025-01-08 20:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:51:04' and `end` < '2025-01-08 20:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:51:10] Production.ERROR: CronJobId end10
[2025-01-08 20:51:10] Production.INFO: ==14805== Releasing lock...
[2025-01-08 20:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:51:13] Production.INFO: call_cost start
[2025-01-08 20:51:13] Production.INFO: call_cost end
[2025-01-08 20:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:51:13] Production.INFO: ==14801== Releasing lock...
[2025-01-08 20:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:51:18] Production.INFO: count ==1380
[2025-01-08 20:51:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:51:04 - End Time 2025-01-08 20:51:04
[2025-01-08 20:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204797', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204797', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204797', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204797', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:51:18] Production.INFO: ProcessCDR(1,14204797,1,1,2)
[2025-01-08 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204797', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204797', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:51:21] Production.INFO: ==14811== Releasing lock...
[2025-01-08 20:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:51:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-09 01:52:01] Production.INFO: ==14885== Lock acquired, processing the job...
[2025-01-09 01:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:52:01] Production.INFO: neon service started
[2025-01-09 01:52:01] Production.INFO: neon service started
[2025-01-09 01:52:01] Production.INFO: ==14885== Releasing lock...
[2025-01-09 01:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:52:02] Production.INFO: ==14890== Lock acquired, processing the job...
[2025-01-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:52:02] Production.INFO: ==14890== Releasing lock...
[2025-01-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:52:02] Production.INFO: ==14888== Lock acquired, processing the job...
[2025-01-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:52:02] Production.INFO: ==14888== Releasing lock...
[2025-01-08 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:52:03] Production.INFO: ==14896== Lock acquired, processing the job...
[2025-01-08 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:52:03] Production.INFO: ==14892== Lock acquired, processing the job...
[2025-01-08 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:52:03] Production.INFO: ==14902== Lock acquired, processing the job...
[2025-01-08 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:52:03] Production.INFO: ==14894== Lock acquired, processing the job...
[2025-01-08 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:52:03] Production.INFO: ==14898== Lock acquired, processing the job...
[2025-01-08 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 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-01-08 20:52:03] Production.INFO: ==14900== Lock acquired, processing the job...
[2025-01-08 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:52:03] Production.INFO: count ==21
[2025-01-08 20:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:52:03] Production.INFO: count ==21
[2025-01-08 20:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204799') start
[2025-01-08 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204799') end
[2025-01-08 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:52:04] Production.INFO: 1
[2025-01-08 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:52:04] Production.INFO: Account Balance Start.
[2025-01-08 20:52:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:52:04] Production.INFO: 117
[2025-01-08 20:52:04] Production.INFO: ==14902== Releasing lock...
[2025-01-08 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:52:04] Production.INFO: ==14894== Releasing lock...
[2025-01-08 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:52:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:52:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:52:04] Production.INFO: Total Charge 0
[2025-01-08 20:52:04] Production.INFO: CreateAllLog End
[2025-01-08 20:52:04] Production.ERROR: done
[2025-01-08 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:52:04] Production.ERROR: done
[2025-01-08 20:52:04] Production.INFO: Account Balance End.
[2025-01-08 20:52:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:52:04] Production.INFO: ==14898== Releasing lock...
[2025-01-08 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:52:05
[end_date_ymd] => 2025-01-08 20:52:05
[RateCDR] => 1
)
[2025-01-08 20:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:52:05' and `end` < '2025-01-08 20:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:52:12] Production.ERROR: CronJobId end10
[2025-01-08 20:52:12] Production.INFO: ==14896== Releasing lock...
[2025-01-08 20:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:52:14] Production.INFO: call_cost start
[2025-01-08 20:52:14] Production.INFO: call_cost end
[2025-01-08 20:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:52:15] Production.INFO: ==14892== Releasing lock...
[2025-01-08 20:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:52:18] Production.INFO: count ==1366
[2025-01-08 20:52:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:52:05 - End Time 2025-01-08 20:52:05
[2025-01-08 20:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204802', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204802', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204802', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204802', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:52:19] Production.INFO: ProcessCDR(1,14204802,1,1,2)
[2025-01-08 20:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204802', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204802', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:52:22] Production.INFO: ==14900== Releasing lock...
[2025-01-08 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:52:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-09 01:53:02] Production.INFO: ==14977== Lock acquired, processing the job...
[2025-01-09 01:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:53:02] Production.INFO: neon service started
[2025-01-09 01:53:02] Production.INFO: neon service started
[2025-01-09 01:53:02] Production.INFO: ==14977== Releasing lock...
[2025-01-09 01:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:53:02] Production.INFO: ==14979== Lock acquired, processing the job...
[2025-01-08 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:53:02] Production.INFO: ==14981== Lock acquired, processing the job...
[2025-01-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:53:02] Production.INFO: ==14981== Releasing lock...
[2025-01-09 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:53:03] Production.INFO: ==14979== Releasing lock...
[2025-01-08 20:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:53:04] Production.INFO: ==14986== Lock acquired, processing the job...
[2025-01-08 20:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:53:04] Production.INFO: ==14990== Lock acquired, processing the job...
[2025-01-08 20:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:53:04] Production.INFO: ==14992== Lock acquired, processing the job...
[2025-01-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:53:04] Production.INFO: ==14988== Lock acquired, processing the job...
[2025-01-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:53:04] Production.INFO: ==14994== Lock acquired, processing the job...
[2025-01-08 20:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:53:04] Production.INFO: Account Balance Start.
[2025-01-08 20:53:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:53:04] Production.INFO: 117
[2025-01-08 20:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:53:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:53:04] Production.INFO: ==14996== Lock acquired, processing the job...
[2025-01-08 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:53:04] Production.INFO: Total Charge 0
[2025-01-08 20:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:53:04] Production.INFO: CreateAllLog End
[2025-01-08 20:53:04] Production.INFO: count ==21
[2025-01-08 20:53:04] Production.ERROR: done
[2025-01-08 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:53:04] Production.INFO: ==14988== Releasing lock...
[2025-01-08 20:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:53:04] Production.INFO: count ==21
[2025-01-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204806') start
[2025-01-08 20:53:04] Production.ERROR: done
[2025-01-08 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204806') end
[2025-01-08 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:53:04] Production.INFO: 1
[2025-01-08 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:53:04] Production.INFO: Account Balance End.
[2025-01-08 20:53:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:53:04] Production.INFO: ==14992== Releasing lock...
[2025-01-08 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:53:04] Production.INFO: ==14996== Releasing lock...
[2025-01-08 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:53:05
[end_date_ymd] => 2025-01-08 20:53:05
[RateCDR] => 1
)
[2025-01-08 20:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:53:05' and `end` < '2025-01-08 20:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:53:12] Production.ERROR: CronJobId end10
[2025-01-08 20:53:12] Production.INFO: ==14990== Releasing lock...
[2025-01-08 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:53:14] Production.INFO: call_cost start
[2025-01-08 20:53:14] Production.INFO: call_cost end
[2025-01-08 20:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:53:15] Production.INFO: ==14986== Releasing lock...
[2025-01-08 20:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:53:19] Production.INFO: count ==1365
[2025-01-08 20:53:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:53:05 - End Time 2025-01-08 20:53:05
[2025-01-08 20:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204807', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204807', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204807', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204807', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:53:19] Production.INFO: ProcessCDR(1,14204807,1,1,2)
[2025-01-08 20:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204807', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204807', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:53:22] Production.INFO: ==14994== Releasing lock...
[2025-01-08 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:53:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-09 01:54:01] Production.INFO: ==15068== Lock acquired, processing the job...
[2025-01-09 01:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:54:01] Production.INFO: neon service started
[2025-01-09 01:54:01] Production.INFO: neon service started
[2025-01-09 01:54:01] Production.INFO: ==15068== Releasing lock...
[2025-01-09 01:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:54:02] Production.INFO: ==15070== Lock acquired, processing the job...
[2025-01-08 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:54:02] Production.INFO: ==15072== Lock acquired, processing the job...
[2025-01-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:54:02] Production.INFO: ==15072== Releasing lock...
[2025-01-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:54:02] Production.INFO: ==15070== Releasing lock...
[2025-01-08 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:54:03] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-01-08 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:54:03] Production.INFO: ==15075== Lock acquired, processing the job...
[2025-01-08 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:54:03] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-01-08 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:54:03] Production.INFO: ==15077== Lock acquired, processing the job...
[2025-01-08 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:54:03] Production.INFO: Account Balance Start.
[2025-01-08 20:54:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:54:03] Production.INFO: 117
[2025-01-08 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:54:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:54:03] Production.INFO: ==15079== Lock acquired, processing the job...
[2025-01-08 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:54:03] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-01-08 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:54:03] Production.INFO: Total Charge 0
[2025-01-08 20:54:03] Production.INFO: CreateAllLog End
[2025-01-08 20:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:54:03] Production.INFO: count ==21
[2025-01-08 20:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:54:03] Production.INFO: count ==21
[2025-01-08 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204811') start
[2025-01-08 20:54:04] Production.ERROR: done
[2025-01-08 20:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:54:04] Production.INFO: Account Balance End.
[2025-01-08 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204811') end
[2025-01-08 20:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:54:04] Production.INFO: 1
[2025-01-08 20:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:54:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:54:04] Production.INFO: ==15081== Releasing lock...
[2025-01-08 20:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:54:04] Production.INFO: ==15085== Releasing lock...
[2025-01-08 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:54:04] Production.ERROR: done
[2025-01-08 20:54:04] Production.INFO: ==15077== Releasing lock...
[2025-01-08 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:54:05
[end_date_ymd] => 2025-01-08 20:54:05
[RateCDR] => 1
)
[2025-01-08 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:54:05' and `end` < '2025-01-08 20:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:54:11] Production.ERROR: CronJobId end10
[2025-01-08 20:54:11] Production.INFO: ==15079== Releasing lock...
[2025-01-08 20:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:54:14] Production.INFO: call_cost start
[2025-01-08 20:54:14] Production.INFO: call_cost end
[2025-01-08 20:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:54:14] Production.INFO: ==15075== Releasing lock...
[2025-01-08 20:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:54:18] Production.INFO: count ==1362
[2025-01-08 20:54:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:54:05 - End Time 2025-01-08 20:54:05
[2025-01-08 20:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204812', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204812', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204812', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204812', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:54:19] Production.INFO: ProcessCDR(1,14204812,1,1,2)
[2025-01-08 20:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204812', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204812', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:54:22] Production.INFO: ==15083== Releasing lock...
[2025-01-08 20:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:54:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-09 01:55:02] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-01-09 01:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:55:02] Production.INFO: neon service started
[2025-01-09 01:55:02] Production.INFO: neon service started
[2025-01-09 01:55:02] Production.INFO: ==15200== Releasing lock...
[2025-01-09 01:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:55:02] Production.INFO: ==15204== Lock acquired, processing the job...
[2025-01-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:55:02] Production.INFO: ==15204== Releasing lock...
[2025-01-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:55:02] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-01-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:55:02] Production.INFO: ==15202== Releasing lock...
[2025-01-08 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:55:03] Production.INFO: ==15207== Lock acquired, processing the job...
[2025-01-08 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:55:03] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-01-08 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:55:03] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-01-08 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:55:03] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-01-08 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:55:03] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-01-08 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:55:03] Production.INFO: ==15209== Releasing lock...
[2025-01-08 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:55:04] Production.INFO: ==15217== Lock acquired, processing the job...
[2025-01-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:55:04] Production.ERROR: done
[2025-01-08 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:55:04] Production.INFO: Account Balance Start.
[2025-01-08 20:55:04] Production.INFO: CreateAllLog Start
[2025-01-08 20:55:04] Production.INFO: 117
[2025-01-08 20:55:04] Production.INFO: Date 2025-01-08
[2025-01-08 20:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-08 20:55:04] Production.INFO: Total Charge 0
[2025-01-08 20:55:04] Production.INFO: count ==21
[2025-01-08 20:55:04] Production.INFO: CreateAllLog End
[2025-01-08 20:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:55:04] Production.INFO: count ==21
[2025-01-08 20:55:04] Production.ERROR: done
[2025-01-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204816') start
[2025-01-08 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204816') end
[2025-01-08 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:55:04] Production.INFO: 1
[2025-01-08 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:55:04] Production.INFO: ==15217== Releasing lock...
[2025-01-08 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:55:04] Production.INFO: Account Balance End.
[2025-01-08 20:55:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:55:04] Production.INFO: ==15213== Releasing lock...
[2025-01-08 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:55:05
[end_date_ymd] => 2025-01-08 20:55:05
[RateCDR] => 1
)
[2025-01-08 20:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:55:05' and `end` < '2025-01-08 20:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:55:11] Production.ERROR: CronJobId end10
[2025-01-08 20:55:11] Production.INFO: ==15211== Releasing lock...
[2025-01-08 20:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:55:13] Production.INFO: call_cost start
[2025-01-08 20:55:13] Production.INFO: call_cost end
[2025-01-08 20:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:55:13] Production.INFO: ==15207== Releasing lock...
[2025-01-08 20:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:55:18] Production.INFO: count ==1356
[2025-01-08 20:55:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:55:05 - End Time 2025-01-08 20:55:05
[2025-01-08 20:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204817', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204817', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204817', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204817', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:55:18] Production.INFO: ProcessCDR(1,14204817,1,1,2)
[2025-01-08 20:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204817', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204817', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:55:21] Production.INFO: ==15215== Releasing lock...
[2025-01-08 20:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:55:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-09 01:56:01] Production.INFO: ==15288== Lock acquired, processing the job...
[2025-01-09 01:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:56:01] Production.INFO: neon service started
[2025-01-09 01:56:01] Production.INFO: neon service started
[2025-01-09 01:56:01] Production.INFO: ==15288== Releasing lock...
[2025-01-09 01:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:56:01] Production.INFO: ==15290== Lock acquired, processing the job...
[2025-01-08 20:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:56:02] Production.INFO: ==15290== Releasing lock...
[2025-01-08 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:56:02] Production.INFO: ==15292== Lock acquired, processing the job...
[2025-01-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:56:02] Production.INFO: ==15292== Releasing lock...
[2025-01-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:56:03] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-01-08 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:56:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-01-08 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:56:03] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-01-08 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:56:03] Production.INFO: ==15305== Lock acquired, processing the job...
[2025-01-08 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:56:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-01-08 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:56:03] Production.INFO: count ==21
[2025-01-08 20:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:56:03] Production.INFO: count ==21
[2025-01-08 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204819') start
[2025-01-08 20:56:03] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-01-08 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:56:03] Production.INFO: Account Balance Start.
[2025-01-08 20:56:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:56:03] Production.INFO: 117
[2025-01-08 20:56:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204819') end
[2025-01-08 20:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:56:03] Production.INFO: 1
[2025-01-08 20:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:56:03] Production.INFO: Total Charge 0
[2025-01-08 20:56:03] Production.INFO: ==15305== Releasing lock...
[2025-01-08 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:56:03] Production.INFO: CreateAllLog End
[2025-01-08 20:56:03] Production.INFO: ==15297== Releasing lock...
[2025-01-08 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:56:03] Production.ERROR: done
[2025-01-08 20:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:56:04] Production.ERROR: done
[2025-01-08 20:56:04] Production.INFO: Account Balance End.
[2025-01-08 20:56:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:56:04] Production.INFO: ==15301== Releasing lock...
[2025-01-08 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:56:05
[end_date_ymd] => 2025-01-08 20:56:05
[RateCDR] => 1
)
[2025-01-08 20:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:56:05' and `end` < '2025-01-08 20:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:56:11] Production.ERROR: CronJobId end10
[2025-01-08 20:56:11] Production.INFO: ==15299== Releasing lock...
[2025-01-08 20:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:56:12] Production.INFO: call_cost start
[2025-01-08 20:56:12] Production.INFO: call_cost end
[2025-01-08 20:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:56:13] Production.INFO: ==15295== Releasing lock...
[2025-01-08 20:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:56:18] Production.INFO: count ==1357
[2025-01-08 20:56:18] Production.ERROR: pbx CDR StartTime 2025-01-08 17:56:05 - End Time 2025-01-08 20:56:05
[2025-01-08 20:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204822', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204822', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204822', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204822', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:56:18] Production.INFO: ProcessCDR(1,14204822,1,1,2)
[2025-01-08 20:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204822', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204822', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:56:23] Production.INFO: ==15303== Releasing lock...
[2025-01-08 20:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:56:23] Production.INFO: 38 MB #Memory Used#
[2025-01-09 01:57:02] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-01-09 01:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:57:02] Production.INFO: neon service started
[2025-01-09 01:57:02] Production.INFO: neon service started
[2025-01-09 01:57:02] Production.INFO: ==15374== Releasing lock...
[2025-01-09 01:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:57:02] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-01-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:57:02] Production.INFO: ==15378== Releasing lock...
[2025-01-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:57:02] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-01-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:57:02] Production.INFO: ==15376== Releasing lock...
[2025-01-08 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:57:03] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-01-08 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:57:03] Production.INFO: ==15386== Lock acquired, processing the job...
[2025-01-08 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:57:03] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-01-08 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:57:03] Production.INFO: Account Balance Start.
[2025-01-08 20:57:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:57:03] Production.INFO: 117
[2025-01-08 20:57:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:57:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:57:03] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-01-08 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:57:03] Production.INFO: Total Charge 0
[2025-01-08 20:57:03] Production.INFO: CreateAllLog End
[2025-01-08 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:57:04] Production.INFO: ==15388== Lock acquired, processing the job...
[2025-01-08 20:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:57:04] Production.INFO: Account Balance End.
[2025-01-08 20:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:57:04] Production.INFO: ==15391== Lock acquired, processing the job...
[2025-01-08 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:57:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:57:04] Production.INFO: ==15386== Releasing lock...
[2025-01-08 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:57:04] Production.INFO: ==15382== Releasing lock...
[2025-01-08 20:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:57:04] Production.INFO: count ==21
[2025-01-08 20:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:57:04] Production.ERROR: done
[2025-01-08 20:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:57:04] Production.INFO: count ==21
[2025-01-08 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204826') start
[2025-01-08 20:57:04] Production.ERROR: done
[2025-01-08 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204826') end
[2025-01-08 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:57:04] Production.INFO: 1
[2025-01-08 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:57:04] Production.INFO: ==15391== Releasing lock...
[2025-01-08 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:57:05
[end_date_ymd] => 2025-01-08 20:57:05
[RateCDR] => 1
)
[2025-01-08 20:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:57:05' and `end` < '2025-01-08 20:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:57:11] Production.ERROR: CronJobId end10
[2025-01-08 20:57:11] Production.INFO: ==15384== Releasing lock...
[2025-01-08 20:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:57:13] Production.INFO: call_cost start
[2025-01-08 20:57:13] Production.INFO: call_cost end
[2025-01-08 20:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:57:14] Production.INFO: ==15380== Releasing lock...
[2025-01-08 20:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:57:19] Production.INFO: count ==1342
[2025-01-08 20:57:19] Production.ERROR: pbx CDR StartTime 2025-01-08 17:57:05 - End Time 2025-01-08 20:57:05
[2025-01-08 20:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204827', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204827', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204827', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204827', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:57:19] Production.INFO: ProcessCDR(1,14204827,1,1,2)
[2025-01-08 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204827', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204827', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:57:22] Production.INFO: ==15388== Releasing lock...
[2025-01-08 20:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:57:22] Production.INFO: 38 MB #Memory Used#
[2025-01-09 01:58:01] Production.INFO: ==15463== Lock acquired, processing the job...
[2025-01-09 01:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:58:01] Production.INFO: neon service started
[2025-01-09 01:58:01] Production.INFO: neon service started
[2025-01-09 01:58:01] Production.INFO: ==15463== Releasing lock...
[2025-01-09 01:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:58:01] Production.INFO: ==15465== Lock acquired, processing the job...
[2025-01-08 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:58:02] Production.INFO: ==15467== Lock acquired, processing the job...
[2025-01-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:58:02] Production.INFO: ==15467== Releasing lock...
[2025-01-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:58:02] Production.INFO: ==15465== Releasing lock...
[2025-01-08 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 20:58:03] Production.INFO: ==15469== Lock acquired, processing the job...
[2025-01-08 20:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:58:03] Production.INFO: ==15478== Lock acquired, processing the job...
[2025-01-08 20:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:58:03] Production.INFO: ==15480== Lock acquired, processing the job...
[2025-01-08 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:58:03] Production.INFO: ==15471== Lock acquired, processing the job...
[2025-01-08 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:58:03] Production.INFO: ==15473== Lock acquired, processing the job...
[2025-01-08 20:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:58:03] Production.INFO: ==15475== Lock acquired, processing the job...
[2025-01-08 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:58:03] Production.INFO: count ==21
[2025-01-08 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-01-08 20:58:03] Production.INFO: count ==21
[2025-01-08 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204829') start
[2025-01-08 20:58:03] Production.INFO: Account Balance Start.
[2025-01-08 20:58:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:58:03] Production.INFO: 117
[2025-01-08 20:58:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:58:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:58:03] Production.INFO: Total Charge 0
[2025-01-08 20:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:58:03] Production.INFO: CreateAllLog End
[2025-01-08 20:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:58:03] Production.INFO: ==15471== Releasing lock...
[2025-01-08 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:58:03] Production.ERROR: done
[2025-01-08 20:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204829') end
[2025-01-08 20:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:58:03] Production.INFO: 1
[2025-01-08 20:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:58:03] Production.INFO: ==15480== Releasing lock...
[2025-01-08 20:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:58:03] Production.INFO: Account Balance End.
[2025-01-08 20:58:03] Production.ERROR: done
[2025-01-08 20:58:03] Production.ERROR: CronJobId end 12
[2025-01-08 20:58:03] Production.INFO: ==15475== Releasing lock...
[2025-01-08 20:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:58:04
[end_date_ymd] => 2025-01-08 20:58:04
[RateCDR] => 1
)
[2025-01-08 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-01-08 17:58:04' and `end` < '2025-01-08 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-01-08 20:58:12] Production.ERROR: CronJobId end10
[2025-01-08 20:58:12] Production.INFO: ==15473== Releasing lock...
[2025-01-08 20:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:58:12] Production.INFO: call_cost start
[2025-01-08 20:58:12] Production.INFO: call_cost end
[2025-01-08 20:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:58:13] Production.INFO: ==15469== Releasing lock...
[2025-01-08 20:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:58:17] Production.INFO: count ==1341
[2025-01-08 20:58:17] Production.ERROR: pbx CDR StartTime 2025-01-08 17:58:04 - End Time 2025-01-08 20:58:04
[2025-01-08 20:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204832', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204832', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204832', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204832', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:58:17] Production.INFO: ProcessCDR(1,14204832,1,1,2)
[2025-01-08 20:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204832', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204832', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:58:21] Production.INFO: ==15478== Releasing lock...
[2025-01-08 20:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:58:21] Production.INFO: 38 MB #Memory Used#
[2025-01-09 01:59:01] Production.INFO: ==15554== Lock acquired, processing the job...
[2025-01-09 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 01:59:01] Production.INFO: neon service started
[2025-01-09 01:59:01] Production.INFO: neon service started
[2025-01-09 01:59:01] Production.INFO: ==15554== Releasing lock...
[2025-01-09 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 20:59:02] Production.INFO: ==15556== Lock acquired, processing the job...
[2025-01-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 20:59:02] Production.INFO: ==15556== Releasing lock...
[2025-01-08 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:59:02] Production.INFO: ==15558== Lock acquired, processing the job...
[2025-01-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:59:02] Production.INFO: ==15558== Releasing lock...
[2025-01-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 20:59:03] Production.INFO: ==15564== Lock acquired, processing the job...
[2025-01-08 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 20:59:03] Production.INFO: ==15560== Lock acquired, processing the job...
[2025-01-08 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 20:59:03] Production.INFO: ==15570== Lock acquired, processing the job...
[2025-01-08 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 20:59:03] Production.INFO: ==15562== Lock acquired, processing the job...
[2025-01-08 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 20:59:03] Production.INFO: ==15566== Lock acquired, processing the job...
[2025-01-08 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 20:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:59:03] Production.INFO: count ==21
[2025-01-08 20:59:03] Production.INFO: ==15568== Lock acquired, processing the job...
[2025-01-08 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 20:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 20:59:03] Production.INFO: count ==21
[2025-01-08 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204834') start
[2025-01-08 20:59:03] Production.INFO: Account Balance Start.
[2025-01-08 20:59:03] Production.INFO: CreateAllLog Start
[2025-01-08 20:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 20:59:03] Production.INFO: 117
[2025-01-08 20:59:03] Production.INFO: Date 2025-01-08
[2025-01-08 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-08 20:59:03] Production.INFO: Total Charge 0
[2025-01-08 20:59:03] Production.INFO: CreateAllLog End
[2025-01-08 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204834') end
[2025-01-08 20:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 20:59:03] Production.INFO: 1
[2025-01-08 20:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 20:59:03] Production.INFO: ==15562== Releasing lock...
[2025-01-08 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 20:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 20:59:04] Production.INFO: ==15570== Releasing lock...
[2025-01-08 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 20:59:04] Production.INFO: Account Balance End.
[2025-01-08 20:59:04] Production.ERROR: done
[2025-01-08 20:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 20:59:04] Production.ERROR: CronJobId end 12
[2025-01-08 20:59:04] Production.INFO: ==15566== Releasing lock...
[2025-01-08 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 20:59:04] Production.ERROR: done
[2025-01-08 20:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 17:59:05
[end_date_ymd] => 2025-01-08 20:59:05
[RateCDR] => 1
)
[2025-01-08 20:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 17:59:05' and `end` < '2025-01-08 20:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 20:59:11] Production.ERROR: CronJobId end10
[2025-01-08 20:59:11] Production.INFO: ==15564== Releasing lock...
[2025-01-08 20:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 20:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 20:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 20:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 20:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 20:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 20:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 20:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 20:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 20:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 20:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 20:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 20:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 20:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 20:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 20:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 20:59:13] Production.INFO: call_cost start
[2025-01-08 20:59:13] Production.INFO: call_cost end
[2025-01-08 20:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 20:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 20:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 20:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 20:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 20:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 20:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 20:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 20:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 20:59:13] Production.INFO: ==15560== Releasing lock...
[2025-01-08 20:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 20:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 20:59:20] Production.INFO: count ==1338
[2025-01-08 20:59:20] Production.ERROR: pbx CDR StartTime 2025-01-08 17:59:05 - End Time 2025-01-08 20:59:05
[2025-01-08 20:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204837', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204837', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204837', 'tblTempVendorCDR_20' ) start
[2025-01-08 20:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204837', 'tblTempVendorCDR_20' ) end
[2025-01-08 20:59:20] Production.INFO: ProcessCDR(1,14204837,1,1,2)
[2025-01-08 20:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 20:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 20:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204837', 'tblTempUsageDetail_20' ) start
[2025-01-08 20:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204837', 'tblTempUsageDetail_20' ) end
[2025-01-08 20:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 20:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 20:59:23] Production.INFO: ==15568== Releasing lock...
[2025-01-08 20:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 20:59:23] Production.INFO: 38 MB #Memory Used#
[2025-01-09 02:00:02] Production.INFO: ==15641== Lock acquired, processing the job...
[2025-01-09 02:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:00:02] Production.INFO: neon service started
[2025-01-09 02:00:02] Production.INFO: neon service started
[2025-01-09 02:00:02] Production.INFO: ==15641== Releasing lock...
[2025-01-09 02:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:00:02] Production.INFO: ==15645== Lock acquired, processing the job...
[2025-01-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:00:02] Production.INFO: ==15645== Releasing lock...
[2025-01-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:00:02] Production.INFO: ==15643== Lock acquired, processing the job...
[2025-01-08 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:00:03] Production.INFO: ==15643== Releasing lock...
[2025-01-08 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:00:04] Production.INFO: ==15652== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:00:04] Production.INFO: ==15647== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 21:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 21:00:04] Production.ERROR: CronJob PID - 15652
[2025-01-08 21:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-08 21:00:04] Production.ERROR: CronJob ID - 7
[2025-01-08 21:00:04] Production.ERROR: CronJob Last Run Time 2025-01-08 21:00:00
[2025-01-08 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 21:00:04] Production.INFO: ==15649== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:00:04] Production.INFO: ==15658== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:00:04] Production.INFO: ==15652== Releasing lock...
[2025-01-08 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 21:00:04] Production.INFO: ==15647== Releasing lock...
[2025-01-08 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:00:04] Production.INFO: ==15660== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:00:04] Production.INFO: ==15654== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:00:04] Production.INFO: ==15656== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:00:04] Production.INFO: ==15662== Lock acquired, processing the job...
[2025-01-08 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:00:04] Production.ERROR: done
[2025-01-08 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:00:04] Production.INFO: Account Balance Start.
[2025-01-08 21:00:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:00:04] Production.INFO: 117
[2025-01-08 21:00:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:00:04] Production.INFO: count ==21
[2025-01-08 21:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:00:04] Production.INFO: count ==21
[2025-01-08 21:00:04] Production.INFO: Total Charge 0
[2025-01-08 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204840') start
[2025-01-08 21:00:04] Production.ERROR: done
[2025-01-08 21:00:04] Production.INFO: CreateAllLog End
[2025-01-08 21:00:04] Production.ERROR: done
[2025-01-08 21:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 21:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204843', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 21:00:05] Production.INFO: Account Balance End.
[2025-01-08 21:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14204840') end
[2025-01-08 21:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:00:05] Production.INFO: 1
[2025-01-08 21:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:00:05] Production.ERROR: CronJobId end 12
[2025-01-08 21:00:05] Production.INFO: ==15656== Releasing lock...
[2025-01-08 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:00:05] Production.INFO: ==15662== Releasing lock...
[2025-01-08 21:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:00:06
[end_date_ymd] => 2025-01-08 21:00:06
[RateCDR] => 1
)
[2025-01-08 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:00:06' and `end` < '2025-01-08 21:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204843', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 21:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 21:00:09] Production.INFO: ProcessCDR(1,14204843,1,1,2)
[2025-01-08 21:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204843,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204843,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:00:09] Production.INFO: ==15660== Releasing lock...
[2025-01-08 21:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 21:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 21:00:13] Production.ERROR: CronJobId end10
[2025-01-08 21:00:13] Production.INFO: ==15654== Releasing lock...
[2025-01-08 21:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:00:15] Production.INFO: call_cost start
[2025-01-08 21:00:15] Production.INFO: call_cost end
[2025-01-08 21:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:00:16] Production.INFO: ==15649== Releasing lock...
[2025-01-08 21:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:00:19] Production.INFO: count ==1334
[2025-01-08 21:00:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:00:06 - End Time 2025-01-08 21:00:06
[2025-01-08 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204842', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204842', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204842', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204842', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:00:19] Production.INFO: ProcessCDR(1,14204842,1,1,2)
[2025-01-08 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204842', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204842', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:00:22] Production.INFO: ==15658== Releasing lock...
[2025-01-08 21:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:00:22] Production.INFO: 38 MB #Memory Used#
[2025-01-09 02:01:01] Production.INFO: ==15738== Lock acquired, processing the job...
[2025-01-09 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:01:01] Production.INFO: neon service started
[2025-01-09 02:01:01] Production.INFO: neon service started
[2025-01-09 02:01:01] Production.INFO: ==15738== Releasing lock...
[2025-01-09 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:01:02] Production.INFO: ==15744== Lock acquired, processing the job...
[2025-01-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:01:02] Production.INFO: ==15744== Releasing lock...
[2025-01-08 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:01:02] Production.INFO: ==15747== Lock acquired, processing the job...
[2025-01-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:01:02] Production.INFO: ==15747== Releasing lock...
[2025-01-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:01:03] Production.INFO: ==15751== Lock acquired, processing the job...
[2025-01-08 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:01:03] Production.INFO: ==15753== Lock acquired, processing the job...
[2025-01-08 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:01:03] Production.INFO: ==15755== Lock acquired, processing the job...
[2025-01-08 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:01:03] Production.INFO: ==15753== Releasing lock...
[2025-01-08 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:01:03] Production.INFO: ==15757== Lock acquired, processing the job...
[2025-01-08 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:01:03] Production.INFO: ==15761== Lock acquired, processing the job...
[2025-01-08 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:01:03] Production.INFO: ==15759== Lock acquired, processing the job...
[2025-01-08 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:01:03] Production.INFO: Account Balance Start.
[2025-01-08 21:01:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:01:03] Production.INFO: 117
[2025-01-08 21:01:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:01:03] Production.INFO: count ==21
[2025-01-08 21:01:03] Production.INFO: Total Charge 0
[2025-01-08 21:01:03] Production.INFO: CreateAllLog End
[2025-01-08 21:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:01:03] Production.INFO: count ==21
[2025-01-08 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204846') start
[2025-01-08 21:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204846') end
[2025-01-08 21:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:01:04] Production.INFO: 1
[2025-01-08 21:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:01:04] Production.ERROR: done
[2025-01-08 21:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:01:04] Production.INFO: ==15761== Releasing lock...
[2025-01-08 21:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:01:04] Production.INFO: Account Balance End.
[2025-01-08 21:01:04] Production.ERROR: done
[2025-01-08 21:01:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:01:04] Production.INFO: ==15757== Releasing lock...
[2025-01-08 21:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:01:05
[end_date_ymd] => 2025-01-08 21:01:05
[RateCDR] => 1
)
[2025-01-08 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-01-08 18:01:05' and `end` < '2025-01-08 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-01-08 21:01:11] Production.ERROR: CronJobId end10
[2025-01-08 21:01:11] Production.INFO: ==15755== Releasing lock...
[2025-01-08 21:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:01:13] Production.INFO: call_cost start
[2025-01-08 21:01:13] Production.INFO: call_cost end
[2025-01-08 21:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:01:14] Production.INFO: ==15751== Releasing lock...
[2025-01-08 21:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:01:19] Production.INFO: count ==1281
[2025-01-08 21:01:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:01:05 - End Time 2025-01-08 21:01:05
[2025-01-08 21:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204848', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204848', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204848', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204848', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:01:19] Production.INFO: ProcessCDR(1,14204848,1,1,2)
[2025-01-08 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204848', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204848', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:01:22] Production.INFO: ==15759== Releasing lock...
[2025-01-08 21:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:01:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-09 02:02:02] Production.INFO: ==15834== Lock acquired, processing the job...
[2025-01-09 02:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:02:02] Production.INFO: neon service started
[2025-01-09 02:02:02] Production.INFO: neon service started
[2025-01-09 02:02:02] Production.INFO: ==15834== Releasing lock...
[2025-01-09 02:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:02:02] Production.INFO: ==15836== Lock acquired, processing the job...
[2025-01-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:02:02] Production.INFO: ==15838== Lock acquired, processing the job...
[2025-01-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:02:02] Production.INFO: ==15838== Releasing lock...
[2025-01-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:02:02] Production.INFO: ==15836== Releasing lock...
[2025-01-08 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:02:03] Production.INFO: ==15842== Lock acquired, processing the job...
[2025-01-08 21:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:02:03] Production.INFO: ==15844== Lock acquired, processing the job...
[2025-01-08 21:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:02:03] Production.INFO: ==15848== Lock acquired, processing the job...
[2025-01-08 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:02:03] Production.INFO: ==15840== Lock acquired, processing the job...
[2025-01-08 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:02:03] Production.INFO: ==15846== Lock acquired, processing the job...
[2025-01-08 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:02:04] Production.INFO: ==15842== Releasing lock...
[2025-01-08 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:02:04] Production.INFO: ==15850== Lock acquired, processing the job...
[2025-01-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:02:04] Production.INFO: Account Balance Start.
[2025-01-08 21:02:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:02:04] Production.INFO: 117
[2025-01-08 21:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:02:04] Production.ERROR: done
[2025-01-08 21:02:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:02:04] Production.INFO: count ==21
[2025-01-08 21:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:02:04] Production.INFO: count ==21
[2025-01-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204852') start
[2025-01-08 21:02:04] Production.INFO: Total Charge 0
[2025-01-08 21:02:04] Production.ERROR: done
[2025-01-08 21:02:04] Production.INFO: CreateAllLog End
[2025-01-08 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204852') end
[2025-01-08 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:02:04] Production.INFO: 1
[2025-01-08 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:02:04] Production.INFO: Account Balance End.
[2025-01-08 21:02:04] Production.INFO: ==15850== Releasing lock...
[2025-01-08 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:02:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:02:04] Production.INFO: ==15846== Releasing lock...
[2025-01-08 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:02:05
[end_date_ymd] => 2025-01-08 21:02:05
[RateCDR] => 1
)
[2025-01-08 21:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:02:05' and `end` < '2025-01-08 21:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:02:11] Production.ERROR: CronJobId end10
[2025-01-08 21:02:11] Production.INFO: ==15844== Releasing lock...
[2025-01-08 21:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:02:13] Production.INFO: call_cost start
[2025-01-08 21:02:13] Production.INFO: call_cost end
[2025-01-08 21:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:02:14] Production.INFO: ==15840== Releasing lock...
[2025-01-08 21:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:02:19] Production.INFO: count ==1281
[2025-01-08 21:02:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:02:05 - End Time 2025-01-08 21:02:05
[2025-01-08 21:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204853', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204853', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204853', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204853', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:02:19] Production.INFO: ProcessCDR(1,14204853,1,1,2)
[2025-01-08 21:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204853', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204853', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:02:23] Production.INFO: ==15848== Releasing lock...
[2025-01-08 21:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:02:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-09 02:03:01] Production.INFO: ==15916== Lock acquired, processing the job...
[2025-01-09 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:03:01] Production.INFO: neon service started
[2025-01-09 02:03:01] Production.INFO: neon service started
[2025-01-09 02:03:01] Production.INFO: ==15916== Releasing lock...
[2025-01-09 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:03:01] Production.INFO: ==15918== Lock acquired, processing the job...
[2025-01-08 21:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:03:02] Production.INFO: ==15918== Releasing lock...
[2025-01-08 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:03:02] Production.INFO: ==15920== Lock acquired, processing the job...
[2025-01-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:03:02] Production.INFO: ==15920== Releasing lock...
[2025-01-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:03:02] Production.INFO: ==15927== Lock acquired, processing the job...
[2025-01-08 21:03:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:03:03] Production.INFO: ==15931== Lock acquired, processing the job...
[2025-01-08 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:03:03] Production.INFO: ==15922== Lock acquired, processing the job...
[2025-01-08 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:03:03] Production.INFO: ==15925== Lock acquired, processing the job...
[2025-01-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:03:03] Production.INFO: ==15929== Lock acquired, processing the job...
[2025-01-08 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:03:03] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-01-08 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:03:03] Production.INFO: Account Balance Start.
[2025-01-08 21:03:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:03:03] Production.INFO: 117
[2025-01-08 21:03:03] Production.ERROR: done
[2025-01-08 21:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:03:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:03:03] Production.INFO: count ==21
[2025-01-08 21:03:03] Production.ERROR: done
[2025-01-08 21:03:03] Production.INFO: Total Charge 0
[2025-01-08 21:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:03:03] Production.INFO: ==15925== Releasing lock...
[2025-01-08 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:03:03] Production.INFO: CreateAllLog End
[2025-01-08 21:03:03] Production.INFO: count ==21
[2025-01-08 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204857') start
[2025-01-08 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204857') end
[2025-01-08 21:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:03:03] Production.INFO: 1
[2025-01-08 21:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:03:03] Production.INFO: ==15933== Releasing lock...
[2025-01-08 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:03:03] Production.INFO: Account Balance End.
[2025-01-08 21:03:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:03:03] Production.INFO: ==15929== Releasing lock...
[2025-01-08 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:03:04
[end_date_ymd] => 2025-01-08 21:03:04
[RateCDR] => 1
)
[2025-01-08 21:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:03:04' and `end` < '2025-01-08 21:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:03:11] Production.ERROR: CronJobId end10
[2025-01-08 21:03:11] Production.INFO: ==15927== Releasing lock...
[2025-01-08 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:03:12] Production.INFO: call_cost start
[2025-01-08 21:03:12] Production.INFO: call_cost end
[2025-01-08 21:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:03:13] Production.INFO: ==15922== Releasing lock...
[2025-01-08 21:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:03:17] Production.INFO: count ==1264
[2025-01-08 21:03:17] Production.ERROR: pbx CDR StartTime 2025-01-08 18:03:04 - End Time 2025-01-08 21:03:04
[2025-01-08 21:03:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204858', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204858', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204858', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:03:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204858', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:03:17] Production.INFO: ProcessCDR(1,14204858,1,1,2)
[2025-01-08 21:03:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:03:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:03:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204858', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204858', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:03:21] Production.INFO: ==15931== Releasing lock...
[2025-01-08 21:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:03:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-09 02:04:01] Production.INFO: ==15999== Lock acquired, processing the job...
[2025-01-09 02:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:04:02] Production.INFO: neon service started
[2025-01-09 02:04:02] Production.INFO: neon service started
[2025-01-09 02:04:02] Production.INFO: ==15999== Releasing lock...
[2025-01-09 02:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:04:02] Production.INFO: ==16001== Lock acquired, processing the job...
[2025-01-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:04:02] Production.INFO: ==16003== Lock acquired, processing the job...
[2025-01-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:04:02] Production.INFO: ==16003== Releasing lock...
[2025-01-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:04:02] Production.INFO: ==16001== Releasing lock...
[2025-01-08 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:04:03] Production.INFO: ==16005== Lock acquired, processing the job...
[2025-01-08 21:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:04:03] Production.INFO: ==16007== Lock acquired, processing the job...
[2025-01-08 21:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:04:03] Production.INFO: ==16014== Lock acquired, processing the job...
[2025-01-08 21:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:04:03] Production.INFO: ==16010== Lock acquired, processing the job...
[2025-01-08 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:04:03] Production.INFO: ==16012== Lock acquired, processing the job...
[2025-01-08 21:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:04:04] Production.INFO: ==16016== Lock acquired, processing the job...
[2025-01-08 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:04:04] Production.INFO: ==16007== Releasing lock...
[2025-01-08 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:04:04] Production.ERROR: done
[2025-01-08 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:04:04] Production.INFO: Account Balance Start.
[2025-01-08 21:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:04:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:04:04] Production.INFO: 117
[2025-01-08 21:04:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:04:04] Production.INFO: Total Charge 0
[2025-01-08 21:04:04] Production.INFO: count ==21
[2025-01-08 21:04:04] Production.INFO: CreateAllLog End
[2025-01-08 21:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:04:04] Production.INFO: count ==21
[2025-01-08 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204861') start
[2025-01-08 21:04:04] Production.ERROR: done
[2025-01-08 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204861') end
[2025-01-08 21:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:04:04] Production.INFO: 1
[2025-01-08 21:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:04:04] Production.INFO: Account Balance End.
[2025-01-08 21:04:04] Production.INFO: ==16016== Releasing lock...
[2025-01-08 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:04:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:04:04] Production.INFO: ==16012== Releasing lock...
[2025-01-08 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:04:05
[end_date_ymd] => 2025-01-08 21:04:05
[RateCDR] => 1
)
[2025-01-08 21:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:04:05' and `end` < '2025-01-08 21:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:04:11] Production.ERROR: CronJobId end10
[2025-01-08 21:04:11] Production.INFO: ==16010== Releasing lock...
[2025-01-08 21:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:04:12] Production.INFO: call_cost start
[2025-01-08 21:04:12] Production.INFO: call_cost end
[2025-01-08 21:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:04:13] Production.INFO: ==16005== Releasing lock...
[2025-01-08 21:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:04:18] Production.INFO: count ==1240
[2025-01-08 21:04:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:04:05 - End Time 2025-01-08 21:04:05
[2025-01-08 21:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204863', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204863', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204863', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204863', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:04:18] Production.INFO: ProcessCDR(1,14204863,1,1,2)
[2025-01-08 21:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204863', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204863', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:04:21] Production.INFO: ==16014== Releasing lock...
[2025-01-08 21:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:04:21] Production.INFO: 37.25 MB #Memory Used#
[2025-01-09 02:05:01] Production.INFO: ==16071== Lock acquired, processing the job...
[2025-01-09 02:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:05:01] Production.INFO: neon service started
[2025-01-09 02:05:01] Production.INFO: neon service started
[2025-01-09 02:05:01] Production.INFO: ==16071== Releasing lock...
[2025-01-09 02:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:05:01] Production.INFO: ==16074== Lock acquired, processing the job...
[2025-01-08 21:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:05:02] Production.INFO: ==16074== Releasing lock...
[2025-01-08 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:05:02] Production.INFO: ==16076== Lock acquired, processing the job...
[2025-01-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:05:02] Production.INFO: ==16076== Releasing lock...
[2025-01-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:05:02] Production.INFO: ==16079== Lock acquired, processing the job...
[2025-01-08 21:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:05:03] Production.INFO: ==16087== Lock acquired, processing the job...
[2025-01-08 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:05:03] Production.INFO: ==16089== Lock acquired, processing the job...
[2025-01-08 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:05:03] Production.INFO: ==16081== Lock acquired, processing the job...
[2025-01-08 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:05:03] Production.INFO: ==16083== Lock acquired, processing the job...
[2025-01-08 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:05:03] Production.INFO: ==16085== Lock acquired, processing the job...
[2025-01-08 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:05:03] Production.INFO: count ==21
[2025-01-08 21:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:05:03] Production.INFO: count ==21
[2025-01-08 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204865') start
[2025-01-08 21:05:03] Production.INFO: Account Balance Start.
[2025-01-08 21:05:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:05:03] Production.INFO: 117
[2025-01-08 21:05:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:05:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:05:03] Production.INFO: Total Charge 0
[2025-01-08 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204865') end
[2025-01-08 21:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:05:03] Production.INFO: 1
[2025-01-08 21:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:05:03] Production.INFO: CreateAllLog End
[2025-01-08 21:05:03] Production.INFO: ==16089== Releasing lock...
[2025-01-08 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:05:03] Production.ERROR: done
[2025-01-08 21:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:05:03] Production.ERROR: done
[2025-01-08 21:05:03] Production.INFO: ==16081== Releasing lock...
[2025-01-08 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:05:03] Production.INFO: Account Balance End.
[2025-01-08 21:05:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:05:03] Production.INFO: ==16085== Releasing lock...
[2025-01-08 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:05:04
[end_date_ymd] => 2025-01-08 21:05:04
[RateCDR] => 1
)
[2025-01-08 21:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:05:04' and `end` < '2025-01-08 21:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:05:11] Production.ERROR: CronJobId end10
[2025-01-08 21:05:11] Production.INFO: ==16083== Releasing lock...
[2025-01-08 21:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:05:13] Production.INFO: call_cost start
[2025-01-08 21:05:13] Production.INFO: call_cost end
[2025-01-08 21:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:05:14] Production.INFO: ==16079== Releasing lock...
[2025-01-08 21:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:05:17] Production.INFO: count ==1236
[2025-01-08 21:05:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:05:04 - End Time 2025-01-08 21:05:04
[2025-01-08 21:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204868', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204868', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204868', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204868', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:05:18] Production.INFO: ProcessCDR(1,14204868,1,1,2)
[2025-01-08 21:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204868', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204868', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:05:21] Production.INFO: ==16087== Releasing lock...
[2025-01-08 21:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:05:21] Production.INFO: 37 MB #Memory Used#
[2025-01-09 02:06:01] Production.INFO: ==16150== Lock acquired, processing the job...
[2025-01-09 02:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:06:01] Production.INFO: neon service started
[2025-01-09 02:06:01] Production.INFO: neon service started
[2025-01-09 02:06:01] Production.INFO: ==16150== Releasing lock...
[2025-01-09 02:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:06:02] Production.INFO: ==16152== Lock acquired, processing the job...
[2025-01-08 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:06:02] Production.INFO: ==16154== Lock acquired, processing the job...
[2025-01-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 21:06:02] Production.INFO: ==16152== Releasing lock...
[2025-01-08 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:06:02] Production.INFO: ==16154== Releasing lock...
[2025-01-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:06:03] Production.INFO: ==16156== Lock acquired, processing the job...
[2025-01-08 21:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:06:03] Production.INFO: ==16162== Lock acquired, processing the job...
[2025-01-08 21:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:06:03] Production.INFO: ==16158== Lock acquired, processing the job...
[2025-01-08 21:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:06:03] Production.INFO: ==16167== Lock acquired, processing the job...
[2025-01-08 21:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:06:03] Production.INFO: ==16160== Lock acquired, processing the job...
[2025-01-08 21:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:06:03] Production.INFO: Account Balance Start.
[2025-01-08 21:06:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:06:03] Production.INFO: 117
[2025-01-08 21:06:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:06:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:06:03] Production.INFO: count ==21
[2025-01-08 21:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:06:03] Production.INFO: Total Charge 0
[2025-01-08 21:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:06:03] Production.INFO: count ==21
[2025-01-08 21:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204871') start
[2025-01-08 21:06:03] Production.INFO: CreateAllLog End
[2025-01-08 21:06:03] Production.INFO: ==16164== Lock acquired, processing the job...
[2025-01-08 21:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:06:03] Production.INFO: Account Balance End.
[2025-01-08 21:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204871') end
[2025-01-08 21:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:06:03] Production.INFO: 1
[2025-01-08 21:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:06:04] Production.INFO: ==16167== Releasing lock...
[2025-01-08 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:06:04] Production.INFO: ==16158== Releasing lock...
[2025-01-08 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:06:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:06:04] Production.INFO: ==16162== Releasing lock...
[2025-01-08 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:06:04] Production.ERROR: done
[2025-01-08 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:06:04] Production.ERROR: done
[2025-01-08 21:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:06:05
[end_date_ymd] => 2025-01-08 21:06:05
[RateCDR] => 1
)
[2025-01-08 21:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:06:05' and `end` < '2025-01-08 21:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:06:11] Production.ERROR: CronJobId end10
[2025-01-08 21:06:11] Production.INFO: ==16160== Releasing lock...
[2025-01-08 21:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:06:13] Production.INFO: call_cost start
[2025-01-08 21:06:13] Production.INFO: call_cost end
[2025-01-08 21:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:06:14] Production.INFO: ==16156== Releasing lock...
[2025-01-08 21:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:06:18] Production.INFO: count ==1237
[2025-01-08 21:06:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:06:05 - End Time 2025-01-08 21:06:05
[2025-01-08 21:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204873', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204873', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204873', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204873', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:06:18] Production.INFO: ProcessCDR(1,14204873,1,1,2)
[2025-01-08 21:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204873', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204873', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:06:23] Production.INFO: ==16164== Releasing lock...
[2025-01-08 21:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:06:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-09 02:07:02] Production.INFO: ==16224== Lock acquired, processing the job...
[2025-01-09 02:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:07:02] Production.INFO: neon service started
[2025-01-09 02:07:02] Production.INFO: neon service started
[2025-01-09 02:07:02] Production.INFO: ==16224== Releasing lock...
[2025-01-09 02:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:07:02] Production.INFO: ==16228== Lock acquired, processing the job...
[2025-01-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:07:02] Production.INFO: ==16228== Releasing lock...
[2025-01-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:07:02] Production.INFO: ==16226== Lock acquired, processing the job...
[2025-01-08 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:07:03] Production.INFO: ==16226== Releasing lock...
[2025-01-08 21:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:07:03] Production.INFO: ==16235== Lock acquired, processing the job...
[2025-01-08 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:07:03] Production.INFO: ==16241== Lock acquired, processing the job...
[2025-01-08 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:07:04] Production.INFO: ==16231== Lock acquired, processing the job...
[2025-01-08 21:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:07:04] Production.INFO: ==16233== Lock acquired, processing the job...
[2025-01-08 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 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-01-08 21:07:04] Production.INFO: count ==21
[2025-01-08 21:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:07:04] Production.INFO: ==16237== Lock acquired, processing the job...
[2025-01-08 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 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-01-08 21:07:04] Production.INFO: count ==21
[2025-01-08 21:07:04] Production.INFO: ==16239== Lock acquired, processing the job...
[2025-01-08 21:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204874') start
[2025-01-08 21:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:07:04] Production.INFO: Account Balance Start.
[2025-01-08 21:07:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:07:04] Production.INFO: 117
[2025-01-08 21:07:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204874') end
[2025-01-08 21:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:07:04] Production.INFO: 1
[2025-01-08 21:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:07:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:07:04] Production.INFO: Total Charge 0
[2025-01-08 21:07:04] Production.INFO: CreateAllLog End
[2025-01-08 21:07:04] Production.INFO: ==16241== Releasing lock...
[2025-01-08 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:07:04] Production.INFO: ==16233== Releasing lock...
[2025-01-08 21:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:07:04] Production.ERROR: done
[2025-01-08 21:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:07:04] Production.INFO: Account Balance End.
[2025-01-08 21:07:04] Production.ERROR: done
[2025-01-08 21:07:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:07:04] Production.INFO: ==16237== Releasing lock...
[2025-01-08 21:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:07:05
[end_date_ymd] => 2025-01-08 21:07:05
[RateCDR] => 1
)
[2025-01-08 21:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:07:05' and `end` < '2025-01-08 21:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:07:11] Production.ERROR: CronJobId end10
[2025-01-08 21:07:11] Production.INFO: ==16235== Releasing lock...
[2025-01-08 21:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:07:13] Production.INFO: call_cost start
[2025-01-08 21:07:13] Production.INFO: call_cost end
[2025-01-08 21:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:07:14] Production.INFO: ==16231== Releasing lock...
[2025-01-08 21:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:07:18] Production.INFO: count ==1243
[2025-01-08 21:07:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:07:05 - End Time 2025-01-08 21:07:05
[2025-01-08 21:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204878', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204878', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204878', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204878', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:07:19] Production.INFO: ProcessCDR(1,14204878,1,1,2)
[2025-01-08 21:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204878', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204878', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:07:22] Production.INFO: ==16239== Releasing lock...
[2025-01-08 21:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:07:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-09 02:08:01] Production.INFO: ==16299== Lock acquired, processing the job...
[2025-01-09 02:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:08:01] Production.INFO: neon service started
[2025-01-09 02:08:01] Production.INFO: neon service started
[2025-01-09 02:08:01] Production.INFO: ==16299== Releasing lock...
[2025-01-09 02:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:08:02] Production.INFO: ==16301== Lock acquired, processing the job...
[2025-01-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:08:02] Production.INFO: ==16301== Releasing lock...
[2025-01-08 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:08:02] Production.INFO: ==16303== Lock acquired, processing the job...
[2025-01-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:08:02] Production.INFO: ==16303== Releasing lock...
[2025-01-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:08:03] Production.INFO: ==16306== Lock acquired, processing the job...
[2025-01-08 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:08:03] Production.INFO: ==16310== Lock acquired, processing the job...
[2025-01-08 21:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:08:03] Production.INFO: ==16316== Lock acquired, processing the job...
[2025-01-08 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:08:03] Production.INFO: ==16308== Lock acquired, processing the job...
[2025-01-08 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:08:03] Production.INFO: count ==21
[2025-01-08 21:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:08:03] Production.INFO: ==16312== Lock acquired, processing the job...
[2025-01-08 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:08:03] Production.INFO: count ==21
[2025-01-08 21:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204880') start
[2025-01-08 21:08:03] Production.INFO: ==16314== Lock acquired, processing the job...
[2025-01-08 21:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204880') end
[2025-01-08 21:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:08:03] Production.INFO: 1
[2025-01-08 21:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:08:03] Production.INFO: Account Balance Start.
[2025-01-08 21:08:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:08:03] Production.INFO: 117
[2025-01-08 21:08:03] Production.INFO: ==16316== Releasing lock...
[2025-01-08 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:08:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:08:03] Production.INFO: Total Charge 0
[2025-01-08 21:08:03] Production.ERROR: done
[2025-01-08 21:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:08:03] Production.INFO: CreateAllLog End
[2025-01-08 21:08:04] Production.INFO: ==16308== Releasing lock...
[2025-01-08 21:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:08:04] Production.ERROR: done
[2025-01-08 21:08:04] Production.INFO: Account Balance End.
[2025-01-08 21:08:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:08:04] Production.INFO: ==16312== Releasing lock...
[2025-01-08 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:08:05
[end_date_ymd] => 2025-01-08 21:08:05
[RateCDR] => 1
)
[2025-01-08 21:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:08:05' and `end` < '2025-01-08 21:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:08:11] Production.ERROR: CronJobId end10
[2025-01-08 21:08:11] Production.INFO: ==16310== Releasing lock...
[2025-01-08 21:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:08:13] Production.INFO: call_cost start
[2025-01-08 21:08:13] Production.INFO: call_cost end
[2025-01-08 21:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:08:13] Production.INFO: ==16306== Releasing lock...
[2025-01-08 21:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:08:18] Production.INFO: count ==1241
[2025-01-08 21:08:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:08:05 - End Time 2025-01-08 21:08:05
[2025-01-08 21:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204883', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204883', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204883', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204883', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:08:19] Production.INFO: ProcessCDR(1,14204883,1,1,2)
[2025-01-08 21:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204883', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204883', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:08:22] Production.INFO: ==16314== Releasing lock...
[2025-01-08 21:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:08:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-09 02:09:02] Production.INFO: ==16380== Lock acquired, processing the job...
[2025-01-09 02:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:09:02] Production.INFO: neon service started
[2025-01-09 02:09:02] Production.INFO: neon service started
[2025-01-09 02:09:02] Production.INFO: ==16380== Releasing lock...
[2025-01-09 02:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:09:02] Production.INFO: ==16382== Lock acquired, processing the job...
[2025-01-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:09:02] Production.INFO: ==16384== Lock acquired, processing the job...
[2025-01-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:09:02] Production.INFO: ==16384== Releasing lock...
[2025-01-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:09:02] Production.INFO: ==16382== Releasing lock...
[2025-01-08 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:09:03] Production.INFO: ==16395== Lock acquired, processing the job...
[2025-01-08 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:09:03] Production.INFO: ==16389== Lock acquired, processing the job...
[2025-01-08 21:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:09:03] Production.INFO: ==16399== Lock acquired, processing the job...
[2025-01-08 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:09:03] Production.INFO: Account Balance Start.
[2025-01-08 21:09:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:09:03] Production.INFO: 117
[2025-01-08 21:09:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:09:03] Production.INFO: ==16391== Lock acquired, processing the job...
[2025-01-08 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:09:04] Production.INFO: ==16393== Lock acquired, processing the job...
[2025-01-08 21:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:09:04] Production.INFO: ==16397== Lock acquired, processing the job...
[2025-01-08 21:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:09:04] Production.INFO: count ==21
[2025-01-08 21:09:04] Production.INFO: Total Charge 0
[2025-01-08 21:09:04] Production.INFO: CreateAllLog End
[2025-01-08 21:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:09:04] Production.INFO: count ==21
[2025-01-08 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204885') start
[2025-01-08 21:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:09:04] Production.INFO: Account Balance End.
[2025-01-08 21:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204885') end
[2025-01-08 21:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:09:04] Production.INFO: 1
[2025-01-08 21:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:09:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:09:04] Production.INFO: ==16395== Releasing lock...
[2025-01-08 21:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:09:04] Production.INFO: ==16399== Releasing lock...
[2025-01-08 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:09:04] Production.INFO: ==16391== Releasing lock...
[2025-01-08 21:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:09:04] Production.ERROR: done
[2025-01-08 21:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:09:04] Production.ERROR: done
[2025-01-08 21:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:09:05
[end_date_ymd] => 2025-01-08 21:09:05
[RateCDR] => 1
)
[2025-01-08 21:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:09:05' and `end` < '2025-01-08 21:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:09:12] Production.ERROR: CronJobId end10
[2025-01-08 21:09:12] Production.INFO: ==16393== Releasing lock...
[2025-01-08 21:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:09:13] Production.INFO: call_cost start
[2025-01-08 21:09:13] Production.INFO: call_cost end
[2025-01-08 21:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:09:14] Production.INFO: ==16389== Releasing lock...
[2025-01-08 21:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:09:19] Production.INFO: count ==1240
[2025-01-08 21:09:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:09:05 - End Time 2025-01-08 21:09:05
[2025-01-08 21:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204888', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204888', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204888', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204888', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:09:19] Production.INFO: ProcessCDR(1,14204888,1,1,2)
[2025-01-08 21:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204888', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204888', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:09:23] Production.INFO: ==16397== Releasing lock...
[2025-01-08 21:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:09:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-09 02:10:01] Production.INFO: ==16491== Lock acquired, processing the job...
[2025-01-09 02:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:10:01] Production.INFO: neon service started
[2025-01-09 02:10:01] Production.INFO: neon service started
[2025-01-09 02:10:01] Production.INFO: ==16491== Releasing lock...
[2025-01-09 02:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:10:01] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-01-08 21:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:10:02] Production.INFO: ==16496== Lock acquired, processing the job...
[2025-01-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 21:10:02] Production.INFO: ==16494== Releasing lock...
[2025-01-08 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:10:02] Production.INFO: ==16496== Releasing lock...
[2025-01-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:10:03] Production.INFO: ==16498== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 21:10:03] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:10:03] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 21:10:03] Production.ERROR: CronJob PID - 16500
[2025-01-08 21:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 21:10:03] Production.ERROR: CronJob ID - 5
[2025-01-08 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-08 21:10:00
[2025-01-08 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 21:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 21:10:03] Production.INFO: ==16498== Releasing lock...
[2025-01-08 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 21:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 21:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:10:03] Production.INFO: ==16504== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: ==16506== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:10:03] Production.INFO: Account Balance Start.
[2025-01-08 21:10:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:10:03] Production.INFO: 117
[2025-01-08 21:10:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:10:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:10:03] Production.INFO: ==16502== Releasing lock...
[2025-01-08 21:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:10:03] Production.INFO: Total Charge 0
[2025-01-08 21:10:03] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 21:10:03] Production.INFO: CreateAllLog End
[2025-01-08 21:10:03] Production.INFO: ==16508== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:10:03] Production.INFO: ==16512== Lock acquired, processing the job...
[2025-01-08 21:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:10:03] Production.INFO: Account Balance End.
[2025-01-08 21:10:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:10:03] Production.INFO: ==16506== Releasing lock...
[2025-01-08 21:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:10:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:10:03] Production.INFO: count ==21
[2025-01-08 21:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:10:04] Production.INFO: count ==21
[2025-01-08 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204892') start
[2025-01-08 21:10:04] Production.ERROR: done
[2025-01-08 21:10:04] Production.ERROR: done
[2025-01-08 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204892') end
[2025-01-08 21:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:10:04] Production.INFO: 1
[2025-01-08 21:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 21:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204893', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 21:10:04] Production.INFO: ==16512== Releasing lock...
[2025-01-08 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:10:04] Production.ERROR: done
[2025-01-08 21:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:10:05
[end_date_ymd] => 2025-01-08 21:10:05
[RateCDR] => 1
)
[2025-01-08 21:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:10:05' and `end` < '2025-01-08 21:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204893', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 21:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 21:10:08] Production.INFO: ProcessCDR(1,14204893,1,1,2)
[2025-01-08 21:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204893,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204893,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:10:08] Production.INFO: ==16510== Releasing lock...
[2025-01-08 21:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 21:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 21:10:13] Production.ERROR: CronJobId end10
[2025-01-08 21:10:13] Production.INFO: ==16504== Releasing lock...
[2025-01-08 21:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:10:14] Production.INFO: call_cost start
[2025-01-08 21:10:14] Production.INFO: call_cost end
[2025-01-08 21:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:10:15] Production.INFO: ==16500== Releasing lock...
[2025-01-08 21:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:10:18] Production.INFO: count ==1234
[2025-01-08 21:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:10:05 - End Time 2025-01-08 21:10:05
[2025-01-08 21:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204894', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204894', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204894', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204894', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:10:19] Production.INFO: ProcessCDR(1,14204894,1,1,2)
[2025-01-08 21:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204894', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204894', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:10:22] Production.INFO: ==16508== Releasing lock...
[2025-01-08 21:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:10:22] Production.INFO: 37 MB #Memory Used#
[2025-01-09 02:11:01] Production.INFO: ==16570== Lock acquired, processing the job...
[2025-01-09 02:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:11:01] Production.INFO: neon service started
[2025-01-09 02:11:01] Production.INFO: neon service started
[2025-01-09 02:11:01] Production.INFO: ==16570== Releasing lock...
[2025-01-09 02:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:11:02] Production.INFO: ==16572== Lock acquired, processing the job...
[2025-01-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:11:02] Production.INFO: ==16572== Releasing lock...
[2025-01-08 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:11:02] Production.INFO: ==16574== Lock acquired, processing the job...
[2025-01-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:11:02] Production.INFO: ==16574== Releasing lock...
[2025-01-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:11:03] Production.INFO: ==16585== Lock acquired, processing the job...
[2025-01-08 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:11:03] Production.INFO: ==16587== Lock acquired, processing the job...
[2025-01-08 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:11:03] Production.INFO: ==16579== Lock acquired, processing the job...
[2025-01-08 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:11:03] Production.INFO: ==16577== Lock acquired, processing the job...
[2025-01-08 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:11:03] Production.INFO: ==16581== Lock acquired, processing the job...
[2025-01-08 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:11:03] Production.INFO: count ==21
[2025-01-08 21:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:11:03] Production.INFO: ==16583== Lock acquired, processing the job...
[2025-01-08 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:11:03] Production.INFO: count ==21
[2025-01-08 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204895') start
[2025-01-08 21:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:11:03] Production.INFO: Account Balance Start.
[2025-01-08 21:11:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:11:03] Production.INFO: 117
[2025-01-08 21:11:03] Production.ERROR: done
[2025-01-08 21:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:11:03] Production.INFO: ==16579== Releasing lock...
[2025-01-08 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:11:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:11:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204895') end
[2025-01-08 21:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:11:03] Production.INFO: 1
[2025-01-08 21:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:11:03] Production.INFO: Total Charge 0
[2025-01-08 21:11:03] Production.INFO: CreateAllLog End
[2025-01-08 21:11:03] Production.INFO: ==16587== Releasing lock...
[2025-01-08 21:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:11:04] Production.ERROR: done
[2025-01-08 21:11:04] Production.INFO: Account Balance End.
[2025-01-08 21:11:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:11:04] Production.INFO: ==16583== Releasing lock...
[2025-01-08 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:11:05
[end_date_ymd] => 2025-01-08 21:11:05
[RateCDR] => 1
)
[2025-01-08 21:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:11:05' and `end` < '2025-01-08 21:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:11:12] Production.ERROR: CronJobId end10
[2025-01-08 21:11:12] Production.INFO: ==16581== Releasing lock...
[2025-01-08 21:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:11:13] Production.INFO: call_cost start
[2025-01-08 21:11:13] Production.INFO: call_cost end
[2025-01-08 21:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:11:14] Production.INFO: ==16577== Releasing lock...
[2025-01-08 21:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:11:18] Production.INFO: count ==1193
[2025-01-08 21:11:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:11:05 - End Time 2025-01-08 21:11:05
[2025-01-08 21:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204899', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204899', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204899', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204899', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:11:18] Production.INFO: ProcessCDR(1,14204899,1,1,2)
[2025-01-08 21:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204899', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204899', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:11:22] Production.INFO: ==16585== Releasing lock...
[2025-01-08 21:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:11:22] Production.INFO: 37 MB #Memory Used#
[2025-01-09 02:12:01] Production.INFO: ==16645== Lock acquired, processing the job...
[2025-01-09 02:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:12:01] Production.INFO: neon service started
[2025-01-09 02:12:01] Production.INFO: neon service started
[2025-01-09 02:12:01] Production.INFO: ==16645== Releasing lock...
[2025-01-09 02:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:12:01] Production.INFO: ==16647== Lock acquired, processing the job...
[2025-01-08 21:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:12:01] Production.INFO: ==16647== Releasing lock...
[2025-01-08 21:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:12:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:12:02] Production.INFO: ==16649== Lock acquired, processing the job...
[2025-01-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:12:02] Production.INFO: ==16649== Releasing lock...
[2025-01-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:12:02] Production.INFO: ==16653== Lock acquired, processing the job...
[2025-01-08 21:12:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:12:02] Production.INFO: ==16657== Lock acquired, processing the job...
[2025-01-08 21:12:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:12:02] Production.INFO: ==16651== Lock acquired, processing the job...
[2025-01-08 21:12:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:12:02] Production.INFO: ==16653== Releasing lock...
[2025-01-08 21:12:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:12:02] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:12:02] Production.INFO: Account Balance Start.
[2025-01-08 21:12:02] Production.INFO: CreateAllLog Start
[2025-01-08 21:12:02] Production.INFO: 117
[2025-01-08 21:12:02] Production.INFO: Date 2025-01-08
[2025-01-08 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:12:03] Production.INFO: ==16655== Lock acquired, processing the job...
[2025-01-08 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:12:03] Production.INFO: ==16659== Lock acquired, processing the job...
[2025-01-08 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:12:03] Production.INFO: Total Charge 0
[2025-01-08 21:12:03] Production.INFO: ==16661== Lock acquired, processing the job...
[2025-01-08 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:12:03] Production.INFO: CreateAllLog End
[2025-01-08 21:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:12:03] Production.INFO: count ==21
[2025-01-08 21:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:12:03] Production.INFO: count ==21
[2025-01-08 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204903') start
[2025-01-08 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:12:03] Production.ERROR: done
[2025-01-08 21:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:12:03] Production.INFO: Account Balance End.
[2025-01-08 21:12:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:12:03] Production.INFO: ==16657== Releasing lock...
[2025-01-08 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:12:03] Production.ERROR: done
[2025-01-08 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204903') end
[2025-01-08 21:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:12:03] Production.INFO: 1
[2025-01-08 21:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:12:03] Production.INFO: ==16661== Releasing lock...
[2025-01-08 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:12:04
[end_date_ymd] => 2025-01-08 21:12:04
[RateCDR] => 1
)
[2025-01-08 21:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:12:04' and `end` < '2025-01-08 21:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:12:11] Production.ERROR: CronJobId end10
[2025-01-08 21:12:11] Production.INFO: ==16655== Releasing lock...
[2025-01-08 21:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:12:12] Production.INFO: call_cost start
[2025-01-08 21:12:12] Production.INFO: call_cost end
[2025-01-08 21:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:12:13] Production.INFO: ==16651== Releasing lock...
[2025-01-08 21:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:12:17] Production.INFO: count ==1190
[2025-01-08 21:12:17] Production.ERROR: pbx CDR StartTime 2025-01-08 18:12:04 - End Time 2025-01-08 21:12:04
[2025-01-08 21:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204904', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204904', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204904', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204904', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:12:17] Production.INFO: ProcessCDR(1,14204904,1,1,2)
[2025-01-08 21:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204904', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204904', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:12:22] Production.INFO: ==16659== Releasing lock...
[2025-01-08 21:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:12:22] Production.INFO: 37 MB #Memory Used#
[2025-01-09 02:13:01] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-01-09 02:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:13:01] Production.INFO: neon service started
[2025-01-09 02:13:01] Production.INFO: neon service started
[2025-01-09 02:13:01] Production.INFO: ==16718== Releasing lock...
[2025-01-09 02:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:13:02] Production.INFO: ==16720== Lock acquired, processing the job...
[2025-01-08 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:13:02] Production.INFO: ==16722== Lock acquired, processing the job...
[2025-01-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:13:02] Production.INFO: ==16722== Releasing lock...
[2025-01-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:13:02] Production.INFO: ==16720== Releasing lock...
[2025-01-08 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:13:03] Production.INFO: ==16725== Lock acquired, processing the job...
[2025-01-08 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:13:03] Production.INFO: ==16727== Lock acquired, processing the job...
[2025-01-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:13:03] Production.INFO: ==16731== Lock acquired, processing the job...
[2025-01-08 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:13:03] Production.INFO: ==16729== Lock acquired, processing the job...
[2025-01-08 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:13:03] Production.INFO: Account Balance Start.
[2025-01-08 21:13:03] Production.INFO: ==16727== Releasing lock...
[2025-01-08 21:13:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:13:03] Production.INFO: 117
[2025-01-08 21:13:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:13:03] Production.INFO: ==16733== Lock acquired, processing the job...
[2025-01-08 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:13:03] Production.INFO: ==16735== Lock acquired, processing the job...
[2025-01-08 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:13:03] Production.INFO: Total Charge 0
[2025-01-08 21:13:04] Production.INFO: CreateAllLog End
[2025-01-08 21:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:13:04] Production.ERROR: done
[2025-01-08 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:13:04] Production.INFO: count ==21
[2025-01-08 21:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:13:04] Production.INFO: count ==21
[2025-01-08 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204908') start
[2025-01-08 21:13:04] Production.INFO: Account Balance End.
[2025-01-08 21:13:04] Production.ERROR: done
[2025-01-08 21:13:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:13:04] Production.INFO: ==16731== Releasing lock...
[2025-01-08 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204908') end
[2025-01-08 21:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:13:04] Production.INFO: 1
[2025-01-08 21:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:13:04] Production.INFO: ==16735== Releasing lock...
[2025-01-08 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:13:05
[end_date_ymd] => 2025-01-08 21:13:05
[RateCDR] => 1
)
[2025-01-08 21:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:13:05' and `end` < '2025-01-08 21:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:13:11] Production.ERROR: CronJobId end10
[2025-01-08 21:13:11] Production.INFO: ==16729== Releasing lock...
[2025-01-08 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:13:14] Production.INFO: call_cost start
[2025-01-08 21:13:14] Production.INFO: call_cost end
[2025-01-08 21:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:13:15] Production.INFO: ==16725== Releasing lock...
[2025-01-08 21:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:13:18] Production.INFO: count ==1191
[2025-01-08 21:13:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:13:05 - End Time 2025-01-08 21:13:05
[2025-01-08 21:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204909', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204909', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204909', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204909', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:13:18] Production.INFO: ProcessCDR(1,14204909,1,1,2)
[2025-01-08 21:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204909', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204909', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:13:21] Production.INFO: ==16733== Releasing lock...
[2025-01-08 21:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:13:21] Production.INFO: 37 MB #Memory Used#
[2025-01-09 02:14:02] Production.INFO: ==16796== Lock acquired, processing the job...
[2025-01-09 02:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:14:02] Production.INFO: neon service started
[2025-01-09 02:14:02] Production.INFO: neon service started
[2025-01-09 02:14:02] Production.INFO: ==16796== Releasing lock...
[2025-01-09 02:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:14:02] Production.INFO: ==16800== Lock acquired, processing the job...
[2025-01-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:14:02] Production.INFO: ==16800== Releasing lock...
[2025-01-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:14:02] Production.INFO: ==16798== Lock acquired, processing the job...
[2025-01-08 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:14:03] Production.INFO: ==16798== Releasing lock...
[2025-01-08 21:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:14:03] Production.INFO: ==16803== Lock acquired, processing the job...
[2025-01-08 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:14:03] Production.INFO: ==16807== Lock acquired, processing the job...
[2025-01-08 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:14:03] Production.INFO: ==16811== Lock acquired, processing the job...
[2025-01-08 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:14:04] Production.INFO: ==16805== Lock acquired, processing the job...
[2025-01-08 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:14:04] Production.INFO: ==16809== Lock acquired, processing the job...
[2025-01-08 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:14:04] Production.INFO: ==16813== Lock acquired, processing the job...
[2025-01-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:14:04] Production.INFO: Account Balance Start.
[2025-01-08 21:14:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:14:04] Production.INFO: 117
[2025-01-08 21:14:04] Production.ERROR: done
[2025-01-08 21:14:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:14:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:14:04] Production.INFO: count ==21
[2025-01-08 21:14:04] Production.INFO: Total Charge 0
[2025-01-08 21:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:14:04] Production.INFO: CreateAllLog End
[2025-01-08 21:14:04] Production.INFO: count ==21
[2025-01-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204913') start
[2025-01-08 21:14:04] Production.ERROR: done
[2025-01-08 21:14:04] Production.INFO: ==16805== Releasing lock...
[2025-01-08 21:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204913') end
[2025-01-08 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:14:04] Production.INFO: 1
[2025-01-08 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:14:04] Production.INFO: Account Balance End.
[2025-01-08 21:14:04] Production.INFO: ==16813== Releasing lock...
[2025-01-08 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:14:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:14:04] Production.INFO: ==16809== Releasing lock...
[2025-01-08 21:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:14:05
[end_date_ymd] => 2025-01-08 21:14:05
[RateCDR] => 1
)
[2025-01-08 21:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:14:05' and `end` < '2025-01-08 21:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:14:12] Production.ERROR: CronJobId end10
[2025-01-08 21:14:12] Production.INFO: ==16807== Releasing lock...
[2025-01-08 21:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:14:13] Production.INFO: call_cost start
[2025-01-08 21:14:13] Production.INFO: call_cost end
[2025-01-08 21:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:14:14] Production.INFO: ==16803== Releasing lock...
[2025-01-08 21:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:14:18] Production.INFO: count ==1190
[2025-01-08 21:14:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:14:05 - End Time 2025-01-08 21:14:05
[2025-01-08 21:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204914', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204914', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204914', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204914', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:14:19] Production.INFO: ProcessCDR(1,14204914,1,1,2)
[2025-01-08 21:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204914', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204914', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:14:22] Production.INFO: ==16811== Releasing lock...
[2025-01-08 21:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:14:22] Production.INFO: 37 MB #Memory Used#
[2025-01-09 02:15:01] Production.INFO: ==16871== Lock acquired, processing the job...
[2025-01-09 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:15:01] Production.INFO: neon service started
[2025-01-09 02:15:01] Production.INFO: neon service started
[2025-01-09 02:15:01] Production.INFO: ==16871== Releasing lock...
[2025-01-09 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:15:01] Production.INFO: ==16873== Lock acquired, processing the job...
[2025-01-08 21:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:15:02] Production.INFO: ==16875== Lock acquired, processing the job...
[2025-01-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:15:02] Production.INFO: ==16875== Releasing lock...
[2025-01-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:15:02] Production.INFO: ==16873== Releasing lock...
[2025-01-08 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:15:03] Production.INFO: ==16880== Lock acquired, processing the job...
[2025-01-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:15:03] Production.INFO: ==16886== Lock acquired, processing the job...
[2025-01-08 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:15:03] Production.INFO: ==16878== Lock acquired, processing the job...
[2025-01-08 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:15:03] Production.INFO: ==16882== Lock acquired, processing the job...
[2025-01-08 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:15:03] Production.INFO: ==16884== Lock acquired, processing the job...
[2025-01-08 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:15:03] Production.INFO: ==16888== Lock acquired, processing the job...
[2025-01-08 21:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:15:03] Production.ERROR: done
[2025-01-08 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:15:03] Production.INFO: Account Balance Start.
[2025-01-08 21:15:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:15:03] Production.INFO: ==16880== Releasing lock...
[2025-01-08 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:15:03] Production.INFO: 117
[2025-01-08 21:15:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:15:03] Production.INFO: Total Charge 0
[2025-01-08 21:15:03] Production.ERROR: done
[2025-01-08 21:15:03] Production.INFO: CreateAllLog End
[2025-01-08 21:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:15:03] Production.INFO: count ==21
[2025-01-08 21:15:03] Production.INFO: Account Balance End.
[2025-01-08 21:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:15:03] Production.INFO: count ==21
[2025-01-08 21:15:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:15:03] Production.INFO: ==16884== Releasing lock...
[2025-01-08 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204918') start
[2025-01-08 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204918') end
[2025-01-08 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:15:04] Production.INFO: 1
[2025-01-08 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:15:04] Production.INFO: ==16888== Releasing lock...
[2025-01-08 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:15:04
[end_date_ymd] => 2025-01-08 21:15:04
[RateCDR] => 1
)
[2025-01-08 21:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:15:04' and `end` < '2025-01-08 21:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:15:12] Production.ERROR: CronJobId end10
[2025-01-08 21:15:12] Production.INFO: ==16882== Releasing lock...
[2025-01-08 21:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:15:13] Production.INFO: call_cost start
[2025-01-08 21:15:13] Production.INFO: call_cost end
[2025-01-08 21:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:15:14] Production.INFO: ==16878== Releasing lock...
[2025-01-08 21:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:15:18] Production.INFO: count ==1176
[2025-01-08 21:15:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:15:04 - End Time 2025-01-08 21:15:04
[2025-01-08 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204919', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204919', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204919', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204919', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:15:18] Production.INFO: ProcessCDR(1,14204919,1,1,2)
[2025-01-08 21:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204919', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204919', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:15:21] Production.INFO: ==16886== Releasing lock...
[2025-01-08 21:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:15:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-09 02:16:02] Production.INFO: ==16947== Lock acquired, processing the job...
[2025-01-09 02:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:16:02] Production.INFO: neon service started
[2025-01-09 02:16:02] Production.INFO: neon service started
[2025-01-09 02:16:02] Production.INFO: ==16947== Releasing lock...
[2025-01-09 02:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:16:02] Production.INFO: ==16949== Lock acquired, processing the job...
[2025-01-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:16:02] Production.INFO: ==16949== Releasing lock...
[2025-01-08 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:16:02] Production.INFO: ==16951== Lock acquired, processing the job...
[2025-01-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:16:02] Production.INFO: ==16951== Releasing lock...
[2025-01-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:16:03] Production.INFO: ==16954== Lock acquired, processing the job...
[2025-01-08 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:16:03] Production.INFO: ==16956== Lock acquired, processing the job...
[2025-01-08 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:16:03] Production.INFO: ==16964== Lock acquired, processing the job...
[2025-01-08 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:16:03] Production.INFO: ==16956== Releasing lock...
[2025-01-08 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:16:03] Production.INFO: count ==21
[2025-01-08 21:16:03] Production.INFO: ==16958== Lock acquired, processing the job...
[2025-01-08 21:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:16:03] Production.INFO: count ==21
[2025-01-08 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204922') start
[2025-01-08 21:16:03] Production.INFO: ==16962== Lock acquired, processing the job...
[2025-01-08 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:16:03] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-01-08 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204922') end
[2025-01-08 21:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:16:03] Production.INFO: 1
[2025-01-08 21:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:16:03] Production.INFO: ==16964== Releasing lock...
[2025-01-08 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:16:04] Production.INFO: Account Balance Start.
[2025-01-08 21:16:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:16:04] Production.INFO: 117
[2025-01-08 21:16:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:16:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:16:04] Production.ERROR: done
[2025-01-08 21:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:16:04] Production.INFO: Total Charge 0
[2025-01-08 21:16:04] Production.INFO: CreateAllLog End
[2025-01-08 21:16:04] Production.ERROR: done
[2025-01-08 21:16:04] Production.INFO: Account Balance End.
[2025-01-08 21:16:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:16:04] Production.INFO: ==16960== Releasing lock...
[2025-01-08 21:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:16:05
[end_date_ymd] => 2025-01-08 21:16:05
[RateCDR] => 1
)
[2025-01-08 21:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:16:05' and `end` < '2025-01-08 21:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:16:13] Production.ERROR: CronJobId end10
[2025-01-08 21:16:13] Production.INFO: ==16958== Releasing lock...
[2025-01-08 21:16:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:16:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:16:14] Production.INFO: call_cost start
[2025-01-08 21:16:14] Production.INFO: call_cost end
[2025-01-08 21:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:16:15] Production.INFO: ==16954== Releasing lock...
[2025-01-08 21:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:16:18] Production.INFO: count ==1175
[2025-01-08 21:16:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:16:05 - End Time 2025-01-08 21:16:05
[2025-01-08 21:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204924', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204924', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204924', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204924', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:16:19] Production.INFO: ProcessCDR(1,14204924,1,1,2)
[2025-01-08 21:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204924', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204924', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:16:22] Production.INFO: ==16962== Releasing lock...
[2025-01-08 21:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:16:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:17:01] Production.INFO: ==17021== Lock acquired, processing the job...
[2025-01-09 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:17:01] Production.INFO: neon service started
[2025-01-09 02:17:01] Production.INFO: neon service started
[2025-01-09 02:17:01] Production.INFO: ==17021== Releasing lock...
[2025-01-09 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:17:01] Production.INFO: ==17023== Lock acquired, processing the job...
[2025-01-08 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:17:02] Production.INFO: ==17023== Releasing lock...
[2025-01-08 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:17:02] Production.INFO: ==17025== Lock acquired, processing the job...
[2025-01-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:17:02] Production.INFO: ==17025== Releasing lock...
[2025-01-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:17:02] Production.INFO: ==17036== Lock acquired, processing the job...
[2025-01-08 21:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:17:03] Production.INFO: ==17038== Lock acquired, processing the job...
[2025-01-08 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:17:03] Production.INFO: ==17029== Lock acquired, processing the job...
[2025-01-08 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:17:03] Production.INFO: ==17027== Lock acquired, processing the job...
[2025-01-08 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:17:03] Production.INFO: ==17031== Lock acquired, processing the job...
[2025-01-08 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:17:03] Production.INFO: ==17033== Lock acquired, processing the job...
[2025-01-08 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:17:03] Production.INFO: count ==21
[2025-01-08 21:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:17:03] Production.INFO: count ==21
[2025-01-08 21:17:03] Production.INFO: Account Balance Start.
[2025-01-08 21:17:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:17:03] Production.INFO: 117
[2025-01-08 21:17:03] Production.ERROR: done
[2025-01-08 21:17:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204925') start
[2025-01-08 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:17:03] Production.INFO: Total Charge 0
[2025-01-08 21:17:03] Production.INFO: CreateAllLog End
[2025-01-08 21:17:03] Production.ERROR: done
[2025-01-08 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204925') end
[2025-01-08 21:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:17:03] Production.INFO: 1
[2025-01-08 21:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:17:03] Production.INFO: ==17029== Releasing lock...
[2025-01-08 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:17:03] Production.INFO: Account Balance End.
[2025-01-08 21:17:03] Production.INFO: ==17038== Releasing lock...
[2025-01-08 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:17:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:17:03] Production.INFO: ==17033== Releasing lock...
[2025-01-08 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:17:04
[end_date_ymd] => 2025-01-08 21:17:04
[RateCDR] => 1
)
[2025-01-08 21:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:17:04' and `end` < '2025-01-08 21:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:17:11] Production.ERROR: CronJobId end10
[2025-01-08 21:17:11] Production.INFO: ==17031== Releasing lock...
[2025-01-08 21:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:17:12] Production.INFO: call_cost start
[2025-01-08 21:17:12] Production.INFO: call_cost end
[2025-01-08 21:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:17:13] Production.INFO: ==17027== Releasing lock...
[2025-01-08 21:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:17:18] Production.INFO: count ==1171
[2025-01-08 21:17:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:17:04 - End Time 2025-01-08 21:17:04
[2025-01-08 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204929', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204929', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204929', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204929', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:17:18] Production.INFO: ProcessCDR(1,14204929,1,1,2)
[2025-01-08 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204929', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204929', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:17:21] Production.INFO: ==17036== Releasing lock...
[2025-01-08 21:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:17:21] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:18:01] Production.INFO: ==17096== Lock acquired, processing the job...
[2025-01-09 02:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:18:01] Production.INFO: neon service started
[2025-01-09 02:18:01] Production.INFO: neon service started
[2025-01-09 02:18:01] Production.INFO: ==17096== Releasing lock...
[2025-01-09 02:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:18:02] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-01-08 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:18:02] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-01-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:18:02] Production.INFO: ==17100== Releasing lock...
[2025-01-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:18:02] Production.INFO: ==17098== Releasing lock...
[2025-01-08 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:18:03] Production.INFO: ==17103== Lock acquired, processing the job...
[2025-01-08 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:18:03] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-01-08 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:18:03] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-01-08 21:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:18:03] Production.INFO: ==17107== Lock acquired, processing the job...
[2025-01-08 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:18:03] Production.INFO: ==17105== Lock acquired, processing the job...
[2025-01-08 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:18:03] Production.INFO: Account Balance Start.
[2025-01-08 21:18:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:18:03] Production.INFO: 117
[2025-01-08 21:18:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:18:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:18:04] Production.INFO: Total Charge 0
[2025-01-08 21:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:18:04] Production.INFO: CreateAllLog End
[2025-01-08 21:18:04] Production.INFO: count ==21
[2025-01-08 21:18:04] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-01-08 21:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:18:04] Production.INFO: count ==21
[2025-01-08 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204932') start
[2025-01-08 21:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:18:04] Production.INFO: Account Balance End.
[2025-01-08 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204932') end
[2025-01-08 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:18:04] Production.INFO: 1
[2025-01-08 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:18:04] Production.INFO: ==17105== Releasing lock...
[2025-01-08 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:18:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:18:04] Production.INFO: ==17109== Releasing lock...
[2025-01-08 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:18:04] Production.INFO: ==17113== Releasing lock...
[2025-01-08 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:18:04] Production.ERROR: done
[2025-01-08 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:18:04] Production.ERROR: done
[2025-01-08 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:18:05
[end_date_ymd] => 2025-01-08 21:18:05
[RateCDR] => 1
)
[2025-01-08 21:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:18:05' and `end` < '2025-01-08 21:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:18:12] Production.ERROR: CronJobId end10
[2025-01-08 21:18:12] Production.INFO: ==17107== Releasing lock...
[2025-01-08 21:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:18:14] Production.INFO: call_cost start
[2025-01-08 21:18:14] Production.INFO: call_cost end
[2025-01-08 21:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:18:14] Production.INFO: ==17103== Releasing lock...
[2025-01-08 21:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:18:20] Production.INFO: count ==1169
[2025-01-08 21:18:20] Production.ERROR: pbx CDR StartTime 2025-01-08 18:18:05 - End Time 2025-01-08 21:18:05
[2025-01-08 21:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204934', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204934', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204934', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204934', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:18:20] Production.INFO: ProcessCDR(1,14204934,1,1,2)
[2025-01-08 21:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204934', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204934', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:18:23] Production.INFO: ==17111== Releasing lock...
[2025-01-08 21:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:18:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:19:02] Production.INFO: ==17175== Lock acquired, processing the job...
[2025-01-09 02:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:19:02] Production.INFO: neon service started
[2025-01-09 02:19:02] Production.INFO: neon service started
[2025-01-09 02:19:02] Production.INFO: ==17175== Releasing lock...
[2025-01-09 02:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:19:02] Production.INFO: ==17178== Lock acquired, processing the job...
[2025-01-08 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:19:02] Production.INFO: ==17180== Lock acquired, processing the job...
[2025-01-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:19:02] Production.INFO: ==17180== Releasing lock...
[2025-01-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:19:03] Production.INFO: ==17178== Releasing lock...
[2025-01-08 21:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:19:04] Production.INFO: ==17186== Lock acquired, processing the job...
[2025-01-08 21:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:19:04] Production.INFO: ==17182== Lock acquired, processing the job...
[2025-01-08 21:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:19:04] Production.INFO: ==17192== Lock acquired, processing the job...
[2025-01-08 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:19:04] Production.INFO: ==17184== Lock acquired, processing the job...
[2025-01-08 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:19:04] Production.INFO: count ==21
[2025-01-08 21:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:19:04] Production.INFO: count ==21
[2025-01-08 21:19:04] Production.INFO: ==17188== Lock acquired, processing the job...
[2025-01-08 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204935') start
[2025-01-08 21:19:04] Production.INFO: ==17190== Lock acquired, processing the job...
[2025-01-08 21:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204935') end
[2025-01-08 21:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:19:04] Production.INFO: 1
[2025-01-08 21:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:19:04] Production.INFO: Account Balance Start.
[2025-01-08 21:19:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:19:04] Production.INFO: 117
[2025-01-08 21:19:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:19:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:19:04] Production.INFO: Total Charge 0
[2025-01-08 21:19:04] Production.INFO: CreateAllLog End
[2025-01-08 21:19:04] Production.INFO: ==17192== Releasing lock...
[2025-01-08 21:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:19:04] Production.INFO: ==17184== Releasing lock...
[2025-01-08 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:19:04] Production.ERROR: done
[2025-01-08 21:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:19:04] Production.ERROR: done
[2025-01-08 21:19:05] Production.INFO: Account Balance End.
[2025-01-08 21:19:05] Production.ERROR: CronJobId end 12
[2025-01-08 21:19:05] Production.INFO: ==17188== Releasing lock...
[2025-01-08 21:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:19:05
[end_date_ymd] => 2025-01-08 21:19:05
[RateCDR] => 1
)
[2025-01-08 21:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:19:05' and `end` < '2025-01-08 21:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:19:12] Production.ERROR: CronJobId end10
[2025-01-08 21:19:12] Production.INFO: ==17186== Releasing lock...
[2025-01-08 21:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:19:14] Production.INFO: call_cost start
[2025-01-08 21:19:14] Production.INFO: call_cost end
[2025-01-08 21:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:19:15] Production.INFO: ==17182== Releasing lock...
[2025-01-08 21:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:19:19] Production.INFO: count ==1164
[2025-01-08 21:19:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:19:05 - End Time 2025-01-08 21:19:05
[2025-01-08 21:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204939', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204939', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204939', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204939', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:19:19] Production.INFO: ProcessCDR(1,14204939,1,1,2)
[2025-01-08 21:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204939', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204939', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:19:23] Production.INFO: ==17190== Releasing lock...
[2025-01-08 21:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:19:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:20:01] Production.INFO: ==17246== Lock acquired, processing the job...
[2025-01-09 02:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:20:01] Production.INFO: neon service started
[2025-01-09 02:20:01] Production.INFO: neon service started
[2025-01-09 02:20:01] Production.INFO: ==17246== Releasing lock...
[2025-01-09 02:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:20:02] Production.INFO: ==17248== Lock acquired, processing the job...
[2025-01-08 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:20:02] Production.INFO: ==17250== Lock acquired, processing the job...
[2025-01-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:20:02] Production.INFO: ==17250== Releasing lock...
[2025-01-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:20:02] Production.INFO: ==17248== Releasing lock...
[2025-01-08 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:20:03] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-01-08 21:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 21:20:03] Production.INFO: ==17255== Lock acquired, processing the job...
[2025-01-08 21:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 21:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 21:20:03] Production.INFO: ==17253== Releasing lock...
[2025-01-08 21:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 21:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 21:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:20:03] Production.INFO: ==17259== Lock acquired, processing the job...
[2025-01-08 21:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:20:03] Production.INFO: ==17263== Lock acquired, processing the job...
[2025-01-08 21:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:20:03] Production.INFO: ==17257== Lock acquired, processing the job...
[2025-01-08 21:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:20:04] Production.INFO: ==17261== Lock acquired, processing the job...
[2025-01-08 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:20:04] Production.INFO: Account Balance Start.
[2025-01-08 21:20:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:20:04] Production.INFO: 117
[2025-01-08 21:20:04] Production.INFO: ==17267== Lock acquired, processing the job...
[2025-01-08 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:20:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:20:04] Production.INFO: ==17265== Lock acquired, processing the job...
[2025-01-08 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:20:04] Production.ERROR: done
[2025-01-08 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:20:04] Production.INFO: Total Charge 0
[2025-01-08 21:20:04] Production.INFO: ==17257== Releasing lock...
[2025-01-08 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:20:04] Production.INFO: CreateAllLog End
[2025-01-08 21:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:20:04] Production.INFO: count ==21
[2025-01-08 21:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:20:04] Production.INFO: count ==21
[2025-01-08 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204943') start
[2025-01-08 21:20:04] Production.ERROR: done
[2025-01-08 21:20:04] Production.ERROR: done
[2025-01-08 21:20:04] Production.INFO: Account Balance End.
[2025-01-08 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204943') end
[2025-01-08 21:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:20:04] Production.INFO: 1
[2025-01-08 21:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:20:04] Production.INFO: ==17267== Releasing lock...
[2025-01-08 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:20:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:20:04] Production.INFO: ==17261== Releasing lock...
[2025-01-08 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 21:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204945', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 21:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:20:05
[end_date_ymd] => 2025-01-08 21:20:05
[RateCDR] => 1
)
[2025-01-08 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-01-08 18:20:05' and `end` < '2025-01-08 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-01-08 21:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204945', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 21:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 21:20:08] Production.INFO: ProcessCDR(1,14204945,1,1,2)
[2025-01-08 21:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204945,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204945,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:20:08] Production.INFO: ==17265== Releasing lock...
[2025-01-08 21:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 21:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 21:20:12] Production.ERROR: CronJobId end10
[2025-01-08 21:20:12] Production.INFO: ==17259== Releasing lock...
[2025-01-08 21:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:20:14] Production.INFO: call_cost start
[2025-01-08 21:20:14] Production.INFO: call_cost end
[2025-01-08 21:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:20:15] Production.INFO: ==17255== Releasing lock...
[2025-01-08 21:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:20:19] Production.INFO: count ==1164
[2025-01-08 21:20:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:20:05 - End Time 2025-01-08 21:20:05
[2025-01-08 21:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204944', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204944', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204944', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204944', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:20:19] Production.INFO: ProcessCDR(1,14204944,1,1,2)
[2025-01-08 21:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204944', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204944', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:20:22] Production.INFO: ==17263== Releasing lock...
[2025-01-08 21:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:20:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-09 02:21:02] Production.INFO: ==17320== Lock acquired, processing the job...
[2025-01-09 02:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:21:02] Production.INFO: neon service started
[2025-01-09 02:21:02] Production.INFO: neon service started
[2025-01-09 02:21:02] Production.INFO: ==17320== Releasing lock...
[2025-01-09 02:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:21:02] Production.INFO: ==17322== Lock acquired, processing the job...
[2025-01-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:21:02] Production.INFO: ==17322== Releasing lock...
[2025-01-08 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:21:02] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-01-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:21:02] Production.INFO: ==17324== Releasing lock...
[2025-01-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:21:03] Production.INFO: ==17326== Lock acquired, processing the job...
[2025-01-08 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:21:03] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-01-08 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:21:03] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-01-08 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:21:03] Production.INFO: Account Balance Start.
[2025-01-08 21:21:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:21:03] Production.INFO: 117
[2025-01-08 21:21:03] Production.INFO: ==17328== Lock acquired, processing the job...
[2025-01-08 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:21:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:21:03] Production.INFO: ==17330== Lock acquired, processing the job...
[2025-01-08 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:21:03] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-01-08 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:21:03] Production.INFO: Total Charge 0
[2025-01-08 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:21:03] Production.INFO: CreateAllLog End
[2025-01-08 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:21:03] Production.INFO: count ==21
[2025-01-08 21:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:21:03] Production.INFO: count ==21
[2025-01-08 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204948') start
[2025-01-08 21:21:04] Production.INFO: ==17328== Releasing lock...
[2025-01-08 21:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204948') end
[2025-01-08 21:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:21:04] Production.INFO: 1
[2025-01-08 21:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:21:04] Production.INFO: Account Balance End.
[2025-01-08 21:21:04] Production.INFO: ==17336== Releasing lock...
[2025-01-08 21:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:21:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:21:04] Production.INFO: ==17332== Releasing lock...
[2025-01-08 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:21:04] Production.ERROR: done
[2025-01-08 21:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:21:04] Production.ERROR: done
[2025-01-08 21:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:21:05
[end_date_ymd] => 2025-01-08 21:21:05
[RateCDR] => 1
)
[2025-01-08 21:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:21:05' and `end` < '2025-01-08 21:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:21:11] Production.ERROR: CronJobId end10
[2025-01-08 21:21:11] Production.INFO: ==17330== Releasing lock...
[2025-01-08 21:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:21:13] Production.INFO: call_cost start
[2025-01-08 21:21:13] Production.INFO: call_cost end
[2025-01-08 21:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:21:14] Production.INFO: ==17326== Releasing lock...
[2025-01-08 21:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:21:19] Production.INFO: count ==1146
[2025-01-08 21:21:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:21:05 - End Time 2025-01-08 21:21:05
[2025-01-08 21:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204950', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204950', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204950', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204950', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:21:19] Production.INFO: ProcessCDR(1,14204950,1,1,2)
[2025-01-08 21:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204950', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204950', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:21:22] Production.INFO: ==17334== Releasing lock...
[2025-01-08 21:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:21:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:22:01] Production.INFO: ==17391== Lock acquired, processing the job...
[2025-01-09 02:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:22:01] Production.INFO: neon service started
[2025-01-09 02:22:01] Production.INFO: neon service started
[2025-01-09 02:22:01] Production.INFO: ==17391== Releasing lock...
[2025-01-09 02:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:22:01] Production.INFO: ==17393== Lock acquired, processing the job...
[2025-01-08 21:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:22:02] Production.INFO: ==17393== Releasing lock...
[2025-01-08 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:22:02] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-01-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:22:02] Production.INFO: ==17395== Releasing lock...
[2025-01-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:22:03] Production.INFO: ==17397== Lock acquired, processing the job...
[2025-01-08 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:22:03] Production.INFO: ==17407== Lock acquired, processing the job...
[2025-01-08 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:22:03] Production.INFO: ==17399== Lock acquired, processing the job...
[2025-01-08 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:22:03] Production.INFO: count ==21
[2025-01-08 21:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:22:03] Production.INFO: count ==21
[2025-01-08 21:22:03] Production.INFO: ==17401== Lock acquired, processing the job...
[2025-01-08 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:22:03] Production.INFO: ==17403== Lock acquired, processing the job...
[2025-01-08 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:22:03] Production.INFO: ==17405== Lock acquired, processing the job...
[2025-01-08 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204952') start
[2025-01-08 21:22:03] Production.INFO: Account Balance Start.
[2025-01-08 21:22:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:22:03] Production.INFO: 117
[2025-01-08 21:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:22:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204952') end
[2025-01-08 21:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:22:03] Production.INFO: 1
[2025-01-08 21:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:22:03] Production.INFO: ==17407== Releasing lock...
[2025-01-08 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:22:03] Production.INFO: Total Charge 0
[2025-01-08 21:22:03] Production.INFO: CreateAllLog End
[2025-01-08 21:22:03] Production.ERROR: done
[2025-01-08 21:22:03] Production.INFO: ==17399== Releasing lock...
[2025-01-08 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:22:03] Production.ERROR: done
[2025-01-08 21:22:04] Production.INFO: Account Balance End.
[2025-01-08 21:22:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:22:04] Production.INFO: ==17403== Releasing lock...
[2025-01-08 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:22:04
[end_date_ymd] => 2025-01-08 21:22:04
[RateCDR] => 1
)
[2025-01-08 21:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:22:04' and `end` < '2025-01-08 21:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:22:11] Production.ERROR: CronJobId end10
[2025-01-08 21:22:11] Production.INFO: ==17401== Releasing lock...
[2025-01-08 21:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:22:13] Production.INFO: call_cost start
[2025-01-08 21:22:13] Production.INFO: call_cost end
[2025-01-08 21:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:22:14] Production.INFO: ==17397== Releasing lock...
[2025-01-08 21:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:22:18] Production.INFO: count ==1146
[2025-01-08 21:22:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:22:04 - End Time 2025-01-08 21:22:04
[2025-01-08 21:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204955', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204955', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204955', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204955', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:22:18] Production.INFO: ProcessCDR(1,14204955,1,1,2)
[2025-01-08 21:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204955', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204955', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:22:21] Production.INFO: ==17405== Releasing lock...
[2025-01-08 21:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:22:21] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:23:01] Production.INFO: ==17465== Lock acquired, processing the job...
[2025-01-09 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:23:01] Production.INFO: neon service started
[2025-01-09 02:23:02] Production.INFO: neon service started
[2025-01-09 02:23:02] Production.INFO: ==17465== Releasing lock...
[2025-01-09 02:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:23:02] Production.INFO: ==17469== Lock acquired, processing the job...
[2025-01-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:23:02] Production.INFO: ==17469== Releasing lock...
[2025-01-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:23:02] Production.INFO: ==17467== Lock acquired, processing the job...
[2025-01-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:23:02] Production.INFO: ==17467== Releasing lock...
[2025-01-08 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:23:03] Production.INFO: ==17472== Lock acquired, processing the job...
[2025-01-08 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:23:03] Production.INFO: ==17474== Lock acquired, processing the job...
[2025-01-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:23:03] Production.INFO: ==17476== Lock acquired, processing the job...
[2025-01-08 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:23:03] Production.INFO: ==17478== Lock acquired, processing the job...
[2025-01-08 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:23:03] Production.INFO: ==17474== Releasing lock...
[2025-01-08 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:23:03] Production.INFO: Account Balance Start.
[2025-01-08 21:23:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:23:03] Production.INFO: 117
[2025-01-08 21:23:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:23:03] Production.INFO: ==17482== Lock acquired, processing the job...
[2025-01-08 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:23:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:23:03] Production.INFO: ==17480== Lock acquired, processing the job...
[2025-01-08 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:23:03] Production.INFO: Total Charge 0
[2025-01-08 21:23:03] Production.INFO: CreateAllLog End
[2025-01-08 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:23:04] Production.INFO: count ==21
[2025-01-08 21:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:23:04] Production.INFO: count ==21
[2025-01-08 21:23:04] Production.INFO: Account Balance End.
[2025-01-08 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204959') start
[2025-01-08 21:23:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:23:04] Production.INFO: ==17478== Releasing lock...
[2025-01-08 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:23:04] Production.ERROR: done
[2025-01-08 21:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204959') end
[2025-01-08 21:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:23:04] Production.INFO: 1
[2025-01-08 21:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:23:04] Production.INFO: ==17482== Releasing lock...
[2025-01-08 21:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:23:04] Production.ERROR: done
[2025-01-08 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:23:05
[end_date_ymd] => 2025-01-08 21:23:05
[RateCDR] => 1
)
[2025-01-08 21:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:23:05' and `end` < '2025-01-08 21:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:23:11] Production.ERROR: CronJobId end10
[2025-01-08 21:23:11] Production.INFO: ==17476== Releasing lock...
[2025-01-08 21:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:23:13] Production.INFO: call_cost start
[2025-01-08 21:23:13] Production.INFO: call_cost end
[2025-01-08 21:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:23:14] Production.INFO: ==17472== Releasing lock...
[2025-01-08 21:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:23:18] Production.INFO: count ==1145
[2025-01-08 21:23:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:23:05 - End Time 2025-01-08 21:23:05
[2025-01-08 21:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204960', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204960', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204960', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204960', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:23:18] Production.INFO: ProcessCDR(1,14204960,1,1,2)
[2025-01-08 21:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204960', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204960', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:23:21] Production.INFO: ==17480== Releasing lock...
[2025-01-08 21:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:23:21] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 02:24:01] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-01-09 02:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:24:01] Production.INFO: neon service started
[2025-01-09 02:24:01] Production.INFO: neon service started
[2025-01-09 02:24:01] Production.INFO: ==17540== Releasing lock...
[2025-01-09 02:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:24:02] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-01-08 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:24:02] Production.INFO: ==17544== Lock acquired, processing the job...
[2025-01-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:24:02] Production.INFO: ==17544== Releasing lock...
[2025-01-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:24:02] Production.INFO: ==17542== Releasing lock...
[2025-01-08 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:24:03] Production.INFO: ==17553== Lock acquired, processing the job...
[2025-01-08 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:24:03] Production.INFO: ==17551== Lock acquired, processing the job...
[2025-01-08 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:24:03] Production.INFO: Account Balance Start.
[2025-01-08 21:24:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:24:03] Production.INFO: 117
[2025-01-08 21:24:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:24:03] Production.INFO: Total Charge 0
[2025-01-08 21:24:03] Production.INFO: CreateAllLog End
[2025-01-08 21:24:03] Production.INFO: ==17547== Lock acquired, processing the job...
[2025-01-08 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:24:03] Production.INFO: ==17549== Lock acquired, processing the job...
[2025-01-08 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:24:03] Production.INFO: Account Balance End.
[2025-01-08 21:24:03] Production.INFO: ==17555== Lock acquired, processing the job...
[2025-01-08 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:24:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:24:03] Production.INFO: ==17553== Releasing lock...
[2025-01-08 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:24:03] Production.INFO: ==17557== Lock acquired, processing the job...
[2025-01-08 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:24:03] Production.INFO: count ==21
[2025-01-08 21:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:24:03] Production.INFO: count ==21
[2025-01-08 21:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204964') start
[2025-01-08 21:24:03] Production.INFO: ==17549== Releasing lock...
[2025-01-08 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204964') end
[2025-01-08 21:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:24:03] Production.INFO: 1
[2025-01-08 21:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:24:03] Production.INFO: ==17557== Releasing lock...
[2025-01-08 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:24:04] Production.ERROR: done
[2025-01-08 21:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:24:04] Production.ERROR: done
[2025-01-08 21:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:24:04
[end_date_ymd] => 2025-01-08 21:24:04
[RateCDR] => 1
)
[2025-01-08 21:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:24:04' and `end` < '2025-01-08 21:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:24:10] Production.ERROR: CronJobId end10
[2025-01-08 21:24:10] Production.INFO: ==17551== Releasing lock...
[2025-01-08 21:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:24:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:24:11] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:24:11] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:24:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:24:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:24:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:24:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:24:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:24:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:24:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:24:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:24:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:24:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:24:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:24:12] Production.INFO: call_cost start
[2025-01-08 21:24:12] Production.INFO: call_cost end
[2025-01-08 21:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:24:13] Production.INFO: ==17547== Releasing lock...
[2025-01-08 21:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:24:17] Production.INFO: count ==1124
[2025-01-08 21:24:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:24:04 - End Time 2025-01-08 21:24:04
[2025-01-08 21:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204965', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204965', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204965', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204965', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:24:18] Production.INFO: ProcessCDR(1,14204965,1,1,2)
[2025-01-08 21:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204965', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204965', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:24:21] Production.INFO: ==17555== Releasing lock...
[2025-01-08 21:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:24:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-09 02:25:01] Production.INFO: ==17610== Lock acquired, processing the job...
[2025-01-09 02:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:25:01] Production.INFO: neon service started
[2025-01-09 02:25:01] Production.INFO: neon service started
[2025-01-09 02:25:01] Production.INFO: ==17610== Releasing lock...
[2025-01-09 02:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:25:02] Production.INFO: ==17612== Lock acquired, processing the job...
[2025-01-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:25:02] Production.INFO: ==17614== Lock acquired, processing the job...
[2025-01-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:25:02] Production.INFO: ==17614== Releasing lock...
[2025-01-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:25:02] Production.INFO: ==17612== Releasing lock...
[2025-01-08 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:25:03] Production.INFO: ==17619== Lock acquired, processing the job...
[2025-01-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:25:03] Production.INFO: ==17617== Lock acquired, processing the job...
[2025-01-08 21:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:25:03] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-01-08 21:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:25:03] Production.INFO: ==17621== Lock acquired, processing the job...
[2025-01-08 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:25:03] Production.INFO: ==17623== Lock acquired, processing the job...
[2025-01-08 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:25:03] Production.INFO: ==17619== Releasing lock...
[2025-01-08 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:25:03] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-01-08 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:25:04] Production.ERROR: done
[2025-01-08 21:25:04] Production.INFO: Account Balance Start.
[2025-01-08 21:25:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:25:04] Production.INFO: 117
[2025-01-08 21:25:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:25:04] Production.INFO: Reseller ==> 0
[2025-01-08 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-01-08 21:25:04] Production.INFO: count ==21
[2025-01-08 21:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:25:04] Production.INFO: count ==21
[2025-01-08 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204969') start
[2025-01-08 21:25:04] Production.INFO: Total Charge 0
[2025-01-08 21:25:04] Production.INFO: CreateAllLog End
[2025-01-08 21:25:04] Production.ERROR: done
[2025-01-08 21:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204969') end
[2025-01-08 21:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:25:04] Production.INFO: 1
[2025-01-08 21:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:25:04] Production.INFO: ==17627== Releasing lock...
[2025-01-08 21:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:25:04] Production.INFO: Account Balance End.
[2025-01-08 21:25:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:25:04] Production.INFO: ==17623== Releasing lock...
[2025-01-08 21:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:25:05
[end_date_ymd] => 2025-01-08 21:25:05
[RateCDR] => 1
)
[2025-01-08 21:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:25:05' and `end` < '2025-01-08 21:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:25:11] Production.ERROR: CronJobId end10
[2025-01-08 21:25:11] Production.INFO: ==17621== Releasing lock...
[2025-01-08 21:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:25:13] Production.INFO: call_cost start
[2025-01-08 21:25:13] Production.INFO: call_cost end
[2025-01-08 21:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:25:13] Production.INFO: ==17617== Releasing lock...
[2025-01-08 21:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:25:18] Production.INFO: count ==1118
[2025-01-08 21:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:25:05 - End Time 2025-01-08 21:25:05
[2025-01-08 21:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204970', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204970', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204970', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204970', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:25:18] Production.INFO: ProcessCDR(1,14204970,1,1,2)
[2025-01-08 21:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204970', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204970', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:25:21] Production.INFO: ==17625== Releasing lock...
[2025-01-08 21:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:25:21] Production.INFO: 36 MB #Memory Used#
[2025-01-09 02:26:02] Production.INFO: ==17719== Lock acquired, processing the job...
[2025-01-09 02:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:26:02] Production.INFO: neon service started
[2025-01-09 02:26:02] Production.INFO: neon service started
[2025-01-09 02:26:02] Production.INFO: ==17719== Releasing lock...
[2025-01-09 02:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:26:02] Production.INFO: ==17721== Lock acquired, processing the job...
[2025-01-08 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:26:02] Production.INFO: ==17723== Lock acquired, processing the job...
[2025-01-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:26:02] Production.INFO: ==17723== Releasing lock...
[2025-01-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:26:03] Production.INFO: ==17721== Releasing lock...
[2025-01-08 21:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:26:03] Production.INFO: ==17728== Lock acquired, processing the job...
[2025-01-08 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:26:04] Production.INFO: ==17736== Lock acquired, processing the job...
[2025-01-08 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:26:04] Production.INFO: ==17726== Lock acquired, processing the job...
[2025-01-08 21:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:26:04] Production.INFO: count ==21
[2025-01-08 21:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:26:04] Production.INFO: ==17730== Lock acquired, processing the job...
[2025-01-08 21:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:26:04] Production.INFO: count ==21
[2025-01-08 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204972') start
[2025-01-08 21:26:04] Production.INFO: ==17732== Lock acquired, processing the job...
[2025-01-08 21:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:26:04] Production.INFO: ==17734== Lock acquired, processing the job...
[2025-01-08 21:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204972') end
[2025-01-08 21:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:26:04] Production.INFO: 1
[2025-01-08 21:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:26:04] Production.INFO: Account Balance Start.
[2025-01-08 21:26:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:26:04] Production.INFO: 117
[2025-01-08 21:26:04] Production.INFO: ==17728== Releasing lock...
[2025-01-08 21:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:26:04] Production.INFO: ==17736== Releasing lock...
[2025-01-08 21:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:26:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:26:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:26:04] Production.ERROR: done
[2025-01-08 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:26:04] Production.INFO: Total Charge 0
[2025-01-08 21:26:04] Production.INFO: CreateAllLog End
[2025-01-08 21:26:04] Production.ERROR: done
[2025-01-08 21:26:05] Production.INFO: Account Balance End.
[2025-01-08 21:26:05] Production.ERROR: CronJobId end 12
[2025-01-08 21:26:05] Production.INFO: ==17732== Releasing lock...
[2025-01-08 21:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:26:05
[end_date_ymd] => 2025-01-08 21:26:05
[RateCDR] => 1
)
[2025-01-08 21:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:26:05' and `end` < '2025-01-08 21:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:26:11] Production.ERROR: CronJobId end10
[2025-01-08 21:26:11] Production.INFO: ==17730== Releasing lock...
[2025-01-08 21:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:26:13] Production.INFO: call_cost start
[2025-01-08 21:26:13] Production.INFO: call_cost end
[2025-01-08 21:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:26:14] Production.INFO: ==17726== Releasing lock...
[2025-01-08 21:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:26:19] Production.INFO: count ==1101
[2025-01-08 21:26:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:26:05 - End Time 2025-01-08 21:26:05
[2025-01-08 21:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204975', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204975', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204975', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204975', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:26:19] Production.INFO: ProcessCDR(1,14204975,1,1,2)
[2025-01-08 21:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204975', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204975', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:26:22] Production.INFO: ==17734== Releasing lock...
[2025-01-08 21:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:26:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-09 02:27:01] Production.INFO: ==17790== Lock acquired, processing the job...
[2025-01-09 02:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:27:01] Production.INFO: neon service started
[2025-01-09 02:27:01] Production.INFO: neon service started
[2025-01-09 02:27:01] Production.INFO: ==17790== Releasing lock...
[2025-01-09 02:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:27:02] Production.INFO: ==17792== Lock acquired, processing the job...
[2025-01-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:27:02] Production.INFO: ==17794== Lock acquired, processing the job...
[2025-01-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:27:02] Production.INFO: ==17794== Releasing lock...
[2025-01-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:27:02] Production.INFO: ==17792== Releasing lock...
[2025-01-08 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:27:03] Production.INFO: ==17797== Lock acquired, processing the job...
[2025-01-08 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:27:03] Production.INFO: ==17805== Lock acquired, processing the job...
[2025-01-08 21:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:27:03] Production.INFO: ==17799== Lock acquired, processing the job...
[2025-01-08 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:27:03] Production.INFO: ==17801== Lock acquired, processing the job...
[2025-01-08 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:27:03] Production.INFO: ==17803== Lock acquired, processing the job...
[2025-01-08 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:27:03] Production.ERROR: done
[2025-01-08 21:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:27:03] Production.INFO: Account Balance Start.
[2025-01-08 21:27:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:27:03] Production.INFO: 117
[2025-01-08 21:27:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:27:03] Production.INFO: ==17807== Lock acquired, processing the job...
[2025-01-08 21:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:27:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:27:03] Production.INFO: Total Charge 0
[2025-01-08 21:27:03] Production.ERROR: done
[2025-01-08 21:27:03] Production.INFO: CreateAllLog End
[2025-01-08 21:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:27:04] Production.INFO: ==17799== Releasing lock...
[2025-01-08 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:27:04] Production.INFO: count ==21
[2025-01-08 21:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:27:04] Production.INFO: count ==21
[2025-01-08 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204979') start
[2025-01-08 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204979') end
[2025-01-08 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:27:04] Production.INFO: 1
[2025-01-08 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:27:04] Production.INFO: Account Balance End.
[2025-01-08 21:27:04] Production.INFO: ==17807== Releasing lock...
[2025-01-08 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:27:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:27:04] Production.INFO: ==17803== Releasing lock...
[2025-01-08 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:27:04
[end_date_ymd] => 2025-01-08 21:27:04
[RateCDR] => 1
)
[2025-01-08 21:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:27:04' and `end` < '2025-01-08 21:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:27:12] Production.ERROR: CronJobId end10
[2025-01-08 21:27:12] Production.INFO: ==17801== Releasing lock...
[2025-01-08 21:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:27:12] Production.INFO: call_cost start
[2025-01-08 21:27:12] Production.INFO: call_cost end
[2025-01-08 21:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:27:13] Production.INFO: ==17797== Releasing lock...
[2025-01-08 21:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:27:17] Production.INFO: count ==1101
[2025-01-08 21:27:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:27:04 - End Time 2025-01-08 21:27:04
[2025-01-08 21:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204980', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204980', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204980', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204980', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:27:18] Production.INFO: ProcessCDR(1,14204980,1,1,2)
[2025-01-08 21:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204980', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204980', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:27:21] Production.INFO: ==17805== Releasing lock...
[2025-01-08 21:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:27:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-09 02:28:02] Production.INFO: ==17859== Lock acquired, processing the job...
[2025-01-09 02:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:28:02] Production.INFO: neon service started
[2025-01-09 02:28:02] Production.INFO: neon service started
[2025-01-09 02:28:02] Production.INFO: ==17859== Releasing lock...
[2025-01-09 02:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:28:02] Production.INFO: ==17861== Lock acquired, processing the job...
[2025-01-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:28:02] Production.INFO: ==17863== Lock acquired, processing the job...
[2025-01-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 21:28:02] Production.INFO: ==17861== Releasing lock...
[2025-01-08 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:28:02] Production.INFO: ==17863== Releasing lock...
[2025-01-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:28:03] Production.INFO: ==17866== Lock acquired, processing the job...
[2025-01-08 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:28:03] Production.INFO: ==17868== Lock acquired, processing the job...
[2025-01-08 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:28:03] Production.INFO: ==17870== Lock acquired, processing the job...
[2025-01-08 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:28:03] Production.INFO: ==17872== Lock acquired, processing the job...
[2025-01-08 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:28:03] Production.INFO: ==17874== Lock acquired, processing the job...
[2025-01-08 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:28:03] Production.INFO: ==17876== Lock acquired, processing the job...
[2025-01-08 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:28:03] Production.INFO: Account Balance Start.
[2025-01-08 21:28:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:28:03] Production.INFO: 117
[2025-01-08 21:28:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:28:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:28:04] Production.INFO: Total Charge 0
[2025-01-08 21:28:04] Production.INFO: CreateAllLog End
[2025-01-08 21:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:28:04] Production.INFO: ==17868== Releasing lock...
[2025-01-08 21:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:28:04] Production.ERROR: done
[2025-01-08 21:28:04] Production.INFO: count ==21
[2025-01-08 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:28:04] Production.INFO: count ==21
[2025-01-08 21:28:04] Production.INFO: Account Balance End.
[2025-01-08 21:28:04] Production.ERROR: done
[2025-01-08 21:28:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:28:04] Production.INFO: ==17872== Releasing lock...
[2025-01-08 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204984') start
[2025-01-08 21:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204984') end
[2025-01-08 21:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:28:04] Production.INFO: 1
[2025-01-08 21:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:28:04] Production.INFO: ==17876== Releasing lock...
[2025-01-08 21:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:28:05
[end_date_ymd] => 2025-01-08 21:28:05
[RateCDR] => 1
)
[2025-01-08 21:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:28:05' and `end` < '2025-01-08 21:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:28:12] Production.ERROR: CronJobId end10
[2025-01-08 21:28:12] Production.INFO: ==17870== Releasing lock...
[2025-01-08 21:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:28:13] Production.INFO: call_cost start
[2025-01-08 21:28:13] Production.INFO: call_cost end
[2025-01-08 21:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:28:14] Production.INFO: ==17866== Releasing lock...
[2025-01-08 21:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:28:18] Production.INFO: count ==1098
[2025-01-08 21:28:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:28:05 - End Time 2025-01-08 21:28:05
[2025-01-08 21:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204985', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204985', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204985', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204985', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:28:18] Production.INFO: ProcessCDR(1,14204985,1,1,2)
[2025-01-08 21:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204985', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204985', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:28:21] Production.INFO: ==17874== Releasing lock...
[2025-01-08 21:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:28:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-09 02:29:01] Production.INFO: ==17929== Lock acquired, processing the job...
[2025-01-09 02:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:29:01] Production.INFO: neon service started
[2025-01-09 02:29:01] Production.INFO: neon service started
[2025-01-09 02:29:01] Production.INFO: ==17929== Releasing lock...
[2025-01-09 02:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:29:02] Production.INFO: ==17932== Lock acquired, processing the job...
[2025-01-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:29:02] Production.INFO: ==17934== Lock acquired, processing the job...
[2025-01-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:29:02] Production.INFO: ==17934== Releasing lock...
[2025-01-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:29:02] Production.INFO: ==17932== Releasing lock...
[2025-01-08 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:29:03] Production.INFO: ==17936== Lock acquired, processing the job...
[2025-01-08 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:29:03] Production.INFO: ==17944== Lock acquired, processing the job...
[2025-01-08 21:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:29:03] Production.INFO: ==17938== Lock acquired, processing the job...
[2025-01-08 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:29:03] Production.INFO: ==17940== Lock acquired, processing the job...
[2025-01-08 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:29:03] Production.INFO: ==17942== Lock acquired, processing the job...
[2025-01-08 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:29:03] Production.INFO: ==17946== Lock acquired, processing the job...
[2025-01-08 21:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:29:03] Production.ERROR: done
[2025-01-08 21:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:29:03] Production.INFO: Account Balance Start.
[2025-01-08 21:29:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:29:03] Production.INFO: 117
[2025-01-08 21:29:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:29:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:29:03] Production.ERROR: done
[2025-01-08 21:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:29:03] Production.INFO: count ==21
[2025-01-08 21:29:03] Production.INFO: Total Charge 0
[2025-01-08 21:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:29:03] Production.INFO: CreateAllLog End
[2025-01-08 21:29:03] Production.INFO: count ==21
[2025-01-08 21:29:03] Production.INFO: ==17938== Releasing lock...
[2025-01-08 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204988') start
[2025-01-08 21:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14204988') end
[2025-01-08 21:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:29:03] Production.INFO: 1
[2025-01-08 21:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:29:03] Production.INFO: Account Balance End.
[2025-01-08 21:29:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:29:04] Production.INFO: ==17942== Releasing lock...
[2025-01-08 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:29:04] Production.INFO: ==17946== Releasing lock...
[2025-01-08 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:29:04
[end_date_ymd] => 2025-01-08 21:29:04
[RateCDR] => 1
)
[2025-01-08 21:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:29:04' and `end` < '2025-01-08 21:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:29:11] Production.ERROR: CronJobId end10
[2025-01-08 21:29:11] Production.INFO: ==17940== Releasing lock...
[2025-01-08 21:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:29:13] Production.INFO: call_cost start
[2025-01-08 21:29:13] Production.INFO: call_cost end
[2025-01-08 21:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:29:14] Production.INFO: ==17936== Releasing lock...
[2025-01-08 21:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:29:17] Production.INFO: count ==1095
[2025-01-08 21:29:17] Production.ERROR: pbx CDR StartTime 2025-01-08 18:29:04 - End Time 2025-01-08 21:29:04
[2025-01-08 21:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204990', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204990', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204990', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204990', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:29:17] Production.INFO: ProcessCDR(1,14204990,1,1,2)
[2025-01-08 21:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204990', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204990', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:29:21] Production.INFO: ==17944== Releasing lock...
[2025-01-08 21:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:29:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-09 02:30:02] Production.INFO: ==18002== Lock acquired, processing the job...
[2025-01-09 02:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:30:02] Production.INFO: neon service started
[2025-01-09 02:30:02] Production.INFO: neon service started
[2025-01-09 02:30:02] Production.INFO: ==18002== Releasing lock...
[2025-01-09 02:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:30:02] Production.INFO: ==18006== Lock acquired, processing the job...
[2025-01-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:30:02] Production.INFO: ==18006== Releasing lock...
[2025-01-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:30:02] Production.INFO: ==18004== Lock acquired, processing the job...
[2025-01-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:30:02] Production.INFO: ==18004== Releasing lock...
[2025-01-08 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:30:03] Production.INFO: ==18009== Lock acquired, processing the job...
[2025-01-08 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 21:30:03] Production.INFO: ==18011== Lock acquired, processing the job...
[2025-01-08 21:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 21:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 21:30:03] Production.INFO: ==18009== Releasing lock...
[2025-01-08 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 21:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 21:30:03] Production.INFO: ==18015== Lock acquired, processing the job...
[2025-01-08 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:30:03] Production.INFO: ==18021== Lock acquired, processing the job...
[2025-01-08 21:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 21:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:30:04] Production.INFO: ==18013== Lock acquired, processing the job...
[2025-01-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:30:04] Production.INFO: ==18023== Lock acquired, processing the job...
[2025-01-08 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:30:04] Production.INFO: ==18017== Lock acquired, processing the job...
[2025-01-08 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:30:04] Production.INFO: ==18019== Lock acquired, processing the job...
[2025-01-08 21:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:30:04] Production.INFO: Account Balance Start.
[2025-01-08 21:30:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:30:04] Production.INFO: 117
[2025-01-08 21:30:04] Production.ERROR: done
[2025-01-08 21:30:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:30:04] Production.INFO: count ==21
[2025-01-08 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:30:04] Production.INFO: count ==21
[2025-01-08 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204995', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204992') start
[2025-01-08 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14204992') end
[2025-01-08 21:30:04] Production.INFO: Total Charge 0
[2025-01-08 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:30:04] Production.INFO: 1
[2025-01-08 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:30:04] Production.INFO: ==18013== Releasing lock...
[2025-01-08 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:30:04] Production.INFO: CreateAllLog End
[2025-01-08 21:30:04] Production.INFO: ==18023== Releasing lock...
[2025-01-08 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:30:04] Production.ERROR: done
[2025-01-08 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:30:04] Production.INFO: Account Balance End.
[2025-01-08 21:30:05] Production.ERROR: CronJobId end 12
[2025-01-08 21:30:05] Production.INFO: ==18017== Releasing lock...
[2025-01-08 21:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:30:05] Production.ERROR: done
[2025-01-08 21:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:30:06
[end_date_ymd] => 2025-01-08 21:30:06
[RateCDR] => 1
)
[2025-01-08 21:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:30:06' and `end` < '2025-01-08 21:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14204995', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 21:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 21:30:08] Production.INFO: ProcessCDR(1,14204995,1,1,2)
[2025-01-08 21:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14204995,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14204995,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:30:08] Production.INFO: ==18021== Releasing lock...
[2025-01-08 21:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 21:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 21:30:14] Production.ERROR: CronJobId end10
[2025-01-08 21:30:14] Production.INFO: ==18015== Releasing lock...
[2025-01-08 21:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:30:16] Production.INFO: call_cost start
[2025-01-08 21:30:16] Production.INFO: call_cost end
[2025-01-08 21:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:30:16] Production.INFO: ==18011== Releasing lock...
[2025-01-08 21:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:30:20] Production.INFO: count ==1092
[2025-01-08 21:30:20] Production.ERROR: pbx CDR StartTime 2025-01-08 18:30:06 - End Time 2025-01-08 21:30:06
[2025-01-08 21:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204996', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14204996', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204996', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14204996', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:30:20] Production.INFO: ProcessCDR(1,14204996,1,1,2)
[2025-01-08 21:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14204996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14204996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14204996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14204996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204996', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14204996', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:30:23] Production.INFO: ==18019== Releasing lock...
[2025-01-08 21:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:30:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-09 02:31:01] Production.INFO: ==18085== Lock acquired, processing the job...
[2025-01-09 02:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:31:01] Production.INFO: neon service started
[2025-01-09 02:31:01] Production.INFO: neon service started
[2025-01-09 02:31:01] Production.INFO: ==18085== Releasing lock...
[2025-01-09 02:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:31:02] Production.INFO: ==18087== Lock acquired, processing the job...
[2025-01-08 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:31:02] Production.INFO: ==18089== Lock acquired, processing the job...
[2025-01-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 21:31:02] Production.INFO: ==18087== Releasing lock...
[2025-01-08 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:31:02] Production.INFO: ==18089== Releasing lock...
[2025-01-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:31:03] Production.INFO: ==18098== Lock acquired, processing the job...
[2025-01-08 21:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:31:03] Production.INFO: ==18100== Lock acquired, processing the job...
[2025-01-08 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:31:03] Production.INFO: Account Balance Start.
[2025-01-08 21:31:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:31:03] Production.INFO: 117
[2025-01-08 21:31:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:31:03] Production.INFO: ==18091== Lock acquired, processing the job...
[2025-01-08 21:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:31:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:31:03] Production.INFO: Total Charge 0
[2025-01-08 21:31:03] Production.INFO: ==18094== Lock acquired, processing the job...
[2025-01-08 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:31:03] Production.INFO: CreateAllLog End
[2025-01-08 21:31:03] Production.INFO: ==18096== Lock acquired, processing the job...
[2025-01-08 21:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:31:03] Production.INFO: Account Balance End.
[2025-01-08 21:31:03] Production.INFO: ==18102== Lock acquired, processing the job...
[2025-01-08 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:31:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:31:03] Production.INFO: ==18098== Releasing lock...
[2025-01-08 21:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:31:03] Production.ERROR: done
[2025-01-08 21:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:31:03] Production.INFO: count ==21
[2025-01-08 21:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:31:03] Production.INFO: count ==21
[2025-01-08 21:31:03] Production.ERROR: done
[2025-01-08 21:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205000') start
[2025-01-08 21:31:04] Production.INFO: ==18094== Releasing lock...
[2025-01-08 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205000') end
[2025-01-08 21:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:31:04] Production.INFO: 1
[2025-01-08 21:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:31:04] Production.INFO: ==18102== Releasing lock...
[2025-01-08 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:31:04
[end_date_ymd] => 2025-01-08 21:31:04
[RateCDR] => 1
)
[2025-01-08 21:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:31:04' and `end` < '2025-01-08 21:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:31:11] Production.ERROR: CronJobId end10
[2025-01-08 21:31:11] Production.INFO: ==18096== Releasing lock...
[2025-01-08 21:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:31:12] Production.INFO: call_cost start
[2025-01-08 21:31:12] Production.INFO: call_cost end
[2025-01-08 21:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:31:13] Production.INFO: ==18091== Releasing lock...
[2025-01-08 21:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:31:18] Production.INFO: count ==1026
[2025-01-08 21:31:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:31:04 - End Time 2025-01-08 21:31:04
[2025-01-08 21:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205001', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205001', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205001', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205001', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:31:18] Production.INFO: ProcessCDR(1,14205001,1,1,2)
[2025-01-08 21:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205001', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205001', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:31:21] Production.INFO: ==18100== Releasing lock...
[2025-01-08 21:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:31:21] Production.INFO: 35.25 MB #Memory Used#
[2025-01-09 02:32:02] Production.INFO: ==18159== Lock acquired, processing the job...
[2025-01-09 02:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:32:02] Production.INFO: neon service started
[2025-01-09 02:32:02] Production.INFO: neon service started
[2025-01-09 02:32:02] Production.INFO: ==18159== Releasing lock...
[2025-01-09 02:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:32:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:32:02] Production.INFO: ==18163== Lock acquired, processing the job...
[2025-01-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 21:32:02] Production.INFO: ==18161== Lock acquired, processing the job...
[2025-01-08 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:32:02] Production.INFO: ==18163== Releasing lock...
[2025-01-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:32:03] Production.INFO: ==18161== Releasing lock...
[2025-01-08 21:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:32:03] Production.INFO: ==18170== Lock acquired, processing the job...
[2025-01-08 21:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:32:04] Production.INFO: ==18166== Lock acquired, processing the job...
[2025-01-08 21:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:32:04] Production.INFO: ==18174== Lock acquired, processing the job...
[2025-01-08 21:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:32:04] Production.INFO: ==18168== Lock acquired, processing the job...
[2025-01-08 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:32:04] Production.INFO: ==18176== Lock acquired, processing the job...
[2025-01-08 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:32:04] Production.INFO: ==18172== Lock acquired, processing the job...
[2025-01-08 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:32:04] Production.INFO: count ==21
[2025-01-08 21:32:04] Production.ERROR: done
[2025-01-08 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:32:04] Production.INFO: Account Balance Start.
[2025-01-08 21:32:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:32:04] Production.INFO: 117
[2025-01-08 21:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:32:04] Production.INFO: count ==21
[2025-01-08 21:32:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205004') start
[2025-01-08 21:32:04] Production.ERROR: done
[2025-01-08 21:32:04] Production.INFO: ==18168== Releasing lock...
[2025-01-08 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:32:04] Production.INFO: Total Charge 0
[2025-01-08 21:32:04] Production.INFO: CreateAllLog End
[2025-01-08 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205004') end
[2025-01-08 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:32:04] Production.INFO: 1
[2025-01-08 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:32:04] Production.INFO: Account Balance End.
[2025-01-08 21:32:04] Production.INFO: ==18176== Releasing lock...
[2025-01-08 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:32:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:32:04] Production.INFO: ==18172== Releasing lock...
[2025-01-08 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:32:05
[end_date_ymd] => 2025-01-08 21:32:05
[RateCDR] => 1
)
[2025-01-08 21:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:32:05' and `end` < '2025-01-08 21:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:32:11] Production.ERROR: CronJobId end10
[2025-01-08 21:32:11] Production.INFO: ==18170== Releasing lock...
[2025-01-08 21:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:32:13] Production.INFO: call_cost start
[2025-01-08 21:32:13] Production.INFO: call_cost end
[2025-01-08 21:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:32:14] Production.INFO: ==18166== Releasing lock...
[2025-01-08 21:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:32:19] Production.INFO: count ==1013
[2025-01-08 21:32:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:32:05 - End Time 2025-01-08 21:32:05
[2025-01-08 21:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205006', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205006', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205006', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205006', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:32:19] Production.INFO: ProcessCDR(1,14205006,1,1,2)
[2025-01-08 21:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205006', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205006', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:32:22] Production.INFO: ==18174== Releasing lock...
[2025-01-08 21:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:32:22] Production.INFO: 35.25 MB #Memory Used#
[2025-01-09 02:33:01] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-01-09 02:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:33:01] Production.INFO: neon service started
[2025-01-09 02:33:01] Production.INFO: neon service started
[2025-01-09 02:33:01] Production.INFO: ==18228== Releasing lock...
[2025-01-09 02:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:33:01] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-01-09 02:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:33:01] Production.INFO: ==18232== Releasing lock...
[2025-01-09 02:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:33:02] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-01-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:33:02] Production.INFO: ==18230== Releasing lock...
[2025-01-08 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:33:03] Production.INFO: ==18241== Lock acquired, processing the job...
[2025-01-08 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:33:03] Production.INFO: ==18234== Lock acquired, processing the job...
[2025-01-08 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:33:03] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-01-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:33:03] Production.INFO: Account Balance Start.
[2025-01-08 21:33:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:33:03] Production.INFO: 117
[2025-01-08 21:33:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:33:03] Production.INFO: ==18239== Lock acquired, processing the job...
[2025-01-08 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:33:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:33:03] Production.INFO: ==18243== Lock acquired, processing the job...
[2025-01-08 21:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:33:03] Production.INFO: Total Charge 0
[2025-01-08 21:33:03] Production.INFO: CreateAllLog End
[2025-01-08 21:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:33:03] Production.INFO: ==18245== Lock acquired, processing the job...
[2025-01-08 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:33:03] Production.INFO: ==18236== Releasing lock...
[2025-01-08 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:33:03] Production.INFO: Account Balance End.
[2025-01-08 21:33:03] Production.INFO: count ==21
[2025-01-08 21:33:03] Production.ERROR: done
[2025-01-08 21:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:33:03] Production.INFO: count ==21
[2025-01-08 21:33:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:33:03] Production.INFO: ==18241== Releasing lock...
[2025-01-08 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205010') start
[2025-01-08 21:33:04] Production.ERROR: done
[2025-01-08 21:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205010') end
[2025-01-08 21:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:33:04] Production.INFO: 1
[2025-01-08 21:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:33:04] Production.INFO: ==18245== Releasing lock...
[2025-01-08 21:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:33:05
[end_date_ymd] => 2025-01-08 21:33:05
[RateCDR] => 1
)
[2025-01-08 21:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:33:05' and `end` < '2025-01-08 21:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:33:10] Production.ERROR: CronJobId end10
[2025-01-08 21:33:10] Production.INFO: ==18239== Releasing lock...
[2025-01-08 21:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:33:12] Production.INFO: call_cost start
[2025-01-08 21:33:12] Production.INFO: call_cost end
[2025-01-08 21:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:33:13] Production.INFO: ==18234== Releasing lock...
[2025-01-08 21:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:33:18] Production.INFO: count ==995
[2025-01-08 21:33:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:33:05 - End Time 2025-01-08 21:33:05
[2025-01-08 21:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205011', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205011', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205011', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205011', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:33:18] Production.INFO: ProcessCDR(1,14205011,1,1,2)
[2025-01-08 21:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205011', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205011', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:33:22] Production.INFO: ==18243== Releasing lock...
[2025-01-08 21:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:33:22] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:34:01] Production.INFO: ==18297== Lock acquired, processing the job...
[2025-01-09 02:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:34:02] Production.INFO: neon service started
[2025-01-09 02:34:02] Production.INFO: neon service started
[2025-01-09 02:34:02] Production.INFO: ==18297== Releasing lock...
[2025-01-09 02:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:34:02] Production.INFO: ==18299== Lock acquired, processing the job...
[2025-01-08 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:34:02] Production.INFO: ==18299== Releasing lock...
[2025-01-08 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:34:02] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-01-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:34:02] Production.INFO: ==18301== Releasing lock...
[2025-01-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:34:03] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-01-08 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:34:03] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-01-08 21:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:34:03] Production.INFO: ==18304== Lock acquired, processing the job...
[2025-01-08 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:34:03] Production.INFO: ==18306== Lock acquired, processing the job...
[2025-01-08 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:34:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-01-08 21:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:34:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-01-08 21:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:34:03] Production.INFO: count ==21
[2025-01-08 21:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:34:03] Production.INFO: count ==21
[2025-01-08 21:34:03] Production.ERROR: done
[2025-01-08 21:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205012') start
[2025-01-08 21:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:34:03] Production.INFO: Account Balance Start.
[2025-01-08 21:34:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:34:03] Production.INFO: 117
[2025-01-08 21:34:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:34:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205012') end
[2025-01-08 21:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:34:03] Production.INFO: 1
[2025-01-08 21:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:34:03] Production.INFO: Total Charge 0
[2025-01-08 21:34:03] Production.INFO: CreateAllLog End
[2025-01-08 21:34:04] Production.ERROR: done
[2025-01-08 21:34:04] Production.INFO: ==18314== Releasing lock...
[2025-01-08 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:34:04] Production.INFO: Account Balance End.
[2025-01-08 21:34:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:34:04] Production.INFO: ==18310== Releasing lock...
[2025-01-08 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:34:04] Production.INFO: ==18306== Releasing lock...
[2025-01-08 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:34:05
[end_date_ymd] => 2025-01-08 21:34:05
[RateCDR] => 1
)
[2025-01-08 21:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:34:05' and `end` < '2025-01-08 21:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:34:11] Production.ERROR: CronJobId end10
[2025-01-08 21:34:11] Production.INFO: ==18308== Releasing lock...
[2025-01-08 21:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:34:13] Production.INFO: call_cost start
[2025-01-08 21:34:13] Production.INFO: call_cost end
[2025-01-08 21:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:34:14] Production.INFO: ==18304== Releasing lock...
[2025-01-08 21:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:34:18] Production.INFO: count ==993
[2025-01-08 21:34:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:34:05 - End Time 2025-01-08 21:34:05
[2025-01-08 21:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205016', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205016', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205016', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205016', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:34:18] Production.INFO: ProcessCDR(1,14205016,1,1,2)
[2025-01-08 21:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205016', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205016', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:34:21] Production.INFO: ==18312== Releasing lock...
[2025-01-08 21:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:34:21] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:35:01] Production.INFO: ==18366== Lock acquired, processing the job...
[2025-01-09 02:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:35:01] Production.INFO: neon service started
[2025-01-09 02:35:01] Production.INFO: neon service started
[2025-01-09 02:35:01] Production.INFO: ==18366== Releasing lock...
[2025-01-09 02:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:35:01] Production.INFO: ==18370== Lock acquired, processing the job...
[2025-01-09 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:35:01] Production.INFO: ==18370== Releasing lock...
[2025-01-09 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:35:01] Production.INFO: ==18368== Lock acquired, processing the job...
[2025-01-08 21:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:35:02] Production.INFO: ==18368== Releasing lock...
[2025-01-08 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:35:02] Production.INFO: ==18373== Lock acquired, processing the job...
[2025-01-08 21:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:35:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:35:02] Production.INFO: ==18375== Lock acquired, processing the job...
[2025-01-08 21:35:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:35:02] Production.INFO: ==18377== Lock acquired, processing the job...
[2025-01-08 21:35:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:35:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:35:03] Production.INFO: ==18379== Lock acquired, processing the job...
[2025-01-08 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:35:03] Production.INFO: ==18375== Releasing lock...
[2025-01-08 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:35:03] Production.INFO: ==18381== Lock acquired, processing the job...
[2025-01-08 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:35:03] Production.INFO: Account Balance Start.
[2025-01-08 21:35:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:35:03] Production.INFO: 117
[2025-01-08 21:35:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:35:03] Production.INFO: ==18383== Lock acquired, processing the job...
[2025-01-08 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:35:03] Production.INFO: Total Charge 0
[2025-01-08 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:35:03] Production.INFO: CreateAllLog End
[2025-01-08 21:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:35:03] Production.INFO: count ==21
[2025-01-08 21:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:35:03] Production.INFO: count ==21
[2025-01-08 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205020') start
[2025-01-08 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205020') end
[2025-01-08 21:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:35:03] Production.INFO: 1
[2025-01-08 21:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:35:03] Production.ERROR: done
[2025-01-08 21:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:35:03] Production.INFO: ==18383== Releasing lock...
[2025-01-08 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:35:03] Production.INFO: Account Balance End.
[2025-01-08 21:35:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:35:03] Production.INFO: ==18379== Releasing lock...
[2025-01-08 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:35:03] Production.ERROR: done
[2025-01-08 21:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:35:04
[end_date_ymd] => 2025-01-08 21:35:04
[RateCDR] => 1
)
[2025-01-08 21:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:35:04' and `end` < '2025-01-08 21:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:35:10] Production.ERROR: CronJobId end10
[2025-01-08 21:35:10] Production.INFO: ==18377== Releasing lock...
[2025-01-08 21:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:35:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:35:11] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:35:11] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:35:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:35:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:35:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:35:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:35:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:35:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:35:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:35:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:35:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:35:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:35:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:35:12] Production.INFO: call_cost start
[2025-01-08 21:35:12] Production.INFO: call_cost end
[2025-01-08 21:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:35:13] Production.INFO: ==18373== Releasing lock...
[2025-01-08 21:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:35:17] Production.INFO: count ==993
[2025-01-08 21:35:17] Production.ERROR: pbx CDR StartTime 2025-01-08 18:35:04 - End Time 2025-01-08 21:35:04
[2025-01-08 21:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205021', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205021', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205021', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205021', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:35:17] Production.INFO: ProcessCDR(1,14205021,1,1,2)
[2025-01-08 21:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205021', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205021', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:35:21] Production.INFO: ==18381== Releasing lock...
[2025-01-08 21:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:35:21] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:36:01] Production.INFO: ==18438== Lock acquired, processing the job...
[2025-01-09 02:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:36:01] Production.INFO: neon service started
[2025-01-09 02:36:01] Production.INFO: neon service started
[2025-01-09 02:36:01] Production.INFO: ==18438== Releasing lock...
[2025-01-09 02:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:36:02] Production.INFO: ==18440== Lock acquired, processing the job...
[2025-01-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:36:02] Production.INFO: ==18440== Releasing lock...
[2025-01-08 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:36:02] Production.INFO: ==18442== Lock acquired, processing the job...
[2025-01-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:36:02] Production.INFO: ==18442== Releasing lock...
[2025-01-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:36:03] Production.INFO: ==18447== Lock acquired, processing the job...
[2025-01-08 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:36:03] Production.INFO: ==18445== Lock acquired, processing the job...
[2025-01-08 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:36:03] Production.INFO: ==18449== Lock acquired, processing the job...
[2025-01-08 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:36:03] Production.INFO: ==18451== Lock acquired, processing the job...
[2025-01-08 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:36:03] Production.INFO: Account Balance Start.
[2025-01-08 21:36:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:36:03] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-01-08 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:36:03] Production.INFO: 117
[2025-01-08 21:36:03] Production.INFO: ==18453== Lock acquired, processing the job...
[2025-01-08 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:36:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:36:03] Production.INFO: ==18447== Releasing lock...
[2025-01-08 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:36:03] Production.INFO: Total Charge 0
[2025-01-08 21:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:36:03] Production.INFO: count ==21
[2025-01-08 21:36:03] Production.INFO: CreateAllLog End
[2025-01-08 21:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:36:03] Production.INFO: count ==21
[2025-01-08 21:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205025') start
[2025-01-08 21:36:04] Production.ERROR: done
[2025-01-08 21:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205025') end
[2025-01-08 21:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:36:04] Production.INFO: 1
[2025-01-08 21:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:36:04] Production.INFO: Account Balance End.
[2025-01-08 21:36:04] Production.ERROR: done
[2025-01-08 21:36:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:36:04] Production.INFO: ==18451== Releasing lock...
[2025-01-08 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:36:04] Production.INFO: ==18455== Releasing lock...
[2025-01-08 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:36:04
[end_date_ymd] => 2025-01-08 21:36:04
[RateCDR] => 1
)
[2025-01-08 21:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:36:04' and `end` < '2025-01-08 21:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:36:12] Production.ERROR: CronJobId end10
[2025-01-08 21:36:12] Production.INFO: ==18449== Releasing lock...
[2025-01-08 21:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:36:13] Production.INFO: call_cost start
[2025-01-08 21:36:13] Production.INFO: call_cost end
[2025-01-08 21:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:36:13] Production.INFO: ==18445== Releasing lock...
[2025-01-08 21:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:36:17] Production.INFO: count ==992
[2025-01-08 21:36:17] Production.ERROR: pbx CDR StartTime 2025-01-08 18:36:04 - End Time 2025-01-08 21:36:04
[2025-01-08 21:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205026', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205026', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205026', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205026', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:36:17] Production.INFO: ProcessCDR(1,14205026,1,1,2)
[2025-01-08 21:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205026', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205026', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:36:21] Production.INFO: ==18453== Releasing lock...
[2025-01-08 21:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:36:21] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:37:02] Production.INFO: ==18507== Lock acquired, processing the job...
[2025-01-09 02:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:37:02] Production.INFO: neon service started
[2025-01-09 02:37:02] Production.INFO: neon service started
[2025-01-09 02:37:02] Production.INFO: ==18507== Releasing lock...
[2025-01-09 02:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:37:02] Production.INFO: ==18509== Lock acquired, processing the job...
[2025-01-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:37:02] Production.INFO: ==18509== Releasing lock...
[2025-01-08 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:37:02] Production.INFO: ==18511== Lock acquired, processing the job...
[2025-01-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:37:03] Production.INFO: ==18511== Releasing lock...
[2025-01-09 02:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:37:03] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-01-08 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:37:03] Production.INFO: ==18514== Lock acquired, processing the job...
[2025-01-08 21:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:37:03] Production.INFO: ==18524== Lock acquired, processing the job...
[2025-01-08 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:37:04] Production.INFO: ==18518== Lock acquired, processing the job...
[2025-01-08 21:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:37:04] Production.INFO: count ==21
[2025-01-08 21:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:37:04] Production.INFO: ==18520== Lock acquired, processing the job...
[2025-01-08 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:37:04] Production.INFO: count ==21
[2025-01-08 21:37:04] Production.INFO: ==18522== Lock acquired, processing the job...
[2025-01-08 21:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205028') start
[2025-01-08 21:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:37:04] Production.INFO: Account Balance Start.
[2025-01-08 21:37:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:37:04] Production.INFO: 117
[2025-01-08 21:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205028') end
[2025-01-08 21:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:37:04] Production.INFO: 1
[2025-01-08 21:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:37:04] Production.INFO: ==18524== Releasing lock...
[2025-01-08 21:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:37:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:37:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:37:04] Production.INFO: ==18516== Releasing lock...
[2025-01-08 21:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:37:04] Production.INFO: Total Charge 0
[2025-01-08 21:37:04] Production.INFO: CreateAllLog End
[2025-01-08 21:37:04] Production.ERROR: done
[2025-01-08 21:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:37:04] Production.ERROR: done
[2025-01-08 21:37:04] Production.INFO: Account Balance End.
[2025-01-08 21:37:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:37:04] Production.INFO: ==18520== Releasing lock...
[2025-01-08 21:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:37:05
[end_date_ymd] => 2025-01-08 21:37:05
[RateCDR] => 1
)
[2025-01-08 21:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:37:05' and `end` < '2025-01-08 21:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:37:12] Production.ERROR: CronJobId end10
[2025-01-08 21:37:12] Production.INFO: ==18518== Releasing lock...
[2025-01-08 21:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:37:13] Production.INFO: call_cost start
[2025-01-08 21:37:13] Production.INFO: call_cost end
[2025-01-08 21:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:37:14] Production.INFO: ==18514== Releasing lock...
[2025-01-08 21:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:37:19] Production.INFO: count ==983
[2025-01-08 21:37:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:37:05 - End Time 2025-01-08 21:37:05
[2025-01-08 21:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205031', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205031', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205031', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205031', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:37:19] Production.INFO: ProcessCDR(1,14205031,1,1,2)
[2025-01-08 21:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205031', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205031', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:37:22] Production.INFO: ==18522== Releasing lock...
[2025-01-08 21:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:37:22] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:38:01] Production.INFO: ==18584== Lock acquired, processing the job...
[2025-01-09 02:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:38:01] Production.INFO: neon service started
[2025-01-09 02:38:01] Production.INFO: neon service started
[2025-01-09 02:38:01] Production.INFO: ==18584== Releasing lock...
[2025-01-09 02:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:38:02] Production.INFO: ==18586== Lock acquired, processing the job...
[2025-01-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:38:02] Production.INFO: ==18588== Lock acquired, processing the job...
[2025-01-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:38:02] Production.INFO: ==18588== Releasing lock...
[2025-01-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:38:02] Production.INFO: ==18586== Releasing lock...
[2025-01-08 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:38:03] Production.INFO: ==18591== Lock acquired, processing the job...
[2025-01-08 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:38:03] Production.INFO: ==18593== Lock acquired, processing the job...
[2025-01-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:38:03] Production.INFO: ==18597== Lock acquired, processing the job...
[2025-01-08 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:38:03] Production.INFO: Account Balance Start.
[2025-01-08 21:38:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:38:03] Production.INFO: 117
[2025-01-08 21:38:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:38:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:38:03] Production.INFO: Total Charge 0
[2025-01-08 21:38:03] Production.INFO: CreateAllLog End
[2025-01-08 21:38:03] Production.INFO: ==18595== Lock acquired, processing the job...
[2025-01-08 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:38:03] Production.INFO: Account Balance End.
[2025-01-08 21:38:03] Production.INFO: ==18593== Releasing lock...
[2025-01-08 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:38:03] Production.INFO: ==18599== Lock acquired, processing the job...
[2025-01-08 21:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:38:03] Production.INFO: ==18601== Lock acquired, processing the job...
[2025-01-08 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:38:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:38:03] Production.INFO: ==18597== Releasing lock...
[2025-01-08 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:38:03] Production.INFO: count ==21
[2025-01-08 21:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:38:03] Production.INFO: count ==21
[2025-01-08 21:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205035') start
[2025-01-08 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205035') end
[2025-01-08 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:38:04] Production.INFO: 1
[2025-01-08 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:38:04] Production.ERROR: done
[2025-01-08 21:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:38:04] Production.INFO: ==18601== Releasing lock...
[2025-01-08 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:38:04] Production.ERROR: done
[2025-01-08 21:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:38:04
[end_date_ymd] => 2025-01-08 21:38:04
[RateCDR] => 1
)
[2025-01-08 21:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:38:04' and `end` < '2025-01-08 21:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:38:12] Production.ERROR: CronJobId end10
[2025-01-08 21:38:12] Production.INFO: ==18595== Releasing lock...
[2025-01-08 21:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:38:13] Production.INFO: call_cost start
[2025-01-08 21:38:13] Production.INFO: call_cost end
[2025-01-08 21:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:38:14] Production.INFO: ==18591== Releasing lock...
[2025-01-08 21:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:38:18] Production.INFO: count ==983
[2025-01-08 21:38:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:38:04 - End Time 2025-01-08 21:38:04
[2025-01-08 21:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205036', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205036', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205036', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205036', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:38:18] Production.INFO: ProcessCDR(1,14205036,1,1,2)
[2025-01-08 21:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205036', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205036', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:38:21] Production.INFO: ==18599== Releasing lock...
[2025-01-08 21:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:38:21] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:39:02] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-01-09 02:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:39:02] Production.INFO: neon service started
[2025-01-09 02:39:02] Production.INFO: neon service started
[2025-01-09 02:39:02] Production.INFO: ==18656== Releasing lock...
[2025-01-09 02:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:39:02] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-08 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:39:02] Production.INFO: ==18658== Releasing lock...
[2025-01-08 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:39:02] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-01-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:39:02] Production.INFO: ==18660== Releasing lock...
[2025-01-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:39:03] Production.INFO: ==18662== Lock acquired, processing the job...
[2025-01-08 21:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:39:03] Production.INFO: ==18670== Lock acquired, processing the job...
[2025-01-08 21:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:39:03] Production.INFO: ==18666== Lock acquired, processing the job...
[2025-01-08 21:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:39:03] Production.INFO: ==18664== Lock acquired, processing the job...
[2025-01-08 21:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:39:03] Production.INFO: ==18668== Lock acquired, processing the job...
[2025-01-08 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:39:03] Production.INFO: ==18672== Lock acquired, processing the job...
[2025-01-08 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:39:03] Production.ERROR: done
[2025-01-08 21:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:39:03] Production.INFO: Account Balance Start.
[2025-01-08 21:39:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:39:03] Production.INFO: 117
[2025-01-08 21:39:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:39:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:39:03] Production.INFO: count ==21
[2025-01-08 21:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:39:03] Production.INFO: count ==21
[2025-01-08 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205040') start
[2025-01-08 21:39:04] Production.ERROR: done
[2025-01-08 21:39:04] Production.INFO: Total Charge 0
[2025-01-08 21:39:04] Production.INFO: CreateAllLog End
[2025-01-08 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205040') end
[2025-01-08 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:39:04] Production.INFO: 1
[2025-01-08 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:39:04] Production.INFO: ==18664== Releasing lock...
[2025-01-08 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:39:04] Production.INFO: ==18672== Releasing lock...
[2025-01-08 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:39:04] Production.INFO: Account Balance End.
[2025-01-08 21:39:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:39:04] Production.INFO: ==18668== Releasing lock...
[2025-01-08 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:39:05
[end_date_ymd] => 2025-01-08 21:39:05
[RateCDR] => 1
)
[2025-01-08 21:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:39:05' and `end` < '2025-01-08 21:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:39:10] Production.ERROR: CronJobId end10
[2025-01-08 21:39:10] Production.INFO: ==18666== Releasing lock...
[2025-01-08 21:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:39:13] Production.INFO: call_cost start
[2025-01-08 21:39:13] Production.INFO: call_cost end
[2025-01-08 21:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:39:14] Production.INFO: ==18662== Releasing lock...
[2025-01-08 21:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:39:18] Production.INFO: count ==982
[2025-01-08 21:39:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:39:05 - End Time 2025-01-08 21:39:05
[2025-01-08 21:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205041', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205041', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205041', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205041', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:39:18] Production.INFO: ProcessCDR(1,14205041,1,1,2)
[2025-01-08 21:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205041', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205041', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:39:21] Production.INFO: ==18670== Releasing lock...
[2025-01-08 21:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:39:21] Production.INFO: 35 MB #Memory Used#
[2025-01-09 02:40:01] Production.INFO: ==18726== Lock acquired, processing the job...
[2025-01-09 02:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:40:01] Production.INFO: neon service started
[2025-01-09 02:40:01] Production.INFO: neon service started
[2025-01-09 02:40:01] Production.INFO: ==18726== Releasing lock...
[2025-01-09 02:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:40:01] Production.INFO: ==18728== Lock acquired, processing the job...
[2025-01-08 21:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:40:02] Production.INFO: ==18730== Lock acquired, processing the job...
[2025-01-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:40:02] Production.INFO: ==18730== Releasing lock...
[2025-01-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:40:02] Production.INFO: ==18728== Releasing lock...
[2025-01-08 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:40:03] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 21:40:03] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:40:03] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 21:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 21:40:03] Production.ERROR: CronJob PID - 18743
[2025-01-08 21:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-08 21:40:03] Production.ERROR: CronJob ID - 16
[2025-01-08 21:40:03] Production.ERROR: CronJob Last Run Time 2025-01-08 21:40:00
[2025-01-08 21:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 21:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 21:40:03] Production.INFO: ==18745== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 21:40:03] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 21:40:03] Production.INFO: ==18733== Releasing lock...
[2025-01-08 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 21:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 21:40:03] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:40:03] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:40:03] Production.INFO: Account Balance Start.
[2025-01-08 21:40:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:40:03] Production.INFO: 117
[2025-01-08 21:40:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:40:03] Production.INFO: Total Charge 0
[2025-01-08 21:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:40:03] Production.INFO: CreateAllLog End
[2025-01-08 21:40:03] Production.INFO: ==18747== Lock acquired, processing the job...
[2025-01-08 21:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:40:03] Production.ERROR: done
[2025-01-08 21:40:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:40:03] Production.INFO: count ==21
[2025-01-08 21:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:40:03] Production.INFO: count ==21
[2025-01-08 21:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205045') start
[2025-01-08 21:40:04] Production.ERROR: done
[2025-01-08 21:40:04] Production.ERROR: done
[2025-01-08 21:40:04] Production.INFO: Account Balance End.
[2025-01-08 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205045') end
[2025-01-08 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:40:04] Production.INFO: 1
[2025-01-08 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205047', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 21:40:04] Production.INFO: ==18737== Releasing lock...
[2025-01-08 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:40:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:40:04] Production.INFO: ==18741== Releasing lock...
[2025-01-08 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:40:04] Production.INFO: ==18747== Releasing lock...
[2025-01-08 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:40:05
[end_date_ymd] => 2025-01-08 21:40:05
[RateCDR] => 1
)
[2025-01-08 21:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:40:05' and `end` < '2025-01-08 21:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205047', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 21:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 21:40:08] Production.INFO: ProcessCDR(1,14205047,1,1,2)
[2025-01-08 21:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205047,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205047,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:40:08] Production.INFO: ==18745== Releasing lock...
[2025-01-08 21:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 21:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 21:40:12] Production.ERROR: CronJobId end10
[2025-01-08 21:40:12] Production.INFO: ==18739== Releasing lock...
[2025-01-08 21:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:40:14] Production.INFO: call_cost start
[2025-01-08 21:40:14] Production.INFO: call_cost end
[2025-01-08 21:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:40:15] Production.INFO: ==18735== Releasing lock...
[2025-01-08 21:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:40:18] Production.INFO: count ==968
[2025-01-08 21:40:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:40:05 - End Time 2025-01-08 21:40:05
[2025-01-08 21:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205046', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205046', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205046', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205046', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:40:18] Production.INFO: ProcessCDR(1,14205046,1,1,2)
[2025-01-08 21:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205046', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205046', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:40:21] Production.INFO: ==18743== Releasing lock...
[2025-01-08 21:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:40:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 02:41:01] Production.INFO: ==18803== Lock acquired, processing the job...
[2025-01-09 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:41:01] Production.INFO: neon service started
[2025-01-09 02:41:01] Production.INFO: neon service started
[2025-01-09 02:41:01] Production.INFO: ==18803== Releasing lock...
[2025-01-09 02:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:41:02] Production.INFO: ==18805== Lock acquired, processing the job...
[2025-01-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:41:02] Production.INFO: ==18805== Releasing lock...
[2025-01-08 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:41:02] Production.INFO: ==18807== Lock acquired, processing the job...
[2025-01-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:41:02] Production.INFO: ==18807== Releasing lock...
[2025-01-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:41:03] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-01-08 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:41:03] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-01-08 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:41:03] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-01-08 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:41:03] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-01-08 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:41:03] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-01-08 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:41:03] Production.INFO: ==18811== Releasing lock...
[2025-01-08 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:41:03] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-01-08 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:41:03] Production.INFO: Account Balance Start.
[2025-01-08 21:41:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:41:03] Production.INFO: 117
[2025-01-08 21:41:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:41:03] Production.INFO: Total Charge 0
[2025-01-08 21:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:41:03] Production.INFO: CreateAllLog End
[2025-01-08 21:41:03] Production.INFO: count ==21
[2025-01-08 21:41:03] Production.ERROR: done
[2025-01-08 21:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:41:03] Production.INFO: count ==21
[2025-01-08 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205051') start
[2025-01-08 21:41:04] Production.ERROR: done
[2025-01-08 21:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205051') end
[2025-01-08 21:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:41:04] Production.INFO: 1
[2025-01-08 21:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:41:04] Production.INFO: Account Balance End.
[2025-01-08 21:41:04] Production.INFO: ==18819== Releasing lock...
[2025-01-08 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:41:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:41:04] Production.INFO: ==18815== Releasing lock...
[2025-01-08 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:41:04
[end_date_ymd] => 2025-01-08 21:41:04
[RateCDR] => 1
)
[2025-01-08 21:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:41:04' and `end` < '2025-01-08 21:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:41:11] Production.ERROR: CronJobId end10
[2025-01-08 21:41:11] Production.INFO: ==18813== Releasing lock...
[2025-01-08 21:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:41:13] Production.INFO: call_cost start
[2025-01-08 21:41:13] Production.INFO: call_cost end
[2025-01-08 21:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:41:14] Production.INFO: ==18809== Releasing lock...
[2025-01-08 21:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:41:18] Production.INFO: count ==950
[2025-01-08 21:41:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:41:04 - End Time 2025-01-08 21:41:04
[2025-01-08 21:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205052', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205052', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205052', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205052', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:41:18] Production.INFO: ProcessCDR(1,14205052,1,1,2)
[2025-01-08 21:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205052', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205052', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:41:21] Production.INFO: ==18817== Releasing lock...
[2025-01-08 21:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:41:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 02:42:02] Production.INFO: ==18912== Lock acquired, processing the job...
[2025-01-09 02:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:42:02] Production.INFO: neon service started
[2025-01-09 02:42:02] Production.INFO: neon service started
[2025-01-09 02:42:02] Production.INFO: ==18912== Releasing lock...
[2025-01-09 02:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:42:02] Production.INFO: ==18917== Lock acquired, processing the job...
[2025-01-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:42:02] Production.INFO: ==18917== Releasing lock...
[2025-01-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:42:02] Production.INFO: ==18915== Lock acquired, processing the job...
[2025-01-08 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:42:03] Production.INFO: ==18915== Releasing lock...
[2025-01-08 21:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:42:03] Production.INFO: ==18925== Lock acquired, processing the job...
[2025-01-08 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:42:03] Production.INFO: ==18929== Lock acquired, processing the job...
[2025-01-08 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:42:03] Production.INFO: ==18919== Lock acquired, processing the job...
[2025-01-08 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:42:04] Production.INFO: Account Balance Start.
[2025-01-08 21:42:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:42:04] Production.INFO: 117
[2025-01-08 21:42:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:42:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:42:04] Production.INFO: count ==21
[2025-01-08 21:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:42:04] Production.INFO: count ==21
[2025-01-08 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205054') start
[2025-01-08 21:42:04] Production.INFO: Total Charge 0
[2025-01-08 21:42:04] Production.INFO: ==18921== Lock acquired, processing the job...
[2025-01-08 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:42:04] Production.INFO: CreateAllLog End
[2025-01-08 21:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205054') end
[2025-01-08 21:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:42:04] Production.INFO: 1
[2025-01-08 21:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:42:04] Production.INFO: ==18923== Lock acquired, processing the job...
[2025-01-08 21:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:42:04] Production.INFO: ==18929== Releasing lock...
[2025-01-08 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:42:04] Production.INFO: Account Balance End.
[2025-01-08 21:42:04] Production.INFO: ==18927== Lock acquired, processing the job...
[2025-01-08 21:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:42:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:42:04] Production.INFO: ==18925== Releasing lock...
[2025-01-08 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:42:04] Production.INFO: ==18921== Releasing lock...
[2025-01-08 21:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:42:04] Production.ERROR: done
[2025-01-08 21:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:42:04] Production.ERROR: done
[2025-01-08 21:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:42:05
[end_date_ymd] => 2025-01-08 21:42:05
[RateCDR] => 1
)
[2025-01-08 21:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:42:05' and `end` < '2025-01-08 21:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:42:12] Production.ERROR: CronJobId end10
[2025-01-08 21:42:12] Production.INFO: ==18923== Releasing lock...
[2025-01-08 21:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:42:13] Production.INFO: call_cost start
[2025-01-08 21:42:13] Production.INFO: call_cost end
[2025-01-08 21:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:42:14] Production.INFO: ==18919== Releasing lock...
[2025-01-08 21:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:42:18] Production.INFO: count ==949
[2025-01-08 21:42:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:42:05 - End Time 2025-01-08 21:42:05
[2025-01-08 21:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205057', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205057', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205057', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205057', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:42:18] Production.INFO: ProcessCDR(1,14205057,1,1,2)
[2025-01-08 21:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205057', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205057', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:42:22] Production.INFO: ==18927== Releasing lock...
[2025-01-08 21:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:42:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 02:43:01] Production.INFO: ==18982== Lock acquired, processing the job...
[2025-01-09 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:43:01] Production.INFO: neon service started
[2025-01-09 02:43:01] Production.INFO: neon service started
[2025-01-09 02:43:01] Production.INFO: ==18982== Releasing lock...
[2025-01-09 02:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:43:02] Production.INFO: ==18987== Lock acquired, processing the job...
[2025-01-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:43:02] Production.INFO: ==18987== Releasing lock...
[2025-01-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:43:02] Production.INFO: ==18984== Lock acquired, processing the job...
[2025-01-08 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:43:02] Production.INFO: ==18984== Releasing lock...
[2025-01-08 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:43:03] Production.INFO: ==18993== Lock acquired, processing the job...
[2025-01-08 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:43:03] Production.INFO: ==18995== Lock acquired, processing the job...
[2025-01-08 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:43:03] Production.INFO: ==18989== Lock acquired, processing the job...
[2025-01-08 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:43:03] Production.INFO: Account Balance Start.
[2025-01-08 21:43:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:43:03] Production.INFO: 117
[2025-01-08 21:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:43:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:43:03] Production.INFO: ==18991== Lock acquired, processing the job...
[2025-01-08 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:43:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:43:03] Production.INFO: Total Charge 0
[2025-01-08 21:43:03] Production.INFO: CreateAllLog End
[2025-01-08 21:43:03] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-01-08 21:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:43:03] Production.INFO: ==18999== Lock acquired, processing the job...
[2025-01-08 21:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:43:03] Production.INFO: Account Balance End.
[2025-01-08 21:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:43:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:43:03] Production.INFO: ==18995== Releasing lock...
[2025-01-08 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:43:03] Production.INFO: ==18991== Releasing lock...
[2025-01-08 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:43:04] Production.INFO: count ==21
[2025-01-08 21:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:43:04] Production.INFO: count ==21
[2025-01-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205061') start
[2025-01-08 21:43:04] Production.ERROR: done
[2025-01-08 21:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205061') end
[2025-01-08 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:43:04] Production.INFO: 1
[2025-01-08 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:43:04] Production.INFO: ==18999== Releasing lock...
[2025-01-08 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:43:04] Production.ERROR: done
[2025-01-08 21:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:43:05
[end_date_ymd] => 2025-01-08 21:43:05
[RateCDR] => 1
)
[2025-01-08 21:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:43:05' and `end` < '2025-01-08 21:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:43:12] Production.ERROR: CronJobId end10
[2025-01-08 21:43:12] Production.INFO: ==18993== Releasing lock...
[2025-01-08 21:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:43:12] Production.INFO: call_cost start
[2025-01-08 21:43:12] Production.INFO: call_cost end
[2025-01-08 21:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:43:13] Production.INFO: ==18989== Releasing lock...
[2025-01-08 21:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:43:18] Production.INFO: count ==947
[2025-01-08 21:43:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:43:05 - End Time 2025-01-08 21:43:05
[2025-01-08 21:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205062', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205062', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205062', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205062', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:43:18] Production.INFO: ProcessCDR(1,14205062,1,1,2)
[2025-01-08 21:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205062', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205062', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:43:21] Production.INFO: ==18997== Releasing lock...
[2025-01-08 21:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:43:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 02:44:02] Production.INFO: ==19054== Lock acquired, processing the job...
[2025-01-09 02:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:44:02] Production.INFO: neon service started
[2025-01-09 02:44:02] Production.INFO: neon service started
[2025-01-09 02:44:02] Production.INFO: ==19054== Releasing lock...
[2025-01-09 02:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:44:02] Production.INFO: ==19058== Lock acquired, processing the job...
[2025-01-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:44:02] Production.INFO: ==19058== Releasing lock...
[2025-01-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:44:02] Production.INFO: ==19056== Lock acquired, processing the job...
[2025-01-08 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:44:03] Production.INFO: ==19056== Releasing lock...
[2025-01-08 21:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:44:03] Production.INFO: ==19062== Lock acquired, processing the job...
[2025-01-08 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:44:03] Production.INFO: ==19064== Lock acquired, processing the job...
[2025-01-08 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:44:04] Production.INFO: ==19067== Lock acquired, processing the job...
[2025-01-08 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:44:04] Production.INFO: ==19060== Lock acquired, processing the job...
[2025-01-08 21:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:44:04] Production.INFO: ==19069== Lock acquired, processing the job...
[2025-01-08 21:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:44:04] Production.INFO: ==19062== Releasing lock...
[2025-01-08 21:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:44:04] Production.INFO: Account Balance Start.
[2025-01-08 21:44:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:44:04] Production.INFO: 117
[2025-01-08 21:44:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:44:04] Production.INFO: ==19071== Lock acquired, processing the job...
[2025-01-08 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:44:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:44:04] Production.INFO: Total Charge 0
[2025-01-08 21:44:04] Production.INFO: CreateAllLog End
[2025-01-08 21:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:44:04] Production.INFO: Account Balance End.
[2025-01-08 21:44:04] Production.INFO: count ==21
[2025-01-08 21:44:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:44:04] Production.INFO: ==19067== Releasing lock...
[2025-01-08 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:44:04] Production.ERROR: done
[2025-01-08 21:44:04] Production.INFO: count ==21
[2025-01-08 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205066') start
[2025-01-08 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205066') end
[2025-01-08 21:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:44:04] Production.INFO: 1
[2025-01-08 21:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:44:04] Production.INFO: ==19071== Releasing lock...
[2025-01-08 21:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:44:04] Production.ERROR: done
[2025-01-08 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:44:05
[end_date_ymd] => 2025-01-08 21:44:05
[RateCDR] => 1
)
[2025-01-08 21:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:44:05' and `end` < '2025-01-08 21:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:44:11] Production.ERROR: CronJobId end10
[2025-01-08 21:44:11] Production.INFO: ==19064== Releasing lock...
[2025-01-08 21:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:44:14] Production.INFO: call_cost start
[2025-01-08 21:44:14] Production.INFO: call_cost end
[2025-01-08 21:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:44:14] Production.INFO: ==19060== Releasing lock...
[2025-01-08 21:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:44:18] Production.INFO: count ==941
[2025-01-08 21:44:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:44:05 - End Time 2025-01-08 21:44:05
[2025-01-08 21:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205067', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205067', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205067', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205067', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:44:18] Production.INFO: ProcessCDR(1,14205067,1,1,2)
[2025-01-08 21:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205067', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205067', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:44:21] Production.INFO: ==19069== Releasing lock...
[2025-01-08 21:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:44:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 02:45:01] Production.INFO: ==19126== Lock acquired, processing the job...
[2025-01-09 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:45:01] Production.INFO: neon service started
[2025-01-09 02:45:01] Production.INFO: neon service started
[2025-01-09 02:45:01] Production.INFO: ==19126== Releasing lock...
[2025-01-09 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:45:02] Production.INFO: ==19128== Lock acquired, processing the job...
[2025-01-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:45:02] Production.INFO: ==19128== Releasing lock...
[2025-01-08 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:45:02] Production.INFO: ==19130== Lock acquired, processing the job...
[2025-01-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:45:02] Production.INFO: ==19130== Releasing lock...
[2025-01-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:45:03] Production.INFO: ==19132== Lock acquired, processing the job...
[2025-01-08 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:45:03] Production.INFO: ==19139== Lock acquired, processing the job...
[2025-01-08 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:45:03] Production.INFO: Account Balance Start.
[2025-01-08 21:45:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:45:03] Production.INFO: 117
[2025-01-08 21:45:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:45:03] Production.INFO: ==19143== Lock acquired, processing the job...
[2025-01-08 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:45:03] Production.INFO: Total Charge 0
[2025-01-08 21:45:03] Production.INFO: ==19134== Lock acquired, processing the job...
[2025-01-08 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:45:03] Production.INFO: CreateAllLog End
[2025-01-08 21:45:03] Production.INFO: ==19136== Lock acquired, processing the job...
[2025-01-08 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:45:03] Production.INFO: count ==21
[2025-01-08 21:45:03] Production.INFO: ==19141== Lock acquired, processing the job...
[2025-01-08 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:45:03] Production.INFO: Account Balance End.
[2025-01-08 21:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:45:03] Production.INFO: count ==21
[2025-01-08 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205070') start
[2025-01-08 21:45:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:45:03] Production.INFO: ==19139== Releasing lock...
[2025-01-08 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205070') end
[2025-01-08 21:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:45:03] Production.INFO: 1
[2025-01-08 21:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:45:03] Production.INFO: ==19143== Releasing lock...
[2025-01-08 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:45:03] Production.INFO: ==19134== Releasing lock...
[2025-01-08 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:45:04] Production.ERROR: done
[2025-01-08 21:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:45:04] Production.ERROR: done
[2025-01-08 21:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:45:04
[end_date_ymd] => 2025-01-08 21:45:04
[RateCDR] => 1
)
[2025-01-08 21:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:45:04' and `end` < '2025-01-08 21:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:45:11] Production.ERROR: CronJobId end10
[2025-01-08 21:45:11] Production.INFO: ==19136== Releasing lock...
[2025-01-08 21:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:45:12] Production.INFO: call_cost start
[2025-01-08 21:45:12] Production.INFO: call_cost end
[2025-01-08 21:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:45:13] Production.INFO: ==19132== Releasing lock...
[2025-01-08 21:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:45:17] Production.INFO: count ==942
[2025-01-08 21:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:45:04 - End Time 2025-01-08 21:45:04
[2025-01-08 21:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205072', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205072', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205072', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205072', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:45:18] Production.INFO: ProcessCDR(1,14205072,1,1,2)
[2025-01-08 21:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205072', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205072', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:45:21] Production.INFO: ==19141== Releasing lock...
[2025-01-08 21:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:45:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 02:46:02] Production.INFO: ==19196== Lock acquired, processing the job...
[2025-01-09 02:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:46:02] Production.INFO: neon service started
[2025-01-09 02:46:02] Production.INFO: neon service started
[2025-01-09 02:46:02] Production.INFO: ==19196== Releasing lock...
[2025-01-09 02:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:46:02] Production.INFO: ==19198== Lock acquired, processing the job...
[2025-01-08 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:46:02] Production.INFO: ==19200== Lock acquired, processing the job...
[2025-01-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:46:02] Production.INFO: ==19200== Releasing lock...
[2025-01-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:46:03] Production.INFO: ==19198== Releasing lock...
[2025-01-08 21:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:46:03] Production.INFO: ==19203== Lock acquired, processing the job...
[2025-01-08 21:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:46:03] Production.INFO: ==19211== Lock acquired, processing the job...
[2025-01-08 21:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:46:04] Production.INFO: ==19205== Lock acquired, processing the job...
[2025-01-08 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:46:04] Production.INFO: ==19207== Lock acquired, processing the job...
[2025-01-08 21:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:46:04] Production.INFO: ==19209== Lock acquired, processing the job...
[2025-01-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:46:04] Production.INFO: ==19213== Lock acquired, processing the job...
[2025-01-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:46:04] Production.INFO: Account Balance Start.
[2025-01-08 21:46:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:46:04] Production.ERROR: done
[2025-01-08 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:46:04] Production.INFO: 117
[2025-01-08 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:46:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:46:04] Production.INFO: count ==21
[2025-01-08 21:46:04] Production.INFO: Total Charge 0
[2025-01-08 21:46:04] Production.INFO: CreateAllLog End
[2025-01-08 21:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:46:04] Production.INFO: count ==21
[2025-01-08 21:46:04] Production.ERROR: done
[2025-01-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205076') start
[2025-01-08 21:46:04] Production.INFO: ==19205== Releasing lock...
[2025-01-08 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:46:04] Production.INFO: Account Balance End.
[2025-01-08 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205076') end
[2025-01-08 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:46:04] Production.INFO: 1
[2025-01-08 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:46:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:46:04] Production.INFO: ==19209== Releasing lock...
[2025-01-08 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:46:04] Production.INFO: ==19213== Releasing lock...
[2025-01-08 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:46:05
[end_date_ymd] => 2025-01-08 21:46:05
[RateCDR] => 1
)
[2025-01-08 21:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:46:05' and `end` < '2025-01-08 21:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:46:11] Production.ERROR: CronJobId end10
[2025-01-08 21:46:11] Production.INFO: ==19207== Releasing lock...
[2025-01-08 21:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:46:13] Production.INFO: call_cost start
[2025-01-08 21:46:13] Production.INFO: call_cost end
[2025-01-08 21:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:46:14] Production.INFO: ==19203== Releasing lock...
[2025-01-08 21:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:46:20] Production.INFO: count ==940
[2025-01-08 21:46:20] Production.ERROR: pbx CDR StartTime 2025-01-08 18:46:05 - End Time 2025-01-08 21:46:05
[2025-01-08 21:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205077', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205077', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205077', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205077', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:46:20] Production.INFO: ProcessCDR(1,14205077,1,1,2)
[2025-01-08 21:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205077', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205077', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:46:23] Production.INFO: ==19211== Releasing lock...
[2025-01-08 21:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:46:23] Production.INFO: 34.5 MB #Memory Used#
[2025-01-09 02:47:01] Production.INFO: ==19266== Lock acquired, processing the job...
[2025-01-09 02:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:47:01] Production.INFO: neon service started
[2025-01-09 02:47:01] Production.INFO: neon service started
[2025-01-09 02:47:01] Production.INFO: ==19266== Releasing lock...
[2025-01-09 02:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:47:02] Production.INFO: ==19269== Lock acquired, processing the job...
[2025-01-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:47:02] Production.INFO: ==19271== Lock acquired, processing the job...
[2025-01-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:47:02] Production.INFO: ==19271== Releasing lock...
[2025-01-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:47:02] Production.INFO: ==19269== Releasing lock...
[2025-01-08 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:47:03] Production.INFO: ==19273== Lock acquired, processing the job...
[2025-01-08 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:47:03] Production.INFO: ==19275== Lock acquired, processing the job...
[2025-01-08 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:47:03] Production.INFO: ==19281== Lock acquired, processing the job...
[2025-01-08 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:47:03] Production.INFO: ==19277== Lock acquired, processing the job...
[2025-01-08 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:47:03] Production.INFO: ==19279== Lock acquired, processing the job...
[2025-01-08 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:47:03] Production.INFO: ==19283== Lock acquired, processing the job...
[2025-01-08 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:47:03] Production.INFO: Account Balance Start.
[2025-01-08 21:47:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:47:03] Production.INFO: 117
[2025-01-08 21:47:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:47:03] Production.INFO: Total Charge 0
[2025-01-08 21:47:03] Production.ERROR: done
[2025-01-08 21:47:03] Production.INFO: count ==21
[2025-01-08 21:47:03] Production.INFO: CreateAllLog End
[2025-01-08 21:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:47:03] Production.INFO: count ==21
[2025-01-08 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205081') start
[2025-01-08 21:47:03] Production.INFO: ==19275== Releasing lock...
[2025-01-08 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:47:04] Production.ERROR: done
[2025-01-08 21:47:04] Production.INFO: Account Balance End.
[2025-01-08 21:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205081') end
[2025-01-08 21:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:47:04] Production.INFO: 1
[2025-01-08 21:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:47:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:47:04] Production.INFO: ==19279== Releasing lock...
[2025-01-08 21:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:47:04] Production.INFO: ==19283== Releasing lock...
[2025-01-08 21:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:47:05
[end_date_ymd] => 2025-01-08 21:47:05
[RateCDR] => 1
)
[2025-01-08 21:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:47:05' and `end` < '2025-01-08 21:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:47:11] Production.ERROR: CronJobId end10
[2025-01-08 21:47:11] Production.INFO: ==19277== Releasing lock...
[2025-01-08 21:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:47:12] Production.INFO: call_cost start
[2025-01-08 21:47:12] Production.INFO: call_cost end
[2025-01-08 21:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:47:13] Production.INFO: ==19273== Releasing lock...
[2025-01-08 21:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:47:18] Production.INFO: count ==933
[2025-01-08 21:47:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:47:05 - End Time 2025-01-08 21:47:05
[2025-01-08 21:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205082', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205082', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205082', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205082', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:47:18] Production.INFO: ProcessCDR(1,14205082,1,1,2)
[2025-01-08 21:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205082', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205082', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:47:21] Production.INFO: ==19281== Releasing lock...
[2025-01-08 21:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:47:21] Production.INFO: 34.5 MB #Memory Used#
[2025-01-09 02:48:01] Production.INFO: ==19337== Lock acquired, processing the job...
[2025-01-09 02:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:48:01] Production.INFO: neon service started
[2025-01-09 02:48:01] Production.INFO: neon service started
[2025-01-09 02:48:01] Production.INFO: ==19337== Releasing lock...
[2025-01-09 02:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:48:02] Production.INFO: ==19339== Lock acquired, processing the job...
[2025-01-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:48:02] Production.INFO: ==19339== Releasing lock...
[2025-01-08 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:48:02] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-01-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:48:02] Production.INFO: ==19341== Releasing lock...
[2025-01-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:48:03] Production.INFO: ==19350== Lock acquired, processing the job...
[2025-01-08 21:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:48:03] Production.INFO: ==19352== Lock acquired, processing the job...
[2025-01-08 21:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:48:03] Production.INFO: ==19344== Lock acquired, processing the job...
[2025-01-08 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:48:03] Production.INFO: ==19346== Lock acquired, processing the job...
[2025-01-08 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:48:03] Production.INFO: ==19348== Lock acquired, processing the job...
[2025-01-08 21:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:48:03] Production.INFO: Account Balance Start.
[2025-01-08 21:48:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:48:03] Production.INFO: 117
[2025-01-08 21:48:03] Production.INFO: ==19354== Lock acquired, processing the job...
[2025-01-08 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:48:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:48:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:48:03] Production.INFO: Total Charge 0
[2025-01-08 21:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:48:04] Production.INFO: CreateAllLog End
[2025-01-08 21:48:04] Production.INFO: count ==21
[2025-01-08 21:48:04] Production.INFO: ==19346== Releasing lock...
[2025-01-08 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:48:04] Production.INFO: count ==21
[2025-01-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205086') start
[2025-01-08 21:48:04] Production.ERROR: done
[2025-01-08 21:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205086') end
[2025-01-08 21:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:48:04] Production.INFO: 1
[2025-01-08 21:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:48:04] Production.INFO: Account Balance End.
[2025-01-08 21:48:04] Production.INFO: ==19354== Releasing lock...
[2025-01-08 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:48:04] Production.ERROR: done
[2025-01-08 21:48:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:48:04] Production.INFO: ==19350== Releasing lock...
[2025-01-08 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:48:05
[end_date_ymd] => 2025-01-08 21:48:05
[RateCDR] => 1
)
[2025-01-08 21:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:48:05' and `end` < '2025-01-08 21:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:48:11] Production.ERROR: CronJobId end10
[2025-01-08 21:48:11] Production.INFO: ==19348== Releasing lock...
[2025-01-08 21:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:48:14] Production.INFO: call_cost start
[2025-01-08 21:48:14] Production.INFO: call_cost end
[2025-01-08 21:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:48:14] Production.INFO: ==19344== Releasing lock...
[2025-01-08 21:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:48:19] Production.INFO: count ==932
[2025-01-08 21:48:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:48:05 - End Time 2025-01-08 21:48:05
[2025-01-08 21:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205087', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205087', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205087', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205087', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:48:19] Production.INFO: ProcessCDR(1,14205087,1,1,2)
[2025-01-08 21:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205087', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205087', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:48:22] Production.INFO: ==19352== Releasing lock...
[2025-01-08 21:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:48:22] Production.INFO: 34.5 MB #Memory Used#
[2025-01-09 02:49:01] Production.INFO: ==19408== Lock acquired, processing the job...
[2025-01-09 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:49:01] Production.INFO: neon service started
[2025-01-09 02:49:01] Production.INFO: neon service started
[2025-01-09 02:49:01] Production.INFO: ==19408== Releasing lock...
[2025-01-09 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:49:01] Production.INFO: ==19410== Lock acquired, processing the job...
[2025-01-08 21:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:49:02] Production.INFO: ==19410== Releasing lock...
[2025-01-08 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:49:02] Production.INFO: ==19412== Lock acquired, processing the job...
[2025-01-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:49:02] Production.INFO: ==19412== Releasing lock...
[2025-01-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:49:03] Production.INFO: ==19417== Lock acquired, processing the job...
[2025-01-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:49:03] Production.INFO: ==19415== Lock acquired, processing the job...
[2025-01-08 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:49:03] Production.INFO: ==19423== Lock acquired, processing the job...
[2025-01-08 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:49:03] Production.INFO: ==19419== Lock acquired, processing the job...
[2025-01-08 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:49:03] Production.INFO: ==19421== Lock acquired, processing the job...
[2025-01-08 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:49:03] Production.INFO: ==19425== Lock acquired, processing the job...
[2025-01-08 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:49:03] Production.INFO: Account Balance Start.
[2025-01-08 21:49:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:49:03] Production.INFO: 117
[2025-01-08 21:49:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:49:03] Production.INFO: Total Charge 0
[2025-01-08 21:49:03] Production.INFO: CreateAllLog End
[2025-01-08 21:49:03] Production.ERROR: done
[2025-01-08 21:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:49:03] Production.INFO: ==19417== Releasing lock...
[2025-01-08 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:49:03] Production.INFO: count ==21
[2025-01-08 21:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:49:03] Production.INFO: count ==21
[2025-01-08 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205091') start
[2025-01-08 21:49:03] Production.ERROR: done
[2025-01-08 21:49:03] Production.INFO: Account Balance End.
[2025-01-08 21:49:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:49:03] Production.INFO: ==19421== Releasing lock...
[2025-01-08 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205091') end
[2025-01-08 21:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:49:03] Production.INFO: 1
[2025-01-08 21:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:49:04] Production.INFO: ==19425== Releasing lock...
[2025-01-08 21:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:49:04
[end_date_ymd] => 2025-01-08 21:49:04
[RateCDR] => 1
)
[2025-01-08 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-01-08 18:49:04' and `end` < '2025-01-08 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-01-08 21:49:12] Production.ERROR: CronJobId end10
[2025-01-08 21:49:12] Production.INFO: ==19419== Releasing lock...
[2025-01-08 21:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:49:13] Production.INFO: call_cost start
[2025-01-08 21:49:13] Production.INFO: call_cost end
[2025-01-08 21:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:49:13] Production.INFO: ==19415== Releasing lock...
[2025-01-08 21:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:49:18] Production.INFO: count ==932
[2025-01-08 21:49:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:49:04 - End Time 2025-01-08 21:49:04
[2025-01-08 21:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205092', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205092', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205092', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205092', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:49:18] Production.INFO: ProcessCDR(1,14205092,1,1,2)
[2025-01-08 21:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205092', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205092', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:49:22] Production.INFO: ==19423== Releasing lock...
[2025-01-08 21:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:49:22] Production.INFO: 34.5 MB #Memory Used#
[2025-01-09 02:50:01] Production.INFO: ==19482== Lock acquired, processing the job...
[2025-01-09 02:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:50:01] Production.INFO: neon service started
[2025-01-09 02:50:01] Production.INFO: neon service started
[2025-01-09 02:50:01] Production.INFO: ==19482== Releasing lock...
[2025-01-09 02:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:50:02] Production.INFO: ==19484== Lock acquired, processing the job...
[2025-01-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:50:02] Production.INFO: ==19484== Releasing lock...
[2025-01-08 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:50:02] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-01-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:50:02] Production.INFO: ==19486== Releasing lock...
[2025-01-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:50:03] Production.INFO: ==19493== Lock acquired, processing the job...
[2025-01-08 21:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:50:03] Production.INFO: ==19489== Lock acquired, processing the job...
[2025-01-08 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 21:50:03] Production.INFO: ==19497== Lock acquired, processing the job...
[2025-01-08 21:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:50:03] Production.INFO: ==19503== Lock acquired, processing the job...
[2025-01-08 21:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:50:03] Production.INFO: ==19491== Lock acquired, processing the job...
[2025-01-08 21:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 21:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 21:50:03] Production.ERROR: CronJob PID - 19493
[2025-01-08 21:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-08 21:50:03] Production.ERROR: CronJob ID - 7
[2025-01-08 21:50:03] Production.ERROR: CronJob Last Run Time 2025-01-08 21:50:00
[2025-01-08 21:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 21:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 21:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 21:50:03] Production.ERROR: CronJob PID - 19497
[2025-01-08 21:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-08 21:50:03] Production.ERROR: CronJob ID - 12
[2025-01-08 21:50:03] Production.ERROR: CronJob Last Run Time 2025-01-08 21:50:00
[2025-01-08 21:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 21:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 21:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 21:50:03] Production.INFO: ==19489== Releasing lock...
[2025-01-08 21:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 21:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 21:50:03] Production.INFO: Account Balance Start.
[2025-01-08 21:50:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:50:03] Production.INFO: 117
[2025-01-08 21:50:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:50:03] Production.INFO: ==19495== Lock acquired, processing the job...
[2025-01-08 21:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:50:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:50:03] Production.INFO: Total Charge 0
[2025-01-08 21:50:03] Production.INFO: count ==21
[2025-01-08 21:50:03] Production.INFO: CreateAllLog End
[2025-01-08 21:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:50:03] Production.INFO: count ==21
[2025-01-08 21:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205095') start
[2025-01-08 21:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:50:04] Production.INFO: ==19499== Lock acquired, processing the job...
[2025-01-08 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:50:04] Production.INFO: ==19493== Releasing lock...
[2025-01-08 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205095') end
[2025-01-08 21:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:50:04] Production.INFO: 1
[2025-01-08 21:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:50:04] Production.INFO: ==19501== Lock acquired, processing the job...
[2025-01-08 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:50:04] Production.INFO: ==19503== Releasing lock...
[2025-01-08 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:50:04] Production.INFO: Account Balance End.
[2025-01-08 21:50:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:50:04] Production.INFO: ==19497== Releasing lock...
[2025-01-08 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:50:04] Production.ERROR: done
[2025-01-08 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:50:04] Production.ERROR: done
[2025-01-08 21:50:04] Production.ERROR: done
[2025-01-08 21:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 21:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205097', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 21:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:50:05
[end_date_ymd] => 2025-01-08 21:50:05
[RateCDR] => 1
)
[2025-01-08 21:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:50:05' and `end` < '2025-01-08 21:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205097', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 21:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 21:50:08] Production.INFO: ProcessCDR(1,14205097,1,1,2)
[2025-01-08 21:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205097,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205097,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:50:08] Production.INFO: ==19501== Releasing lock...
[2025-01-08 21:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 21:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 21:50:12] Production.ERROR: CronJobId end10
[2025-01-08 21:50:12] Production.INFO: ==19495== Releasing lock...
[2025-01-08 21:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:50:14] Production.INFO: call_cost start
[2025-01-08 21:50:14] Production.INFO: call_cost end
[2025-01-08 21:50:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:50:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:50:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:50:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:50:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:50:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:50:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:50:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:50:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:50:14] Production.INFO: ==19491== Releasing lock...
[2025-01-08 21:50:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:50:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:50:18] Production.INFO: count ==932
[2025-01-08 21:50:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:50:05 - End Time 2025-01-08 21:50:05
[2025-01-08 21:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205098', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205098', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205098', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205098', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:50:19] Production.INFO: ProcessCDR(1,14205098,1,1,2)
[2025-01-08 21:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205098', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205098', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:50:23] Production.INFO: ==19499== Releasing lock...
[2025-01-08 21:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:50:23] Production.INFO: 34.5 MB #Memory Used#
[2025-01-09 02:51:02] Production.INFO: ==19557== Lock acquired, processing the job...
[2025-01-09 02:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:51:02] Production.INFO: neon service started
[2025-01-09 02:51:02] Production.INFO: neon service started
[2025-01-09 02:51:02] Production.INFO: ==19557== Releasing lock...
[2025-01-09 02:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:51:02] Production.INFO: ==19559== Lock acquired, processing the job...
[2025-01-08 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:51:02] Production.INFO: ==19561== Lock acquired, processing the job...
[2025-01-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:51:02] Production.INFO: ==19561== Releasing lock...
[2025-01-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:51:03] Production.INFO: ==19559== Releasing lock...
[2025-01-08 21:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:51:03] Production.INFO: ==19565== Lock acquired, processing the job...
[2025-01-08 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:51:03] Production.INFO: ==19568== Lock acquired, processing the job...
[2025-01-08 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:51:04] Production.INFO: ==19572== Lock acquired, processing the job...
[2025-01-08 21:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:51:04] Production.INFO: ==19565== Releasing lock...
[2025-01-08 21:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:51:04] Production.INFO: ==19563== Lock acquired, processing the job...
[2025-01-08 21:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:51:04] Production.INFO: ==19570== Lock acquired, processing the job...
[2025-01-08 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:51:04] Production.ERROR: done
[2025-01-08 21:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:51:04] Production.INFO: ==19574== Lock acquired, processing the job...
[2025-01-08 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:51:04] Production.ERROR: done
[2025-01-08 21:51:04] Production.INFO: Account Balance Start.
[2025-01-08 21:51:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:51:04] Production.INFO: 117
[2025-01-08 21:51:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:51:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:51:04] Production.INFO: count ==21
[2025-01-08 21:51:04] Production.INFO: Total Charge 0
[2025-01-08 21:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:51:04] Production.INFO: count ==21
[2025-01-08 21:51:04] Production.INFO: CreateAllLog End
[2025-01-08 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205102') start
[2025-01-08 21:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205102') end
[2025-01-08 21:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:51:04] Production.INFO: 1
[2025-01-08 21:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:51:04] Production.INFO: Account Balance End.
[2025-01-08 21:51:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:51:04] Production.INFO: ==19570== Releasing lock...
[2025-01-08 21:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:51:04] Production.INFO: ==19574== Releasing lock...
[2025-01-08 21:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:51:05
[end_date_ymd] => 2025-01-08 21:51:05
[RateCDR] => 1
)
[2025-01-08 21:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:51:05' and `end` < '2025-01-08 21:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:51:11] Production.ERROR: CronJobId end10
[2025-01-08 21:51:11] Production.INFO: ==19568== Releasing lock...
[2025-01-08 21:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:51:13] Production.INFO: call_cost start
[2025-01-08 21:51:13] Production.INFO: call_cost end
[2025-01-08 21:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:51:14] Production.INFO: ==19563== Releasing lock...
[2025-01-08 21:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:51:18] Production.INFO: count ==921
[2025-01-08 21:51:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:51:05 - End Time 2025-01-08 21:51:05
[2025-01-08 21:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205103', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205103', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205103', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205103', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:51:18] Production.INFO: ProcessCDR(1,14205103,1,1,2)
[2025-01-08 21:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205103', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205103', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:51:23] Production.INFO: ==19572== Releasing lock...
[2025-01-08 21:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:51:23] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:52:01] Production.INFO: ==19628== Lock acquired, processing the job...
[2025-01-09 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:52:01] Production.INFO: neon service started
[2025-01-09 02:52:01] Production.INFO: neon service started
[2025-01-09 02:52:01] Production.INFO: ==19628== Releasing lock...
[2025-01-09 02:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:52:02] Production.INFO: ==19630== Lock acquired, processing the job...
[2025-01-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:52:02] Production.INFO: ==19632== Lock acquired, processing the job...
[2025-01-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:52:02] Production.INFO: ==19632== Releasing lock...
[2025-01-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:52:02] Production.INFO: ==19630== Releasing lock...
[2025-01-08 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:52:03] Production.INFO: ==19639== Lock acquired, processing the job...
[2025-01-08 21:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:52:03] Production.INFO: ==19645== Lock acquired, processing the job...
[2025-01-08 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:52:03] Production.INFO: ==19635== Lock acquired, processing the job...
[2025-01-08 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:52:03] Production.INFO: ==19637== Lock acquired, processing the job...
[2025-01-08 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:52:03] Production.INFO: ==19643== Lock acquired, processing the job...
[2025-01-08 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:52:03] Production.INFO: ==19641== Lock acquired, processing the job...
[2025-01-08 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:52:03] Production.INFO: count ==21
[2025-01-08 21:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:52:03] Production.INFO: count ==21
[2025-01-08 21:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205104') start
[2025-01-08 21:52:04] Production.INFO: Account Balance Start.
[2025-01-08 21:52:04] Production.INFO: CreateAllLog Start
[2025-01-08 21:52:04] Production.INFO: 117
[2025-01-08 21:52:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:52:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:52:04] Production.INFO: Total Charge 0
[2025-01-08 21:52:04] Production.INFO: CreateAllLog End
[2025-01-08 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205104') end
[2025-01-08 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:52:04] Production.INFO: 1
[2025-01-08 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:52:04] Production.INFO: ==19637== Releasing lock...
[2025-01-08 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:52:04] Production.INFO: Account Balance End.
[2025-01-08 21:52:04] Production.INFO: ==19645== Releasing lock...
[2025-01-08 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:52:04] Production.ERROR: done
[2025-01-08 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:52:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:52:04] Production.INFO: ==19641== Releasing lock...
[2025-01-08 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:52:04] Production.ERROR: done
[2025-01-08 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:52:05
[end_date_ymd] => 2025-01-08 21:52:05
[RateCDR] => 1
)
[2025-01-08 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:52:05' and `end` < '2025-01-08 21:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:52:12] Production.ERROR: CronJobId end10
[2025-01-08 21:52:12] Production.INFO: ==19639== Releasing lock...
[2025-01-08 21:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:52:13] Production.INFO: call_cost start
[2025-01-08 21:52:13] Production.INFO: call_cost end
[2025-01-08 21:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:52:14] Production.INFO: ==19635== Releasing lock...
[2025-01-08 21:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:52:18] Production.INFO: count ==909
[2025-01-08 21:52:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:52:05 - End Time 2025-01-08 21:52:05
[2025-01-08 21:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205108', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205108', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205108', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205108', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:52:18] Production.INFO: ProcessCDR(1,14205108,1,1,2)
[2025-01-08 21:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205108', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205108', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:52:21] Production.INFO: ==19643== Releasing lock...
[2025-01-08 21:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:52:21] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:53:02] Production.INFO: ==19701== Lock acquired, processing the job...
[2025-01-09 02:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:53:02] Production.INFO: neon service started
[2025-01-09 02:53:02] Production.INFO: neon service started
[2025-01-09 02:53:02] Production.INFO: ==19701== Releasing lock...
[2025-01-09 02:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:53:02] Production.INFO: ==19703== Lock acquired, processing the job...
[2025-01-08 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:53:02] Production.INFO: ==19703== Releasing lock...
[2025-01-08 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:53:02] Production.INFO: ==19705== Lock acquired, processing the job...
[2025-01-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:53:02] Production.INFO: ==19705== Releasing lock...
[2025-01-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:53:03] Production.INFO: ==19716== Lock acquired, processing the job...
[2025-01-08 21:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:53:03] Production.INFO: ==19718== Lock acquired, processing the job...
[2025-01-08 21:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:53:03] Production.INFO: ==19708== Lock acquired, processing the job...
[2025-01-08 21:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:53:03] Production.INFO: ==19710== Lock acquired, processing the job...
[2025-01-08 21:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:53:03] Production.INFO: ==19712== Lock acquired, processing the job...
[2025-01-08 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:53:03] Production.INFO: ==19714== Lock acquired, processing the job...
[2025-01-08 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 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-01-08 21:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:53:03] Production.INFO: Account Balance Start.
[2025-01-08 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:53:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:53:03] Production.INFO: count ==21
[2025-01-08 21:53:03] Production.INFO: 117
[2025-01-08 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-01-08 21:53:03] Production.ERROR: done
[2025-01-08 21:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:53:03] Production.INFO: count ==21
[2025-01-08 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:53:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:53:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205109') start
[2025-01-08 21:53:03] Production.INFO: Total Charge 0
[2025-01-08 21:53:03] Production.INFO: CreateAllLog End
[2025-01-08 21:53:04] Production.ERROR: done
[2025-01-08 21:53:04] Production.INFO: ==19710== Releasing lock...
[2025-01-08 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205109') end
[2025-01-08 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:53:04] Production.INFO: 1
[2025-01-08 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:53:04] Production.INFO: Account Balance End.
[2025-01-08 21:53:04] Production.INFO: ==19718== Releasing lock...
[2025-01-08 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:53:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:53:04] Production.INFO: ==19714== Releasing lock...
[2025-01-08 21:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:53:04
[end_date_ymd] => 2025-01-08 21:53:04
[RateCDR] => 1
)
[2025-01-08 21:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:53:04' and `end` < '2025-01-08 21:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:53:12] Production.ERROR: CronJobId end10
[2025-01-08 21:53:12] Production.INFO: ==19712== Releasing lock...
[2025-01-08 21:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:53:13] Production.INFO: call_cost start
[2025-01-08 21:53:13] Production.INFO: call_cost end
[2025-01-08 21:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:53:14] Production.INFO: ==19708== Releasing lock...
[2025-01-08 21:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:53:19] Production.INFO: count ==907
[2025-01-08 21:53:19] Production.ERROR: pbx CDR StartTime 2025-01-08 18:53:04 - End Time 2025-01-08 21:53:04
[2025-01-08 21:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205113', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205113', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205113', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205113', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:53:19] Production.INFO: ProcessCDR(1,14205113,1,1,2)
[2025-01-08 21:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205113', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205113', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:53:22] Production.INFO: ==19716== Releasing lock...
[2025-01-08 21:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:53:22] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:54:01] Production.INFO: ==19774== Lock acquired, processing the job...
[2025-01-09 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:54:01] Production.INFO: neon service started
[2025-01-09 02:54:01] Production.INFO: neon service started
[2025-01-09 02:54:01] Production.INFO: ==19774== Releasing lock...
[2025-01-09 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:54:01] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-01-08 21:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:54:02] Production.INFO: ==19776== Releasing lock...
[2025-01-08 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:54:02] Production.INFO: ==19778== Lock acquired, processing the job...
[2025-01-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:54:02] Production.INFO: ==19778== Releasing lock...
[2025-01-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:54:03] Production.INFO: ==19781== Lock acquired, processing the job...
[2025-01-08 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:54:03] Production.INFO: ==19783== Lock acquired, processing the job...
[2025-01-08 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:54:03] Production.INFO: ==19787== Lock acquired, processing the job...
[2025-01-08 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:54:03] Production.INFO: ==19785== Lock acquired, processing the job...
[2025-01-08 21:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:54:03] Production.INFO: Account Balance Start.
[2025-01-08 21:54:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:54:03] Production.INFO: 117
[2025-01-08 21:54:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:54:03] Production.INFO: ==19791== Lock acquired, processing the job...
[2025-01-08 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:54:03] Production.INFO: Total Charge 0
[2025-01-08 21:54:03] Production.INFO: ==19783== Releasing lock...
[2025-01-08 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:54:03] Production.INFO: CreateAllLog End
[2025-01-08 21:54:03] Production.INFO: ==19789== Lock acquired, processing the job...
[2025-01-08 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:54:03] Production.INFO: Account Balance End.
[2025-01-08 21:54:03] Production.INFO: count ==21
[2025-01-08 21:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:54:03] Production.INFO: count ==21
[2025-01-08 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205117') start
[2025-01-08 21:54:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:54:03] Production.INFO: ==19787== Releasing lock...
[2025-01-08 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205117') end
[2025-01-08 21:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:54:03] Production.INFO: 1
[2025-01-08 21:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:54:03] Production.INFO: ==19791== Releasing lock...
[2025-01-08 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:54:03] Production.ERROR: done
[2025-01-08 21:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:54:04] Production.ERROR: done
[2025-01-08 21:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:54:05
[end_date_ymd] => 2025-01-08 21:54:05
[RateCDR] => 1
)
[2025-01-08 21:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:54:05' and `end` < '2025-01-08 21:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:54:12] Production.ERROR: CronJobId end10
[2025-01-08 21:54:12] Production.INFO: ==19785== Releasing lock...
[2025-01-08 21:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:54:13] Production.INFO: call_cost start
[2025-01-08 21:54:13] Production.INFO: call_cost end
[2025-01-08 21:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:54:13] Production.INFO: ==19781== Releasing lock...
[2025-01-08 21:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:54:18] Production.INFO: count ==907
[2025-01-08 21:54:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:54:05 - End Time 2025-01-08 21:54:05
[2025-01-08 21:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205118', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205118', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205118', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205118', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:54:18] Production.INFO: ProcessCDR(1,14205118,1,1,2)
[2025-01-08 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205118', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205118', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:54:21] Production.INFO: ==19789== Releasing lock...
[2025-01-08 21:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:54:21] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:55:02] Production.INFO: ==19845== Lock acquired, processing the job...
[2025-01-09 02:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:55:02] Production.INFO: neon service started
[2025-01-09 02:55:02] Production.INFO: neon service started
[2025-01-09 02:55:02] Production.INFO: ==19845== Releasing lock...
[2025-01-09 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:55:02] Production.INFO: ==19847== Lock acquired, processing the job...
[2025-01-08 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:55:02] Production.INFO: ==19849== Lock acquired, processing the job...
[2025-01-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:55:02] Production.INFO: ==19849== Releasing lock...
[2025-01-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:55:02] Production.INFO: ==19847== Releasing lock...
[2025-01-08 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:55:03] Production.INFO: ==19856== Lock acquired, processing the job...
[2025-01-08 21:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:55:03] Production.INFO: ==19854== Lock acquired, processing the job...
[2025-01-08 21:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:55:03] Production.INFO: ==19862== Lock acquired, processing the job...
[2025-01-08 21:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:55:03] Production.INFO: ==19852== Lock acquired, processing the job...
[2025-01-08 21:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:55:03] Production.INFO: count ==21
[2025-01-08 21:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:55:03] Production.INFO: ==19858== Lock acquired, processing the job...
[2025-01-08 21:55:03] Production.INFO: count ==21
[2025-01-08 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205119') start
[2025-01-08 21:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:55:03] Production.INFO: ==19860== Lock acquired, processing the job...
[2025-01-08 21:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205119') end
[2025-01-08 21:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:55:03] Production.INFO: 1
[2025-01-08 21:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:55:03] Production.INFO: Account Balance Start.
[2025-01-08 21:55:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:55:03] Production.INFO: 117
[2025-01-08 21:55:04] Production.INFO: ==19862== Releasing lock...
[2025-01-08 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:55:04] Production.INFO: Date 2025-01-08
[2025-01-08 21:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:55:04] Production.INFO: ==19854== Releasing lock...
[2025-01-08 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:55:04] Production.INFO: Total Charge 0
[2025-01-08 21:55:04] Production.INFO: CreateAllLog End
[2025-01-08 21:55:04] Production.ERROR: done
[2025-01-08 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:55:04] Production.ERROR: done
[2025-01-08 21:55:04] Production.INFO: Account Balance End.
[2025-01-08 21:55:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:55:04] Production.INFO: ==19858== Releasing lock...
[2025-01-08 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:55:05
[end_date_ymd] => 2025-01-08 21:55:05
[RateCDR] => 1
)
[2025-01-08 21:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:55:05' and `end` < '2025-01-08 21:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:55:11] Production.ERROR: CronJobId end10
[2025-01-08 21:55:11] Production.INFO: ==19856== Releasing lock...
[2025-01-08 21:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:55:14] Production.INFO: call_cost start
[2025-01-08 21:55:14] Production.INFO: call_cost end
[2025-01-08 21:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:55:14] Production.INFO: ==19852== Releasing lock...
[2025-01-08 21:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:55:18] Production.INFO: count ==907
[2025-01-08 21:55:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:55:05 - End Time 2025-01-08 21:55:05
[2025-01-08 21:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205123', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205123', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205123', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205123', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:55:18] Production.INFO: ProcessCDR(1,14205123,1,1,2)
[2025-01-08 21:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205123', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205123', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:55:21] Production.INFO: ==19860== Releasing lock...
[2025-01-08 21:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:55:21] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:56:01] Production.INFO: ==19915== Lock acquired, processing the job...
[2025-01-09 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:56:01] Production.INFO: neon service started
[2025-01-09 02:56:01] Production.INFO: neon service started
[2025-01-09 02:56:01] Production.INFO: ==19915== Releasing lock...
[2025-01-09 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:56:01] Production.INFO: ==19917== Lock acquired, processing the job...
[2025-01-08 21:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:56:02] Production.INFO: ==19917== Releasing lock...
[2025-01-08 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:56:02] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:56:02] Production.INFO: ==19919== Releasing lock...
[2025-01-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:56:02] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-01-08 21:56:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:56:02] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-01-08 21:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:56:02] Production.INFO: ==19925== Lock acquired, processing the job...
[2025-01-08 21:56:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:56:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:56:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:56:02] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:56:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:56:03] Production.INFO: ==19929== Lock acquired, processing the job...
[2025-01-08 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:56:03] Production.INFO: ==19923== Releasing lock...
[2025-01-08 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:56:03] Production.INFO: ==19927== Lock acquired, processing the job...
[2025-01-08 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:56:03] Production.INFO: ==19931== Lock acquired, processing the job...
[2025-01-08 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:56:03] Production.INFO: Account Balance Start.
[2025-01-08 21:56:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:56:03] Production.INFO: 117
[2025-01-08 21:56:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:56:03] Production.INFO: count ==21
[2025-01-08 21:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:56:03] Production.INFO: count ==21
[2025-01-08 21:56:03] Production.INFO: Total Charge 0
[2025-01-08 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205127') start
[2025-01-08 21:56:03] Production.ERROR: done
[2025-01-08 21:56:03] Production.INFO: CreateAllLog End
[2025-01-08 21:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205127') end
[2025-01-08 21:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:56:03] Production.INFO: 1
[2025-01-08 21:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:56:03] Production.INFO: ==19931== Releasing lock...
[2025-01-08 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:56:03] Production.ERROR: done
[2025-01-08 21:56:03] Production.INFO: Account Balance End.
[2025-01-08 21:56:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:56:04] Production.INFO: ==19927== Releasing lock...
[2025-01-08 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:56:04
[end_date_ymd] => 2025-01-08 21:56:04
[RateCDR] => 1
)
[2025-01-08 21:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:56:04' and `end` < '2025-01-08 21:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:56:11] Production.ERROR: CronJobId end10
[2025-01-08 21:56:11] Production.INFO: ==19925== Releasing lock...
[2025-01-08 21:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:56:13] Production.INFO: call_cost start
[2025-01-08 21:56:13] Production.INFO: call_cost end
[2025-01-08 21:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:56:14] Production.INFO: ==19921== Releasing lock...
[2025-01-08 21:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:56:17] Production.INFO: count ==906
[2025-01-08 21:56:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:56:04 - End Time 2025-01-08 21:56:04
[2025-01-08 21:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205128', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205128', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205128', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205128', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:56:18] Production.INFO: ProcessCDR(1,14205128,1,1,2)
[2025-01-08 21:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205128', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205128', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:56:21] Production.INFO: ==19929== Releasing lock...
[2025-01-08 21:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:56:21] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:57:01] Production.INFO: ==20029== Lock acquired, processing the job...
[2025-01-09 02:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:57:01] Production.INFO: neon service started
[2025-01-09 02:57:01] Production.INFO: neon service started
[2025-01-09 02:57:01] Production.INFO: ==20029== Releasing lock...
[2025-01-09 02:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:57:02] Production.INFO: ==20031== Lock acquired, processing the job...
[2025-01-08 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:57:02] Production.INFO: ==20031== Releasing lock...
[2025-01-08 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:57:02] Production.INFO: ==20033== Lock acquired, processing the job...
[2025-01-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:57:02] Production.INFO: ==20033== Releasing lock...
[2025-01-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:57:03] Production.INFO: ==20035== Lock acquired, processing the job...
[2025-01-08 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:57:03] Production.INFO: ==20037== Lock acquired, processing the job...
[2025-01-08 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:57:03] Production.INFO: ==20039== Lock acquired, processing the job...
[2025-01-08 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:57:03] Production.INFO: ==20041== Lock acquired, processing the job...
[2025-01-08 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:57:03] Production.INFO: ==20043== Lock acquired, processing the job...
[2025-01-08 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:57:03] Production.INFO: Account Balance Start.
[2025-01-08 21:57:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:57:03] Production.INFO: 117
[2025-01-08 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:57:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:57:03] Production.INFO: ==20045== Lock acquired, processing the job...
[2025-01-08 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:57:03] Production.INFO: Total Charge 0
[2025-01-08 21:57:03] Production.INFO: CreateAllLog End
[2025-01-08 21:57:03] Production.INFO: ==20037== Releasing lock...
[2025-01-08 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:57:03] Production.INFO: count ==21
[2025-01-08 21:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:57:03] Production.INFO: count ==21
[2025-01-08 21:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205132') start
[2025-01-08 21:57:03] Production.ERROR: done
[2025-01-08 21:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:57:04] Production.INFO: Account Balance End.
[2025-01-08 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205132') end
[2025-01-08 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:57:04] Production.INFO: 1
[2025-01-08 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:57:04] Production.ERROR: done
[2025-01-08 21:57:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:57:04] Production.INFO: ==20041== Releasing lock...
[2025-01-08 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:57:04] Production.INFO: ==20045== Releasing lock...
[2025-01-08 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:57:05
[end_date_ymd] => 2025-01-08 21:57:05
[RateCDR] => 1
)
[2025-01-08 21:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:57:05' and `end` < '2025-01-08 21:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:57:11] Production.ERROR: CronJobId end10
[2025-01-08 21:57:11] Production.INFO: ==20039== Releasing lock...
[2025-01-08 21:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:57:13] Production.INFO: call_cost start
[2025-01-08 21:57:13] Production.INFO: call_cost end
[2025-01-08 21:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:57:14] Production.INFO: ==20035== Releasing lock...
[2025-01-08 21:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:57:18] Production.INFO: count ==899
[2025-01-08 21:57:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:57:05 - End Time 2025-01-08 21:57:05
[2025-01-08 21:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205133', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205133', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205133', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205133', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:57:18] Production.INFO: ProcessCDR(1,14205133,1,1,2)
[2025-01-08 21:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205133', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205133', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:57:21] Production.INFO: ==20043== Releasing lock...
[2025-01-08 21:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:57:21] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:58:02] Production.INFO: ==20101== Lock acquired, processing the job...
[2025-01-09 02:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:58:02] Production.INFO: neon service started
[2025-01-09 02:58:02] Production.INFO: neon service started
[2025-01-09 02:58:02] Production.INFO: ==20101== Releasing lock...
[2025-01-09 02:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:58:02] Production.INFO: ==20104== Lock acquired, processing the job...
[2025-01-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 21:58:02] Production.INFO: ==20104== Releasing lock...
[2025-01-08 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:58:02] Production.INFO: ==20106== Lock acquired, processing the job...
[2025-01-09 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:58:03] Production.INFO: ==20106== Releasing lock...
[2025-01-09 02:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:58:03] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-01-08 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:58:03] Production.INFO: ==20110== Lock acquired, processing the job...
[2025-01-08 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:58:03] Production.INFO: Account Balance Start.
[2025-01-08 21:58:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:58:03] Production.INFO: 117
[2025-01-08 21:58:03] Production.INFO: ==20108== Lock acquired, processing the job...
[2025-01-08 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:58:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:58:04] Production.INFO: Reseller ==> 0
[2025-01-08 21:58:04] Production.INFO: ==20112== Lock acquired, processing the job...
[2025-01-08 21:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:58:04] Production.INFO: Total Charge 0
[2025-01-08 21:58:04] Production.INFO: ==20116== Lock acquired, processing the job...
[2025-01-08 21:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:58:04] Production.INFO: CreateAllLog End
[2025-01-08 21:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:58:04] Production.INFO: ==20118== Lock acquired, processing the job...
[2025-01-08 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:58:04] Production.INFO: ==20110== Releasing lock...
[2025-01-08 21:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:58:04] Production.INFO: count ==21
[2025-01-08 21:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:58:04] Production.INFO: count ==21
[2025-01-08 21:58:04] Production.INFO: Account Balance End.
[2025-01-08 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205137') start
[2025-01-08 21:58:04] Production.ERROR: CronJobId end 12
[2025-01-08 21:58:04] Production.INFO: ==20114== Releasing lock...
[2025-01-08 21:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:58:04] Production.ERROR: done
[2025-01-08 21:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205137') end
[2025-01-08 21:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:58:04] Production.INFO: 1
[2025-01-08 21:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:58:04] Production.ERROR: done
[2025-01-08 21:58:04] Production.INFO: ==20118== Releasing lock...
[2025-01-08 21:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:58:05
[end_date_ymd] => 2025-01-08 21:58:05
[RateCDR] => 1
)
[2025-01-08 21:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:58:05' and `end` < '2025-01-08 21:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:58:12] Production.ERROR: CronJobId end10
[2025-01-08 21:58:12] Production.INFO: ==20112== Releasing lock...
[2025-01-08 21:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:58:14] Production.INFO: call_cost start
[2025-01-08 21:58:14] Production.INFO: call_cost end
[2025-01-08 21:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:58:15] Production.INFO: ==20108== Releasing lock...
[2025-01-08 21:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:58:20] Production.INFO: count ==898
[2025-01-08 21:58:20] Production.ERROR: pbx CDR StartTime 2025-01-08 18:58:05 - End Time 2025-01-08 21:58:05
[2025-01-08 21:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205138', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205138', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205138', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205138', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:58:20] Production.INFO: ProcessCDR(1,14205138,1,1,2)
[2025-01-08 21:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205138', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205138', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:58:23] Production.INFO: ==20116== Releasing lock...
[2025-01-08 21:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:58:23] Production.INFO: 34 MB #Memory Used#
[2025-01-09 02:59:01] Production.INFO: ==20172== Lock acquired, processing the job...
[2025-01-09 02:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 02:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 02:59:01] Production.INFO: neon service started
[2025-01-09 02:59:01] Production.INFO: neon service started
[2025-01-09 02:59:01] Production.INFO: ==20172== Releasing lock...
[2025-01-09 02:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 02:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 21:59:02] Production.INFO: ==20174== Lock acquired, processing the job...
[2025-01-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:59:02] Production.INFO: ==20176== Lock acquired, processing the job...
[2025-01-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:59:02] Production.INFO: ==20176== Releasing lock...
[2025-01-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 21:59:02] Production.INFO: ==20174== Releasing lock...
[2025-01-08 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 21:59:03] Production.INFO: ==20179== Lock acquired, processing the job...
[2025-01-08 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 21:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 21:59:03] Production.INFO: ==20183== Lock acquired, processing the job...
[2025-01-08 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 21:59:03] Production.INFO: ==20181== Lock acquired, processing the job...
[2025-01-08 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 21:59:03] Production.INFO: ==20185== Lock acquired, processing the job...
[2025-01-08 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 21:59:03] Production.INFO: Account Balance Start.
[2025-01-08 21:59:03] Production.INFO: CreateAllLog Start
[2025-01-08 21:59:03] Production.INFO: 117
[2025-01-08 21:59:03] Production.INFO: Date 2025-01-08
[2025-01-08 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-08 21:59:03] Production.INFO: ==20187== Lock acquired, processing the job...
[2025-01-08 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 21:59:03] Production.INFO: Total Charge 0
[2025-01-08 21:59:03] Production.INFO: CreateAllLog End
[2025-01-08 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 21:59:03] Production.INFO: ==20189== Lock acquired, processing the job...
[2025-01-08 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 21:59:03] Production.INFO: Account Balance End.
[2025-01-08 21:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:59:03] Production.ERROR: done
[2025-01-08 21:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 21:59:03] Production.ERROR: CronJobId end 12
[2025-01-08 21:59:03] Production.INFO: ==20185== Releasing lock...
[2025-01-08 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 21:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 21:59:03] Production.INFO: ==20181== Releasing lock...
[2025-01-08 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 21:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 21:59:03] Production.INFO: count ==21
[2025-01-08 21:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 21:59:04] Production.INFO: count ==21
[2025-01-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205142') start
[2025-01-08 21:59:04] Production.ERROR: done
[2025-01-08 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205142') end
[2025-01-08 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 21:59:04] Production.INFO: 1
[2025-01-08 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 21:59:04] Production.INFO: ==20189== Releasing lock...
[2025-01-08 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 21:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 18:59:05
[end_date_ymd] => 2025-01-08 21:59:05
[RateCDR] => 1
)
[2025-01-08 21:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 18:59:05' and `end` < '2025-01-08 21:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 21:59:12] Production.ERROR: CronJobId end10
[2025-01-08 21:59:12] Production.INFO: ==20183== Releasing lock...
[2025-01-08 21:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 21:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 21:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 21:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 21:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 21:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 21:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 21:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 21:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 21:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 21:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 21:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 21:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 21:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 21:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 21:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 21:59:13] Production.INFO: call_cost start
[2025-01-08 21:59:13] Production.INFO: call_cost end
[2025-01-08 21:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 21:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 21:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 21:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 21:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 21:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 21:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 21:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 21:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 21:59:14] Production.INFO: ==20179== Releasing lock...
[2025-01-08 21:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 21:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 21:59:18] Production.INFO: count ==895
[2025-01-08 21:59:18] Production.ERROR: pbx CDR StartTime 2025-01-08 18:59:05 - End Time 2025-01-08 21:59:05
[2025-01-08 21:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205143', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205143', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205143', 'tblTempVendorCDR_20' ) start
[2025-01-08 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205143', 'tblTempVendorCDR_20' ) end
[2025-01-08 21:59:18] Production.INFO: ProcessCDR(1,14205143,1,1,2)
[2025-01-08 21:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 21:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 21:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205143', 'tblTempUsageDetail_20' ) start
[2025-01-08 21:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205143', 'tblTempUsageDetail_20' ) end
[2025-01-08 21:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 21:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 21:59:21] Production.INFO: ==20187== Releasing lock...
[2025-01-08 21:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 21:59:21] Production.INFO: 34 MB #Memory Used#
[2025-01-09 03:00:02] Production.INFO: ==20245== Lock acquired, processing the job...
[2025-01-09 03:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:00:02] Production.INFO: neon service started
[2025-01-09 03:00:02] Production.INFO: neon service started
[2025-01-09 03:00:02] Production.INFO: ==20245== Releasing lock...
[2025-01-09 03:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:00:02] Production.INFO: ==20247== Lock acquired, processing the job...
[2025-01-08 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:00:02] Production.INFO: ==20249== Lock acquired, processing the job...
[2025-01-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:00:02] Production.INFO: ==20249== Releasing lock...
[2025-01-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:00:03] Production.INFO: ==20247== Releasing lock...
[2025-01-08 22:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:00:04] Production.INFO: ==20252== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 22:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 22:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 22:00:04] Production.INFO: ==20252== Releasing lock...
[2025-01-08 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 22:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:00:04] Production.INFO: ==20258== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:00:04] Production.INFO: ==20260== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-08 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:00:04] Production.INFO: ==20264== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-08 22:00:04] Production.INFO: ==20254== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:00:04] Production.ERROR: done
[2025-01-08 22:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.INFO: ==20262== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-08 22:00:04] Production.INFO: ==20256== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: ==20266== Lock acquired, processing the job...
[2025-01-08 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 0
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-08 22:00:04] Production.INFO: Account Balance Start.
[2025-01-08 22:00:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.INFO: 117
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: Total Charge 0
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-08 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:00:04] Production.INFO: CreateAllLog End
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-08 22:00:05] Production.ERROR: done
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 0
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-08 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-08 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-08 22:00:05] Production.INFO: ==20268== Lock acquired, processing the job...
[2025-01-08 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22: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-01-08 22:00:05] Production.INFO: count ==21
[2025-01-08 22:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:00:05] Production.INFO: count ==21
[2025-01-08 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14205148') start
[2025-01-08 22:00:05] Production.INFO: Account Balance End.
[2025-01-08 22:00:05] Production.ERROR: done
[2025-01-08 22:00:05] Production.ERROR: CronJobId end 12
[2025-01-08 22:00:05] Production.INFO: ==20262== Releasing lock...
[2025-01-08 22:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 22:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205149', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14205148') end
[2025-01-08 22:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:00:05] Production.INFO: 1
[2025-01-08 22:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:00:05
[end_date_ymd] => 2025-01-08 22:00:05
[RateCDR] => 1
)
[2025-01-08 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-01-08 19:00:05' and `end` < '2025-01-08 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-01-08 22:00:05] Production.INFO: ==20256== Releasing lock...
[2025-01-08 22:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:00:05] Production.INFO: ==20268== Releasing lock...
[2025-01-08 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:00:06] Production.ERROR: CronJobId end11
[2025-01-08 22:00:06] Production.INFO: ==20260== Releasing lock...
[2025-01-08 22:00:06] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-08 22:00:06] Production.INFO: 30.5 MB #Memory Used#
[2025-01-08 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205149', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 22:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 22:00:09] Production.INFO: ProcessCDR(1,14205149,1,1,2)
[2025-01-08 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205149,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205149,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:00:09] Production.INFO: ==20266== Releasing lock...
[2025-01-08 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 22:00:14] Production.ERROR: CronJobId end10
[2025-01-08 22:00:14] Production.INFO: ==20258== Releasing lock...
[2025-01-08 22:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:00:16] Production.INFO: call_cost start
[2025-01-08 22:00:16] Production.INFO: call_cost end
[2025-01-08 22:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:00:16] Production.INFO: ==20254== Releasing lock...
[2025-01-08 22:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:00:18] Production.INFO: count ==882
[2025-01-08 22:00:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:00:05 - End Time 2025-01-08 22:00:05
[2025-01-08 22:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205147', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205147', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205147', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205147', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:00:18] Production.INFO: ProcessCDR(1,14205147,1,1,2)
[2025-01-08 22:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205147,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205147,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205147', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205147', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:00:21] Production.INFO: ==20264== Releasing lock...
[2025-01-08 22:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:00:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-09 03:01:01] Production.INFO: ==20327== Lock acquired, processing the job...
[2025-01-09 03:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:01:01] Production.INFO: neon service started
[2025-01-09 03:01:01] Production.INFO: neon service started
[2025-01-09 03:01:01] Production.INFO: ==20327== Releasing lock...
[2025-01-09 03:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:01:01] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-01-09 03:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:01:01] Production.INFO: ==20341== Releasing lock...
[2025-01-09 03:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:01:02] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-01-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:01:02] Production.INFO: ==20339== Releasing lock...
[2025-01-08 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:01:03] Production.INFO: ==20352== Lock acquired, processing the job...
[2025-01-08 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:01:03] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-01-08 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:01:03] Production.INFO: ==20354== Lock acquired, processing the job...
[2025-01-08 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:01:03] Production.INFO: ==20345== Lock acquired, processing the job...
[2025-01-08 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:01:03] Production.INFO: ==20347== Lock acquired, processing the job...
[2025-01-08 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:01:03] Production.INFO: ==20350== Lock acquired, processing the job...
[2025-01-08 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:01:03] Production.INFO: count ==21
[2025-01-08 22:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:01:03] Production.INFO: count ==21
[2025-01-08 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205150') start
[2025-01-08 22:01:03] Production.ERROR: done
[2025-01-08 22:01:03] Production.INFO: Account Balance Start.
[2025-01-08 22:01:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:01:03] Production.INFO: 117
[2025-01-08 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:01:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:01:03] Production.INFO: Total Charge 0
[2025-01-08 22:01:03] Production.INFO: CreateAllLog End
[2025-01-08 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205150') end
[2025-01-08 22:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:01:03] Production.INFO: 1
[2025-01-08 22:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:01:03] Production.INFO: ==20354== Releasing lock...
[2025-01-08 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:01:03] Production.ERROR: done
[2025-01-08 22:01:04] Production.INFO: ==20345== Releasing lock...
[2025-01-08 22:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:01:04] Production.INFO: Account Balance End.
[2025-01-08 22:01:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:01:04] Production.INFO: ==20350== Releasing lock...
[2025-01-08 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:01:05
[end_date_ymd] => 2025-01-08 22:01:05
[RateCDR] => 1
)
[2025-01-08 22:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:01:05' and `end` < '2025-01-08 22:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:01:13] Production.ERROR: CronJobId end10
[2025-01-08 22:01:13] Production.INFO: ==20347== Releasing lock...
[2025-01-08 22:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:01:14] Production.INFO: call_cost start
[2025-01-08 22:01:14] Production.INFO: call_cost end
[2025-01-08 22:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:01:15] Production.INFO: ==20343== Releasing lock...
[2025-01-08 22:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:01:18] Production.INFO: count ==846
[2025-01-08 22:01:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:01:05 - End Time 2025-01-08 22:01:05
[2025-01-08 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205154', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205154', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205154', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205154', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:01:18] Production.INFO: ProcessCDR(1,14205154,1,1,2)
[2025-01-08 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205154', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205154', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:01:22] Production.INFO: ==20352== Releasing lock...
[2025-01-08 22:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:01:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:02:01] Production.INFO: ==20407== Lock acquired, processing the job...
[2025-01-09 03:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:02:01] Production.INFO: neon service started
[2025-01-09 03:02:01] Production.INFO: neon service started
[2025-01-09 03:02:01] Production.INFO: ==20407== Releasing lock...
[2025-01-09 03:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:02:02] Production.INFO: ==20411== Lock acquired, processing the job...
[2025-01-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:02:02] Production.INFO: ==20411== Releasing lock...
[2025-01-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:02:02] Production.INFO: ==20409== Lock acquired, processing the job...
[2025-01-08 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:02:02] Production.INFO: ==20409== Releasing lock...
[2025-01-08 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:02:03] Production.INFO: ==20416== Lock acquired, processing the job...
[2025-01-08 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:02:03] Production.INFO: ==20414== Lock acquired, processing the job...
[2025-01-08 22:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:02:03] Production.INFO: ==20424== Lock acquired, processing the job...
[2025-01-08 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:02:03] Production.INFO: ==20418== Lock acquired, processing the job...
[2025-01-08 22:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:02:03] Production.INFO: ==20416== Releasing lock...
[2025-01-08 22:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 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-01-08 22:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:02:03] Production.INFO: ==20420== Lock acquired, processing the job...
[2025-01-08 22:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:02:03] Production.INFO: ==20422== Lock acquired, processing the job...
[2025-01-08 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:02:03] Production.INFO: count ==21
[2025-01-08 22:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:02:04] Production.INFO: count ==21
[2025-01-08 22:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205156') start
[2025-01-08 22:02:04] Production.INFO: Account Balance Start.
[2025-01-08 22:02:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:02:04] Production.INFO: 117
[2025-01-08 22:02:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205156') end
[2025-01-08 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:02:04] Production.INFO: 1
[2025-01-08 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:02:04] Production.INFO: Total Charge 0
[2025-01-08 22:02:04] Production.INFO: ==20424== Releasing lock...
[2025-01-08 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:02:04] Production.ERROR: done
[2025-01-08 22:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:02:04] Production.INFO: CreateAllLog End
[2025-01-08 22:02:04] Production.ERROR: done
[2025-01-08 22:02:04] Production.INFO: Account Balance End.
[2025-01-08 22:02:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:02:04] Production.INFO: ==20420== Releasing lock...
[2025-01-08 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:02:05
[end_date_ymd] => 2025-01-08 22:02:05
[RateCDR] => 1
)
[2025-01-08 22:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:02:05' and `end` < '2025-01-08 22:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:02:12] Production.ERROR: CronJobId end10
[2025-01-08 22:02:12] Production.INFO: ==20418== Releasing lock...
[2025-01-08 22:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:02:13] Production.INFO: call_cost start
[2025-01-08 22:02:13] Production.INFO: call_cost end
[2025-01-08 22:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:02:14] Production.INFO: ==20414== Releasing lock...
[2025-01-08 22:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:02:18] Production.INFO: count ==845
[2025-01-08 22:02:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:02:05 - End Time 2025-01-08 22:02:05
[2025-01-08 22:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205159', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205159', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205159', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205159', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:02:18] Production.INFO: ProcessCDR(1,14205159,1,1,2)
[2025-01-08 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205159', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205159', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:02:23] Production.INFO: ==20422== Releasing lock...
[2025-01-08 22:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:02:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:03:01] Production.INFO: ==20476== Lock acquired, processing the job...
[2025-01-09 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:03:01] Production.INFO: neon service started
[2025-01-09 03:03:01] Production.INFO: neon service started
[2025-01-09 03:03:01] Production.INFO: ==20476== Releasing lock...
[2025-01-09 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:03:01] Production.INFO: ==20480== Lock acquired, processing the job...
[2025-01-09 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:03:01] Production.INFO: ==20480== Releasing lock...
[2025-01-09 03:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:03:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:03:01] Production.INFO: ==20478== Lock acquired, processing the job...
[2025-01-08 22:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:03:02] Production.INFO: ==20478== Releasing lock...
[2025-01-08 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:03:02] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-01-08 22:03:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:03:02] Production.INFO: ==20489== Lock acquired, processing the job...
[2025-01-08 22:03:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:03:03] Production.INFO: Account Balance Start.
[2025-01-08 22:03:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:03:03] Production.INFO: 117
[2025-01-08 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:03:03] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-01-08 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:03:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:03:03] Production.INFO: ==20485== Lock acquired, processing the job...
[2025-01-08 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:03:03] Production.INFO: Total Charge 0
[2025-01-08 22:03:03] Production.INFO: CreateAllLog End
[2025-01-08 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:03:03] Production.INFO: ==20491== Lock acquired, processing the job...
[2025-01-08 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:03:03] Production.INFO: Account Balance End.
[2025-01-08 22:03:03] Production.INFO: ==20493== Lock acquired, processing the job...
[2025-01-08 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:03:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:03:03] Production.INFO: ==20489== Releasing lock...
[2025-01-08 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:03:03] Production.INFO: count ==21
[2025-01-08 22:03:03] Production.INFO: ==20485== Releasing lock...
[2025-01-08 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:03:03] Production.INFO: count ==21
[2025-01-08 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205163') start
[2025-01-08 22:03:03] Production.ERROR: done
[2025-01-08 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205163') end
[2025-01-08 22:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:03:03] Production.INFO: 1
[2025-01-08 22:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:03:03] Production.INFO: ==20493== Releasing lock...
[2025-01-08 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:03:03] Production.ERROR: done
[2025-01-08 22:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:03:04
[end_date_ymd] => 2025-01-08 22:03:04
[RateCDR] => 1
)
[2025-01-08 22:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:03:04' and `end` < '2025-01-08 22:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:03:12] Production.ERROR: CronJobId end10
[2025-01-08 22:03:12] Production.INFO: ==20487== Releasing lock...
[2025-01-08 22:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:03:14] Production.INFO: call_cost start
[2025-01-08 22:03:14] Production.INFO: call_cost end
[2025-01-08 22:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:03:14] Production.INFO: ==20483== Releasing lock...
[2025-01-08 22:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:03:19] Production.INFO: count ==847
[2025-01-08 22:03:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:03:04 - End Time 2025-01-08 22:03:04
[2025-01-08 22:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205164', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205164', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205164', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205164', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:03:19] Production.INFO: ProcessCDR(1,14205164,1,1,2)
[2025-01-08 22:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205164', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205164', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:03:24] Production.INFO: ==20491== Releasing lock...
[2025-01-08 22:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:03:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:04:01] Production.INFO: ==20551== Lock acquired, processing the job...
[2025-01-09 03:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:04:01] Production.INFO: neon service started
[2025-01-09 03:04:01] Production.INFO: neon service started
[2025-01-09 03:04:01] Production.INFO: ==20551== Releasing lock...
[2025-01-09 03:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:04:02] Production.INFO: ==20555== Lock acquired, processing the job...
[2025-01-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:04:02] Production.INFO: ==20555== Releasing lock...
[2025-01-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:04:02] Production.INFO: ==20553== Lock acquired, processing the job...
[2025-01-08 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:04:02] Production.INFO: ==20553== Releasing lock...
[2025-01-08 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:04:03] Production.INFO: ==20559== Lock acquired, processing the job...
[2025-01-08 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:04:03] Production.INFO: ==20563== Lock acquired, processing the job...
[2025-01-08 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:04:03] Production.INFO: ==20565== Lock acquired, processing the job...
[2025-01-08 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:04:03] Production.INFO: ==20561== Lock acquired, processing the job...
[2025-01-08 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:04:03] Production.INFO: ==20567== Lock acquired, processing the job...
[2025-01-08 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:04:03] Production.INFO: ==20569== Lock acquired, processing the job...
[2025-01-08 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:04:03] Production.INFO: Account Balance Start.
[2025-01-08 22:04:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:04:03] Production.INFO: 117
[2025-01-08 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:04:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-08 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-01-08 22:04:03] Production.INFO: Total Charge 0
[2025-01-08 22:04:03] Production.INFO: count ==21
[2025-01-08 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-01-08 22:04:03] Production.INFO: CreateAllLog End
[2025-01-08 22:04:03] Production.INFO: count ==21
[2025-01-08 22:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205167') start
[2025-01-08 22:04:04] Production.ERROR: done
[2025-01-08 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205167') end
[2025-01-08 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:04:04] Production.INFO: 1
[2025-01-08 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:04:04] Production.ERROR: done
[2025-01-08 22:04:04] Production.INFO: ==20569== Releasing lock...
[2025-01-08 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:04:04] Production.INFO: Account Balance End.
[2025-01-08 22:04:04] Production.INFO: ==20561== Releasing lock...
[2025-01-08 22:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:04:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:04:04] Production.INFO: ==20565== Releasing lock...
[2025-01-08 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:04:05
[end_date_ymd] => 2025-01-08 22:04:05
[RateCDR] => 1
)
[2025-01-08 22:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:04:05' and `end` < '2025-01-08 22:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:04:11] Production.ERROR: CronJobId end10
[2025-01-08 22:04:11] Production.INFO: ==20563== Releasing lock...
[2025-01-08 22:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:04:13] Production.INFO: call_cost start
[2025-01-08 22:04:13] Production.INFO: call_cost end
[2025-01-08 22:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:04:14] Production.INFO: ==20559== Releasing lock...
[2025-01-08 22:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:04:18] Production.INFO: count ==847
[2025-01-08 22:04:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:04:05 - End Time 2025-01-08 22:04:05
[2025-01-08 22:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205169', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205169', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205169', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205169', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:04:18] Production.INFO: ProcessCDR(1,14205169,1,1,2)
[2025-01-08 22:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205169', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205169', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:04:21] Production.INFO: ==20567== Releasing lock...
[2025-01-08 22:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:04:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:05:02] Production.INFO: ==20626== Lock acquired, processing the job...
[2025-01-09 03:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:05:02] Production.INFO: neon service started
[2025-01-09 03:05:02] Production.INFO: neon service started
[2025-01-09 03:05:02] Production.INFO: ==20626== Releasing lock...
[2025-01-09 03:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:05:02] Production.INFO: ==20628== Lock acquired, processing the job...
[2025-01-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:05:02] Production.INFO: ==20630== Lock acquired, processing the job...
[2025-01-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:05:02] Production.INFO: ==20630== Releasing lock...
[2025-01-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:05:02] Production.INFO: ==20628== Releasing lock...
[2025-01-08 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:05:03] Production.INFO: ==20634== Lock acquired, processing the job...
[2025-01-08 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:05:03] Production.INFO: ==20641== Lock acquired, processing the job...
[2025-01-08 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:05:03] Production.INFO: ==20632== Lock acquired, processing the job...
[2025-01-08 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:05:03] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-01-08 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:05:03] Production.INFO: ==20636== Lock acquired, processing the job...
[2025-01-08 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:05:03] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-01-08 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:05:03] Production.INFO: Account Balance Start.
[2025-01-08 22:05:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:05:03] Production.INFO: ==20634== Releasing lock...
[2025-01-08 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:05:04] Production.INFO: 117
[2025-01-08 22:05:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:05:04] Production.INFO: Total Charge 0
[2025-01-08 22:05:04] Production.INFO: CreateAllLog End
[2025-01-08 22:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:05:04] Production.INFO: count ==21
[2025-01-08 22:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:05:04] Production.ERROR: done
[2025-01-08 22:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:05:04] Production.INFO: count ==21
[2025-01-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205173') start
[2025-01-08 22:05:04] Production.INFO: Account Balance End.
[2025-01-08 22:05:04] Production.ERROR: done
[2025-01-08 22:05:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:05:04] Production.INFO: ==20639== Releasing lock...
[2025-01-08 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205173') end
[2025-01-08 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:05:04] Production.INFO: 1
[2025-01-08 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:05:04] Production.INFO: ==20643== Releasing lock...
[2025-01-08 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:05:05
[end_date_ymd] => 2025-01-08 22:05:05
[RateCDR] => 1
)
[2025-01-08 22:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:05:05' and `end` < '2025-01-08 22:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:05:12] Production.ERROR: CronJobId end10
[2025-01-08 22:05:12] Production.INFO: ==20636== Releasing lock...
[2025-01-08 22:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:05:13] Production.INFO: call_cost start
[2025-01-08 22:05:13] Production.INFO: call_cost end
[2025-01-08 22:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:05:14] Production.INFO: ==20632== Releasing lock...
[2025-01-08 22:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:05:18] Production.INFO: count ==847
[2025-01-08 22:05:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:05:05 - End Time 2025-01-08 22:05:05
[2025-01-08 22:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205174', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205174', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205174', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205174', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:05:18] Production.INFO: ProcessCDR(1,14205174,1,1,2)
[2025-01-08 22:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205174', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205174', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:05:22] Production.INFO: ==20641== Releasing lock...
[2025-01-08 22:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:05:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:06:01] Production.INFO: ==20696== Lock acquired, processing the job...
[2025-01-09 03:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:06:01] Production.INFO: neon service started
[2025-01-09 03:06:01] Production.INFO: neon service started
[2025-01-09 03:06:01] Production.INFO: ==20696== Releasing lock...
[2025-01-09 03:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:06:02] Production.INFO: ==20698== Lock acquired, processing the job...
[2025-01-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:06:02] Production.INFO: ==20700== Lock acquired, processing the job...
[2025-01-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:06:02] Production.INFO: ==20700== Releasing lock...
[2025-01-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:06:02] Production.INFO: ==20698== Releasing lock...
[2025-01-08 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:06:03] Production.INFO: ==20703== Lock acquired, processing the job...
[2025-01-08 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:06:03] Production.INFO: ==20711== Lock acquired, processing the job...
[2025-01-08 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:06:03] Production.INFO: ==20713== Lock acquired, processing the job...
[2025-01-08 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:06:03] Production.INFO: ==20705== Lock acquired, processing the job...
[2025-01-08 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:06:03] Production.INFO: ==20707== Lock acquired, processing the job...
[2025-01-08 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:06:03] Production.INFO: ==20709== Lock acquired, processing the job...
[2025-01-08 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 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-01-08 22:06:03] Production.INFO: count ==21
[2025-01-08 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-01-08 22:06:03] Production.INFO: count ==21
[2025-01-08 22:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205176') start
[2025-01-08 22:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:06:03] Production.INFO: Account Balance Start.
[2025-01-08 22:06:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:06:03] Production.INFO: 117
[2025-01-08 22:06:03] Production.ERROR: done
[2025-01-08 22:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:06:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205176') end
[2025-01-08 22:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:06:03] Production.INFO: 1
[2025-01-08 22:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:06:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:06:03] Production.INFO: Total Charge 0
[2025-01-08 22:06:03] Production.INFO: CreateAllLog End
[2025-01-08 22:06:03] Production.INFO: ==20713== Releasing lock...
[2025-01-08 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:06:04] Production.INFO: ==20705== Releasing lock...
[2025-01-08 22:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:06:04] Production.ERROR: done
[2025-01-08 22:06:04] Production.INFO: Account Balance End.
[2025-01-08 22:06:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:06:04] Production.INFO: ==20709== Releasing lock...
[2025-01-08 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:06:05
[end_date_ymd] => 2025-01-08 22:06:05
[RateCDR] => 1
)
[2025-01-08 22:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:06:05' and `end` < '2025-01-08 22:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:06:10] Production.ERROR: CronJobId end10
[2025-01-08 22:06:10] Production.INFO: ==20707== Releasing lock...
[2025-01-08 22:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:06:13] Production.INFO: call_cost start
[2025-01-08 22:06:13] Production.INFO: call_cost end
[2025-01-08 22:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:06:14] Production.INFO: ==20703== Releasing lock...
[2025-01-08 22:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:06:18] Production.INFO: count ==842
[2025-01-08 22:06:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:06:05 - End Time 2025-01-08 22:06:05
[2025-01-08 22:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205179', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205179', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205179', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205179', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:06:18] Production.INFO: ProcessCDR(1,14205179,1,1,2)
[2025-01-08 22:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205179', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205179', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:06:21] Production.INFO: ==20711== Releasing lock...
[2025-01-08 22:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:06:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:07:02] Production.INFO: ==20768== Lock acquired, processing the job...
[2025-01-09 03:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:07:02] Production.INFO: neon service started
[2025-01-09 03:07:02] Production.INFO: neon service started
[2025-01-09 03:07:02] Production.INFO: ==20768== Releasing lock...
[2025-01-09 03:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:07:02] Production.INFO: ==20770== Lock acquired, processing the job...
[2025-01-08 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:07:02] Production.INFO: ==20772== Lock acquired, processing the job...
[2025-01-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:07:02] Production.INFO: ==20772== Releasing lock...
[2025-01-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:07:02] Production.INFO: ==20770== Releasing lock...
[2025-01-08 22:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:07:03] Production.INFO: ==20775== Lock acquired, processing the job...
[2025-01-08 22:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:07:03] Production.INFO: ==20777== Lock acquired, processing the job...
[2025-01-08 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:07:03] Production.INFO: ==20781== Lock acquired, processing the job...
[2025-01-08 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:07:03] Production.INFO: Account Balance Start.
[2025-01-08 22:07:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:07:03] Production.INFO: 117
[2025-01-08 22:07:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:07:03] Production.INFO: ==20785== Lock acquired, processing the job...
[2025-01-08 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:07:03] Production.INFO: ==20779== Lock acquired, processing the job...
[2025-01-08 22:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:07:03] Production.INFO: Total Charge 0
[2025-01-08 22:07:03] Production.INFO: CreateAllLog End
[2025-01-08 22:07:03] Production.INFO: ==20783== Lock acquired, processing the job...
[2025-01-08 22:07:03] Production.INFO: ==20777== Releasing lock...
[2025-01-08 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:07:04] Production.INFO: count ==21
[2025-01-08 22:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:07:04] Production.INFO: count ==21
[2025-01-08 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205183') start
[2025-01-08 22:07:04] Production.INFO: Account Balance End.
[2025-01-08 22:07:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:07:04] Production.INFO: ==20781== Releasing lock...
[2025-01-08 22:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205183') end
[2025-01-08 22:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:07:04] Production.INFO: 1
[2025-01-08 22:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:07:04] Production.INFO: ==20785== Releasing lock...
[2025-01-08 22:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:07:04] Production.ERROR: done
[2025-01-08 22:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:07:04] Production.ERROR: done
[2025-01-08 22:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:07:05
[end_date_ymd] => 2025-01-08 22:07:05
[RateCDR] => 1
)
[2025-01-08 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-01-08 19:07:05' and `end` < '2025-01-08 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-01-08 22:07:12] Production.ERROR: CronJobId end10
[2025-01-08 22:07:12] Production.INFO: ==20779== Releasing lock...
[2025-01-08 22:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:07:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:07:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:07:14] Production.INFO: call_cost start
[2025-01-08 22:07:14] Production.INFO: call_cost end
[2025-01-08 22:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:07:15] Production.INFO: ==20775== Releasing lock...
[2025-01-08 22:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:07:19] Production.INFO: count ==833
[2025-01-08 22:07:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:07:05 - End Time 2025-01-08 22:07:05
[2025-01-08 22:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205184', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205184', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205184', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205184', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:07:19] Production.INFO: ProcessCDR(1,14205184,1,1,2)
[2025-01-08 22:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205184', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205184', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:07:22] Production.INFO: ==20783== Releasing lock...
[2025-01-08 22:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:07:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:08:01] Production.INFO: ==20846== Lock acquired, processing the job...
[2025-01-09 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:08:01] Production.INFO: neon service started
[2025-01-09 03:08:01] Production.INFO: neon service started
[2025-01-09 03:08:01] Production.INFO: ==20846== Releasing lock...
[2025-01-09 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:08:01] Production.INFO: ==20848== Lock acquired, processing the job...
[2025-01-08 22:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:08:02] Production.INFO: ==20850== Lock acquired, processing the job...
[2025-01-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:08:02] Production.INFO: ==20850== Releasing lock...
[2025-01-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:08:02] Production.INFO: ==20848== Releasing lock...
[2025-01-08 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:08:03] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-01-08 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:08:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-01-08 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:08:03] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-01-08 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:08:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-01-08 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:08:03] Production.INFO: ==20863== Lock acquired, processing the job...
[2025-01-08 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:08:03] Production.INFO: Account Balance Start.
[2025-01-08 22:08:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:08:03] Production.INFO: 117
[2025-01-08 22:08:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:08:03] Production.INFO: ==20855== Releasing lock...
[2025-01-08 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:08:03] Production.INFO: ==20861== Lock acquired, processing the job...
[2025-01-08 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:08:03] Production.INFO: Total Charge 0
[2025-01-08 22:08:03] Production.INFO: CreateAllLog End
[2025-01-08 22:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:08:03] Production.INFO: count ==21
[2025-01-08 22:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:08:03] Production.INFO: Account Balance End.
[2025-01-08 22:08:03] Production.INFO: count ==21
[2025-01-08 22:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205188') start
[2025-01-08 22:08:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:08:03] Production.INFO: ==20859== Releasing lock...
[2025-01-08 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205188') end
[2025-01-08 22:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:08:03] Production.INFO: 1
[2025-01-08 22:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:08:03] Production.ERROR: done
[2025-01-08 22:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:08:04] Production.INFO: ==20863== Releasing lock...
[2025-01-08 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:08:04] Production.ERROR: done
[2025-01-08 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:08:05
[end_date_ymd] => 2025-01-08 22:08:05
[RateCDR] => 1
)
[2025-01-08 22:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:08:05' and `end` < '2025-01-08 22:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:08:11] Production.ERROR: CronJobId end10
[2025-01-08 22:08:11] Production.INFO: ==20857== Releasing lock...
[2025-01-08 22:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:08:13] Production.INFO: call_cost start
[2025-01-08 22:08:13] Production.INFO: call_cost end
[2025-01-08 22:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:08:14] Production.INFO: ==20853== Releasing lock...
[2025-01-08 22:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:08:19] Production.INFO: count ==832
[2025-01-08 22:08:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:08:05 - End Time 2025-01-08 22:08:05
[2025-01-08 22:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205189', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205189', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205189', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205189', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:08:19] Production.INFO: ProcessCDR(1,14205189,1,1,2)
[2025-01-08 22:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205189', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205189', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:08:24] Production.INFO: ==20861== Releasing lock...
[2025-01-08 22:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:08:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:09:01] Production.INFO: ==20917== Lock acquired, processing the job...
[2025-01-09 03:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:09:02] Production.INFO: neon service started
[2025-01-09 03:09:02] Production.INFO: neon service started
[2025-01-09 03:09:02] Production.INFO: ==20917== Releasing lock...
[2025-01-09 03:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:09:02] Production.INFO: ==20921== Lock acquired, processing the job...
[2025-01-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:09:02] Production.INFO: ==20921== Releasing lock...
[2025-01-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:09:02] Production.INFO: ==20919== Lock acquired, processing the job...
[2025-01-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:09:02] Production.INFO: ==20919== Releasing lock...
[2025-01-08 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:09:03] Production.INFO: ==20923== Lock acquired, processing the job...
[2025-01-08 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:09:03] Production.INFO: ==20927== Lock acquired, processing the job...
[2025-01-08 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:09:03] Production.INFO: ==20925== Lock acquired, processing the job...
[2025-01-08 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:09:03] Production.INFO: ==20934== Lock acquired, processing the job...
[2025-01-08 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:09:03] Production.INFO: ==20929== Lock acquired, processing the job...
[2025-01-08 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:09:03] Production.INFO: ==20931== Lock acquired, processing the job...
[2025-01-08 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:09:03] Production.INFO: count ==21
[2025-01-08 22:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:09:03] Production.INFO: count ==21
[2025-01-08 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205192') start
[2025-01-08 22:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:09:04] Production.INFO: Account Balance Start.
[2025-01-08 22:09:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:09:04] Production.INFO: 117
[2025-01-08 22:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205192') end
[2025-01-08 22:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:09:04] Production.INFO: 1
[2025-01-08 22:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:09:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:09:04] Production.INFO: ==20925== Releasing lock...
[2025-01-08 22:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:09:04] Production.INFO: ==20934== Releasing lock...
[2025-01-08 22:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:09:04] Production.INFO: Total Charge 0
[2025-01-08 22:09:04] Production.INFO: CreateAllLog End
[2025-01-08 22:09:04] Production.ERROR: done
[2025-01-08 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:09:04] Production.INFO: Account Balance End.
[2025-01-08 22:09:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:09:04] Production.INFO: ==20929== Releasing lock...
[2025-01-08 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:09:04] Production.ERROR: done
[2025-01-08 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:09:05
[end_date_ymd] => 2025-01-08 22:09:05
[RateCDR] => 1
)
[2025-01-08 22:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:09:05' and `end` < '2025-01-08 22:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:09:12] Production.ERROR: CronJobId end10
[2025-01-08 22:09:12] Production.INFO: ==20927== Releasing lock...
[2025-01-08 22:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:09:13] Production.INFO: call_cost start
[2025-01-08 22:09:13] Production.INFO: call_cost end
[2025-01-08 22:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:09:14] Production.INFO: ==20923== Releasing lock...
[2025-01-08 22:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:09:19] Production.INFO: count ==828
[2025-01-08 22:09:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:09:05 - End Time 2025-01-08 22:09:05
[2025-01-08 22:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205194', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205194', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205194', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205194', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:09:19] Production.INFO: ProcessCDR(1,14205194,1,1,2)
[2025-01-08 22:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205194', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205194', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:09:22] Production.INFO: ==20931== Releasing lock...
[2025-01-08 22:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:09:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:10:01] Production.INFO: ==20990== Lock acquired, processing the job...
[2025-01-09 03:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:10:01] Production.INFO: neon service started
[2025-01-09 03:10:01] Production.INFO: neon service started
[2025-01-09 03:10:01] Production.INFO: ==20990== Releasing lock...
[2025-01-09 03:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:10:02] Production.INFO: ==20992== Lock acquired, processing the job...
[2025-01-08 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:10:02] Production.INFO: ==20994== Lock acquired, processing the job...
[2025-01-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:10:02] Production.INFO: ==20994== Releasing lock...
[2025-01-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:10:02] Production.INFO: ==20992== Releasing lock...
[2025-01-08 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:10:03] Production.INFO: ==20997== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 22:10:03] Production.INFO: ==20999== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 22:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:10:03] Production.ERROR: CronJob PID - 20999
[2025-01-08 22:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 22:10:03] Production.ERROR: CronJob ID - 5
[2025-01-08 22:10:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:10:00
[2025-01-08 22:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 22:10:03] Production.INFO: ==20997== Releasing lock...
[2025-01-08 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 22:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:10:03] Production.INFO: ==21003== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:10:03] Production.INFO: ==21001== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:10:03] Production.INFO: ==21007== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:10:03] Production.INFO: ==21005== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:10:03] Production.INFO: ==21009== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 22:10:03] Production.INFO: ==21011== Lock acquired, processing the job...
[2025-01-08 22:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:10:03] Production.INFO: ==21001== Releasing lock...
[2025-01-08 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:10:03] Production.INFO: Account Balance Start.
[2025-01-08 22:10:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:10:03] Production.INFO: 117
[2025-01-08 22:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:10:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:10:03] Production.INFO: Total Charge 0
[2025-01-08 22:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:10:03] Production.INFO: CreateAllLog End
[2025-01-08 22:10:04] Production.INFO: count ==21
[2025-01-08 22:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:10:04] Production.INFO: count ==21
[2025-01-08 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205198') start
[2025-01-08 22:10:04] Production.ERROR: done
[2025-01-08 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205198') end
[2025-01-08 22:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:10:04] Production.INFO: 1
[2025-01-08 22:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:10:04] Production.ERROR: done
[2025-01-08 22:10:04] Production.ERROR: done
[2025-01-08 22:10:04] Production.INFO: ==21011== Releasing lock...
[2025-01-08 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 22:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205200', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 22:10:04] Production.INFO: Account Balance End.
[2025-01-08 22:10:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:10:04] Production.INFO: ==21005== Releasing lock...
[2025-01-08 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:10:05
[end_date_ymd] => 2025-01-08 22:10:05
[RateCDR] => 1
)
[2025-01-08 22:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:10:05' and `end` < '2025-01-08 22:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205200', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 22:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 22:10:08] Production.INFO: ProcessCDR(1,14205200,1,1,2)
[2025-01-08 22:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205200,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205200,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:10:08] Production.INFO: ==21009== Releasing lock...
[2025-01-08 22:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 22:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 22:10:13] Production.ERROR: CronJobId end10
[2025-01-08 22:10:13] Production.INFO: ==21003== Releasing lock...
[2025-01-08 22:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:10:15] Production.INFO: call_cost start
[2025-01-08 22:10:15] Production.INFO: call_cost end
[2025-01-08 22:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:10:16] Production.INFO: ==20999== Releasing lock...
[2025-01-08 22:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:10:19] Production.INFO: count ==826
[2025-01-08 22:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:10:05 - End Time 2025-01-08 22:10:05
[2025-01-08 22:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205199', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205199', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205199', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205199', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:10:19] Production.INFO: ProcessCDR(1,14205199,1,1,2)
[2025-01-08 22:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205199', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205199', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:10:22] Production.INFO: ==21007== Releasing lock...
[2025-01-08 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:10:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:11:01] Production.INFO: ==21067== Lock acquired, processing the job...
[2025-01-09 03:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:11:01] Production.INFO: neon service started
[2025-01-09 03:11:01] Production.INFO: neon service started
[2025-01-09 03:11:01] Production.INFO: ==21067== Releasing lock...
[2025-01-09 03:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:11:02] Production.INFO: ==21071== Lock acquired, processing the job...
[2025-01-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:11:02] Production.INFO: ==21071== Releasing lock...
[2025-01-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:11:02] Production.INFO: ==21069== Lock acquired, processing the job...
[2025-01-08 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:11:02] Production.INFO: ==21069== Releasing lock...
[2025-01-08 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:11:03] Production.INFO: ==21075== Lock acquired, processing the job...
[2025-01-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:11:03] Production.INFO: ==21082== Lock acquired, processing the job...
[2025-01-08 22:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:11:03] Production.INFO: ==21073== Lock acquired, processing the job...
[2025-01-08 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:11:03] Production.INFO: ==21080== Lock acquired, processing the job...
[2025-01-08 22:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:11:03] Production.INFO: ==21077== Lock acquired, processing the job...
[2025-01-08 22:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:11:03] Production.INFO: ==21084== Lock acquired, processing the job...
[2025-01-08 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:11:03] Production.INFO: ==21075== Releasing lock...
[2025-01-08 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:11:03] Production.INFO: Account Balance Start.
[2025-01-08 22:11:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:11:03] Production.INFO: 117
[2025-01-08 22:11:03] Production.INFO: count ==21
[2025-01-08 22:11:03] Production.ERROR: done
[2025-01-08 22:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:11:03] Production.INFO: count ==21
[2025-01-08 22:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205204') start
[2025-01-08 22:11:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:11:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:11:03] Production.INFO: Total Charge 0
[2025-01-08 22:11:03] Production.INFO: CreateAllLog End
[2025-01-08 22:11:03] Production.ERROR: done
[2025-01-08 22:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205204') end
[2025-01-08 22:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:11:03] Production.INFO: 1
[2025-01-08 22:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:11:03] Production.INFO: ==21084== Releasing lock...
[2025-01-08 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:11:04] Production.INFO: Account Balance End.
[2025-01-08 22:11:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:11:04] Production.INFO: ==21080== Releasing lock...
[2025-01-08 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:11:04
[end_date_ymd] => 2025-01-08 22:11:04
[RateCDR] => 1
)
[2025-01-08 22:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:11:04' and `end` < '2025-01-08 22:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:11:11] Production.ERROR: CronJobId end10
[2025-01-08 22:11:11] Production.INFO: ==21077== Releasing lock...
[2025-01-08 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:11:13] Production.INFO: call_cost start
[2025-01-08 22:11:13] Production.INFO: call_cost end
[2025-01-08 22:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:11:14] Production.INFO: ==21073== Releasing lock...
[2025-01-08 22:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:11:18] Production.INFO: count ==794
[2025-01-08 22:11:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:11:04 - End Time 2025-01-08 22:11:04
[2025-01-08 22:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205205', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205205', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205205', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205205', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:11:18] Production.INFO: ProcessCDR(1,14205205,1,1,2)
[2025-01-08 22:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205205', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205205', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:11:21] Production.INFO: ==21082== Releasing lock...
[2025-01-08 22:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:11:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:12:02] Production.INFO: ==21140== Lock acquired, processing the job...
[2025-01-09 03:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:12:02] Production.INFO: neon service started
[2025-01-09 03:12:02] Production.INFO: neon service started
[2025-01-09 03:12:02] Production.INFO: ==21140== Releasing lock...
[2025-01-09 03:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:12:02] Production.INFO: ==21142== Lock acquired, processing the job...
[2025-01-08 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:12:02] Production.INFO: ==21144== Lock acquired, processing the job...
[2025-01-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:12:02] Production.INFO: ==21144== Releasing lock...
[2025-01-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:12:03] Production.INFO: ==21142== Releasing lock...
[2025-01-08 22:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:12:03] Production.INFO: ==21149== Lock acquired, processing the job...
[2025-01-08 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:12:04] Production.INFO: ==21157== Lock acquired, processing the job...
[2025-01-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:12:04] Production.INFO: ==21147== Lock acquired, processing the job...
[2025-01-08 22:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:12:04] Production.INFO: ==21149== Releasing lock...
[2025-01-08 22:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:12:04] Production.INFO: ==21153== Lock acquired, processing the job...
[2025-01-08 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:12:04] Production.INFO: ==21151== Lock acquired, processing the job...
[2025-01-08 22:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:12:04] Production.INFO: count ==21
[2025-01-08 22:12:04] Production.INFO: ==21155== Lock acquired, processing the job...
[2025-01-08 22:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:12:04] Production.INFO: count ==21
[2025-01-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205207') start
[2025-01-08 22:12:04] Production.INFO: Account Balance Start.
[2025-01-08 22:12:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:12:04] Production.INFO: 117
[2025-01-08 22:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:12:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:12:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205207') end
[2025-01-08 22:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:12:04] Production.INFO: 1
[2025-01-08 22:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:12:04] Production.INFO: Total Charge 0
[2025-01-08 22:12:04] Production.INFO: ==21157== Releasing lock...
[2025-01-08 22:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:12:04] Production.INFO: CreateAllLog End
[2025-01-08 22:12:04] Production.ERROR: done
[2025-01-08 22:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:12:04] Production.INFO: Account Balance End.
[2025-01-08 22:12:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:12:04] Production.INFO: ==21153== Releasing lock...
[2025-01-08 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:12:05] Production.ERROR: done
[2025-01-08 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:12:05
[end_date_ymd] => 2025-01-08 22:12:05
[RateCDR] => 1
)
[2025-01-08 22:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:12:05' and `end` < '2025-01-08 22:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:12:12] Production.ERROR: CronJobId end10
[2025-01-08 22:12:12] Production.INFO: ==21151== Releasing lock...
[2025-01-08 22:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:12:13] Production.INFO: call_cost start
[2025-01-08 22:12:13] Production.INFO: call_cost end
[2025-01-08 22:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:12:14] Production.INFO: ==21147== Releasing lock...
[2025-01-08 22:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:12:18] Production.INFO: count ==794
[2025-01-08 22:12:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:12:05 - End Time 2025-01-08 22:12:05
[2025-01-08 22:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205210', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205210', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205210', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205210', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:12:18] Production.INFO: ProcessCDR(1,14205210,1,1,2)
[2025-01-08 22:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205210', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205210', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:12:21] Production.INFO: ==21155== Releasing lock...
[2025-01-08 22:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:12:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:13:01] Production.INFO: ==21249== Lock acquired, processing the job...
[2025-01-09 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:13:01] Production.INFO: neon service started
[2025-01-09 03:13:01] Production.INFO: neon service started
[2025-01-09 03:13:01] Production.INFO: ==21249== Releasing lock...
[2025-01-09 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:13:02] Production.INFO: ==21251== Lock acquired, processing the job...
[2025-01-08 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:13:02] Production.INFO: ==21251== Releasing lock...
[2025-01-08 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:13:02] Production.INFO: ==21253== Lock acquired, processing the job...
[2025-01-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:13:02] Production.INFO: ==21253== Releasing lock...
[2025-01-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:13:03] Production.INFO: ==21265== Lock acquired, processing the job...
[2025-01-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:13:03] Production.INFO: ==21261== Lock acquired, processing the job...
[2025-01-08 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:13:03] Production.INFO: Account Balance Start.
[2025-01-08 22:13:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:13:03] Production.INFO: 117
[2025-01-08 22:13:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:13:03] Production.INFO: count ==21
[2025-01-08 22:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:13:03] Production.INFO: count ==21
[2025-01-08 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:13:03] Production.INFO: ==21259== Lock acquired, processing the job...
[2025-01-08 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205211') start
[2025-01-08 22:13:03] Production.INFO: ==21255== Lock acquired, processing the job...
[2025-01-08 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:13:03] Production.INFO: ==21257== Lock acquired, processing the job...
[2025-01-08 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:13:03] Production.INFO: Total Charge 0
[2025-01-08 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:13:03] Production.INFO: CreateAllLog End
[2025-01-08 22:13:03] Production.INFO: ==21263== Lock acquired, processing the job...
[2025-01-08 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205211') end
[2025-01-08 22:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:13:03] Production.INFO: 1
[2025-01-08 22:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:13:03] Production.INFO: ==21265== Releasing lock...
[2025-01-08 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:13:03] Production.INFO: Account Balance End.
[2025-01-08 22:13:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:13:03] Production.INFO: ==21261== Releasing lock...
[2025-01-08 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:13:03] Production.ERROR: done
[2025-01-08 22:13:03] Production.INFO: ==21257== Releasing lock...
[2025-01-08 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:13:04] Production.ERROR: done
[2025-01-08 22:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:13:04
[end_date_ymd] => 2025-01-08 22:13:04
[RateCDR] => 1
)
[2025-01-08 22:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:13:04' and `end` < '2025-01-08 22:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:13:11] Production.ERROR: CronJobId end10
[2025-01-08 22:13:11] Production.INFO: ==21259== Releasing lock...
[2025-01-08 22:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:13:12] Production.INFO: call_cost start
[2025-01-08 22:13:12] Production.INFO: call_cost end
[2025-01-08 22:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:13:13] Production.INFO: ==21255== Releasing lock...
[2025-01-08 22:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:13:17] Production.INFO: count ==795
[2025-01-08 22:13:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:13:04 - End Time 2025-01-08 22:13:04
[2025-01-08 22:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205215', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205215', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205215', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205215', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:13:18] Production.INFO: ProcessCDR(1,14205215,1,1,2)
[2025-01-08 22:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205215', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205215', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:13:22] Production.INFO: ==21263== Releasing lock...
[2025-01-08 22:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:13:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:14:02] Production.INFO: ==21322== Lock acquired, processing the job...
[2025-01-09 03:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:14:02] Production.INFO: neon service started
[2025-01-09 03:14:02] Production.INFO: neon service started
[2025-01-09 03:14:02] Production.INFO: ==21322== Releasing lock...
[2025-01-09 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:14:02] Production.INFO: ==21326== Lock acquired, processing the job...
[2025-01-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:14:02] Production.INFO: ==21326== Releasing lock...
[2025-01-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:14:02] Production.INFO: ==21324== Lock acquired, processing the job...
[2025-01-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:14:02] Production.INFO: ==21324== Releasing lock...
[2025-01-08 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:14:03] Production.INFO: ==21328== Lock acquired, processing the job...
[2025-01-08 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:14:03] Production.INFO: ==21336== Lock acquired, processing the job...
[2025-01-08 22:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:14:03] Production.INFO: ==21334== Lock acquired, processing the job...
[2025-01-08 22:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:14:03] Production.INFO: ==21330== Lock acquired, processing the job...
[2025-01-08 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:14:04] Production.INFO: ==21332== Lock acquired, processing the job...
[2025-01-08 22:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:14:04] Production.INFO: Account Balance Start.
[2025-01-08 22:14:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:14:04] Production.INFO: 117
[2025-01-08 22:14:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:14:04] Production.INFO: Total Charge 0
[2025-01-08 22:14:04] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-01-08 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:14:04] Production.INFO: CreateAllLog End
[2025-01-08 22:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:14:04] Production.ERROR: done
[2025-01-08 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:14:04] Production.INFO: count ==21
[2025-01-08 22:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:14:04] Production.INFO: count ==21
[2025-01-08 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205219') start
[2025-01-08 22:14:04] Production.ERROR: done
[2025-01-08 22:14:04] Production.INFO: ==21330== Releasing lock...
[2025-01-08 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:14:04] Production.INFO: Account Balance End.
[2025-01-08 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205219') end
[2025-01-08 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:14:04] Production.INFO: 1
[2025-01-08 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:14:04] Production.INFO: ==21338== Releasing lock...
[2025-01-08 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:14:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:14:04] Production.INFO: ==21334== Releasing lock...
[2025-01-08 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:14:05
[end_date_ymd] => 2025-01-08 22:14:05
[RateCDR] => 1
)
[2025-01-08 22:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:14:05' and `end` < '2025-01-08 22:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:14:13] Production.ERROR: CronJobId end10
[2025-01-08 22:14:13] Production.INFO: ==21332== Releasing lock...
[2025-01-08 22:14:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:14:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:14:14] Production.INFO: call_cost start
[2025-01-08 22:14:14] Production.INFO: call_cost end
[2025-01-08 22:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:14:15] Production.INFO: ==21328== Releasing lock...
[2025-01-08 22:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:14:18] Production.INFO: count ==793
[2025-01-08 22:14:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:14:05 - End Time 2025-01-08 22:14:05
[2025-01-08 22:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205220', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205220', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205220', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205220', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:14:18] Production.INFO: ProcessCDR(1,14205220,1,1,2)
[2025-01-08 22:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205220', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205220', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:14:22] Production.INFO: ==21336== Releasing lock...
[2025-01-08 22:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:14:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:15:01] Production.INFO: ==21392== Lock acquired, processing the job...
[2025-01-09 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:15:01] Production.INFO: neon service started
[2025-01-09 03:15:01] Production.INFO: neon service started
[2025-01-09 03:15:01] Production.INFO: ==21392== Releasing lock...
[2025-01-09 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:15:02] Production.INFO: ==21396== Lock acquired, processing the job...
[2025-01-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 22:15:02] Production.INFO: ==21394== Lock acquired, processing the job...
[2025-01-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:15:02] Production.INFO: ==21396== Releasing lock...
[2025-01-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:15:02] Production.INFO: ==21394== Releasing lock...
[2025-01-08 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:15:03] Production.INFO: ==21400== Lock acquired, processing the job...
[2025-01-08 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:15:03] Production.INFO: ==21402== Lock acquired, processing the job...
[2025-01-08 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:15:03] Production.INFO: ==21404== Lock acquired, processing the job...
[2025-01-08 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:15:03] Production.INFO: ==21406== Lock acquired, processing the job...
[2025-01-08 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:15:03] Production.INFO: ==21410== Lock acquired, processing the job...
[2025-01-08 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:15:03] Production.INFO: Account Balance Start.
[2025-01-08 22:15:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:15:03] Production.INFO: ==21408== Lock acquired, processing the job...
[2025-01-08 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:15:03] Production.INFO: 117
[2025-01-08 22:15:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:15:03] Production.INFO: Total Charge 0
[2025-01-08 22:15:03] Production.INFO: ==21402== Releasing lock...
[2025-01-08 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:15:03] Production.INFO: CreateAllLog End
[2025-01-08 22:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:15:03] Production.INFO: count ==21
[2025-01-08 22:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:15:03] Production.INFO: count ==21
[2025-01-08 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205224') start
[2025-01-08 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205224') end
[2025-01-08 22:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:15:04] Production.INFO: 1
[2025-01-08 22:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:15:04] Production.INFO: ==21410== Releasing lock...
[2025-01-08 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:15:04] Production.INFO: Account Balance End.
[2025-01-08 22:15:04] Production.ERROR: done
[2025-01-08 22:15:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:15:04] Production.INFO: ==21406== Releasing lock...
[2025-01-08 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:15:04] Production.ERROR: done
[2025-01-08 22:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:15:05
[end_date_ymd] => 2025-01-08 22:15:05
[RateCDR] => 1
)
[2025-01-08 22:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:15:05' and `end` < '2025-01-08 22:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:15:11] Production.ERROR: CronJobId end10
[2025-01-08 22:15:11] Production.INFO: ==21404== Releasing lock...
[2025-01-08 22:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:15:12] Production.INFO: call_cost start
[2025-01-08 22:15:12] Production.INFO: call_cost end
[2025-01-08 22:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:15:13] Production.INFO: ==21400== Releasing lock...
[2025-01-08 22:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:15:18] Production.INFO: count ==795
[2025-01-08 22:15:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:15:05 - End Time 2025-01-08 22:15:05
[2025-01-08 22:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205225', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205225', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205225', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205225', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:15:18] Production.INFO: ProcessCDR(1,14205225,1,1,2)
[2025-01-08 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205225', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205225', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:15:21] Production.INFO: ==21408== Releasing lock...
[2025-01-08 22:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:15:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:16:01] Production.INFO: ==21468== Lock acquired, processing the job...
[2025-01-09 03:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:16:01] Production.INFO: neon service started
[2025-01-09 03:16:01] Production.INFO: neon service started
[2025-01-09 03:16:01] Production.INFO: ==21468== Releasing lock...
[2025-01-09 03:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:16:02] Production.INFO: ==21470== Lock acquired, processing the job...
[2025-01-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:16:02] Production.INFO: ==21472== Lock acquired, processing the job...
[2025-01-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:16:02] Production.INFO: ==21472== Releasing lock...
[2025-01-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:16:02] Production.INFO: ==21470== Releasing lock...
[2025-01-08 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:16:03] Production.INFO: ==21479== Lock acquired, processing the job...
[2025-01-08 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:16:03] Production.INFO: ==21485== Lock acquired, processing the job...
[2025-01-08 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 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-01-08 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:16:03] Production.INFO: count ==21
[2025-01-08 22:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:16:03] Production.INFO: ==21475== Lock acquired, processing the job...
[2025-01-08 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:16:03] Production.INFO: count ==21
[2025-01-08 22:16:03] Production.INFO: ==21477== Lock acquired, processing the job...
[2025-01-08 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205226') start
[2025-01-08 22:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:16:03] Production.INFO: ==21483== Lock acquired, processing the job...
[2025-01-08 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:16:03] Production.INFO: ==21481== Lock acquired, processing the job...
[2025-01-08 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205226') end
[2025-01-08 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:16:04] Production.INFO: 1
[2025-01-08 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:16:04] Production.INFO: ==21485== Releasing lock...
[2025-01-08 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:16:04] Production.INFO: ==21477== Releasing lock...
[2025-01-08 22:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:16:04] Production.INFO: Account Balance Start.
[2025-01-08 22:16:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:16:04] Production.INFO: 117
[2025-01-08 22:16:04] Production.ERROR: done
[2025-01-08 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:16:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:16:04] Production.ERROR: done
[2025-01-08 22:16:04] Production.INFO: Total Charge 0
[2025-01-08 22:16:04] Production.INFO: CreateAllLog End
[2025-01-08 22:16:04] Production.INFO: Account Balance End.
[2025-01-08 22:16:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:16:04] Production.INFO: ==21481== Releasing lock...
[2025-01-08 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:16:05
[end_date_ymd] => 2025-01-08 22:16:05
[RateCDR] => 1
)
[2025-01-08 22:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:16:05' and `end` < '2025-01-08 22:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:16:11] Production.ERROR: CronJobId end10
[2025-01-08 22:16:11] Production.INFO: ==21479== Releasing lock...
[2025-01-08 22:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:16:12] Production.INFO: call_cost start
[2025-01-08 22:16:12] Production.INFO: call_cost end
[2025-01-08 22:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:16:13] Production.INFO: ==21475== Releasing lock...
[2025-01-08 22:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:16:18] Production.INFO: count ==795
[2025-01-08 22:16:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:16:05 - End Time 2025-01-08 22:16:05
[2025-01-08 22:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205230', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205230', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205230', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205230', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:16:18] Production.INFO: ProcessCDR(1,14205230,1,1,2)
[2025-01-08 22:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205230', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205230', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:16:22] Production.INFO: ==21483== Releasing lock...
[2025-01-08 22:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:16:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:17:01] Production.INFO: ==21540== Lock acquired, processing the job...
[2025-01-09 03:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:17:01] Production.INFO: neon service started
[2025-01-09 03:17:01] Production.INFO: neon service started
[2025-01-09 03:17:01] Production.INFO: ==21540== Releasing lock...
[2025-01-09 03:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:17:02] Production.INFO: ==21542== Lock acquired, processing the job...
[2025-01-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:17:02] Production.INFO: ==21544== Lock acquired, processing the job...
[2025-01-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:17:02] Production.INFO: ==21544== Releasing lock...
[2025-01-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:17:02] Production.INFO: ==21542== Releasing lock...
[2025-01-08 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:17:03] Production.INFO: ==21547== Lock acquired, processing the job...
[2025-01-08 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:17:03] Production.INFO: ==21549== Lock acquired, processing the job...
[2025-01-08 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:17:03] Production.INFO: ==21557== Lock acquired, processing the job...
[2025-01-08 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:17:03] Production.INFO: ==21551== Lock acquired, processing the job...
[2025-01-08 22:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:17:03] Production.INFO: count ==21
[2025-01-08 22:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:17:03] Production.INFO: count ==21
[2025-01-08 22:17:03] Production.INFO: ==21553== Lock acquired, processing the job...
[2025-01-08 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:17:03] Production.INFO: ==21555== Lock acquired, processing the job...
[2025-01-08 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205233') start
[2025-01-08 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205233') end
[2025-01-08 22:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:17:03] Production.INFO: 1
[2025-01-08 22:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:17:03] Production.INFO: ==21557== Releasing lock...
[2025-01-08 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:17:03] Production.INFO: ==21549== Releasing lock...
[2025-01-08 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:17:03] Production.INFO: Account Balance Start.
[2025-01-08 22:17:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:17:03] Production.INFO: 117
[2025-01-08 22:17:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:17:03] Production.INFO: Total Charge 0
[2025-01-08 22:17:03] Production.INFO: CreateAllLog End
[2025-01-08 22:17:04] Production.ERROR: done
[2025-01-08 22:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:17:04] Production.ERROR: done
[2025-01-08 22:17:04] Production.INFO: Account Balance End.
[2025-01-08 22:17:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:17:04] Production.INFO: ==21553== Releasing lock...
[2025-01-08 22:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:17:05
[end_date_ymd] => 2025-01-08 22:17:05
[RateCDR] => 1
)
[2025-01-08 22:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:17:05' and `end` < '2025-01-08 22:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:17:12] Production.ERROR: CronJobId end10
[2025-01-08 22:17:12] Production.INFO: ==21551== Releasing lock...
[2025-01-08 22:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:17:13] Production.INFO: call_cost start
[2025-01-08 22:17:13] Production.INFO: call_cost end
[2025-01-08 22:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:17:14] Production.INFO: ==21547== Releasing lock...
[2025-01-08 22:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:17:18] Production.INFO: count ==795
[2025-01-08 22:17:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:17:05 - End Time 2025-01-08 22:17:05
[2025-01-08 22:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205235', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205235', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205235', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205235', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:17:18] Production.INFO: ProcessCDR(1,14205235,1,1,2)
[2025-01-08 22:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205235', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205235', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:17:22] Production.INFO: ==21555== Releasing lock...
[2025-01-08 22:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:17:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:18:01] Production.INFO: ==21614== Lock acquired, processing the job...
[2025-01-09 03:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:18:01] Production.INFO: neon service started
[2025-01-09 03:18:01] Production.INFO: neon service started
[2025-01-09 03:18:01] Production.INFO: ==21614== Releasing lock...
[2025-01-09 03:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:18:02] Production.INFO: ==21616== Lock acquired, processing the job...
[2025-01-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:18:02] Production.INFO: ==21616== Releasing lock...
[2025-01-08 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:18:02] Production.INFO: ==21618== Lock acquired, processing the job...
[2025-01-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:18:02] Production.INFO: ==21618== Releasing lock...
[2025-01-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:18:03] Production.INFO: ==21627== Lock acquired, processing the job...
[2025-01-08 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:18:03] Production.INFO: ==21621== Lock acquired, processing the job...
[2025-01-08 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:18:03] Production.INFO: Account Balance Start.
[2025-01-08 22:18:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:18:03] Production.INFO: 117
[2025-01-08 22:18:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:18:03] Production.INFO: ==21631== Lock acquired, processing the job...
[2025-01-08 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:18:03] Production.INFO: ==21623== Lock acquired, processing the job...
[2025-01-08 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:18:03] Production.INFO: ==21625== Lock acquired, processing the job...
[2025-01-08 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:18:03] Production.INFO: Total Charge 0
[2025-01-08 22:18:03] Production.INFO: ==21629== Lock acquired, processing the job...
[2025-01-08 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:18:03] Production.INFO: CreateAllLog End
[2025-01-08 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:18:03] Production.INFO: count ==21
[2025-01-08 22:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:18:03] Production.INFO: count ==21
[2025-01-08 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205238') start
[2025-01-08 22:18:03] Production.ERROR: done
[2025-01-08 22:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205238') end
[2025-01-08 22:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:18:03] Production.INFO: 1
[2025-01-08 22:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:18:03] Production.INFO: Account Balance End.
[2025-01-08 22:18:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:18:03] Production.INFO: ==21627== Releasing lock...
[2025-01-08 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:18:04] Production.INFO: ==21631== Releasing lock...
[2025-01-08 22:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:18:04] Production.INFO: ==21623== Releasing lock...
[2025-01-08 22:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:18:04] Production.ERROR: done
[2025-01-08 22:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:18:04
[end_date_ymd] => 2025-01-08 22:18:04
[RateCDR] => 1
)
[2025-01-08 22:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:18:04' and `end` < '2025-01-08 22:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:18:11] Production.ERROR: CronJobId end10
[2025-01-08 22:18:11] Production.INFO: ==21625== Releasing lock...
[2025-01-08 22:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:18:13] Production.INFO: call_cost start
[2025-01-08 22:18:13] Production.INFO: call_cost end
[2025-01-08 22:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:18:14] Production.INFO: ==21621== Releasing lock...
[2025-01-08 22:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:18:17] Production.INFO: count ==796
[2025-01-08 22:18:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:18:04 - End Time 2025-01-08 22:18:04
[2025-01-08 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205240', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205240', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205240', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205240', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:18:18] Production.INFO: ProcessCDR(1,14205240,1,1,2)
[2025-01-08 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205240', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205240', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:18:22] Production.INFO: ==21629== Releasing lock...
[2025-01-08 22:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:18:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:19:02] Production.INFO: ==21685== Lock acquired, processing the job...
[2025-01-09 03:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:19:02] Production.INFO: neon service started
[2025-01-09 03:19:02] Production.INFO: neon service started
[2025-01-09 03:19:02] Production.INFO: ==21685== Releasing lock...
[2025-01-09 03:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:19:02] Production.INFO: ==21689== Lock acquired, processing the job...
[2025-01-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:19:02] Production.INFO: ==21689== Releasing lock...
[2025-01-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:19:02] Production.INFO: ==21687== Lock acquired, processing the job...
[2025-01-08 22:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:19:03] Production.INFO: ==21687== Releasing lock...
[2025-01-08 22:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:19:03] Production.INFO: ==21695== Lock acquired, processing the job...
[2025-01-08 22:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:19:03] Production.INFO: ==21699== Lock acquired, processing the job...
[2025-01-08 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:19:04] Production.INFO: ==21691== Lock acquired, processing the job...
[2025-01-08 22:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:19:04] Production.INFO: ==21693== Lock acquired, processing the job...
[2025-01-08 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:19:04] Production.INFO: ==21697== Lock acquired, processing the job...
[2025-01-08 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:19:04] Production.INFO: ==21702== Lock acquired, processing the job...
[2025-01-08 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:19:04] Production.INFO: Account Balance Start.
[2025-01-08 22:19:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:19:04] Production.INFO: 117
[2025-01-08 22:19:04] Production.INFO: count ==21
[2025-01-08 22:19:04] Production.ERROR: done
[2025-01-08 22:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:19:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:19:04] Production.INFO: count ==21
[2025-01-08 22:19:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205243') start
[2025-01-08 22:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:19:04] Production.INFO: Total Charge 0
[2025-01-08 22:19:04] Production.INFO: CreateAllLog End
[2025-01-08 22:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205243') end
[2025-01-08 22:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:19:04] Production.INFO: 1
[2025-01-08 22:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:19:04] Production.INFO: ==21693== Releasing lock...
[2025-01-08 22:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:19:04] Production.ERROR: done
[2025-01-08 22:19:04] Production.INFO: ==21702== Releasing lock...
[2025-01-08 22:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:19:04] Production.INFO: Account Balance End.
[2025-01-08 22:19:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:19:04] Production.INFO: ==21697== Releasing lock...
[2025-01-08 22:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:19:05
[end_date_ymd] => 2025-01-08 22:19:05
[RateCDR] => 1
)
[2025-01-08 22:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:19:05' and `end` < '2025-01-08 22:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:19:12] Production.ERROR: CronJobId end10
[2025-01-08 22:19:12] Production.INFO: ==21695== Releasing lock...
[2025-01-08 22:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:19:13] Production.INFO: call_cost start
[2025-01-08 22:19:13] Production.INFO: call_cost end
[2025-01-08 22:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:19:14] Production.INFO: ==21691== Releasing lock...
[2025-01-08 22:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:19:18] Production.INFO: count ==793
[2025-01-08 22:19:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:19:05 - End Time 2025-01-08 22:19:05
[2025-01-08 22:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205245', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205245', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205245', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205245', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:19:18] Production.INFO: ProcessCDR(1,14205245,1,1,2)
[2025-01-08 22:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205245', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205245', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:19:21] Production.INFO: ==21699== Releasing lock...
[2025-01-08 22:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:19:21] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 03:20:01] Production.INFO: ==21756== Lock acquired, processing the job...
[2025-01-09 03:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:20:01] Production.INFO: neon service started
[2025-01-09 03:20:01] Production.INFO: neon service started
[2025-01-09 03:20:01] Production.INFO: ==21756== Releasing lock...
[2025-01-09 03:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:20:02] Production.INFO: ==21761== Lock acquired, processing the job...
[2025-01-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:20:02] Production.INFO: ==21761== Releasing lock...
[2025-01-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:20:02] Production.INFO: ==21759== Lock acquired, processing the job...
[2025-01-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:20:02] Production.INFO: ==21759== Releasing lock...
[2025-01-08 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:20:03] Production.INFO: ==21765== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:20:03] Production.INFO: ==21763== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 22:20:03] Production.INFO: ==21777== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:20:03] Production.INFO: ==21773== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:20:03] Production.INFO: ==21769== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:20:03] Production.INFO: ==21767== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 22:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:20:03] Production.ERROR: CronJob PID - 21765
[2025-01-08 22:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 22:20:03] Production.ERROR: CronJob ID - 5
[2025-01-08 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:20:00
[2025-01-08 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:20:03] Production.ERROR: CronJob PID - 21773
[2025-01-08 22:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-08 22:20:03] Production.ERROR: CronJob ID - 16
[2025-01-08 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:20:00
[2025-01-08 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:20:03] Production.ERROR: CronJob PID - 21777
[2025-01-08 22:20:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-08 22:20:03] Production.ERROR: CronJob ID - 19
[2025-01-08 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:20:00
[2025-01-08 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:20:03] Production.INFO: ==21771== Lock acquired, processing the job...
[2025-01-08 22:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:20:04] Production.INFO: count ==21
[2025-01-08 22:20:04] Production.INFO: ==21775== Lock acquired, processing the job...
[2025-01-08 22:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 22:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 22:20:04] Production.INFO: ==21763== Releasing lock...
[2025-01-08 22:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 22:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:20:04] Production.INFO: count ==21
[2025-01-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205247') start
[2025-01-08 22:20:04] Production.INFO: Account Balance Start.
[2025-01-08 22:20:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:20:04] Production.INFO: 117
[2025-01-08 22:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:20:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205247') end
[2025-01-08 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:20:04] Production.INFO: 1
[2025-01-08 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:20:04] Production.INFO: Total Charge 0
[2025-01-08 22:20:04] Production.INFO: CreateAllLog End
[2025-01-08 22:20:04] Production.ERROR: done
[2025-01-08 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:20:04] Production.INFO: ==21777== Releasing lock...
[2025-01-08 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:20:04] Production.ERROR: done
[2025-01-08 22:20:04] Production.INFO: ==21767== Releasing lock...
[2025-01-08 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:20:04] Production.ERROR: done
[2025-01-08 22:20:04] Production.INFO: Account Balance End.
[2025-01-08 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205251', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 22:20:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:20:04] Production.INFO: ==21771== Releasing lock...
[2025-01-08 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:20:05
[end_date_ymd] => 2025-01-08 22:20:05
[RateCDR] => 1
)
[2025-01-08 22:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:20:05' and `end` < '2025-01-08 22:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205251', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 22:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 22:20:09] Production.INFO: ProcessCDR(1,14205251,1,1,2)
[2025-01-08 22:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205251,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205251,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:20:09] Production.INFO: ==21775== Releasing lock...
[2025-01-08 22:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 22:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 22:20:14] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,12))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-08 22:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:20:14] Production.INFO: call_cost start
[2025-01-08 22:20:14] Production.INFO: call_cost end
[2025-01-08 22:20:15] Production.ERROR: CronJobId end10
[2025-01-08 22:20:15] Production.INFO: ==21769== Releasing lock...
[2025-01-08 22:20:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:20:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:20:16] Production.INFO: ==21765== Releasing lock...
[2025-01-08 22:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:20:18] Production.INFO: count ==794
[2025-01-08 22:20:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:20:05 - End Time 2025-01-08 22:20:05
[2025-01-08 22:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205250', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205250', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205250', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205250', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:20:18] Production.INFO: ProcessCDR(1,14205250,1,1,2)
[2025-01-08 22:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205250', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205250', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:20:23] Production.INFO: ==21773== Releasing lock...
[2025-01-08 22:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:20:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 03:21:02] Production.INFO: ==21831== Lock acquired, processing the job...
[2025-01-09 03:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:21:02] Production.INFO: neon service started
[2025-01-09 03:21:02] Production.INFO: neon service started
[2025-01-09 03:21:02] Production.INFO: ==21831== Releasing lock...
[2025-01-09 03:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:21:02] Production.INFO: ==21835== Lock acquired, processing the job...
[2025-01-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:21:02] Production.INFO: ==21835== Releasing lock...
[2025-01-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:21:02] Production.INFO: ==21833== Lock acquired, processing the job...
[2025-01-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:21:02] Production.INFO: ==21833== Releasing lock...
[2025-01-08 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:21:03] Production.INFO: ==21838== Lock acquired, processing the job...
[2025-01-08 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:21:03] Production.INFO: ==21840== Lock acquired, processing the job...
[2025-01-08 22:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:21:03] Production.INFO: ==21844== Lock acquired, processing the job...
[2025-01-08 22:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:21:03] Production.INFO: Account Balance Start.
[2025-01-08 22:21:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:21:03] Production.INFO: 117
[2025-01-08 22:21:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:21:03] Production.INFO: ==21842== Lock acquired, processing the job...
[2025-01-08 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:21:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:21:03] Production.INFO: Total Charge 0
[2025-01-08 22:21:03] Production.INFO: CreateAllLog End
[2025-01-08 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:21:04] Production.INFO: ==21846== Lock acquired, processing the job...
[2025-01-08 22:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:21:04] Production.INFO: ==21840== Releasing lock...
[2025-01-08 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:21:04] Production.INFO: Account Balance End.
[2025-01-08 22:21:04] Production.INFO: ==21848== Lock acquired, processing the job...
[2025-01-08 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:21:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:21:04] Production.INFO: ==21844== Releasing lock...
[2025-01-08 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:21:04] Production.INFO: count ==21
[2025-01-08 22:21:04] Production.ERROR: done
[2025-01-08 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:21:04] Production.INFO: count ==21
[2025-01-08 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205255') start
[2025-01-08 22:21:04] Production.ERROR: done
[2025-01-08 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205255') end
[2025-01-08 22:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:21:04] Production.INFO: 1
[2025-01-08 22:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:21:04] Production.INFO: ==21848== Releasing lock...
[2025-01-08 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:21:05
[end_date_ymd] => 2025-01-08 22:21:05
[RateCDR] => 1
)
[2025-01-08 22:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:21:05' and `end` < '2025-01-08 22:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:21:12] Production.ERROR: CronJobId end10
[2025-01-08 22:21:12] Production.INFO: ==21842== Releasing lock...
[2025-01-08 22:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:21:13] Production.INFO: call_cost start
[2025-01-08 22:21:13] Production.INFO: call_cost end
[2025-01-08 22:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:21:14] Production.INFO: ==21838== Releasing lock...
[2025-01-08 22:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:21:19] Production.INFO: count ==777
[2025-01-08 22:21:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:21:05 - End Time 2025-01-08 22:21:05
[2025-01-08 22:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205256', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205256', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205256', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205256', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:21:19] Production.INFO: ProcessCDR(1,14205256,1,1,2)
[2025-01-08 22:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205256', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205256', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:21:23] Production.INFO: ==21846== Releasing lock...
[2025-01-08 22:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:21:23] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:22:01] Production.INFO: ==21906== Lock acquired, processing the job...
[2025-01-09 03:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:22:01] Production.INFO: neon service started
[2025-01-09 03:22:01] Production.INFO: neon service started
[2025-01-09 03:22:01] Production.INFO: ==21906== Releasing lock...
[2025-01-09 03:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:22:01] Production.INFO: ==21911== Lock acquired, processing the job...
[2025-01-09 03:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:22:02] Production.INFO: ==21911== Releasing lock...
[2025-01-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:22:02] Production.INFO: ==21909== Lock acquired, processing the job...
[2025-01-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:22:02] Production.INFO: ==21909== Releasing lock...
[2025-01-08 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:22:03] Production.INFO: ==21913== Lock acquired, processing the job...
[2025-01-08 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:22:03] Production.INFO: ==21917== Lock acquired, processing the job...
[2025-01-08 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:22:03] Production.INFO: ==21919== Lock acquired, processing the job...
[2025-01-08 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:22:03] Production.INFO: Account Balance Start.
[2025-01-08 22:22:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:22:03] Production.INFO: 117
[2025-01-08 22:22:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:22:03] Production.INFO: Total Charge 0
[2025-01-08 22:22:03] Production.INFO: CreateAllLog End
[2025-01-08 22:22:03] Production.INFO: ==21915== Lock acquired, processing the job...
[2025-01-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:22:03] Production.INFO: Account Balance End.
[2025-01-08 22:22:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:22:03] Production.INFO: ==21919== Releasing lock...
[2025-01-08 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:22:03] Production.INFO: ==21921== Lock acquired, processing the job...
[2025-01-08 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:22:03] Production.INFO: ==21923== Lock acquired, processing the job...
[2025-01-08 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:22:03] Production.INFO: ==21915== Releasing lock...
[2025-01-08 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:22:03] Production.INFO: count ==21
[2025-01-08 22:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:22:03] Production.INFO: count ==21
[2025-01-08 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205260') start
[2025-01-08 22:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205260') end
[2025-01-08 22:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:22:04] Production.INFO: 1
[2025-01-08 22:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:22:04] Production.ERROR: done
[2025-01-08 22:22:04] Production.INFO: ==21923== Releasing lock...
[2025-01-08 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:22:04] Production.ERROR: done
[2025-01-08 22:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:22:05
[end_date_ymd] => 2025-01-08 22:22:05
[RateCDR] => 1
)
[2025-01-08 22:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:22:05' and `end` < '2025-01-08 22:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:22:11] Production.ERROR: CronJobId end10
[2025-01-08 22:22:11] Production.INFO: ==21917== Releasing lock...
[2025-01-08 22:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:22:13] Production.INFO: call_cost start
[2025-01-08 22:22:13] Production.INFO: call_cost end
[2025-01-08 22:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:22:14] Production.INFO: ==21913== Releasing lock...
[2025-01-08 22:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:22:18] Production.INFO: count ==777
[2025-01-08 22:22:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:22:05 - End Time 2025-01-08 22:22:05
[2025-01-08 22:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205261', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205261', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205261', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205261', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:22:18] Production.INFO: ProcessCDR(1,14205261,1,1,2)
[2025-01-08 22:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205261', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205261', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:22:21] Production.INFO: ==21921== Releasing lock...
[2025-01-08 22:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:22:21] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:23:02] Production.INFO: ==21980== Lock acquired, processing the job...
[2025-01-09 03:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:23:02] Production.INFO: neon service started
[2025-01-09 03:23:02] Production.INFO: neon service started
[2025-01-09 03:23:02] Production.INFO: ==21980== Releasing lock...
[2025-01-09 03:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:23:02] Production.INFO: ==21982== Lock acquired, processing the job...
[2025-01-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:23:02] Production.INFO: ==21984== Lock acquired, processing the job...
[2025-01-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 22:23:02] Production.INFO: ==21982== Releasing lock...
[2025-01-08 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:23:02] Production.INFO: ==21984== Releasing lock...
[2025-01-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:23:03] Production.INFO: ==21987== Lock acquired, processing the job...
[2025-01-08 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:23:03] Production.INFO: ==21989== Lock acquired, processing the job...
[2025-01-08 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:23:03] Production.INFO: ==21991== Lock acquired, processing the job...
[2025-01-08 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:23:03] Production.INFO: ==21995== Lock acquired, processing the job...
[2025-01-08 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:23:03] Production.INFO: ==21993== Lock acquired, processing the job...
[2025-01-08 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:23:03] Production.INFO: ==21997== Lock acquired, processing the job...
[2025-01-08 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:23:03] Production.INFO: Account Balance Start.
[2025-01-08 22:23:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:23:03] Production.INFO: 117
[2025-01-08 22:23:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:23:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:23:03] Production.INFO: Total Charge 0
[2025-01-08 22:23:03] Production.INFO: CreateAllLog End
[2025-01-08 22:23:03] Production.INFO: ==21989== Releasing lock...
[2025-01-08 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:23:03] Production.INFO: count ==21
[2025-01-08 22:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:23:04] Production.INFO: count ==21
[2025-01-08 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205264') start
[2025-01-08 22:23:04] Production.ERROR: done
[2025-01-08 22:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:23:04] Production.INFO: Account Balance End.
[2025-01-08 22:23:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:23:04] Production.INFO: ==21993== Releasing lock...
[2025-01-08 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205264') end
[2025-01-08 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:23:04] Production.INFO: 1
[2025-01-08 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:23:04] Production.ERROR: done
[2025-01-08 22:23:04] Production.INFO: ==21997== Releasing lock...
[2025-01-08 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:23:05
[end_date_ymd] => 2025-01-08 22:23:05
[RateCDR] => 1
)
[2025-01-08 22:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:23:05' and `end` < '2025-01-08 22:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:23:12] Production.ERROR: CronJobId end10
[2025-01-08 22:23:12] Production.INFO: ==21991== Releasing lock...
[2025-01-08 22:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:23:13] Production.INFO: call_cost start
[2025-01-08 22:23:13] Production.INFO: call_cost end
[2025-01-08 22:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:23:14] Production.INFO: ==21987== Releasing lock...
[2025-01-08 22:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:23:18] Production.INFO: count ==777
[2025-01-08 22:23:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:23:05 - End Time 2025-01-08 22:23:05
[2025-01-08 22:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205266', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205266', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205266', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205266', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:23:19] Production.INFO: ProcessCDR(1,14205266,1,1,2)
[2025-01-08 22:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205266', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205266', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:23:23] Production.INFO: ==21995== Releasing lock...
[2025-01-08 22:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:23:23] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:24:01] Production.INFO: ==22049== Lock acquired, processing the job...
[2025-01-09 03:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:24:01] Production.INFO: neon service started
[2025-01-09 03:24:01] Production.INFO: neon service started
[2025-01-09 03:24:01] Production.INFO: ==22049== Releasing lock...
[2025-01-09 03:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:24:01] Production.INFO: ==22051== Lock acquired, processing the job...
[2025-01-08 22:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:24:02] Production.INFO: ==22053== Lock acquired, processing the job...
[2025-01-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 22:24:02] Production.INFO: ==22051== Releasing lock...
[2025-01-08 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:24:02] Production.INFO: ==22053== Releasing lock...
[2025-01-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:24:03] Production.INFO: ==22060== Lock acquired, processing the job...
[2025-01-08 22:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:24:03] Production.INFO: ==22056== Lock acquired, processing the job...
[2025-01-08 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:24:03] Production.INFO: ==22066== Lock acquired, processing the job...
[2025-01-08 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:24:03] Production.INFO: ==22058== Lock acquired, processing the job...
[2025-01-08 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:24:03] Production.INFO: count ==21
[2025-01-08 22:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:24:03] Production.INFO: ==22062== Lock acquired, processing the job...
[2025-01-08 22:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:24:03] Production.INFO: count ==21
[2025-01-08 22:24:03] Production.INFO: ==22064== Lock acquired, processing the job...
[2025-01-08 22:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205268') start
[2025-01-08 22:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205268') end
[2025-01-08 22:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:24:03] Production.INFO: 1
[2025-01-08 22:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:24:03] Production.INFO: Account Balance Start.
[2025-01-08 22:24:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:24:03] Production.INFO: 117
[2025-01-08 22:24:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:24:03] Production.INFO: ==22066== Releasing lock...
[2025-01-08 22:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:24:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:24:03] Production.ERROR: done
[2025-01-08 22:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:24:03] Production.INFO: ==22058== Releasing lock...
[2025-01-08 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:24:03] Production.INFO: Total Charge 0
[2025-01-08 22:24:03] Production.INFO: CreateAllLog End
[2025-01-08 22:24:04] Production.ERROR: done
[2025-01-08 22:24:04] Production.INFO: Account Balance End.
[2025-01-08 22:24:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:24:04] Production.INFO: ==22062== Releasing lock...
[2025-01-08 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:24:04
[end_date_ymd] => 2025-01-08 22:24:04
[RateCDR] => 1
)
[2025-01-08 22:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:24:04' and `end` < '2025-01-08 22:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:24:11] Production.ERROR: CronJobId end10
[2025-01-08 22:24:11] Production.INFO: ==22060== Releasing lock...
[2025-01-08 22:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:24:13] Production.INFO: call_cost start
[2025-01-08 22:24:13] Production.INFO: call_cost end
[2025-01-08 22:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:24:14] Production.INFO: ==22056== Releasing lock...
[2025-01-08 22:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:24:18] Production.INFO: count ==776
[2025-01-08 22:24:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:24:04 - End Time 2025-01-08 22:24:04
[2025-01-08 22:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205271', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205271', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205271', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205271', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:24:18] Production.INFO: ProcessCDR(1,14205271,1,1,2)
[2025-01-08 22:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205271', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205271', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:24:21] Production.INFO: ==22064== Releasing lock...
[2025-01-08 22:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:24:21] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:25:01] Production.INFO: ==22121== Lock acquired, processing the job...
[2025-01-09 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:25:01] Production.INFO: neon service started
[2025-01-09 03:25:01] Production.INFO: neon service started
[2025-01-09 03:25:01] Production.INFO: ==22121== Releasing lock...
[2025-01-09 03:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:25:02] Production.INFO: ==22123== Lock acquired, processing the job...
[2025-01-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:25:02] Production.INFO: ==22123== Releasing lock...
[2025-01-08 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:25:02] Production.INFO: ==22125== Lock acquired, processing the job...
[2025-01-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:25:02] Production.INFO: ==22125== Releasing lock...
[2025-01-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:25:03] Production.INFO: ==22127== Lock acquired, processing the job...
[2025-01-08 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:25:03] Production.INFO: ==22131== Lock acquired, processing the job...
[2025-01-08 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:25:03] Production.INFO: ==22129== Lock acquired, processing the job...
[2025-01-08 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:25:03] Production.INFO: ==22133== Lock acquired, processing the job...
[2025-01-08 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:25:03] Production.INFO: Account Balance Start.
[2025-01-08 22:25:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:25:03] Production.INFO: 117
[2025-01-08 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:25:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:25:03] Production.INFO: ==22136== Lock acquired, processing the job...
[2025-01-08 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:25:03] Production.INFO: ==22138== Lock acquired, processing the job...
[2025-01-08 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:25:03] Production.INFO: Total Charge 0
[2025-01-08 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:25:03] Production.INFO: CreateAllLog End
[2025-01-08 22:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:25:03] Production.INFO: ==22129== Releasing lock...
[2025-01-08 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:25:03] Production.INFO: count ==21
[2025-01-08 22:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:25:03] Production.INFO: count ==21
[2025-01-08 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205275') start
[2025-01-08 22:25:04] Production.INFO: Account Balance End.
[2025-01-08 22:25:04] Production.ERROR: done
[2025-01-08 22:25:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:25:04] Production.INFO: ==22133== Releasing lock...
[2025-01-08 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205275') end
[2025-01-08 22:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:25:04] Production.INFO: 1
[2025-01-08 22:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:25:04] Production.ERROR: done
[2025-01-08 22:25:04] Production.INFO: ==22138== Releasing lock...
[2025-01-08 22:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:25:05
[end_date_ymd] => 2025-01-08 22:25:05
[RateCDR] => 1
)
[2025-01-08 22:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:25:05' and `end` < '2025-01-08 22:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:25:12] Production.ERROR: CronJobId end10
[2025-01-08 22:25:12] Production.INFO: ==22131== Releasing lock...
[2025-01-08 22:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:25:12] Production.INFO: call_cost start
[2025-01-08 22:25:12] Production.INFO: call_cost end
[2025-01-08 22:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:25:13] Production.INFO: ==22127== Releasing lock...
[2025-01-08 22:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:25:18] Production.INFO: count ==776
[2025-01-08 22:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:25:05 - End Time 2025-01-08 22:25:05
[2025-01-08 22:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205276', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205276', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205276', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205276', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:25:18] Production.INFO: ProcessCDR(1,14205276,1,1,2)
[2025-01-08 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205276', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205276', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:25:21] Production.INFO: ==22136== Releasing lock...
[2025-01-08 22:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:25:21] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:26:01] Production.INFO: ==22193== Lock acquired, processing the job...
[2025-01-09 03:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:26:01] Production.INFO: neon service started
[2025-01-09 03:26:01] Production.INFO: neon service started
[2025-01-09 03:26:01] Production.INFO: ==22193== Releasing lock...
[2025-01-09 03:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:26:01] Production.INFO: ==22195== Lock acquired, processing the job...
[2025-01-08 22:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:26:02] Production.INFO: ==22195== Releasing lock...
[2025-01-08 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:26:02] Production.INFO: ==22197== Lock acquired, processing the job...
[2025-01-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:26:02] Production.INFO: ==22197== Releasing lock...
[2025-01-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:26:02] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-01-08 22:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:26:02] Production.INFO: ==22203== Lock acquired, processing the job...
[2025-01-08 22:26:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:26:02] Production.INFO: ==22207== Lock acquired, processing the job...
[2025-01-08 22:26:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:26:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:26:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:26:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:26:03] Production.INFO: ==22201== Lock acquired, processing the job...
[2025-01-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:26:03] Production.INFO: ==22205== Lock acquired, processing the job...
[2025-01-08 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:26:03] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-08 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:26:03] Production.INFO: Account Balance Start.
[2025-01-08 22:26:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:26:03] Production.INFO: 117
[2025-01-08 22:26:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:26:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:26:03] Production.ERROR: done
[2025-01-08 22:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:26:03] Production.INFO: ==22201== Releasing lock...
[2025-01-08 22:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:26:03] Production.INFO: Total Charge 0
[2025-01-08 22:26:03] Production.INFO: count ==21
[2025-01-08 22:26:03] Production.INFO: CreateAllLog End
[2025-01-08 22:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:26:03] Production.INFO: count ==21
[2025-01-08 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205280') start
[2025-01-08 22:26:03] Production.ERROR: done
[2025-01-08 22:26:03] Production.INFO: Account Balance End.
[2025-01-08 22:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205280') end
[2025-01-08 22:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:26:03] Production.INFO: 1
[2025-01-08 22:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:26:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:26:03] Production.INFO: ==22205== Releasing lock...
[2025-01-08 22:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:26:04] Production.INFO: ==22209== Releasing lock...
[2025-01-08 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:26:04
[end_date_ymd] => 2025-01-08 22:26:04
[RateCDR] => 1
)
[2025-01-08 22:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:26:04' and `end` < '2025-01-08 22:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:26:11] Production.ERROR: CronJobId end10
[2025-01-08 22:26:11] Production.INFO: ==22203== Releasing lock...
[2025-01-08 22:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:26:12] Production.INFO: call_cost start
[2025-01-08 22:26:12] Production.INFO: call_cost end
[2025-01-08 22:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:26:13] Production.INFO: ==22199== Releasing lock...
[2025-01-08 22:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:26:17] Production.INFO: count ==777
[2025-01-08 22:26:17] Production.ERROR: pbx CDR StartTime 2025-01-08 19:26:04 - End Time 2025-01-08 22:26:04
[2025-01-08 22:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205281', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205281', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205281', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205281', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:26:17] Production.INFO: ProcessCDR(1,14205281,1,1,2)
[2025-01-08 22:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205281', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205281', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:26:22] Production.INFO: ==22207== Releasing lock...
[2025-01-08 22:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:26:22] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:27:01] Production.INFO: ==22262== Lock acquired, processing the job...
[2025-01-09 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:27:01] Production.INFO: neon service started
[2025-01-09 03:27:01] Production.INFO: neon service started
[2025-01-09 03:27:01] Production.INFO: ==22262== Releasing lock...
[2025-01-09 03:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:27:02] Production.INFO: ==22266== Lock acquired, processing the job...
[2025-01-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:27:02] Production.INFO: ==22266== Releasing lock...
[2025-01-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:27:02] Production.INFO: ==22264== Lock acquired, processing the job...
[2025-01-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:27:02] Production.INFO: ==22264== Releasing lock...
[2025-01-08 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:27:03] Production.INFO: ==22271== Lock acquired, processing the job...
[2025-01-08 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:27:03] Production.INFO: ==22273== Lock acquired, processing the job...
[2025-01-08 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:27:03] Production.INFO: ==22277== Lock acquired, processing the job...
[2025-01-08 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:27:03] Production.INFO: ==22271== Releasing lock...
[2025-01-08 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:27:03] Production.INFO: ==22275== Lock acquired, processing the job...
[2025-01-08 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:27:03] Production.INFO: ==22279== Lock acquired, processing the job...
[2025-01-08 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:27:03] Production.ERROR: done
[2025-01-08 22:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:27:03] Production.INFO: ==22269== Lock acquired, processing the job...
[2025-01-08 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:27:04] Production.ERROR: done
[2025-01-08 22:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:27:04] Production.INFO: Account Balance Start.
[2025-01-08 22:27:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:27:04] Production.INFO: 117
[2025-01-08 22:27:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:27:04] Production.INFO: count ==21
[2025-01-08 22:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:27:04] Production.INFO: count ==21
[2025-01-08 22:27:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205284') start
[2025-01-08 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205284') end
[2025-01-08 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:27:04] Production.INFO: 1
[2025-01-08 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:27:04] Production.INFO: Total Charge 0
[2025-01-08 22:27:04] Production.INFO: CreateAllLog End
[2025-01-08 22:27:04] Production.INFO: ==22279== Releasing lock...
[2025-01-08 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:27:04] Production.INFO: Account Balance End.
[2025-01-08 22:27:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:27:04] Production.INFO: ==22275== Releasing lock...
[2025-01-08 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:27:05
[end_date_ymd] => 2025-01-08 22:27:05
[RateCDR] => 1
)
[2025-01-08 22:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:27:05' and `end` < '2025-01-08 22:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:27:12] Production.ERROR: CronJobId end10
[2025-01-08 22:27:12] Production.INFO: ==22273== Releasing lock...
[2025-01-08 22:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:27:13] Production.INFO: call_cost start
[2025-01-08 22:27:13] Production.INFO: call_cost end
[2025-01-08 22:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:27:14] Production.INFO: ==22269== Releasing lock...
[2025-01-08 22:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:27:19] Production.INFO: count ==777
[2025-01-08 22:27:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:27:05 - End Time 2025-01-08 22:27:05
[2025-01-08 22:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205286', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205286', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205286', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205286', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:27:19] Production.INFO: ProcessCDR(1,14205286,1,1,2)
[2025-01-08 22:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205286', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205286', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:27:23] Production.INFO: ==22277== Releasing lock...
[2025-01-08 22:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:27:23] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:28:01] Production.INFO: ==22372== Lock acquired, processing the job...
[2025-01-09 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:28:01] Production.INFO: neon service started
[2025-01-09 03:28:01] Production.INFO: neon service started
[2025-01-09 03:28:01] Production.INFO: ==22372== Releasing lock...
[2025-01-09 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:28:01] Production.INFO: ==22374== Lock acquired, processing the job...
[2025-01-08 22:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:28:02] Production.INFO: ==22374== Releasing lock...
[2025-01-08 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:28:02] Production.INFO: ==22376== Lock acquired, processing the job...
[2025-01-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:28:02] Production.INFO: ==22376== Releasing lock...
[2025-01-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:28:02] Production.INFO: ==22383== Lock acquired, processing the job...
[2025-01-08 22:28:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:28:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:28:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:28:02] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:28:02] Production.INFO: ==22389== Lock acquired, processing the job...
[2025-01-08 22:28:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:28:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:28:03] Production.INFO: ==22379== Lock acquired, processing the job...
[2025-01-08 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:28:03] Production.INFO: ==22381== Lock acquired, processing the job...
[2025-01-08 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:28:03] Production.INFO: count ==21
[2025-01-08 22:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:28:03] Production.INFO: ==22385== Lock acquired, processing the job...
[2025-01-08 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:28:03] Production.INFO: count ==21
[2025-01-08 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205287') start
[2025-01-08 22:28:03] Production.INFO: ==22387== Lock acquired, processing the job...
[2025-01-08 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205287') end
[2025-01-08 22:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:28:03] Production.INFO: 1
[2025-01-08 22:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:28:03] Production.INFO: Account Balance Start.
[2025-01-08 22:28:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:28:03] Production.INFO: 117
[2025-01-08 22:28:03] Production.INFO: ==22389== Releasing lock...
[2025-01-08 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:28:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:28:03] Production.INFO: Total Charge 0
[2025-01-08 22:28:03] Production.INFO: ==22381== Releasing lock...
[2025-01-08 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:28:03] Production.INFO: CreateAllLog End
[2025-01-08 22:28:03] Production.ERROR: done
[2025-01-08 22:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:28:03] Production.INFO: Account Balance End.
[2025-01-08 22:28:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:28:03] Production.INFO: ==22385== Releasing lock...
[2025-01-08 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:28:03] Production.ERROR: done
[2025-01-08 22:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:28:04
[end_date_ymd] => 2025-01-08 22:28:04
[RateCDR] => 1
)
[2025-01-08 22:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:28:04' and `end` < '2025-01-08 22:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:28:11] Production.ERROR: CronJobId end10
[2025-01-08 22:28:11] Production.INFO: ==22383== Releasing lock...
[2025-01-08 22:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:28:13] Production.INFO: call_cost start
[2025-01-08 22:28:13] Production.INFO: call_cost end
[2025-01-08 22:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:28:14] Production.INFO: ==22379== Releasing lock...
[2025-01-08 22:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:28:17] Production.INFO: count ==771
[2025-01-08 22:28:17] Production.ERROR: pbx CDR StartTime 2025-01-08 19:28:04 - End Time 2025-01-08 22:28:04
[2025-01-08 22:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205291', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205291', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205291', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205291', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:28:17] Production.INFO: ProcessCDR(1,14205291,1,1,2)
[2025-01-08 22:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205291', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205291', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:28:22] Production.INFO: ==22387== Releasing lock...
[2025-01-08 22:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:28:22] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:29:01] Production.INFO: ==22443== Lock acquired, processing the job...
[2025-01-09 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:29:01] Production.INFO: neon service started
[2025-01-09 03:29:01] Production.INFO: neon service started
[2025-01-09 03:29:01] Production.INFO: ==22443== Releasing lock...
[2025-01-09 03:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:29:02] Production.INFO: ==22447== Lock acquired, processing the job...
[2025-01-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:29:02] Production.INFO: ==22447== Releasing lock...
[2025-01-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:29:02] Production.INFO: ==22445== Lock acquired, processing the job...
[2025-01-08 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:29:02] Production.INFO: ==22445== Releasing lock...
[2025-01-08 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:29:03] Production.INFO: ==22451== Lock acquired, processing the job...
[2025-01-08 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:29:03] Production.INFO: ==22459== Lock acquired, processing the job...
[2025-01-08 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:29:03] Production.INFO: ==22449== Lock acquired, processing the job...
[2025-01-08 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:29:03] Production.INFO: count ==21
[2025-01-08 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:29:03] Production.INFO: count ==21
[2025-01-08 22:29:03] Production.INFO: ==22451== Releasing lock...
[2025-01-08 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:29:03] Production.INFO: ==22453== Lock acquired, processing the job...
[2025-01-08 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205293') start
[2025-01-08 22:29:03] Production.INFO: ==22455== Lock acquired, processing the job...
[2025-01-08 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:29:03] Production.INFO: ==22457== Lock acquired, processing the job...
[2025-01-08 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205293') end
[2025-01-08 22:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:29:03] Production.INFO: 1
[2025-01-08 22:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:29:03] Production.INFO: Account Balance Start.
[2025-01-08 22:29:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:29:03] Production.INFO: 117
[2025-01-08 22:29:03] Production.INFO: ==22459== Releasing lock...
[2025-01-08 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:29:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:29:03] Production.INFO: Total Charge 0
[2025-01-08 22:29:03] Production.INFO: CreateAllLog End
[2025-01-08 22:29:04] Production.INFO: Account Balance End.
[2025-01-08 22:29:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:29:04] Production.INFO: ==22455== Releasing lock...
[2025-01-08 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:29:04] Production.ERROR: done
[2025-01-08 22:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:29:04] Production.ERROR: done
[2025-01-08 22:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:29:05
[end_date_ymd] => 2025-01-08 22:29:05
[RateCDR] => 1
)
[2025-01-08 22:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:29:05' and `end` < '2025-01-08 22:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:29:12] Production.ERROR: CronJobId end10
[2025-01-08 22:29:12] Production.INFO: ==22453== Releasing lock...
[2025-01-08 22:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:29:14] Production.INFO: call_cost start
[2025-01-08 22:29:14] Production.INFO: call_cost end
[2025-01-08 22:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:29:15] Production.INFO: ==22449== Releasing lock...
[2025-01-08 22:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:29:19] Production.INFO: count ==760
[2025-01-08 22:29:20] Production.ERROR: pbx CDR StartTime 2025-01-08 19:29:05 - End Time 2025-01-08 22:29:05
[2025-01-08 22:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205296', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205296', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205296', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205296', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:29:20] Production.INFO: ProcessCDR(1,14205296,1,1,2)
[2025-01-08 22:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205296', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205296', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:29:23] Production.INFO: ==22457== Releasing lock...
[2025-01-08 22:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:29:23] Production.INFO: 33 MB #Memory Used#
[2025-01-09 03:30:02] Production.INFO: ==22513== Lock acquired, processing the job...
[2025-01-09 03:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:30:02] Production.INFO: neon service started
[2025-01-09 03:30:02] Production.INFO: neon service started
[2025-01-09 03:30:02] Production.INFO: ==22513== Releasing lock...
[2025-01-09 03:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:30:02] Production.INFO: ==22515== Lock acquired, processing the job...
[2025-01-08 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:30:02] Production.INFO: ==22515== Releasing lock...
[2025-01-08 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:30:03] Production.INFO: ==22517== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:30:03] Production.INFO: ==22517== Releasing lock...
[2025-01-09 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:30:03] Production.INFO: ==22520== Lock acquired, processing the job...
[2025-01-08 22:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 22:30:03] Production.INFO: ==22524== Lock acquired, processing the job...
[2025-01-08 22:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 22:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 22:30:04] Production.INFO: ==22520== Releasing lock...
[2025-01-08 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 22:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:30:04] Production.INFO: ==22528== Lock acquired, processing the job...
[2025-01-08 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:30:04] Production.INFO: ==22526== Lock acquired, processing the job...
[2025-01-08 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:30:04] Production.INFO: ==22522== Lock acquired, processing the job...
[2025-01-08 22:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:30:04] Production.INFO: ==22530== Lock acquired, processing the job...
[2025-01-08 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:30:04] Production.INFO: Account Balance Start.
[2025-01-08 22:30:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:30:04] Production.INFO: ==22532== Lock acquired, processing the job...
[2025-01-08 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 22:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:30:04] Production.INFO: 117
[2025-01-08 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:30:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:30:04] Production.INFO: Total Charge 0
[2025-01-08 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:30:04] Production.INFO: CreateAllLog End
[2025-01-08 22:30:04] Production.INFO: ==22534== Lock acquired, processing the job...
[2025-01-08 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:30:04] Production.INFO: ==22524== Releasing lock...
[2025-01-08 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:30:04] Production.INFO: count ==21
[2025-01-08 22:30:04] Production.ERROR: done
[2025-01-08 22:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:30:04] Production.INFO: count ==21
[2025-01-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205300') start
[2025-01-08 22:30:04] Production.ERROR: done
[2025-01-08 22:30:04] Production.ERROR: done
[2025-01-08 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205302', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 22:30:04] Production.INFO: Account Balance End.
[2025-01-08 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205300') end
[2025-01-08 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:30:04] Production.INFO: 1
[2025-01-08 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:30:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:30:04] Production.INFO: ==22528== Releasing lock...
[2025-01-08 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:30:04] Production.INFO: ==22534== Releasing lock...
[2025-01-08 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:30:05
[end_date_ymd] => 2025-01-08 22:30:05
[RateCDR] => 1
)
[2025-01-08 22:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:30:05' and `end` < '2025-01-08 22:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205302', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 22:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 22:30:09] Production.INFO: ProcessCDR(1,14205302,1,1,2)
[2025-01-08 22:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205302,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205302,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:30:09] Production.INFO: ==22532== Releasing lock...
[2025-01-08 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 22:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 22:30:14] Production.ERROR: CronJobId end10
[2025-01-08 22:30:14] Production.INFO: ==22526== Releasing lock...
[2025-01-08 22:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:30:15] Production.INFO: call_cost start
[2025-01-08 22:30:15] Production.INFO: call_cost end
[2025-01-08 22:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:30:16] Production.INFO: ==22522== Releasing lock...
[2025-01-08 22:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:30:18] Production.INFO: count ==755
[2025-01-08 22:30:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:30:05 - End Time 2025-01-08 22:30:05
[2025-01-08 22:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205301', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205301', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205301', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205301', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:30:18] Production.INFO: ProcessCDR(1,14205301,1,1,2)
[2025-01-08 22:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205301', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205301', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:30:23] Production.INFO: ==22530== Releasing lock...
[2025-01-08 22:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:30:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-09 03:31:02] Production.INFO: ==22589== Lock acquired, processing the job...
[2025-01-09 03:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:31:02] Production.INFO: neon service started
[2025-01-09 03:31:02] Production.INFO: neon service started
[2025-01-09 03:31:02] Production.INFO: ==22589== Releasing lock...
[2025-01-09 03:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:31:02] Production.INFO: ==22592== Lock acquired, processing the job...
[2025-01-08 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:31:02] Production.INFO: ==22594== Lock acquired, processing the job...
[2025-01-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:31:02] Production.INFO: ==22594== Releasing lock...
[2025-01-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:31:03] Production.INFO: ==22592== Releasing lock...
[2025-01-08 22:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:31:03] Production.INFO: ==22601== Lock acquired, processing the job...
[2025-01-08 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:31:03] Production.INFO: ==22597== Lock acquired, processing the job...
[2025-01-08 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:31:03] Production.INFO: ==22605== Lock acquired, processing the job...
[2025-01-08 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:31:03] Production.INFO: ==22599== Lock acquired, processing the job...
[2025-01-08 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:31:03] Production.INFO: ==22603== Lock acquired, processing the job...
[2025-01-08 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:31:03] Production.INFO: Account Balance Start.
[2025-01-08 22:31:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:31:03] Production.INFO: 117
[2025-01-08 22:31:04] Production.INFO: ==22607== Lock acquired, processing the job...
[2025-01-08 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:31:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:31:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:31:04] Production.INFO: Total Charge 0
[2025-01-08 22:31:04] Production.INFO: CreateAllLog End
[2025-01-08 22:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:31:04] Production.INFO: count ==21
[2025-01-08 22:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:31:04] Production.INFO: count ==21
[2025-01-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205306') start
[2025-01-08 22:31:04] Production.ERROR: done
[2025-01-08 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205306') end
[2025-01-08 22:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:31:04] Production.INFO: 1
[2025-01-08 22:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:31:04] Production.INFO: ==22607== Releasing lock...
[2025-01-08 22:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:31:04] Production.INFO: ==22599== Releasing lock...
[2025-01-08 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:31:04] Production.ERROR: done
[2025-01-08 22:31:04] Production.INFO: Account Balance End.
[2025-01-08 22:31:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:31:04] Production.INFO: ==22603== Releasing lock...
[2025-01-08 22:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:31:05
[end_date_ymd] => 2025-01-08 22:31:05
[RateCDR] => 1
)
[2025-01-08 22:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:31:05' and `end` < '2025-01-08 22:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:31:12] Production.ERROR: CronJobId end10
[2025-01-08 22:31:12] Production.INFO: ==22601== Releasing lock...
[2025-01-08 22:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:31:13] Production.INFO: call_cost start
[2025-01-08 22:31:13] Production.INFO: call_cost end
[2025-01-08 22:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:31:14] Production.INFO: ==22597== Releasing lock...
[2025-01-08 22:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:31:18] Production.INFO: count ==702
[2025-01-08 22:31:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:31:05 - End Time 2025-01-08 22:31:05
[2025-01-08 22:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205307', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205307', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205307', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205307', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:31:18] Production.INFO: ProcessCDR(1,14205307,1,1,2)
[2025-01-08 22:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205307', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205307', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:31:21] Production.INFO: ==22605== Releasing lock...
[2025-01-08 22:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:31:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-09 03:32:01] Production.INFO: ==22659== Lock acquired, processing the job...
[2025-01-09 03:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:32:01] Production.INFO: neon service started
[2025-01-09 03:32:01] Production.INFO: neon service started
[2025-01-09 03:32:01] Production.INFO: ==22659== Releasing lock...
[2025-01-09 03:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:32:01] Production.INFO: ==22663== Lock acquired, processing the job...
[2025-01-09 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:32:01] Production.INFO: ==22663== Releasing lock...
[2025-01-09 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:32:01] Production.INFO: ==22661== Lock acquired, processing the job...
[2025-01-08 22:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:32:02] Production.INFO: ==22661== Releasing lock...
[2025-01-08 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:32:03] Production.INFO: ==22669== Lock acquired, processing the job...
[2025-01-08 22:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:32:03] Production.INFO: ==22676== Lock acquired, processing the job...
[2025-01-08 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:32:03] Production.INFO: ==22665== Lock acquired, processing the job...
[2025-01-08 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:32:03] Production.INFO: ==22667== Lock acquired, processing the job...
[2025-01-08 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:32:03] Production.INFO: count ==21
[2025-01-08 22:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:32:03] Production.INFO: count ==21
[2025-01-08 22:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205308') start
[2025-01-08 22:32:03] Production.INFO: ==22671== Lock acquired, processing the job...
[2025-01-08 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:32:03] Production.INFO: ==22674== Lock acquired, processing the job...
[2025-01-08 22:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205308') end
[2025-01-08 22:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:32:03] Production.INFO: 1
[2025-01-08 22:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:32:03] Production.INFO: ==22676== Releasing lock...
[2025-01-08 22:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:32:03] Production.INFO: Account Balance Start.
[2025-01-08 22:32:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:32:03] Production.INFO: 117
[2025-01-08 22:32:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:32:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:32:03] Production.INFO: Total Charge 0
[2025-01-08 22:32:03] Production.ERROR: done
[2025-01-08 22:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:32:03] Production.INFO: CreateAllLog End
[2025-01-08 22:32:03] Production.INFO: ==22667== Releasing lock...
[2025-01-08 22:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:32:03] Production.INFO: Account Balance End.
[2025-01-08 22:32:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:32:04] Production.INFO: ==22671== Releasing lock...
[2025-01-08 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:32:04] Production.ERROR: done
[2025-01-08 22:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:32:05
[end_date_ymd] => 2025-01-08 22:32:05
[RateCDR] => 1
)
[2025-01-08 22:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:32:05' and `end` < '2025-01-08 22:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:32:11] Production.ERROR: CronJobId end10
[2025-01-08 22:32:11] Production.INFO: ==22669== Releasing lock...
[2025-01-08 22:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:32:13] Production.INFO: call_cost start
[2025-01-08 22:32:13] Production.INFO: call_cost end
[2025-01-08 22:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:32:14] Production.INFO: ==22665== Releasing lock...
[2025-01-08 22:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:32:18] Production.INFO: count ==701
[2025-01-08 22:32:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:32:05 - End Time 2025-01-08 22:32:05
[2025-01-08 22:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205312', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205312', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205312', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205312', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:32:18] Production.INFO: ProcessCDR(1,14205312,1,1,2)
[2025-01-08 22:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205312', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205312', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:32:21] Production.INFO: ==22674== Releasing lock...
[2025-01-08 22:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:32:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-09 03:33:01] Production.INFO: ==22730== Lock acquired, processing the job...
[2025-01-09 03:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:33:01] Production.INFO: neon service started
[2025-01-09 03:33:01] Production.INFO: neon service started
[2025-01-09 03:33:01] Production.INFO: ==22730== Releasing lock...
[2025-01-09 03:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:33:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:33:02] Production.INFO: ==22732== Lock acquired, processing the job...
[2025-01-08 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:33:02] Production.INFO: ==22732== Releasing lock...
[2025-01-08 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:33:02] Production.INFO: ==22734== Lock acquired, processing the job...
[2025-01-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:33:02] Production.INFO: ==22734== Releasing lock...
[2025-01-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:33:03] Production.INFO: ==22737== Lock acquired, processing the job...
[2025-01-08 22:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:33:03] Production.INFO: ==22743== Lock acquired, processing the job...
[2025-01-08 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:33:03] Production.INFO: ==22739== Lock acquired, processing the job...
[2025-01-08 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:33:03] Production.INFO: ==22741== Lock acquired, processing the job...
[2025-01-08 22:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:33:03] Production.INFO: ==22745== Lock acquired, processing the job...
[2025-01-08 22:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:33:03] Production.INFO: ==22747== Lock acquired, processing the job...
[2025-01-08 22:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:33:03] Production.INFO: Account Balance Start.
[2025-01-08 22:33:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:33:03] Production.INFO: 117
[2025-01-08 22:33:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:33:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:33:03] Production.INFO: Total Charge 0
[2025-01-08 22:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:33:03] Production.INFO: CreateAllLog End
[2025-01-08 22:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:33:03] Production.INFO: ==22739== Releasing lock...
[2025-01-08 22:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 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-01-08 22:33:03] Production.INFO: Account Balance End.
[2025-01-08 22:33:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:33:03] Production.INFO: ==22743== Releasing lock...
[2025-01-08 22:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:33:03] Production.INFO: count ==21
[2025-01-08 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-01-08 22:33:03] Production.INFO: count ==21
[2025-01-08 22:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205316') start
[2025-01-08 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205316') end
[2025-01-08 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:33:04] Production.INFO: 1
[2025-01-08 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:33:04] Production.INFO: ==22747== Releasing lock...
[2025-01-08 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:33:04] Production.ERROR: done
[2025-01-08 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:33:04] Production.ERROR: done
[2025-01-08 22:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:33:05
[end_date_ymd] => 2025-01-08 22:33:05
[RateCDR] => 1
)
[2025-01-08 22:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:33:05' and `end` < '2025-01-08 22:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:33:12] Production.ERROR: CronJobId end10
[2025-01-08 22:33:12] Production.INFO: ==22741== Releasing lock...
[2025-01-08 22:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:33:12] Production.INFO: call_cost start
[2025-01-08 22:33:12] Production.INFO: call_cost end
[2025-01-08 22:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:33:13] Production.INFO: ==22737== Releasing lock...
[2025-01-08 22:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:33:20] Production.INFO: count ==691
[2025-01-08 22:33:20] Production.ERROR: pbx CDR StartTime 2025-01-08 19:33:05 - End Time 2025-01-08 22:33:05
[2025-01-08 22:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205317', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205317', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205317', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205317', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:33:20] Production.INFO: ProcessCDR(1,14205317,1,1,2)
[2025-01-08 22:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205317', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205317', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:33:23] Production.INFO: ==22745== Releasing lock...
[2025-01-08 22:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:33:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:34:02] Production.INFO: ==22802== Lock acquired, processing the job...
[2025-01-09 03:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:34:02] Production.INFO: neon service started
[2025-01-09 03:34:02] Production.INFO: neon service started
[2025-01-09 03:34:02] Production.INFO: ==22802== Releasing lock...
[2025-01-09 03:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:34:02] Production.INFO: ==22804== Lock acquired, processing the job...
[2025-01-08 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:34:02] Production.INFO: ==22806== Lock acquired, processing the job...
[2025-01-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:34:02] Production.INFO: ==22806== Releasing lock...
[2025-01-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:34:03] Production.INFO: ==22804== Releasing lock...
[2025-01-08 22:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:34:03] Production.INFO: ==22815== Lock acquired, processing the job...
[2025-01-08 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:34:03] Production.INFO: ==22819== Lock acquired, processing the job...
[2025-01-08 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:34:04] Production.INFO: ==22809== Lock acquired, processing the job...
[2025-01-08 22:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:34:04] Production.INFO: ==22811== Lock acquired, processing the job...
[2025-01-08 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:34:04] Production.INFO: Account Balance Start.
[2025-01-08 22:34:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:34:04] Production.INFO: 117
[2025-01-08 22:34:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:34:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:34:04] Production.INFO: Total Charge 0
[2025-01-08 22:34:04] Production.INFO: ==22813== Lock acquired, processing the job...
[2025-01-08 22:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:34:04] Production.INFO: CreateAllLog End
[2025-01-08 22:34:04] Production.INFO: count ==21
[2025-01-08 22:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:34:04] Production.INFO: ==22817== Lock acquired, processing the job...
[2025-01-08 22:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:34:04] Production.INFO: count ==21
[2025-01-08 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205318') start
[2025-01-08 22:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:34:04] Production.INFO: Account Balance End.
[2025-01-08 22:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:34:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:34:04] Production.INFO: ==22815== Releasing lock...
[2025-01-08 22:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205318') end
[2025-01-08 22:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:34:04] Production.INFO: 1
[2025-01-08 22:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:34:04] Production.INFO: ==22819== Releasing lock...
[2025-01-08 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:34:04] Production.INFO: ==22811== Releasing lock...
[2025-01-08 22:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:34:04] Production.ERROR: done
[2025-01-08 22:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:34:04] Production.ERROR: done
[2025-01-08 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:34:05
[end_date_ymd] => 2025-01-08 22:34:05
[RateCDR] => 1
)
[2025-01-08 22:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:34:05' and `end` < '2025-01-08 22:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:34:12] Production.ERROR: CronJobId end10
[2025-01-08 22:34:12] Production.INFO: ==22813== Releasing lock...
[2025-01-08 22:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:34:13] Production.INFO: call_cost start
[2025-01-08 22:34:13] Production.INFO: call_cost end
[2025-01-08 22:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:34:14] Production.INFO: ==22809== Releasing lock...
[2025-01-08 22:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:34:18] Production.INFO: count ==690
[2025-01-08 22:34:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:34:05 - End Time 2025-01-08 22:34:05
[2025-01-08 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205322', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205322', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205322', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205322', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:34:18] Production.INFO: ProcessCDR(1,14205322,1,1,2)
[2025-01-08 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205322', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205322', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:34:21] Production.INFO: ==22817== Releasing lock...
[2025-01-08 22:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:34:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:35:01] Production.INFO: ==22873== Lock acquired, processing the job...
[2025-01-09 03:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:35:01] Production.INFO: neon service started
[2025-01-09 03:35:01] Production.INFO: neon service started
[2025-01-09 03:35:01] Production.INFO: ==22873== Releasing lock...
[2025-01-09 03:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:35:01] Production.INFO: ==22877== Lock acquired, processing the job...
[2025-01-09 03:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:35:02] Production.INFO: ==22877== Releasing lock...
[2025-01-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:35:02] Production.INFO: ==22875== Lock acquired, processing the job...
[2025-01-08 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:35:02] Production.INFO: ==22875== Releasing lock...
[2025-01-08 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:35:03] Production.INFO: ==22880== Lock acquired, processing the job...
[2025-01-08 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:35:03] Production.INFO: ==22882== Lock acquired, processing the job...
[2025-01-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:35:03] Production.INFO: ==22884== Lock acquired, processing the job...
[2025-01-08 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:35:03] Production.INFO: ==22886== Lock acquired, processing the job...
[2025-01-08 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:35:03] Production.INFO: ==22888== Lock acquired, processing the job...
[2025-01-08 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:35:03] Production.INFO: ==22890== Lock acquired, processing the job...
[2025-01-08 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:35:03] Production.INFO: Account Balance Start.
[2025-01-08 22:35:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:35:03] Production.INFO: 117
[2025-01-08 22:35:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:35:03] Production.INFO: ==22882== Releasing lock...
[2025-01-08 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:35:03] Production.INFO: Total Charge 0
[2025-01-08 22:35:03] Production.INFO: count ==21
[2025-01-08 22:35:03] Production.INFO: CreateAllLog End
[2025-01-08 22:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:35:03] Production.INFO: count ==21
[2025-01-08 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205326') start
[2025-01-08 22:35:03] Production.ERROR: done
[2025-01-08 22:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205326') end
[2025-01-08 22:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:35:03] Production.INFO: 1
[2025-01-08 22:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:35:04] Production.INFO: ==22890== Releasing lock...
[2025-01-08 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:35:04] Production.INFO: Account Balance End.
[2025-01-08 22:35:04] Production.ERROR: done
[2025-01-08 22:35:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:35:04] Production.INFO: ==22886== Releasing lock...
[2025-01-08 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:35:04
[end_date_ymd] => 2025-01-08 22:35:04
[RateCDR] => 1
)
[2025-01-08 22:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:35:04' and `end` < '2025-01-08 22:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:35:12] Production.ERROR: CronJobId end10
[2025-01-08 22:35:12] Production.INFO: ==22884== Releasing lock...
[2025-01-08 22:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:35:13] Production.INFO: call_cost start
[2025-01-08 22:35:13] Production.INFO: call_cost end
[2025-01-08 22:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:35:14] Production.INFO: ==22880== Releasing lock...
[2025-01-08 22:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:35:19] Production.INFO: count ==689
[2025-01-08 22:35:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:35:04 - End Time 2025-01-08 22:35:04
[2025-01-08 22:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205327', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205327', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205327', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205327', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:35:19] Production.INFO: ProcessCDR(1,14205327,1,1,2)
[2025-01-08 22:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205327', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205327', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:35:22] Production.INFO: ==22888== Releasing lock...
[2025-01-08 22:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:35:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:36:02] Production.INFO: ==22943== Lock acquired, processing the job...
[2025-01-09 03:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:36:02] Production.INFO: neon service started
[2025-01-09 03:36:02] Production.INFO: neon service started
[2025-01-09 03:36:02] Production.INFO: ==22943== Releasing lock...
[2025-01-09 03:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:36:02] Production.INFO: ==22945== Lock acquired, processing the job...
[2025-01-08 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:36:02] Production.INFO: ==22945== Releasing lock...
[2025-01-08 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:36:02] Production.INFO: ==22947== Lock acquired, processing the job...
[2025-01-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:36:02] Production.INFO: ==22947== Releasing lock...
[2025-01-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:36:03] Production.INFO: ==22954== Lock acquired, processing the job...
[2025-01-08 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:36:03] Production.INFO: ==22950== Lock acquired, processing the job...
[2025-01-08 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:36:03] Production.INFO: ==22958== Lock acquired, processing the job...
[2025-01-08 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:36:03] Production.INFO: ==22952== Lock acquired, processing the job...
[2025-01-08 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:36:03] Production.INFO: ==22956== Lock acquired, processing the job...
[2025-01-08 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:36:03] Production.INFO: ==22960== Lock acquired, processing the job...
[2025-01-08 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:36:03] Production.ERROR: done
[2025-01-08 22:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:36:04] Production.ERROR: done
[2025-01-08 22:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:36:04] Production.INFO: Account Balance Start.
[2025-01-08 22:36:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:36:04] Production.INFO: 117
[2025-01-08 22:36:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:36:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:36:04] Production.INFO: ==22952== Releasing lock...
[2025-01-08 22:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:36:04] Production.INFO: count ==21
[2025-01-08 22:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:36:04] Production.INFO: count ==21
[2025-01-08 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205330') start
[2025-01-08 22:36:04] Production.INFO: Total Charge 0
[2025-01-08 22:36:04] Production.INFO: CreateAllLog End
[2025-01-08 22:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205330') end
[2025-01-08 22:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:36:04] Production.INFO: 1
[2025-01-08 22:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:36:04] Production.INFO: Account Balance End.
[2025-01-08 22:36:04] Production.INFO: ==22960== Releasing lock...
[2025-01-08 22:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:36:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:36:04] Production.INFO: ==22956== Releasing lock...
[2025-01-08 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:36:05
[end_date_ymd] => 2025-01-08 22:36:05
[RateCDR] => 1
)
[2025-01-08 22:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:36:05' and `end` < '2025-01-08 22:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:36:12] Production.ERROR: CronJobId end10
[2025-01-08 22:36:12] Production.INFO: ==22954== Releasing lock...
[2025-01-08 22:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:36:14] Production.INFO: call_cost start
[2025-01-08 22:36:14] Production.INFO: call_cost end
[2025-01-08 22:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:36:15] Production.INFO: ==22950== Releasing lock...
[2025-01-08 22:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:36:18] Production.INFO: count ==688
[2025-01-08 22:36:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:36:05 - End Time 2025-01-08 22:36:05
[2025-01-08 22:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205332', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205332', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205332', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205332', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:36:19] Production.INFO: ProcessCDR(1,14205332,1,1,2)
[2025-01-08 22:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205332', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205332', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:36:22] Production.INFO: ==22958== Releasing lock...
[2025-01-08 22:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:36:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:37:01] Production.INFO: ==23018== Lock acquired, processing the job...
[2025-01-09 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:37:01] Production.INFO: neon service started
[2025-01-09 03:37:01] Production.INFO: neon service started
[2025-01-09 03:37:01] Production.INFO: ==23018== Releasing lock...
[2025-01-09 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:37:01] Production.INFO: ==23022== Lock acquired, processing the job...
[2025-01-09 03:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:37:01] Production.INFO: ==23022== Releasing lock...
[2025-01-09 03:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:37:01] Production.INFO: ==23020== Lock acquired, processing the job...
[2025-01-08 22:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:37:02] Production.INFO: ==23020== Releasing lock...
[2025-01-08 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:37:02] Production.INFO: ==23024== Lock acquired, processing the job...
[2025-01-08 22:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:37:03] Production.INFO: ==23030== Lock acquired, processing the job...
[2025-01-08 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:37:03] Production.INFO: ==23026== Lock acquired, processing the job...
[2025-01-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:37:03] Production.INFO: Account Balance Start.
[2025-01-08 22:37:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:37:03] Production.INFO: 117
[2025-01-08 22:37:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:37:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:37:03] Production.INFO: Total Charge 0
[2025-01-08 22:37:03] Production.INFO: ==23028== Lock acquired, processing the job...
[2025-01-08 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:37:03] Production.INFO: CreateAllLog End
[2025-01-08 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:37:03] Production.INFO: Account Balance End.
[2025-01-08 22:37:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:37:03] Production.INFO: ==23030== Releasing lock...
[2025-01-08 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:37:03] Production.INFO: ==23032== Lock acquired, processing the job...
[2025-01-08 22:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:37:03] Production.INFO: ==23035== Lock acquired, processing the job...
[2025-01-08 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:37:03] Production.INFO: ==23026== Releasing lock...
[2025-01-08 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:37:03] Production.INFO: count ==21
[2025-01-08 22:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:37:03] Production.INFO: count ==21
[2025-01-08 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205336') start
[2025-01-08 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205336') end
[2025-01-08 22:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:37:03] Production.INFO: 1
[2025-01-08 22:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:37:03] Production.ERROR: done
[2025-01-08 22:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:37:03] Production.INFO: ==23035== Releasing lock...
[2025-01-08 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:37:03] Production.ERROR: done
[2025-01-08 22:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:37:04
[end_date_ymd] => 2025-01-08 22:37:04
[RateCDR] => 1
)
[2025-01-08 22:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:37:04' and `end` < '2025-01-08 22:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:37:11] Production.ERROR: CronJobId end10
[2025-01-08 22:37:11] Production.INFO: ==23028== Releasing lock...
[2025-01-08 22:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:37:13] Production.INFO: call_cost start
[2025-01-08 22:37:13] Production.INFO: call_cost end
[2025-01-08 22:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:37:14] Production.INFO: ==23024== Releasing lock...
[2025-01-08 22:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:37:17] Production.INFO: count ==687
[2025-01-08 22:37:17] Production.ERROR: pbx CDR StartTime 2025-01-08 19:37:04 - End Time 2025-01-08 22:37:04
[2025-01-08 22:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205337', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205337', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205337', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205337', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:37:17] Production.INFO: ProcessCDR(1,14205337,1,1,2)
[2025-01-08 22:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205337', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205337', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:37:21] Production.INFO: ==23032== Releasing lock...
[2025-01-08 22:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:37:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:38:02] Production.INFO: ==23089== Lock acquired, processing the job...
[2025-01-09 03:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:38:02] Production.INFO: neon service started
[2025-01-09 03:38:02] Production.INFO: neon service started
[2025-01-09 03:38:02] Production.INFO: ==23089== Releasing lock...
[2025-01-09 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:38:02] Production.INFO: ==23091== Lock acquired, processing the job...
[2025-01-08 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:38:02] Production.INFO: ==23091== Releasing lock...
[2025-01-08 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:38:02] Production.INFO: ==23093== Lock acquired, processing the job...
[2025-01-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:38:02] Production.INFO: ==23093== Releasing lock...
[2025-01-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:38:03] Production.INFO: ==23095== Lock acquired, processing the job...
[2025-01-08 22:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:38:03] Production.INFO: ==23097== Lock acquired, processing the job...
[2025-01-08 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:38:03] Production.INFO: ==23103== Lock acquired, processing the job...
[2025-01-08 22:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:38:03] Production.INFO: ==23101== Lock acquired, processing the job...
[2025-01-08 22:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:38:03] Production.INFO: ==23099== Lock acquired, processing the job...
[2025-01-08 22:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:38:03] Production.INFO: ==23105== Lock acquired, processing the job...
[2025-01-08 22:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:38:03] Production.INFO: ==23097== Releasing lock...
[2025-01-08 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:38:04] Production.INFO: Account Balance Start.
[2025-01-08 22:38:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:38:04] Production.INFO: 117
[2025-01-08 22:38:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:38:04] Production.INFO: Total Charge 0
[2025-01-08 22:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:38:04] Production.INFO: count ==21
[2025-01-08 22:38:04] Production.ERROR: done
[2025-01-08 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:38:04] Production.INFO: count ==21
[2025-01-08 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205341') start
[2025-01-08 22:38:04] Production.INFO: CreateAllLog End
[2025-01-08 22:38:04] Production.ERROR: done
[2025-01-08 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205341') end
[2025-01-08 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:38:04] Production.INFO: 1
[2025-01-08 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:38:04] Production.INFO: Account Balance End.
[2025-01-08 22:38:04] Production.INFO: ==23105== Releasing lock...
[2025-01-08 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:38:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:38:04] Production.INFO: ==23101== Releasing lock...
[2025-01-08 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:38:05
[end_date_ymd] => 2025-01-08 22:38:05
[RateCDR] => 1
)
[2025-01-08 22:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:38:05' and `end` < '2025-01-08 22:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:38:12] Production.ERROR: CronJobId end10
[2025-01-08 22:38:12] Production.INFO: ==23099== Releasing lock...
[2025-01-08 22:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:38:13] Production.INFO: call_cost start
[2025-01-08 22:38:13] Production.INFO: call_cost end
[2025-01-08 22:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:38:14] Production.INFO: ==23095== Releasing lock...
[2025-01-08 22:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:38:19] Production.INFO: count ==687
[2025-01-08 22:38:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:38:05 - End Time 2025-01-08 22:38:05
[2025-01-08 22:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205342', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205342', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205342', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205342', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:38:19] Production.INFO: ProcessCDR(1,14205342,1,1,2)
[2025-01-08 22:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205342', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205342', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:38:22] Production.INFO: ==23103== Releasing lock...
[2025-01-08 22:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:38:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:39:01] Production.INFO: ==23160== Lock acquired, processing the job...
[2025-01-09 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:39:01] Production.INFO: neon service started
[2025-01-09 03:39:01] Production.INFO: neon service started
[2025-01-09 03:39:01] Production.INFO: ==23160== Releasing lock...
[2025-01-09 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:39:02] Production.INFO: ==23162== Lock acquired, processing the job...
[2025-01-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:39:02] Production.INFO: ==23164== Lock acquired, processing the job...
[2025-01-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:39:02] Production.INFO: ==23164== Releasing lock...
[2025-01-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:39:02] Production.INFO: ==23162== Releasing lock...
[2025-01-08 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:39:03] Production.INFO: ==23167== Lock acquired, processing the job...
[2025-01-08 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:39:03] Production.INFO: ==23169== Lock acquired, processing the job...
[2025-01-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:39:03] Production.INFO: ==23171== Lock acquired, processing the job...
[2025-01-08 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:39:03] Production.INFO: ==23173== Lock acquired, processing the job...
[2025-01-08 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:39:03] Production.INFO: ==23175== Lock acquired, processing the job...
[2025-01-08 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:39:03] Production.INFO: ==23177== Lock acquired, processing the job...
[2025-01-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:39:03] Production.INFO: Account Balance Start.
[2025-01-08 22:39:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:39:03] Production.INFO: 117
[2025-01-08 22:39:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:39:03] Production.INFO: Total Charge 0
[2025-01-08 22:39:03] Production.INFO: CreateAllLog End
[2025-01-08 22:39:03] Production.INFO: count ==21
[2025-01-08 22:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:39:03] Production.INFO: count ==21
[2025-01-08 22:39:03] Production.INFO: ==23169== Releasing lock...
[2025-01-08 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205346') start
[2025-01-08 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205346') end
[2025-01-08 22:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:39:03] Production.INFO: 1
[2025-01-08 22:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:39:03] Production.INFO: Account Balance End.
[2025-01-08 22:39:03] Production.ERROR: done
[2025-01-08 22:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:39:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:39:03] Production.INFO: ==23173== Releasing lock...
[2025-01-08 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:39:03] Production.INFO: ==23177== Releasing lock...
[2025-01-08 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:39:04] Production.ERROR: done
[2025-01-08 22:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:39:05
[end_date_ymd] => 2025-01-08 22:39:05
[RateCDR] => 1
)
[2025-01-08 22:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:39:05' and `end` < '2025-01-08 22:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:39:12] Production.ERROR: CronJobId end10
[2025-01-08 22:39:12] Production.INFO: ==23171== Releasing lock...
[2025-01-08 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:39:13] Production.INFO: call_cost start
[2025-01-08 22:39:13] Production.INFO: call_cost end
[2025-01-08 22:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:39:14] Production.INFO: ==23167== Releasing lock...
[2025-01-08 22:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:39:18] Production.INFO: count ==687
[2025-01-08 22:39:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:39:05 - End Time 2025-01-08 22:39:05
[2025-01-08 22:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205347', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205347', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205347', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205347', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:39:18] Production.INFO: ProcessCDR(1,14205347,1,1,2)
[2025-01-08 22:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205347', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205347', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:39:21] Production.INFO: ==23175== Releasing lock...
[2025-01-08 22:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:39:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:40:01] Production.INFO: ==23242== Lock acquired, processing the job...
[2025-01-09 03:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:40:01] Production.INFO: neon service started
[2025-01-09 03:40:01] Production.INFO: neon service started
[2025-01-09 03:40:01] Production.INFO: ==23242== Releasing lock...
[2025-01-09 03:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:40:02] Production.INFO: ==23244== Lock acquired, processing the job...
[2025-01-08 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:40:02] Production.INFO: ==23246== Lock acquired, processing the job...
[2025-01-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:40:02] Production.INFO: ==23246== Releasing lock...
[2025-01-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:40:02] Production.INFO: ==23244== Releasing lock...
[2025-01-08 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:40:03] Production.INFO: ==23249== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 22:40:03] Production.INFO: ==23255== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 22:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:40:03] Production.ERROR: CronJob PID - 23255
[2025-01-08 22:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 22:40:03] Production.ERROR: CronJob ID - 10
[2025-01-08 22:40:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:40:00
[2025-01-08 22:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 22:40:03] Production.INFO: ==23249== Releasing lock...
[2025-01-08 22:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 22:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:40:03] Production.INFO: ==23263== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:40:03] Production.INFO: ==23259== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:40:03] Production.INFO: ==23251== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:40:03] Production.INFO: ==23253== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:40:03] Production.INFO: ==23257== Lock acquired, processing the job...
[2025-01-08 22:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:40:04] Production.INFO: count ==21
[2025-01-08 22:40:04] Production.INFO: ==23261== Lock acquired, processing the job...
[2025-01-08 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 22:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:40:04] Production.INFO: count ==21
[2025-01-08 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205348') start
[2025-01-08 22:40:04] Production.INFO: Account Balance Start.
[2025-01-08 22:40:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:40:04] Production.INFO: 117
[2025-01-08 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:40:04] Production.ERROR: done
[2025-01-08 22:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:40:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:40:04] Production.INFO: Total Charge 0
[2025-01-08 22:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205348') end
[2025-01-08 22:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:40:04] Production.INFO: 1
[2025-01-08 22:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:40:04] Production.INFO: CreateAllLog End
[2025-01-08 22:40:04] Production.INFO: ==23253== Releasing lock...
[2025-01-08 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:40:04] Production.INFO: ==23263== Releasing lock...
[2025-01-08 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:40:04] Production.ERROR: done
[2025-01-08 22:40:04] Production.INFO: Account Balance End.
[2025-01-08 22:40:04] Production.ERROR: done
[2025-01-08 22:40:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:40:04] Production.INFO: ==23257== Releasing lock...
[2025-01-08 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 22:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205353', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 22:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:40:05
[end_date_ymd] => 2025-01-08 22:40:05
[RateCDR] => 1
)
[2025-01-08 22:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:40:05' and `end` < '2025-01-08 22:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205353', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 22:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 22:40:08] Production.INFO: ProcessCDR(1,14205353,1,1,2)
[2025-01-08 22:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205353,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205353,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:40:08] Production.INFO: ==23261== Releasing lock...
[2025-01-08 22:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 22:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 22:40:14] Production.ERROR: CronJobId end10
[2025-01-08 22:40:14] Production.INFO: ==23255== Releasing lock...
[2025-01-08 22:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:40:16] Production.INFO: call_cost start
[2025-01-08 22:40:16] Production.INFO: call_cost end
[2025-01-08 22:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:40:16] Production.INFO: ==23251== Releasing lock...
[2025-01-08 22:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:40:19] Production.INFO: count ==686
[2025-01-08 22:40:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:40:05 - End Time 2025-01-08 22:40:05
[2025-01-08 22:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205352', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205352', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205352', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205352', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:40:19] Production.INFO: ProcessCDR(1,14205352,1,1,2)
[2025-01-08 22:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205352', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205352', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:40:22] Production.INFO: ==23259== Releasing lock...
[2025-01-08 22:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:40:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:41:02] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-01-09 03:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:41:02] Production.INFO: neon service started
[2025-01-09 03:41:02] Production.INFO: neon service started
[2025-01-09 03:41:02] Production.INFO: ==23351== Releasing lock...
[2025-01-09 03:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:41:02] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-01-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:41:02] Production.INFO: ==23354== Releasing lock...
[2025-01-08 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:41:03] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:41:03] Production.INFO: ==23356== Releasing lock...
[2025-01-09 03:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:41:03] Production.INFO: ==23366== Lock acquired, processing the job...
[2025-01-08 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:41:03] Production.INFO: ==23368== Lock acquired, processing the job...
[2025-01-08 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:41:03] Production.INFO: ==23358== Lock acquired, processing the job...
[2025-01-08 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:41:03] Production.ERROR: done
[2025-01-08 22:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:41:03] Production.INFO: ==23360== Lock acquired, processing the job...
[2025-01-08 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:41:04] Production.INFO: ==23362== Lock acquired, processing the job...
[2025-01-08 22:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:41:04] Production.INFO: ==23364== Lock acquired, processing the job...
[2025-01-08 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:41:04] Production.INFO: count ==21
[2025-01-08 22:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:41:04] Production.INFO: count ==21
[2025-01-08 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205354') start
[2025-01-08 22:41:04] Production.INFO: Account Balance Start.
[2025-01-08 22:41:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:41:04] Production.INFO: 117
[2025-01-08 22:41:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:41:04] Production.ERROR: done
[2025-01-08 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:41:04] Production.INFO: Total Charge 0
[2025-01-08 22:41:04] Production.INFO: CreateAllLog End
[2025-01-08 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205354') end
[2025-01-08 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:41:04] Production.INFO: 1
[2025-01-08 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:41:04] Production.INFO: ==23360== Releasing lock...
[2025-01-08 22:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:41:04] Production.INFO: ==23368== Releasing lock...
[2025-01-08 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:41:04] Production.INFO: Account Balance End.
[2025-01-08 22:41:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:41:04] Production.INFO: ==23364== Releasing lock...
[2025-01-08 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:41:05
[end_date_ymd] => 2025-01-08 22:41:05
[RateCDR] => 1
)
[2025-01-08 22:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:41:05' and `end` < '2025-01-08 22:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:41: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-01-08 22:41:12] Production.ERROR: CronJobId end10
[2025-01-08 22:41:12] Production.INFO: ==23362== Releasing lock...
[2025-01-08 22:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:41:15] Production.INFO: call_cost start
[2025-01-08 22:41:15] Production.INFO: call_cost end
[2025-01-08 22:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:41:15] Production.INFO: ==23358== Releasing lock...
[2025-01-08 22:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:41:19] Production.INFO: count ==671
[2025-01-08 22:41:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:41:05 - End Time 2025-01-08 22:41:05
[2025-01-08 22:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205358', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205358', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205358', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205358', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:41:19] Production.INFO: ProcessCDR(1,14205358,1,1,2)
[2025-01-08 22:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205358', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205358', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:41:23] Production.INFO: ==23366== Releasing lock...
[2025-01-08 22:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:41:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:42:01] Production.INFO: ==23454== Lock acquired, processing the job...
[2025-01-09 03:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:42:01] Production.INFO: neon service started
[2025-01-09 03:42:01] Production.INFO: neon service started
[2025-01-09 03:42:01] Production.INFO: ==23454== Releasing lock...
[2025-01-09 03:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:42:02] Production.INFO: ==23458== Lock acquired, processing the job...
[2025-01-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:42:02] Production.INFO: ==23458== Releasing lock...
[2025-01-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:42:02] Production.INFO: ==23456== Lock acquired, processing the job...
[2025-01-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:42:02] Production.INFO: ==23456== Releasing lock...
[2025-01-08 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:42:03] Production.INFO: ==23465== Lock acquired, processing the job...
[2025-01-08 22:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:42:03] Production.INFO: ==23461== Lock acquired, processing the job...
[2025-01-08 22:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:42:03] Production.INFO: ==23473== Lock acquired, processing the job...
[2025-01-08 22:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:42:03] Production.INFO: ==23468== Lock acquired, processing the job...
[2025-01-08 22:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:42:03] Production.INFO: ==23463== Lock acquired, processing the job...
[2025-01-08 22:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:42:03] Production.INFO: Account Balance Start.
[2025-01-08 22:42:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:42:03] Production.INFO: 117
[2025-01-08 22:42:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:42:04] Production.INFO: count ==21
[2025-01-08 22:42:04] Production.INFO: ==23471== Lock acquired, processing the job...
[2025-01-08 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:42:04] Production.INFO: count ==21
[2025-01-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205360') start
[2025-01-08 22:42:04] Production.INFO: Total Charge 0
[2025-01-08 22:42:04] Production.INFO: CreateAllLog End
[2025-01-08 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205360') end
[2025-01-08 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:42:04] Production.INFO: 1
[2025-01-08 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:42:04] Production.INFO: ==23463== Releasing lock...
[2025-01-08 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:42:04] Production.INFO: Account Balance End.
[2025-01-08 22:42:04] Production.INFO: ==23473== Releasing lock...
[2025-01-08 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:42:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:42:04] Production.INFO: ==23468== Releasing lock...
[2025-01-08 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:42:04] Production.ERROR: done
[2025-01-08 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:42:04] Production.ERROR: done
[2025-01-08 22:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:42:05
[end_date_ymd] => 2025-01-08 22:42:05
[RateCDR] => 1
)
[2025-01-08 22:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:42:05' and `end` < '2025-01-08 22:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:42:12] Production.ERROR: CronJobId end10
[2025-01-08 22:42:12] Production.INFO: ==23465== Releasing lock...
[2025-01-08 22:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:42:14] Production.INFO: call_cost start
[2025-01-08 22:42:14] Production.INFO: call_cost end
[2025-01-08 22:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:42:15] Production.INFO: ==23461== Releasing lock...
[2025-01-08 22:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:42:19] Production.INFO: count ==671
[2025-01-08 22:42:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:42:05 - End Time 2025-01-08 22:42:05
[2025-01-08 22:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205363', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205363', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205363', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205363', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:42:19] Production.INFO: ProcessCDR(1,14205363,1,1,2)
[2025-01-08 22:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205363', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205363', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:42:22] Production.INFO: ==23471== Releasing lock...
[2025-01-08 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:42:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:43:01] Production.INFO: ==23557== Lock acquired, processing the job...
[2025-01-09 03:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:43:01] Production.INFO: neon service started
[2025-01-09 03:43:01] Production.INFO: neon service started
[2025-01-09 03:43:01] Production.INFO: ==23557== Releasing lock...
[2025-01-09 03:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:43:01] Production.INFO: ==23559== Lock acquired, processing the job...
[2025-01-08 22:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:43:02] Production.INFO: ==23559== Releasing lock...
[2025-01-08 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:43:02] Production.INFO: ==23561== Lock acquired, processing the job...
[2025-01-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:43:02] Production.INFO: ==23561== Releasing lock...
[2025-01-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:43:02] Production.INFO: ==23565== Lock acquired, processing the job...
[2025-01-08 22:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:43:02] Production.INFO: ==23567== Lock acquired, processing the job...
[2025-01-08 22:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:43:02] Production.INFO: ==23569== Lock acquired, processing the job...
[2025-01-08 22:43:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:43:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:43:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:43:02] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:43:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:43:03] Production.INFO: ==23563== Lock acquired, processing the job...
[2025-01-08 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:43:03] Production.INFO: Account Balance Start.
[2025-01-08 22:43:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:43:03] Production.INFO: 117
[2025-01-08 22:43:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:43:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:43:03] Production.INFO: ==23565== Releasing lock...
[2025-01-08 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:43:03] Production.INFO: Total Charge 0
[2025-01-08 22:43:03] Production.INFO: ==23571== Lock acquired, processing the job...
[2025-01-08 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:43:03] Production.INFO: ==23574== Lock acquired, processing the job...
[2025-01-08 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:43:03] Production.INFO: CreateAllLog End
[2025-01-08 22:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:43:03] Production.INFO: count ==21
[2025-01-08 22:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:43:03] Production.INFO: count ==21
[2025-01-08 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205367') start
[2025-01-08 22:43:03] Production.ERROR: done
[2025-01-08 22:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205367') end
[2025-01-08 22:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:43:03] Production.INFO: 1
[2025-01-08 22:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:43:03] Production.INFO: Account Balance End.
[2025-01-08 22:43:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:43:03] Production.INFO: ==23569== Releasing lock...
[2025-01-08 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:43:03] Production.INFO: ==23574== Releasing lock...
[2025-01-08 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:43:03] Production.ERROR: done
[2025-01-08 22:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:43:04
[end_date_ymd] => 2025-01-08 22:43:04
[RateCDR] => 1
)
[2025-01-08 22:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:43:04' and `end` < '2025-01-08 22:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:43:12] Production.ERROR: CronJobId end10
[2025-01-08 22:43:12] Production.INFO: ==23567== Releasing lock...
[2025-01-08 22:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:43:13] Production.INFO: call_cost start
[2025-01-08 22:43:13] Production.INFO: call_cost end
[2025-01-08 22:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:43:14] Production.INFO: ==23563== Releasing lock...
[2025-01-08 22:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:43:17] Production.INFO: count ==669
[2025-01-08 22:43:17] Production.ERROR: pbx CDR StartTime 2025-01-08 19:43:04 - End Time 2025-01-08 22:43:04
[2025-01-08 22:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205368', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205368', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205368', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205368', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:43:17] Production.INFO: ProcessCDR(1,14205368,1,1,2)
[2025-01-08 22:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205368', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205368', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:43:20] Production.INFO: ==23571== Releasing lock...
[2025-01-08 22:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:43:20] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:44:01] Production.INFO: ==23700== Lock acquired, processing the job...
[2025-01-09 03:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:44:01] Production.INFO: neon service started
[2025-01-09 03:44:01] Production.INFO: neon service started
[2025-01-09 03:44:01] Production.INFO: ==23700== Releasing lock...
[2025-01-09 03:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:44:02] Production.INFO: ==23704== Lock acquired, processing the job...
[2025-01-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:44:02] Production.INFO: ==23704== Releasing lock...
[2025-01-08 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:44:02] Production.INFO: ==23706== Lock acquired, processing the job...
[2025-01-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:44:02] Production.INFO: ==23706== Releasing lock...
[2025-01-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:44:03] Production.INFO: ==23708== Lock acquired, processing the job...
[2025-01-08 22:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:44:03] Production.INFO: ==23712== Lock acquired, processing the job...
[2025-01-08 22:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:44:03] Production.INFO: ==23710== Lock acquired, processing the job...
[2025-01-08 22:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:44:03] Production.INFO: ==23719== Lock acquired, processing the job...
[2025-01-08 22:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:44:03] Production.INFO: ==23714== Lock acquired, processing the job...
[2025-01-08 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:44:03] Production.INFO: ==23717== Lock acquired, processing the job...
[2025-01-08 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:44:03] Production.INFO: count ==21
[2025-01-08 22:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:44:03] Production.INFO: count ==21
[2025-01-08 22:44:03] Production.INFO: Account Balance Start.
[2025-01-08 22:44:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:44:03] Production.INFO: 117
[2025-01-08 22:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205371') start
[2025-01-08 22:44:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:44:03] Production.INFO: Total Charge 0
[2025-01-08 22:44:04] Production.INFO: CreateAllLog End
[2025-01-08 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205371') end
[2025-01-08 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:44:04] Production.INFO: 1
[2025-01-08 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:44:04] Production.INFO: ==23710== Releasing lock...
[2025-01-08 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:44:04] Production.ERROR: done
[2025-01-08 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:44:04] Production.INFO: ==23719== Releasing lock...
[2025-01-08 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:44:04] Production.INFO: Account Balance End.
[2025-01-08 22:44:04] Production.ERROR: done
[2025-01-08 22:44:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:44:04] Production.INFO: ==23714== Releasing lock...
[2025-01-08 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:44:05
[end_date_ymd] => 2025-01-08 22:44:05
[RateCDR] => 1
)
[2025-01-08 22:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:44:05' and `end` < '2025-01-08 22:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:44:13] Production.ERROR: CronJobId end10
[2025-01-08 22:44:13] Production.INFO: ==23712== Releasing lock...
[2025-01-08 22:44:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:44:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:44:14] Production.INFO: call_cost start
[2025-01-08 22:44:14] Production.INFO: call_cost end
[2025-01-08 22:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:44:15] Production.INFO: ==23708== Releasing lock...
[2025-01-08 22:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:44:18] Production.INFO: count ==667
[2025-01-08 22:44:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:44:05 - End Time 2025-01-08 22:44:05
[2025-01-08 22:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205373', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205373', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205373', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205373', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:44:18] Production.INFO: ProcessCDR(1,14205373,1,1,2)
[2025-01-08 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205373', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205373', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:44:21] Production.INFO: ==23717== Releasing lock...
[2025-01-08 22:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:44:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 03:45:02] Production.INFO: ==23806== Lock acquired, processing the job...
[2025-01-09 03:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:45:02] Production.INFO: neon service started
[2025-01-09 03:45:02] Production.INFO: neon service started
[2025-01-09 03:45:02] Production.INFO: ==23806== Releasing lock...
[2025-01-09 03:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:45:02] Production.INFO: ==23808== Lock acquired, processing the job...
[2025-01-08 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:45:02] Production.INFO: ==23810== Lock acquired, processing the job...
[2025-01-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:45:03] Production.INFO: ==23810== Releasing lock...
[2025-01-09 03:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:45:03] Production.INFO: ==23808== Releasing lock...
[2025-01-08 22:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:45:04] Production.INFO: ==23821== Lock acquired, processing the job...
[2025-01-08 22:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:45:04] Production.INFO: ==23813== Lock acquired, processing the job...
[2025-01-08 22:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:45:04] Production.INFO: ==23823== Lock acquired, processing the job...
[2025-01-08 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:45:04] Production.INFO: ==23815== Lock acquired, processing the job...
[2025-01-08 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:45:04] Production.INFO: ==23817== Lock acquired, processing the job...
[2025-01-08 22:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:45:04] Production.INFO: ==23819== Lock acquired, processing the job...
[2025-01-08 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:45:04] Production.INFO: count ==21
[2025-01-08 22:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:45:04] Production.INFO: count ==21
[2025-01-08 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205375') start
[2025-01-08 22:45:04] Production.INFO: Account Balance Start.
[2025-01-08 22:45:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:45:04] Production.INFO: 117
[2025-01-08 22:45:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205375') end
[2025-01-08 22:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:45:04] Production.INFO: 1
[2025-01-08 22:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:45:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:45:04] Production.INFO: Total Charge 0
[2025-01-08 22:45:04] Production.INFO: CreateAllLog End
[2025-01-08 22:45:04] Production.INFO: ==23823== Releasing lock...
[2025-01-08 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:45:04] Production.ERROR: done
[2025-01-08 22:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:45:04] Production.INFO: ==23815== Releasing lock...
[2025-01-08 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:45:05] Production.ERROR: done
[2025-01-08 22:45:05] Production.INFO: Account Balance End.
[2025-01-08 22:45:05] Production.ERROR: CronJobId end 12
[2025-01-08 22:45:05] Production.INFO: ==23819== Releasing lock...
[2025-01-08 22:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:45:05
[end_date_ymd] => 2025-01-08 22:45:05
[RateCDR] => 1
)
[2025-01-08 22:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:45:05' and `end` < '2025-01-08 22:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:45:13] Production.ERROR: CronJobId end10
[2025-01-08 22:45:13] Production.INFO: ==23817== Releasing lock...
[2025-01-08 22:45:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:45:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:45:15] Production.INFO: call_cost start
[2025-01-08 22:45:15] Production.INFO: call_cost end
[2025-01-08 22:45:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:45:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:45:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:45:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:45:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:45:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:45:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:45:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:45:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:45:16] Production.INFO: ==23813== Releasing lock...
[2025-01-08 22:45:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:45:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:45:18] Production.INFO: count ==664
[2025-01-08 22:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:45:05 - End Time 2025-01-08 22:45:05
[2025-01-08 22:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205378', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205378', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205378', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205378', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:45:18] Production.INFO: ProcessCDR(1,14205378,1,1,2)
[2025-01-08 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205378', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205378', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:45:22] Production.INFO: ==23821== Releasing lock...
[2025-01-08 22:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:45:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-09 03:46:01] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-01-09 03:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:46:01] Production.INFO: neon service started
[2025-01-09 03:46:01] Production.INFO: neon service started
[2025-01-09 03:46:01] Production.INFO: ==23907== Releasing lock...
[2025-01-09 03:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:46:02] Production.INFO: ==23911== Lock acquired, processing the job...
[2025-01-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:46:02] Production.INFO: ==23913== Lock acquired, processing the job...
[2025-01-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 22:46:02] Production.INFO: ==23911== Releasing lock...
[2025-01-08 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:46:02] Production.INFO: ==23913== Releasing lock...
[2025-01-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:46:03] Production.INFO: ==23918== Lock acquired, processing the job...
[2025-01-08 22:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:46:03] Production.INFO: ==23916== Lock acquired, processing the job...
[2025-01-08 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:46:03] Production.INFO: ==23920== Lock acquired, processing the job...
[2025-01-08 22:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:46:03] Production.INFO: ==23922== Lock acquired, processing the job...
[2025-01-08 22:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:46:03] Production.INFO: ==23926== Lock acquired, processing the job...
[2025-01-08 22:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:46:03] Production.INFO: Account Balance Start.
[2025-01-08 22:46:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:46:03] Production.INFO: 117
[2025-01-08 22:46:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:46:03] Production.INFO: ==23918== Releasing lock...
[2025-01-08 22:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:46:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:46:03] Production.INFO: ==23924== Lock acquired, processing the job...
[2025-01-08 22:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:46:03] Production.INFO: Total Charge 0
[2025-01-08 22:46:03] Production.INFO: CreateAllLog End
[2025-01-08 22:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:46:03] Production.INFO: count ==21
[2025-01-08 22:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:46:04] Production.INFO: count ==21
[2025-01-08 22:46:04] Production.INFO: Account Balance End.
[2025-01-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205382') start
[2025-01-08 22:46:04] Production.ERROR: done
[2025-01-08 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:46:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:46:04] Production.INFO: ==23922== Releasing lock...
[2025-01-08 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:46:04] Production.ERROR: done
[2025-01-08 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205382') end
[2025-01-08 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:46:04] Production.INFO: 1
[2025-01-08 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:46:04] Production.INFO: ==23926== Releasing lock...
[2025-01-08 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:46:05
[end_date_ymd] => 2025-01-08 22:46:05
[RateCDR] => 1
)
[2025-01-08 22:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:46:05' and `end` < '2025-01-08 22:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:46:12] Production.ERROR: CronJobId end10
[2025-01-08 22:46:12] Production.INFO: ==23920== Releasing lock...
[2025-01-08 22:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:46:13] Production.INFO: call_cost start
[2025-01-08 22:46:13] Production.INFO: call_cost end
[2025-01-08 22:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:46:14] Production.INFO: ==23916== Releasing lock...
[2025-01-08 22:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:46:17] Production.INFO: count ==663
[2025-01-08 22:46:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:46:05 - End Time 2025-01-08 22:46:05
[2025-01-08 22:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205383', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205383', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205383', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205383', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:46:18] Production.INFO: ProcessCDR(1,14205383,1,1,2)
[2025-01-08 22:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205383', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205383', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:46:21] Production.INFO: ==23924== Releasing lock...
[2025-01-08 22:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:46:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-09 03:47:02] Production.INFO: ==24011== Lock acquired, processing the job...
[2025-01-09 03:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:47:02] Production.INFO: neon service started
[2025-01-09 03:47:02] Production.INFO: neon service started
[2025-01-09 03:47:02] Production.INFO: ==24011== Releasing lock...
[2025-01-09 03:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:47:02] Production.INFO: ==24017== Lock acquired, processing the job...
[2025-01-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:47:02] Production.INFO: ==24017== Releasing lock...
[2025-01-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:47:02] Production.INFO: ==24015== Lock acquired, processing the job...
[2025-01-08 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:47:03] Production.INFO: ==24015== Releasing lock...
[2025-01-08 22:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:47:03] Production.INFO: ==24020== Lock acquired, processing the job...
[2025-01-08 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:47:03] Production.INFO: ==24022== Lock acquired, processing the job...
[2025-01-08 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:47:03] Production.INFO: ==24026== Lock acquired, processing the job...
[2025-01-08 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:47:03] Production.INFO: ==24024== Lock acquired, processing the job...
[2025-01-08 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:47:03] Production.INFO: Account Balance Start.
[2025-01-08 22:47:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:47:03] Production.INFO: 117
[2025-01-08 22:47:03] Production.INFO: ==24028== Lock acquired, processing the job...
[2025-01-08 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:47:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:47:04] Production.INFO: Total Charge 0
[2025-01-08 22:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:47:04] Production.INFO: CreateAllLog End
[2025-01-08 22:47:04] Production.INFO: ==24030== Lock acquired, processing the job...
[2025-01-08 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:47:04] Production.INFO: ==24022== Releasing lock...
[2025-01-08 22:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:47:04] Production.INFO: count ==21
[2025-01-08 22:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:47:04] Production.ERROR: done
[2025-01-08 22:47:04] Production.INFO: count ==21
[2025-01-08 22:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205387') start
[2025-01-08 22:47:04] Production.INFO: Account Balance End.
[2025-01-08 22:47:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:47:04] Production.INFO: ==24026== Releasing lock...
[2025-01-08 22:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205387') end
[2025-01-08 22:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:47:04] Production.INFO: 1
[2025-01-08 22:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:47:04] Production.ERROR: done
[2025-01-08 22:47:04] Production.INFO: ==24030== Releasing lock...
[2025-01-08 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:47:05
[end_date_ymd] => 2025-01-08 22:47:05
[RateCDR] => 1
)
[2025-01-08 22:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:47:05' and `end` < '2025-01-08 22:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:47:12] Production.ERROR: CronJobId end10
[2025-01-08 22:47:12] Production.INFO: ==24024== Releasing lock...
[2025-01-08 22:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:47:13] Production.INFO: call_cost start
[2025-01-08 22:47:13] Production.INFO: call_cost end
[2025-01-08 22:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:47:14] Production.INFO: ==24020== Releasing lock...
[2025-01-08 22:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:47:19] Production.INFO: count ==663
[2025-01-08 22:47:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:47:05 - End Time 2025-01-08 22:47:05
[2025-01-08 22:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205388', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205388', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205388', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205388', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:47:19] Production.INFO: ProcessCDR(1,14205388,1,1,2)
[2025-01-08 22:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205388', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205388', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:47:22] Production.INFO: ==24028== Releasing lock...
[2025-01-08 22:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:47:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-09 03:48:01] Production.INFO: ==24117== Lock acquired, processing the job...
[2025-01-09 03:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:48:01] Production.INFO: neon service started
[2025-01-09 03:48:01] Production.INFO: neon service started
[2025-01-09 03:48:01] Production.INFO: ==24117== Releasing lock...
[2025-01-09 03:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:48:02] Production.INFO: ==24120== Lock acquired, processing the job...
[2025-01-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:48:02] Production.INFO: ==24122== Lock acquired, processing the job...
[2025-01-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:48:02] Production.INFO: ==24122== Releasing lock...
[2025-01-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:48:02] Production.INFO: ==24120== Releasing lock...
[2025-01-08 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:48:03] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-08 22:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:48:03] Production.INFO: ==24126== Lock acquired, processing the job...
[2025-01-08 22:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:48:03] Production.INFO: ==24128== Lock acquired, processing the job...
[2025-01-08 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:48:03] Production.INFO: ==24136== Lock acquired, processing the job...
[2025-01-08 22:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:48:03] Production.INFO: ==24132== Lock acquired, processing the job...
[2025-01-08 22:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:48:03] Production.INFO: ==24134== Lock acquired, processing the job...
[2025-01-08 22:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:48:03] Production.INFO: count ==21
[2025-01-08 22:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:48:03] Production.INFO: count ==21
[2025-01-08 22:48:03] Production.INFO: Account Balance Start.
[2025-01-08 22:48:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205390') start
[2025-01-08 22:48:03] Production.INFO: 117
[2025-01-08 22:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:48:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:48:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:48:03] Production.INFO: Total Charge 0
[2025-01-08 22:48:03] Production.INFO: CreateAllLog End
[2025-01-08 22:48:03] Production.INFO: ==24128== Releasing lock...
[2025-01-08 22:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205390') end
[2025-01-08 22:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:48:03] Production.INFO: 1
[2025-01-08 22:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:48:04] Production.INFO: ==24136== Releasing lock...
[2025-01-08 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:48:04] Production.ERROR: done
[2025-01-08 22:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:48:04] Production.INFO: Account Balance End.
[2025-01-08 22:48:04] Production.ERROR: done
[2025-01-08 22:48:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:48:04] Production.INFO: ==24132== Releasing lock...
[2025-01-08 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:48:05
[end_date_ymd] => 2025-01-08 22:48:05
[RateCDR] => 1
)
[2025-01-08 22:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:48:05' and `end` < '2025-01-08 22:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:48:13] Production.ERROR: CronJobId end10
[2025-01-08 22:48:13] Production.INFO: ==24130== Releasing lock...
[2025-01-08 22:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:48:14] Production.INFO: call_cost start
[2025-01-08 22:48:14] Production.INFO: call_cost end
[2025-01-08 22:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:48:14] Production.INFO: ==24126== Releasing lock...
[2025-01-08 22:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:48:19] Production.INFO: count ==663
[2025-01-08 22:48:20] Production.ERROR: pbx CDR StartTime 2025-01-08 19:48:05 - End Time 2025-01-08 22:48:05
[2025-01-08 22:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205393', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205393', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205393', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205393', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:48:20] Production.INFO: ProcessCDR(1,14205393,1,1,2)
[2025-01-08 22:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205393', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205393', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:48:23] Production.INFO: ==24134== Releasing lock...
[2025-01-08 22:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:48:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-09 03:49:02] Production.INFO: ==24221== Lock acquired, processing the job...
[2025-01-09 03:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:49:02] Production.INFO: neon service started
[2025-01-09 03:49:02] Production.INFO: neon service started
[2025-01-09 03:49:02] Production.INFO: ==24221== Releasing lock...
[2025-01-09 03:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:49:02] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-01-08 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:49:02] Production.INFO: ==24225== Releasing lock...
[2025-01-08 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:49:02] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-01-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:49:02] Production.INFO: ==24227== Releasing lock...
[2025-01-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:49:03] Production.INFO: ==24235== Lock acquired, processing the job...
[2025-01-08 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:49:03] Production.INFO: Account Balance Start.
[2025-01-08 22:49:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:49:03] Production.INFO: 117
[2025-01-08 22:49:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:49:03] Production.INFO: ==24231== Lock acquired, processing the job...
[2025-01-08 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:49:03] Production.INFO: ==24233== Lock acquired, processing the job...
[2025-01-08 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:49:03] Production.INFO: ==24240== Lock acquired, processing the job...
[2025-01-08 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:49:03] Production.INFO: Total Charge 0
[2025-01-08 22:49:03] Production.INFO: ==24229== Lock acquired, processing the job...
[2025-01-08 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:49:03] Production.INFO: CreateAllLog End
[2025-01-08 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:49:03] Production.INFO: ==24237== Lock acquired, processing the job...
[2025-01-08 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:49:03] Production.INFO: count ==21
[2025-01-08 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:49:03] Production.INFO: count ==21
[2025-01-08 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205396') start
[2025-01-08 22:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205396') end
[2025-01-08 22:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:49:04] Production.INFO: 1
[2025-01-08 22:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:49:04] Production.INFO: Account Balance End.
[2025-01-08 22:49:04] Production.INFO: ==24240== Releasing lock...
[2025-01-08 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:49:04] Production.INFO: ==24231== Releasing lock...
[2025-01-08 22:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:49:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:49:04] Production.INFO: ==24235== Releasing lock...
[2025-01-08 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:49:04] Production.ERROR: done
[2025-01-08 22:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:49:04] Production.ERROR: done
[2025-01-08 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:49:05
[end_date_ymd] => 2025-01-08 22:49:05
[RateCDR] => 1
)
[2025-01-08 22:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:49:05' and `end` < '2025-01-08 22:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:49:12] Production.ERROR: CronJobId end10
[2025-01-08 22:49:12] Production.INFO: ==24233== Releasing lock...
[2025-01-08 22:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:49:14] Production.INFO: call_cost start
[2025-01-08 22:49:14] Production.INFO: call_cost end
[2025-01-08 22:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:49:15] Production.INFO: ==24229== Releasing lock...
[2025-01-08 22:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:49:18] Production.INFO: count ==663
[2025-01-08 22:49:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:49:05 - End Time 2025-01-08 22:49:05
[2025-01-08 22:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205398', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205398', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205398', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205398', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:49:18] Production.INFO: ProcessCDR(1,14205398,1,1,2)
[2025-01-08 22:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205398', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205398', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:49:21] Production.INFO: ==24237== Releasing lock...
[2025-01-08 22:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:49:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-09 03:50:01] Production.INFO: ==24325== Lock acquired, processing the job...
[2025-01-09 03:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:50:01] Production.INFO: neon service started
[2025-01-09 03:50:01] Production.INFO: neon service started
[2025-01-09 03:50:01] Production.INFO: ==24325== Releasing lock...
[2025-01-09 03:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:50:01] Production.INFO: ==24329== Lock acquired, processing the job...
[2025-01-08 22:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:50:02] Production.INFO: ==24331== Lock acquired, processing the job...
[2025-01-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:50:02] Production.INFO: ==24331== Releasing lock...
[2025-01-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:50:02] Production.INFO: ==24329== Releasing lock...
[2025-01-08 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:50:03] Production.INFO: ==24338== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:50:03] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:50:03] Production.INFO: ==24334== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 22:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 22:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:50:03] Production.ERROR: CronJob PID - 24338
[2025-01-08 22:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-08 22:50:03] Production.ERROR: CronJob ID - 7
[2025-01-08 22:50:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:50:00
[2025-01-08 22:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 22:50:03] Production.ERROR: CronJob PID - 24340
[2025-01-08 22:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 22:50:03] Production.ERROR: CronJob ID - 10
[2025-01-08 22:50:03] Production.ERROR: CronJob Last Run Time 2025-01-08 22:50:00
[2025-01-08 22:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 22:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 22:50:03] Production.INFO: ==24336== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:50:03] Production.INFO: ==24348== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 22:50:03] Production.INFO: ==24334== Releasing lock...
[2025-01-08 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 22:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 22:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:50:03] Production.INFO: ==24342== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:50:03] Production.INFO: ==24344== Lock acquired, processing the job...
[2025-01-08 22:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:50:03] Production.INFO: count ==21
[2025-01-08 22:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:50:04] Production.INFO: count ==21
[2025-01-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205401') start
[2025-01-08 22:50:04] Production.INFO: ==24346== Lock acquired, processing the job...
[2025-01-08 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205401') end
[2025-01-08 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:50:04] Production.INFO: 1
[2025-01-08 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:50:04] Production.INFO: Account Balance Start.
[2025-01-08 22:50:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:50:04] Production.INFO: 117
[2025-01-08 22:50:04] Production.INFO: ==24338== Releasing lock...
[2025-01-08 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:50:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:50:04] Production.INFO: Total Charge 0
[2025-01-08 22:50:04] Production.INFO: CreateAllLog End
[2025-01-08 22:50:04] Production.INFO: ==24348== Releasing lock...
[2025-01-08 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:50:04] Production.ERROR: done
[2025-01-08 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:50:04] Production.INFO: Account Balance End.
[2025-01-08 22:50:04] Production.ERROR: done
[2025-01-08 22:50:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:50:04] Production.INFO: ==24342== Releasing lock...
[2025-01-08 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:50:04] Production.ERROR: done
[2025-01-08 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205404', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 22:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:50:05
[end_date_ymd] => 2025-01-08 22:50:05
[RateCDR] => 1
)
[2025-01-08 22:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:50:05' and `end` < '2025-01-08 22:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205404', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 22:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 22:50:08] Production.INFO: ProcessCDR(1,14205404,1,1,2)
[2025-01-08 22:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205404,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205404,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:50:08] Production.INFO: ==24346== Releasing lock...
[2025-01-08 22:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 22:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 22:50:14] Production.ERROR: CronJobId end10
[2025-01-08 22:50:14] Production.INFO: ==24340== Releasing lock...
[2025-01-08 22:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:50:15] Production.INFO: call_cost start
[2025-01-08 22:50:15] Production.INFO: call_cost end
[2025-01-08 22:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:50:16] Production.INFO: ==24336== Releasing lock...
[2025-01-08 22:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:50:18] Production.INFO: count ==653
[2025-01-08 22:50:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:50:05 - End Time 2025-01-08 22:50:05
[2025-01-08 22:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205403', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205403', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205403', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205403', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:50:18] Production.INFO: ProcessCDR(1,14205403,1,1,2)
[2025-01-08 22:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205403', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205403', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:50:21] Production.INFO: ==24344== Releasing lock...
[2025-01-08 22:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:50:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-09 03:51:01] Production.INFO: ==24439== Lock acquired, processing the job...
[2025-01-09 03:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:51:01] Production.INFO: neon service started
[2025-01-09 03:51:02] Production.INFO: neon service started
[2025-01-09 03:51:02] Production.INFO: ==24439== Releasing lock...
[2025-01-09 03:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:51:02] Production.INFO: ==24441== Lock acquired, processing the job...
[2025-01-08 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:51:02] Production.INFO: ==24441== Releasing lock...
[2025-01-08 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:51:02] Production.INFO: ==24443== Lock acquired, processing the job...
[2025-01-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:51:02] Production.INFO: ==24443== Releasing lock...
[2025-01-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:51:03] Production.INFO: ==24454== Lock acquired, processing the job...
[2025-01-08 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:51:03] Production.ERROR: done
[2025-01-08 22:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:51:03] Production.ERROR: done
[2025-01-08 22:51:03] Production.INFO: ==24448== Lock acquired, processing the job...
[2025-01-08 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:51:03] Production.INFO: ==24446== Lock acquired, processing the job...
[2025-01-08 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:51:03] Production.INFO: ==24450== Lock acquired, processing the job...
[2025-01-08 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:51:04] Production.INFO: ==24452== Lock acquired, processing the job...
[2025-01-08 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:51:04] Production.INFO: ==24456== Lock acquired, processing the job...
[2025-01-08 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:51:04] Production.INFO: Account Balance Start.
[2025-01-08 22:51:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:51:04] Production.INFO: 117
[2025-01-08 22:51:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:51:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:51:04] Production.INFO: ==24448== Releasing lock...
[2025-01-08 22:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:51:04] Production.INFO: Total Charge 0
[2025-01-08 22:51:04] Production.INFO: CreateAllLog End
[2025-01-08 22:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:51:04] Production.INFO: count ==21
[2025-01-08 22:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:51:04] Production.INFO: count ==21
[2025-01-08 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205409') start
[2025-01-08 22:51:04] Production.INFO: Account Balance End.
[2025-01-08 22:51:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:51:04] Production.INFO: ==24452== Releasing lock...
[2025-01-08 22:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205409') end
[2025-01-08 22:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:51:04] Production.INFO: 1
[2025-01-08 22:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:51:04] Production.INFO: ==24456== Releasing lock...
[2025-01-08 22:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:51:04
[end_date_ymd] => 2025-01-08 22:51:04
[RateCDR] => 1
)
[2025-01-08 22:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:51:04' and `end` < '2025-01-08 22:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:51:12] Production.ERROR: CronJobId end10
[2025-01-08 22:51:12] Production.INFO: ==24450== Releasing lock...
[2025-01-08 22:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:51:14] Production.INFO: call_cost start
[2025-01-08 22:51:14] Production.INFO: call_cost end
[2025-01-08 22:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:51:15] Production.INFO: ==24446== Releasing lock...
[2025-01-08 22:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:51:20] Production.INFO: count ==625
[2025-01-08 22:51:20] Production.ERROR: pbx CDR StartTime 2025-01-08 19:51:04 - End Time 2025-01-08 22:51:04
[2025-01-08 22:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205405', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205405', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205405', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205405', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:51:20] Production.INFO: ProcessCDR(1,14205405,1,1,2)
[2025-01-08 22:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205405', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205405', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:51:23] Production.INFO: ==24454== Releasing lock...
[2025-01-08 22:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:51:23] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:52:01] Production.INFO: ==24554== Lock acquired, processing the job...
[2025-01-09 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:52:01] Production.INFO: neon service started
[2025-01-09 03:52:01] Production.INFO: neon service started
[2025-01-09 03:52:01] Production.INFO: ==24554== Releasing lock...
[2025-01-09 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:52:01] Production.INFO: ==24556== Lock acquired, processing the job...
[2025-01-08 22:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:52:02] Production.INFO: ==24556== Releasing lock...
[2025-01-08 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:52:02] Production.INFO: ==24558== Lock acquired, processing the job...
[2025-01-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:52:02] Production.INFO: ==24558== Releasing lock...
[2025-01-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:52:02] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-01-08 22:52:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:52:03] Production.INFO: ==24568== Lock acquired, processing the job...
[2025-01-08 22:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:52:03] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-01-08 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:52:03] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-01-08 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:52:03] Production.INFO: ==24566== Lock acquired, processing the job...
[2025-01-08 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:52:03] Production.INFO: Account Balance Start.
[2025-01-08 22:52:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:52:03] Production.INFO: 117
[2025-01-08 22:52:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:52:03] Production.INFO: ==24562== Releasing lock...
[2025-01-08 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:52:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:52:03] Production.INFO: ==24570== Lock acquired, processing the job...
[2025-01-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:52:03] Production.INFO: Total Charge 0
[2025-01-08 22:52:03] Production.INFO: CreateAllLog End
[2025-01-08 22:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:52:03] Production.ERROR: done
[2025-01-08 22:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:52:03] Production.INFO: count ==21
[2025-01-08 22:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:52:03] Production.INFO: count ==21
[2025-01-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205413') start
[2025-01-08 22:52:03] Production.INFO: Account Balance End.
[2025-01-08 22:52:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:52:03] Production.INFO: ==24566== Releasing lock...
[2025-01-08 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:52:03] Production.ERROR: done
[2025-01-08 22:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205413') end
[2025-01-08 22:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:52:03] Production.INFO: 1
[2025-01-08 22:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:52:03] Production.INFO: ==24570== Releasing lock...
[2025-01-08 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:52:04
[end_date_ymd] => 2025-01-08 22:52:04
[RateCDR] => 1
)
[2025-01-08 22:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:52:04' and `end` < '2025-01-08 22:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:52:12] Production.ERROR: CronJobId end10
[2025-01-08 22:52:12] Production.INFO: ==24564== Releasing lock...
[2025-01-08 22:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:52:13] Production.INFO: call_cost start
[2025-01-08 22:52:13] Production.INFO: call_cost end
[2025-01-08 22:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:52:13] Production.INFO: ==24560== Releasing lock...
[2025-01-08 22:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:52:17] Production.INFO: count ==623
[2025-01-08 22:52:17] Production.ERROR: pbx CDR StartTime 2025-01-08 19:52:04 - End Time 2025-01-08 22:52:04
[2025-01-08 22:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205414', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205414', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205414', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205414', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:52:17] Production.INFO: ProcessCDR(1,14205414,1,1,2)
[2025-01-08 22:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205414', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205414', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:52:20] Production.INFO: ==24568== Releasing lock...
[2025-01-08 22:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:52:20] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:53:01] Production.INFO: ==24690== Lock acquired, processing the job...
[2025-01-09 03:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:53:01] Production.INFO: neon service started
[2025-01-09 03:53:01] Production.INFO: neon service started
[2025-01-09 03:53:01] Production.INFO: ==24690== Releasing lock...
[2025-01-09 03:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:53:02] Production.INFO: ==24694== Lock acquired, processing the job...
[2025-01-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:53:02] Production.INFO: ==24694== Releasing lock...
[2025-01-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:53:02] Production.INFO: ==24692== Lock acquired, processing the job...
[2025-01-08 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:53:02] Production.INFO: ==24692== Releasing lock...
[2025-01-08 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:53:03] Production.INFO: ==24701== Lock acquired, processing the job...
[2025-01-08 22:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:53:03] Production.INFO: ==24697== Lock acquired, processing the job...
[2025-01-08 22:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:53:03] Production.INFO: ==24705== Lock acquired, processing the job...
[2025-01-08 22:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:53:03] Production.INFO: ==24699== Lock acquired, processing the job...
[2025-01-08 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:53:03] Production.INFO: ==24703== Lock acquired, processing the job...
[2025-01-08 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:53:03] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-01-08 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:53:03] Production.INFO: Account Balance Start.
[2025-01-08 22:53:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:53:03] Production.INFO: 117
[2025-01-08 22:53:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:53:03] Production.INFO: Total Charge 0
[2025-01-08 22:53:03] Production.INFO: CreateAllLog End
[2025-01-08 22:53:03] Production.INFO: count ==21
[2025-01-08 22:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:53:03] Production.INFO: count ==21
[2025-01-08 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205418') start
[2025-01-08 22:53:04] Production.INFO: ==24699== Releasing lock...
[2025-01-08 22:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:53:04] Production.INFO: Account Balance End.
[2025-01-08 22:53:04] Production.ERROR: done
[2025-01-08 22:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205418') end
[2025-01-08 22:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:53:04] Production.INFO: 1
[2025-01-08 22:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:53:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:53:04] Production.INFO: ==24703== Releasing lock...
[2025-01-08 22:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:53:04] Production.INFO: ==24707== Releasing lock...
[2025-01-08 22:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:53:04] Production.ERROR: done
[2025-01-08 22:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:53:05
[end_date_ymd] => 2025-01-08 22:53:05
[RateCDR] => 1
)
[2025-01-08 22:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:53:05' and `end` < '2025-01-08 22:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:53:12] Production.ERROR: CronJobId end10
[2025-01-08 22:53:12] Production.INFO: ==24701== Releasing lock...
[2025-01-08 22:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:53:13] Production.INFO: call_cost start
[2025-01-08 22:53:13] Production.INFO: call_cost end
[2025-01-08 22:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:53:14] Production.INFO: ==24697== Releasing lock...
[2025-01-08 22:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:53:20] Production.INFO: count ==619
[2025-01-08 22:53:20] Production.ERROR: pbx CDR StartTime 2025-01-08 19:53:05 - End Time 2025-01-08 22:53:05
[2025-01-08 22:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205419', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205419', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205419', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205419', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:53:20] Production.INFO: ProcessCDR(1,14205419,1,1,2)
[2025-01-08 22:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205419', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205419', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:53:23] Production.INFO: ==24705== Releasing lock...
[2025-01-08 22:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:53:23] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:54:02] Production.INFO: ==24832== Lock acquired, processing the job...
[2025-01-09 03:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:54:02] Production.INFO: neon service started
[2025-01-09 03:54:02] Production.INFO: neon service started
[2025-01-09 03:54:02] Production.INFO: ==24832== Releasing lock...
[2025-01-09 03:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:54:02] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-01-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:54:02] Production.INFO: ==24834== Releasing lock...
[2025-01-08 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:54:03] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-01-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:54:03] Production.INFO: ==24836== Releasing lock...
[2025-01-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:54:03] Production.INFO: ==24843== Lock acquired, processing the job...
[2025-01-08 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:54:03] Production.INFO: ==24847== Lock acquired, processing the job...
[2025-01-08 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:54:03] Production.INFO: ==24838== Lock acquired, processing the job...
[2025-01-08 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:54:04] Production.INFO: ==24840== Lock acquired, processing the job...
[2025-01-08 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:54:04] Production.INFO: ==24845== Lock acquired, processing the job...
[2025-01-08 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:54:04] Production.INFO: ==24849== Lock acquired, processing the job...
[2025-01-08 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:54:04] Production.INFO: Account Balance Start.
[2025-01-08 22:54:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:54:04] Production.INFO: 117
[2025-01-08 22:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:54:04] Production.ERROR: done
[2025-01-08 22:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:54:04] Production.INFO: count ==21
[2025-01-08 22:54:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:54:04] Production.INFO: count ==21
[2025-01-08 22:54:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205423') start
[2025-01-08 22:54:04] Production.ERROR: done
[2025-01-08 22:54:04] Production.INFO: ==24840== Releasing lock...
[2025-01-08 22:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:54:04] Production.INFO: Total Charge 0
[2025-01-08 22:54:04] Production.INFO: CreateAllLog End
[2025-01-08 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205423') end
[2025-01-08 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:54:04] Production.INFO: 1
[2025-01-08 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:54:04] Production.INFO: ==24849== Releasing lock...
[2025-01-08 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:54:04] Production.INFO: Account Balance End.
[2025-01-08 22:54:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:54:04] Production.INFO: ==24845== Releasing lock...
[2025-01-08 22:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:54:05
[end_date_ymd] => 2025-01-08 22:54:05
[RateCDR] => 1
)
[2025-01-08 22:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:54:05' and `end` < '2025-01-08 22:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:54:12] Production.ERROR: CronJobId end10
[2025-01-08 22:54:12] Production.INFO: ==24843== Releasing lock...
[2025-01-08 22:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:54:14] Production.INFO: call_cost start
[2025-01-08 22:54:14] Production.INFO: call_cost end
[2025-01-08 22:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:54:15] Production.INFO: ==24838== Releasing lock...
[2025-01-08 22:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:54:19] Production.INFO: count ==620
[2025-01-08 22:54:19] Production.ERROR: pbx CDR StartTime 2025-01-08 19:54:05 - End Time 2025-01-08 22:54:05
[2025-01-08 22:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205424', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205424', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205424', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205424', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:54:19] Production.INFO: ProcessCDR(1,14205424,1,1,2)
[2025-01-08 22:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205424', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205424', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:54:22] Production.INFO: ==24847== Releasing lock...
[2025-01-08 22:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:54:22] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:55:01] Production.INFO: ==24973== Lock acquired, processing the job...
[2025-01-09 03:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:55:01] Production.INFO: neon service started
[2025-01-09 03:55:01] Production.INFO: neon service started
[2025-01-09 03:55:01] Production.INFO: ==24973== Releasing lock...
[2025-01-09 03:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:55:02] Production.INFO: ==24978== Lock acquired, processing the job...
[2025-01-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:55:02] Production.INFO: ==24978== Releasing lock...
[2025-01-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:55:02] Production.INFO: ==24976== Lock acquired, processing the job...
[2025-01-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:55:02] Production.INFO: ==24976== Releasing lock...
[2025-01-08 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:55:03] Production.INFO: ==24982== Lock acquired, processing the job...
[2025-01-08 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:55:03] Production.INFO: ==24986== Lock acquired, processing the job...
[2025-01-08 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:55:03] Production.INFO: ==24988== Lock acquired, processing the job...
[2025-01-08 22:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:55:03] Production.INFO: Account Balance Start.
[2025-01-08 22:55:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:55:03] Production.INFO: 117
[2025-01-08 22:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:55:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:55:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:55:03] Production.INFO: ==24980== Lock acquired, processing the job...
[2025-01-08 22:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:55:03] Production.INFO: Total Charge 0
[2025-01-08 22:55:03] Production.INFO: CreateAllLog End
[2025-01-08 22:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:55:03] Production.INFO: ==24984== Lock acquired, processing the job...
[2025-01-08 22:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:55:03] Production.INFO: ==24982== Releasing lock...
[2025-01-08 22:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:55:03] Production.INFO: ==24990== Lock acquired, processing the job...
[2025-01-08 22:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:55:03] Production.INFO: Account Balance End.
[2025-01-08 22:55:03] Production.ERROR: done
[2025-01-08 22:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:55:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:55:03] Production.INFO: ==24986== Releasing lock...
[2025-01-08 22:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 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-01-08 22:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:55:03] Production.INFO: count ==21
[2025-01-08 22:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:55:03] Production.INFO: count ==21
[2025-01-08 22:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205428') start
[2025-01-08 22:55:03] Production.ERROR: done
[2025-01-08 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205428') end
[2025-01-08 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:55:04] Production.INFO: 1
[2025-01-08 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:55:04] Production.INFO: ==24990== Releasing lock...
[2025-01-08 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:55:04
[end_date_ymd] => 2025-01-08 22:55:04
[RateCDR] => 1
)
[2025-01-08 22:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:55:04' and `end` < '2025-01-08 22:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:55:12] Production.ERROR: CronJobId end10
[2025-01-08 22:55:12] Production.INFO: ==24984== Releasing lock...
[2025-01-08 22:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:55:13] Production.INFO: call_cost start
[2025-01-08 22:55:13] Production.INFO: call_cost end
[2025-01-08 22:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:55:14] Production.INFO: ==24980== Releasing lock...
[2025-01-08 22:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:55:18] Production.INFO: count ==620
[2025-01-08 22:55:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:55:04 - End Time 2025-01-08 22:55:04
[2025-01-08 22:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205429', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205429', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205429', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205429', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:55:18] Production.INFO: ProcessCDR(1,14205429,1,1,2)
[2025-01-08 22:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205429', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205429', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:55:21] Production.INFO: ==24988== Releasing lock...
[2025-01-08 22:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:55:21] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:56:02] Production.INFO: ==25083== Lock acquired, processing the job...
[2025-01-09 03:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:56:02] Production.INFO: neon service started
[2025-01-09 03:56:02] Production.INFO: neon service started
[2025-01-09 03:56:02] Production.INFO: ==25083== Releasing lock...
[2025-01-09 03:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:56:02] Production.INFO: ==25087== Lock acquired, processing the job...
[2025-01-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:56:02] Production.INFO: ==25087== Releasing lock...
[2025-01-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:56:02] Production.INFO: ==25085== Lock acquired, processing the job...
[2025-01-08 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:56:03] Production.INFO: ==25085== Releasing lock...
[2025-01-08 22:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:56:04] Production.INFO: ==25094== Lock acquired, processing the job...
[2025-01-08 22:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:56:04] Production.INFO: ==25092== Lock acquired, processing the job...
[2025-01-08 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:56:04] Production.INFO: ==25100== Lock acquired, processing the job...
[2025-01-08 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:56:04] Production.INFO: ==25098== Lock acquired, processing the job...
[2025-01-08 22:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 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-01-08 22:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:56:04] Production.INFO: ==25090== Lock acquired, processing the job...
[2025-01-08 22:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:56:04] Production.INFO: count ==21
[2025-01-08 22:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:56:04] Production.INFO: count ==21
[2025-01-08 22:56:04] Production.INFO: ==25096== Lock acquired, processing the job...
[2025-01-08 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205430') start
[2025-01-08 22:56:04] Production.INFO: Account Balance Start.
[2025-01-08 22:56:04] Production.INFO: CreateAllLog Start
[2025-01-08 22:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:56:04] Production.INFO: 117
[2025-01-08 22:56:04] Production.INFO: Date 2025-01-08
[2025-01-08 22:56:04] Production.INFO: Reseller ==> 0
[2025-01-08 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205430') end
[2025-01-08 22:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:56:04] Production.INFO: 1
[2025-01-08 22:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:56:04] Production.INFO: Total Charge 0
[2025-01-08 22:56:04] Production.INFO: ==25100== Releasing lock...
[2025-01-08 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:56:04] Production.ERROR: done
[2025-01-08 22:56:04] Production.INFO: CreateAllLog End
[2025-01-08 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:56:04] Production.INFO: ==25092== Releasing lock...
[2025-01-08 22:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:56:04] Production.ERROR: done
[2025-01-08 22:56:04] Production.INFO: Account Balance End.
[2025-01-08 22:56:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:56:04] Production.INFO: ==25096== Releasing lock...
[2025-01-08 22:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:56:05
[end_date_ymd] => 2025-01-08 22:56:05
[RateCDR] => 1
)
[2025-01-08 22:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:56:05' and `end` < '2025-01-08 22:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:56:13] Production.ERROR: CronJobId end10
[2025-01-08 22:56:13] Production.INFO: ==25094== Releasing lock...
[2025-01-08 22:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:56:13] Production.INFO: call_cost start
[2025-01-08 22:56:13] Production.INFO: call_cost end
[2025-01-08 22:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:56:14] Production.INFO: ==25090== Releasing lock...
[2025-01-08 22:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:56:18] Production.INFO: count ==620
[2025-01-08 22:56:18] Production.ERROR: pbx CDR StartTime 2025-01-08 19:56:05 - End Time 2025-01-08 22:56:05
[2025-01-08 22:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205434', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205434', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205434', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205434', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:56:18] Production.INFO: ProcessCDR(1,14205434,1,1,2)
[2025-01-08 22:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205434', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205434', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:56:21] Production.INFO: ==25098== Releasing lock...
[2025-01-08 22:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:56:21] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:57:01] Production.INFO: ==25190== Lock acquired, processing the job...
[2025-01-09 03:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:57:01] Production.INFO: neon service started
[2025-01-09 03:57:01] Production.INFO: neon service started
[2025-01-09 03:57:01] Production.INFO: ==25190== Releasing lock...
[2025-01-09 03:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:57:02] Production.INFO: ==25192== Lock acquired, processing the job...
[2025-01-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:57:02] Production.INFO: ==25192== Releasing lock...
[2025-01-08 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:57:02] Production.INFO: ==25194== Lock acquired, processing the job...
[2025-01-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:57:02] Production.INFO: ==25194== Releasing lock...
[2025-01-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:57:03] Production.INFO: ==25202== Lock acquired, processing the job...
[2025-01-08 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:57:03] Production.INFO: ==25204== Lock acquired, processing the job...
[2025-01-08 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:57:03] Production.INFO: Account Balance Start.
[2025-01-08 22:57:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:57:03] Production.INFO: 117
[2025-01-08 22:57:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:57:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:57:03] Production.INFO: Total Charge 0
[2025-01-08 22:57:03] Production.INFO: CreateAllLog End
[2025-01-08 22:57:03] Production.INFO: ==25196== Lock acquired, processing the job...
[2025-01-08 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:57:03] Production.INFO: ==25198== Lock acquired, processing the job...
[2025-01-08 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:57:03] Production.INFO: ==25200== Lock acquired, processing the job...
[2025-01-08 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:57:03] Production.INFO: ==25206== Lock acquired, processing the job...
[2025-01-08 22:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:57:03] Production.INFO: Account Balance End.
[2025-01-08 22:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:57:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:57:03] Production.INFO: ==25202== Releasing lock...
[2025-01-08 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:57:04] Production.ERROR: done
[2025-01-08 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:57:04] Production.INFO: count ==21
[2025-01-08 22:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:57:04] Production.INFO: count ==21
[2025-01-08 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205438') start
[2025-01-08 22:57:04] Production.ERROR: done
[2025-01-08 22:57:04] Production.INFO: ==25198== Releasing lock...
[2025-01-08 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205438') end
[2025-01-08 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:57:04] Production.INFO: 1
[2025-01-08 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:57:04] Production.INFO: ==25206== Releasing lock...
[2025-01-08 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:57:05
[end_date_ymd] => 2025-01-08 22:57:05
[RateCDR] => 1
)
[2025-01-08 22:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:57:05' and `end` < '2025-01-08 22:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:57:13] Production.ERROR: CronJobId end10
[2025-01-08 22:57:13] Production.INFO: ==25200== Releasing lock...
[2025-01-08 22:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:57:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:57:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:57:14] Production.INFO: call_cost start
[2025-01-08 22:57:14] Production.INFO: call_cost end
[2025-01-08 22:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:57:15] Production.INFO: ==25196== Releasing lock...
[2025-01-08 22:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:57:20] Production.INFO: count ==620
[2025-01-08 22:57:20] Production.ERROR: pbx CDR StartTime 2025-01-08 19:57:05 - End Time 2025-01-08 22:57:05
[2025-01-08 22:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205439', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205439', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205439', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205439', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:57:20] Production.INFO: ProcessCDR(1,14205439,1,1,2)
[2025-01-08 22:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205439', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205439', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:57:24] Production.INFO: ==25204== Releasing lock...
[2025-01-08 22:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:57:24] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:58:01] Production.INFO: ==25297== Lock acquired, processing the job...
[2025-01-09 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:58:01] Production.INFO: neon service started
[2025-01-09 03:58:01] Production.INFO: neon service started
[2025-01-09 03:58:01] Production.INFO: ==25297== Releasing lock...
[2025-01-09 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:58:01] Production.INFO: ==25299== Lock acquired, processing the job...
[2025-01-08 22:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 22:58:02] Production.INFO: ==25299== Releasing lock...
[2025-01-08 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:58:02] Production.INFO: ==25301== Lock acquired, processing the job...
[2025-01-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:58:02] Production.INFO: ==25301== Releasing lock...
[2025-01-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:58:02] Production.INFO: ==25303== Lock acquired, processing the job...
[2025-01-08 22:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:58:02] Production.INFO: ==25305== Lock acquired, processing the job...
[2025-01-08 22:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:58:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:58:02] Production.INFO: ==25311== Lock acquired, processing the job...
[2025-01-08 22:58:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:58:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:58:03] Production.INFO: ==25309== Lock acquired, processing the job...
[2025-01-08 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:58:03] Production.ERROR: done
[2025-01-08 22:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:58:03] Production.INFO: Account Balance Start.
[2025-01-08 22:58:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:58:03] Production.INFO: 117
[2025-01-08 22:58:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:58:03] Production.INFO: ==25307== Lock acquired, processing the job...
[2025-01-08 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:58:03] Production.INFO: ==25314== Lock acquired, processing the job...
[2025-01-08 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:58:03] Production.INFO: Total Charge 0
[2025-01-08 22:58:03] Production.INFO: CreateAllLog End
[2025-01-08 22:58:03] Production.INFO: ==25305== Releasing lock...
[2025-01-08 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:58:03] Production.ERROR: done
[2025-01-08 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:58:03] Production.INFO: count ==21
[2025-01-08 22:58:03] Production.INFO: Account Balance End.
[2025-01-08 22:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:58:03] Production.INFO: count ==21
[2025-01-08 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205443') start
[2025-01-08 22:58:03] Production.ERROR: CronJobId end 12
[2025-01-08 22:58:03] Production.INFO: ==25309== Releasing lock...
[2025-01-08 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205443') end
[2025-01-08 22:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:58:03] Production.INFO: 1
[2025-01-08 22:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:58:03] Production.INFO: ==25314== Releasing lock...
[2025-01-08 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:58:04
[end_date_ymd] => 2025-01-08 22:58:04
[RateCDR] => 1
)
[2025-01-08 22:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:58:04' and `end` < '2025-01-08 22:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:58:12] Production.ERROR: CronJobId end10
[2025-01-08 22:58:12] Production.INFO: ==25307== Releasing lock...
[2025-01-08 22:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:58:13] Production.INFO: call_cost start
[2025-01-08 22:58:13] Production.INFO: call_cost end
[2025-01-08 22:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:58:14] Production.INFO: ==25303== Releasing lock...
[2025-01-08 22:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:58:17] Production.INFO: count ==619
[2025-01-08 22:58:17] Production.ERROR: pbx CDR StartTime 2025-01-08 19:58:04 - End Time 2025-01-08 22:58:04
[2025-01-08 22:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205444', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205444', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205444', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205444', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:58:17] Production.INFO: ProcessCDR(1,14205444,1,1,2)
[2025-01-08 22:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205444', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205444', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:58:20] Production.INFO: ==25311== Releasing lock...
[2025-01-08 22:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:58:20] Production.INFO: 32 MB #Memory Used#
[2025-01-09 03:59:01] Production.INFO: ==25404== Lock acquired, processing the job...
[2025-01-09 03:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 03:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 03:59:01] Production.INFO: neon service started
[2025-01-09 03:59:01] Production.INFO: neon service started
[2025-01-09 03:59:01] Production.INFO: ==25404== Releasing lock...
[2025-01-09 03:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 03:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 22:59:02] Production.INFO: ==25406== Lock acquired, processing the job...
[2025-01-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:59:02] Production.INFO: ==25408== Lock acquired, processing the job...
[2025-01-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:59:02] Production.INFO: ==25408== Releasing lock...
[2025-01-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 22:59:02] Production.INFO: ==25406== Releasing lock...
[2025-01-08 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 22:59:03] Production.INFO: ==25411== Lock acquired, processing the job...
[2025-01-08 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 22:59:03] Production.INFO: ==25415== Lock acquired, processing the job...
[2025-01-08 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 22:59:03] Production.INFO: ==25417== Lock acquired, processing the job...
[2025-01-08 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 22:59:03] Production.INFO: Account Balance Start.
[2025-01-08 22:59:03] Production.INFO: CreateAllLog Start
[2025-01-08 22:59:03] Production.INFO: 117
[2025-01-08 22:59:03] Production.INFO: Date 2025-01-08
[2025-01-08 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-08 22:59:03] Production.INFO: Total Charge 0
[2025-01-08 22:59:03] Production.INFO: CreateAllLog End
[2025-01-08 22:59:03] Production.INFO: ==25413== Lock acquired, processing the job...
[2025-01-08 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 22:59:03] Production.INFO: ==25419== Lock acquired, processing the job...
[2025-01-08 22:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 22:59:03] Production.INFO: ==25421== Lock acquired, processing the job...
[2025-01-08 22:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 22:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 22:59:03] Production.INFO: Account Balance End.
[2025-01-08 22:59:04] Production.ERROR: CronJobId end 12
[2025-01-08 22:59:04] Production.INFO: ==25417== Releasing lock...
[2025-01-08 22:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 22:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 22:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:59:04] Production.INFO: count ==21
[2025-01-08 22:59:04] Production.ERROR: done
[2025-01-08 22:59:04] Production.INFO: ==25413== Releasing lock...
[2025-01-08 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 22:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 22:59:04] Production.INFO: count ==21
[2025-01-08 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205448') start
[2025-01-08 22:59:04] Production.ERROR: done
[2025-01-08 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205448') end
[2025-01-08 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 22:59:04] Production.INFO: 1
[2025-01-08 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 22:59:04] Production.INFO: ==25421== Releasing lock...
[2025-01-08 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 19:59:05
[end_date_ymd] => 2025-01-08 22:59:05
[RateCDR] => 1
)
[2025-01-08 22:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 19:59:05' and `end` < '2025-01-08 22:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 22:59:12] Production.ERROR: CronJobId end10
[2025-01-08 22:59:12] Production.INFO: ==25415== Releasing lock...
[2025-01-08 22:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 22:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 22:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 22:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 22:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 22:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 22:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 22:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 22:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 22:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 22:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 22:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 22:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 22:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 22:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 22:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 22:59:13] Production.INFO: call_cost start
[2025-01-08 22:59:13] Production.INFO: call_cost end
[2025-01-08 22:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 22:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 22:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 22:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 22:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 22:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 22:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 22:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 22:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 22:59:14] Production.INFO: ==25411== Releasing lock...
[2025-01-08 22:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 22:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 22:59:21] Production.INFO: count ==619
[2025-01-08 22:59:21] Production.ERROR: pbx CDR StartTime 2025-01-08 19:59:05 - End Time 2025-01-08 22:59:05
[2025-01-08 22:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205449', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205449', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205449', 'tblTempVendorCDR_20' ) start
[2025-01-08 22:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205449', 'tblTempVendorCDR_20' ) end
[2025-01-08 22:59:21] Production.INFO: ProcessCDR(1,14205449,1,1,2)
[2025-01-08 22:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 22:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 22:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205449', 'tblTempUsageDetail_20' ) start
[2025-01-08 22:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205449', 'tblTempUsageDetail_20' ) end
[2025-01-08 22:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 22:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 22:59:24] Production.INFO: ==25419== Releasing lock...
[2025-01-08 22:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 22:59:24] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:00:02] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-01-09 04:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:00:02] Production.INFO: neon service started
[2025-01-09 04:00:02] Production.INFO: neon service started
[2025-01-09 04:00:02] Production.INFO: ==25550== Releasing lock...
[2025-01-09 04:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:00:02] Production.INFO: ==25554== Lock acquired, processing the job...
[2025-01-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:00:02] Production.INFO: ==25554== Releasing lock...
[2025-01-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:00:02] Production.INFO: ==25552== Lock acquired, processing the job...
[2025-01-08 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:00:03] Production.INFO: ==25552== Releasing lock...
[2025-01-08 23:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:00:03] Production.INFO: ==25557== Lock acquired, processing the job...
[2025-01-08 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 23:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 23:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 23:00:03] Production.INFO: ==25557== Releasing lock...
[2025-01-08 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 23:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:00:04] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:00:04] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:00:04] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:00:04] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:00:04] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:00:04] Production.INFO: ==25569== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 23:00:04] Production.INFO: ==25571== Lock acquired, processing the job...
[2025-01-08 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:00:04] Production.INFO: Account Balance Start.
[2025-01-08 23:00:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:00:04] Production.INFO: 117
[2025-01-08 23:00:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:00:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:00:04] Production.INFO: Total Charge 0
[2025-01-08 23:00:04] Production.INFO: CreateAllLog End
[2025-01-08 23:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:00:04] Production.ERROR: done
[2025-01-08 23:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:00:04] Production.INFO: ==25561== Releasing lock...
[2025-01-08 23:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:00:04] Production.INFO: count ==21
[2025-01-08 23:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:00:04] Production.INFO: count ==21
[2025-01-08 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205453') start
[2025-01-08 23:00:04] Production.ERROR: done
[2025-01-08 23:00:04] Production.ERROR: done
[2025-01-08 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205455', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 23:00:04] Production.INFO: Account Balance End.
[2025-01-08 23:00:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205453') end
[2025-01-08 23:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:00:04] Production.INFO: ==25565== Releasing lock...
[2025-01-08 23:00:04] Production.INFO: 1
[2025-01-08 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:00:05] Production.INFO: ==25571== Releasing lock...
[2025-01-08 23:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:00:05
[end_date_ymd] => 2025-01-08 23:00:05
[RateCDR] => 1
)
[2025-01-08 23:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:00:05' and `end` < '2025-01-08 23:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205455', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 23:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 23:00:09] Production.INFO: ProcessCDR(1,14205455,1,1,2)
[2025-01-08 23:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205455,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205455,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:00:09] Production.INFO: ==25569== Releasing lock...
[2025-01-08 23:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 23:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 23:00:13] Production.ERROR: CronJobId end10
[2025-01-08 23:00:13] Production.INFO: ==25563== Releasing lock...
[2025-01-08 23:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:00:15] Production.INFO: call_cost start
[2025-01-08 23:00:15] Production.INFO: call_cost end
[2025-01-08 23:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:00:16] Production.INFO: ==25559== Releasing lock...
[2025-01-08 23:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:00:19] Production.INFO: count ==618
[2025-01-08 23:00:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:00:05 - End Time 2025-01-08 23:00:05
[2025-01-08 23:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205454', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205454', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205454', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205454', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:00:19] Production.INFO: ProcessCDR(1,14205454,1,1,2)
[2025-01-08 23:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205454', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205454', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:00:23] Production.INFO: ==25567== Releasing lock...
[2025-01-08 23:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:00:23] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:01:01] Production.INFO: ==25755== Lock acquired, processing the job...
[2025-01-09 04:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:01:01] Production.INFO: neon service started
[2025-01-09 04:01:01] Production.INFO: neon service started
[2025-01-09 04:01:01] Production.INFO: ==25755== Releasing lock...
[2025-01-09 04:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:01:02] Production.INFO: ==25758== Lock acquired, processing the job...
[2025-01-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:01:02] Production.INFO: ==25758== Releasing lock...
[2025-01-08 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:01:02] Production.INFO: ==25760== Lock acquired, processing the job...
[2025-01-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:01:02] Production.INFO: ==25760== Releasing lock...
[2025-01-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:01:03] Production.INFO: ==25771== Lock acquired, processing the job...
[2025-01-08 23:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:01:03] Production.INFO: ==25763== Lock acquired, processing the job...
[2025-01-08 23:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:01:03] Production.INFO: ==25765== Lock acquired, processing the job...
[2025-01-08 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:01:03] Production.INFO: ==25773== Lock acquired, processing the job...
[2025-01-08 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:01:03] Production.INFO: ==25767== Lock acquired, processing the job...
[2025-01-08 23:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:01:03] Production.INFO: ==25769== Lock acquired, processing the job...
[2025-01-08 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:01:03] Production.INFO: Account Balance Start.
[2025-01-08 23:01:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:01:03] Production.INFO: 117
[2025-01-08 23:01:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:01:03] Production.INFO: count ==21
[2025-01-08 23:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:01:03] Production.INFO: count ==21
[2025-01-08 23:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205457') start
[2025-01-08 23:01:03] Production.INFO: Total Charge 0
[2025-01-08 23:01:03] Production.INFO: CreateAllLog End
[2025-01-08 23:01:03] Production.ERROR: done
[2025-01-08 23:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205457') end
[2025-01-08 23:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:01:03] Production.INFO: 1
[2025-01-08 23:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:01:03] Production.INFO: ==25773== Releasing lock...
[2025-01-08 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:01:03] Production.ERROR: done
[2025-01-08 23:01:03] Production.INFO: ==25765== Releasing lock...
[2025-01-08 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:01:03] Production.INFO: Account Balance End.
[2025-01-08 23:01:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:01:03] Production.INFO: ==25769== Releasing lock...
[2025-01-08 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:01:04
[end_date_ymd] => 2025-01-08 23:01:04
[RateCDR] => 1
)
[2025-01-08 23:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:01:04' and `end` < '2025-01-08 23:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:01:13] Production.ERROR: CronJobId end10
[2025-01-08 23:01:13] Production.INFO: ==25767== Releasing lock...
[2025-01-08 23:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:01:14] Production.INFO: call_cost start
[2025-01-08 23:01:14] Production.INFO: call_cost end
[2025-01-08 23:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:01:15] Production.INFO: ==25763== Releasing lock...
[2025-01-08 23:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:01:19] Production.INFO: count ==615
[2025-01-08 23:01:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:01:04 - End Time 2025-01-08 23:01:04
[2025-01-08 23:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205460', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205460', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205460', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205460', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:01:19] Production.INFO: ProcessCDR(1,14205460,1,1,2)
[2025-01-08 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205460', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205460', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:01:22] Production.INFO: ==25771== Releasing lock...
[2025-01-08 23:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:01:22] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:02:02] Production.INFO: ==25873== Lock acquired, processing the job...
[2025-01-09 04:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:02:02] Production.INFO: neon service started
[2025-01-09 04:02:02] Production.INFO: neon service started
[2025-01-09 04:02:02] Production.INFO: ==25873== Releasing lock...
[2025-01-09 04:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:02:02] Production.INFO: ==25875== Lock acquired, processing the job...
[2025-01-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:02:02] Production.INFO: ==25875== Releasing lock...
[2025-01-08 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:02:03] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:02:03] Production.INFO: ==25877== Releasing lock...
[2025-01-09 04:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:02:03] Production.INFO: ==25886== Lock acquired, processing the job...
[2025-01-08 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:02:03] Production.INFO: ==25882== Lock acquired, processing the job...
[2025-01-08 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:02:03] Production.INFO: ==25880== Lock acquired, processing the job...
[2025-01-08 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:02:04] Production.INFO: Account Balance Start.
[2025-01-08 23:02:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:02:04] Production.INFO: 117
[2025-01-08 23:02:04] Production.INFO: ==25884== Lock acquired, processing the job...
[2025-01-08 23:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:02:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:02:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:02:04] Production.INFO: Total Charge 0
[2025-01-08 23:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:02:04] Production.INFO: ==25888== Lock acquired, processing the job...
[2025-01-08 23:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:02:04] Production.INFO: CreateAllLog End
[2025-01-08 23:02:04] Production.INFO: ==25890== Lock acquired, processing the job...
[2025-01-08 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:02:04] Production.INFO: Account Balance End.
[2025-01-08 23:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:02:04] Production.INFO: count ==21
[2025-01-08 23:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:02:04] Production.INFO: count ==21
[2025-01-08 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205464') start
[2025-01-08 23:02:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:02:04] Production.INFO: ==25886== Releasing lock...
[2025-01-08 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:02:04] Production.INFO: ==25882== Releasing lock...
[2025-01-08 23:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205464') end
[2025-01-08 23:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:02:04] Production.INFO: 1
[2025-01-08 23:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:02:04] Production.INFO: ==25890== Releasing lock...
[2025-01-08 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:02:04] Production.ERROR: done
[2025-01-08 23:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:02:04] Production.ERROR: done
[2025-01-08 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:02:05
[end_date_ymd] => 2025-01-08 23:02:05
[RateCDR] => 1
)
[2025-01-08 23:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:02:05' and `end` < '2025-01-08 23:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:02:13] Production.ERROR: CronJobId end10
[2025-01-08 23:02:13] Production.INFO: ==25884== Releasing lock...
[2025-01-08 23:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:02:15] Production.INFO: call_cost start
[2025-01-08 23:02:15] Production.INFO: call_cost end
[2025-01-08 23:02:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:02:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:02:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:02:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:02:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:02:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:02:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:02:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:02:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:02:16] Production.INFO: ==25880== Releasing lock...
[2025-01-08 23:02:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:02:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:02:21] Production.INFO: count ==616
[2025-01-08 23:02:21] Production.ERROR: pbx CDR StartTime 2025-01-08 20:02:05 - End Time 2025-01-08 23:02:05
[2025-01-08 23:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205465', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205465', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205465', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205465', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:02:21] Production.INFO: ProcessCDR(1,14205465,1,1,2)
[2025-01-08 23:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205465', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205465', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:02:24] Production.INFO: ==25888== Releasing lock...
[2025-01-08 23:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:02:24] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:03:01] Production.INFO: ==25996== Lock acquired, processing the job...
[2025-01-09 04:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:03:01] Production.INFO: neon service started
[2025-01-09 04:03:01] Production.INFO: neon service started
[2025-01-09 04:03:01] Production.INFO: ==25996== Releasing lock...
[2025-01-09 04:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:03:01] Production.INFO: ==26002== Lock acquired, processing the job...
[2025-01-09 04:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:03:02] Production.INFO: ==26002== Releasing lock...
[2025-01-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:03:02] Production.INFO: ==26000== Lock acquired, processing the job...
[2025-01-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:03:02] Production.INFO: ==26000== Releasing lock...
[2025-01-08 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:03:03] Production.INFO: ==26005== Lock acquired, processing the job...
[2025-01-08 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:03:03] Production.INFO: ==26009== Lock acquired, processing the job...
[2025-01-08 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:03:03] Production.INFO: ==26011== Lock acquired, processing the job...
[2025-01-08 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:03:03] Production.INFO: Account Balance Start.
[2025-01-08 23:03:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:03:03] Production.INFO: 117
[2025-01-08 23:03:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:03:03] Production.INFO: Total Charge 0
[2025-01-08 23:03:03] Production.INFO: CreateAllLog End
[2025-01-08 23:03:03] Production.INFO: ==26007== Lock acquired, processing the job...
[2025-01-08 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:03:03] Production.INFO: Account Balance End.
[2025-01-08 23:03:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:03:03] Production.INFO: ==26011== Releasing lock...
[2025-01-08 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:03:03] Production.INFO: ==26013== Lock acquired, processing the job...
[2025-01-08 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:03:03] Production.INFO: ==26015== Lock acquired, processing the job...
[2025-01-08 23:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:03:03] Production.INFO: ==26007== Releasing lock...
[2025-01-08 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:03:04] Production.INFO: count ==21
[2025-01-08 23:03:04] Production.ERROR: done
[2025-01-08 23:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:03:04] Production.INFO: count ==21
[2025-01-08 23:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205469') start
[2025-01-08 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205469') end
[2025-01-08 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:03:04] Production.INFO: 1
[2025-01-08 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:03:04] Production.ERROR: done
[2025-01-08 23:03:04] Production.INFO: ==26015== Releasing lock...
[2025-01-08 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:03:05
[end_date_ymd] => 2025-01-08 23:03:05
[RateCDR] => 1
)
[2025-01-08 23:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:03:05' and `end` < '2025-01-08 23:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:03:11] Production.ERROR: CronJobId end10
[2025-01-08 23:03:11] Production.INFO: ==26009== Releasing lock...
[2025-01-08 23:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:03:13] Production.INFO: call_cost start
[2025-01-08 23:03:13] Production.INFO: call_cost end
[2025-01-08 23:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:03:13] Production.INFO: ==26005== Releasing lock...
[2025-01-08 23:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:03:18] Production.INFO: count ==616
[2025-01-08 23:03:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:03:05 - End Time 2025-01-08 23:03:05
[2025-01-08 23:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205470', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205470', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205470', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205470', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:03:18] Production.INFO: ProcessCDR(1,14205470,1,1,2)
[2025-01-08 23:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205470', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205470', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:03:21] Production.INFO: ==26013== Releasing lock...
[2025-01-08 23:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:03:21] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:04:02] Production.INFO: ==26125== Lock acquired, processing the job...
[2025-01-09 04:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:04:02] Production.INFO: neon service started
[2025-01-09 04:04:02] Production.INFO: neon service started
[2025-01-09 04:04:02] Production.INFO: ==26125== Releasing lock...
[2025-01-09 04:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:04:02] Production.INFO: ==26130== Lock acquired, processing the job...
[2025-01-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:04:02] Production.INFO: ==26130== Releasing lock...
[2025-01-08 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:04:02] Production.INFO: ==26132== Lock acquired, processing the job...
[2025-01-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:04:02] Production.INFO: ==26132== Releasing lock...
[2025-01-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:04:03] Production.INFO: ==26134== Lock acquired, processing the job...
[2025-01-08 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:04:03] Production.INFO: ==26138== Lock acquired, processing the job...
[2025-01-08 23:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:04:03] Production.INFO: ==26140== Lock acquired, processing the job...
[2025-01-08 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:04:03] Production.INFO: Account Balance Start.
[2025-01-08 23:04:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:04:03] Production.INFO: 117
[2025-01-08 23:04:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:04:03] Production.INFO: Total Charge 0
[2025-01-08 23:04:03] Production.INFO: CreateAllLog End
[2025-01-08 23:04:03] Production.INFO: ==26136== Lock acquired, processing the job...
[2025-01-08 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:04:03] Production.INFO: ==26142== Lock acquired, processing the job...
[2025-01-08 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:04:03] Production.INFO: Account Balance End.
[2025-01-08 23:04:03] Production.INFO: ==26144== Lock acquired, processing the job...
[2025-01-08 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:04:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:04:04] Production.INFO: ==26140== Releasing lock...
[2025-01-08 23:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:04:04] Production.INFO: count ==21
[2025-01-08 23:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:04:04] Production.INFO: count ==21
[2025-01-08 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205474') start
[2025-01-08 23:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205474') end
[2025-01-08 23:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:04:04] Production.INFO: 1
[2025-01-08 23:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:04:04] Production.INFO: ==26136== Releasing lock...
[2025-01-08 23:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:04:04] Production.INFO: ==26144== Releasing lock...
[2025-01-08 23:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:04:04] Production.ERROR: done
[2025-01-08 23:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:04:04] Production.ERROR: done
[2025-01-08 23:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:04:05
[end_date_ymd] => 2025-01-08 23:04:05
[RateCDR] => 1
)
[2025-01-08 23:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:04:05' and `end` < '2025-01-08 23:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:04:13] Production.ERROR: CronJobId end10
[2025-01-08 23:04:13] Production.INFO: ==26138== Releasing lock...
[2025-01-08 23:04:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:04:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:04:14] Production.INFO: call_cost start
[2025-01-08 23:04:14] Production.INFO: call_cost end
[2025-01-08 23:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:04:15] Production.INFO: ==26134== Releasing lock...
[2025-01-08 23:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:04:18] Production.INFO: count ==616
[2025-01-08 23:04:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:04:05 - End Time 2025-01-08 23:04:05
[2025-01-08 23:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205475', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205475', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205475', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205475', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:04:18] Production.INFO: ProcessCDR(1,14205475,1,1,2)
[2025-01-08 23:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205475', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205475', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:04:22] Production.INFO: ==26142== Releasing lock...
[2025-01-08 23:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:04:22] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:05:01] Production.INFO: ==26328== Lock acquired, processing the job...
[2025-01-09 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:05:01] Production.INFO: neon service started
[2025-01-09 04:05:01] Production.INFO: neon service started
[2025-01-09 04:05:01] Production.INFO: ==26328== Releasing lock...
[2025-01-09 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:05:01] Production.INFO: ==26330== Lock acquired, processing the job...
[2025-01-08 23:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:05:02] Production.INFO: ==26330== Releasing lock...
[2025-01-08 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:05:02] Production.INFO: ==26332== Lock acquired, processing the job...
[2025-01-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:05:02] Production.INFO: ==26332== Releasing lock...
[2025-01-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:05:02] Production.INFO: ==26335== Lock acquired, processing the job...
[2025-01-08 23:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:05:02] Production.INFO: ==26341== Lock acquired, processing the job...
[2025-01-08 23:05:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:05:02] Production.INFO: ==26337== Lock acquired, processing the job...
[2025-01-08 23:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:05:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:05:03] Production.INFO: Account Balance Start.
[2025-01-08 23:05:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:05:03] Production.INFO: 117
[2025-01-08 23:05:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:05:03] Production.INFO: Total Charge 0
[2025-01-08 23:05:03] Production.INFO: CreateAllLog End
[2025-01-08 23:05:03] Production.INFO: ==26339== Lock acquired, processing the job...
[2025-01-08 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:05:03] Production.INFO: ==26343== Lock acquired, processing the job...
[2025-01-08 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:05:03] Production.INFO: ==26345== Lock acquired, processing the job...
[2025-01-08 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:05:03] Production.INFO: ==26337== Releasing lock...
[2025-01-08 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:05:03] Production.INFO: Account Balance End.
[2025-01-08 23:05:03] Production.INFO: count ==21
[2025-01-08 23:05:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:05:03] Production.INFO: ==26341== Releasing lock...
[2025-01-08 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:05:03] Production.INFO: count ==21
[2025-01-08 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205479') start
[2025-01-08 23:05:03] Production.ERROR: done
[2025-01-08 23:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205479') end
[2025-01-08 23:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:05:03] Production.INFO: 1
[2025-01-08 23:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:05:03] Production.INFO: ==26345== Releasing lock...
[2025-01-08 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:05:04] Production.ERROR: done
[2025-01-08 23:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:05:04
[end_date_ymd] => 2025-01-08 23:05:04
[RateCDR] => 1
)
[2025-01-08 23:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:05:04' and `end` < '2025-01-08 23:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:05:13] Production.ERROR: CronJobId end10
[2025-01-08 23:05:13] Production.INFO: ==26339== Releasing lock...
[2025-01-08 23:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:05:13] Production.INFO: call_cost start
[2025-01-08 23:05:13] Production.INFO: call_cost end
[2025-01-08 23:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:05:14] Production.INFO: ==26335== Releasing lock...
[2025-01-08 23:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:05:17] Production.INFO: count ==616
[2025-01-08 23:05:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:05:04 - End Time 2025-01-08 23:05:04
[2025-01-08 23:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205480', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205480', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205480', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205480', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:05:18] Production.INFO: ProcessCDR(1,14205480,1,1,2)
[2025-01-08 23:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205480', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205480', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:05:21] Production.INFO: ==26343== Releasing lock...
[2025-01-08 23:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:05:21] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:06:02] Production.INFO: ==26448== Lock acquired, processing the job...
[2025-01-09 04:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:06:02] Production.INFO: neon service started
[2025-01-09 04:06:02] Production.INFO: neon service started
[2025-01-09 04:06:02] Production.INFO: ==26448== Releasing lock...
[2025-01-09 04:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:06:02] Production.INFO: ==26450== Lock acquired, processing the job...
[2025-01-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:06:02] Production.INFO: ==26452== Lock acquired, processing the job...
[2025-01-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:06:02] Production.INFO: ==26452== Releasing lock...
[2025-01-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:06:02] Production.INFO: ==26450== Releasing lock...
[2025-01-08 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:06:03] Production.INFO: ==26462== Lock acquired, processing the job...
[2025-01-08 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:06:03] Production.INFO: ==26454== Lock acquired, processing the job...
[2025-01-08 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:06:03] Production.INFO: ==26465== Lock acquired, processing the job...
[2025-01-08 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:06:03] Production.INFO: ==26456== Lock acquired, processing the job...
[2025-01-08 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:06:03] Production.INFO: ==26458== Lock acquired, processing the job...
[2025-01-08 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:06:03] Production.INFO: ==26460== Lock acquired, processing the job...
[2025-01-08 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:06:03] Production.INFO: Account Balance Start.
[2025-01-08 23:06:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:06:03] Production.INFO: 117
[2025-01-08 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:06:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:06:03] Production.INFO: count ==21
[2025-01-08 23:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:06:03] Production.INFO: count ==21
[2025-01-08 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:06:03] Production.INFO: Total Charge 0
[2025-01-08 23:06:03] Production.INFO: CreateAllLog End
[2025-01-08 23:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205481') start
[2025-01-08 23:06:03] Production.ERROR: done
[2025-01-08 23:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:06:04] Production.INFO: Account Balance End.
[2025-01-08 23:06:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:06:04] Production.INFO: ==26460== Releasing lock...
[2025-01-08 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:06:04] Production.INFO: ==26456== Releasing lock...
[2025-01-08 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:06:04] Production.ERROR: done
[2025-01-08 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205481') end
[2025-01-08 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:06:04] Production.INFO: 1
[2025-01-08 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:06:04] Production.INFO: ==26465== Releasing lock...
[2025-01-08 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:06:05
[end_date_ymd] => 2025-01-08 23:06:05
[RateCDR] => 1
)
[2025-01-08 23:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:06:05' and `end` < '2025-01-08 23:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:06:12] Production.ERROR: CronJobId end10
[2025-01-08 23:06:12] Production.INFO: ==26458== Releasing lock...
[2025-01-08 23:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:06:13] Production.INFO: call_cost start
[2025-01-08 23:06:13] Production.INFO: call_cost end
[2025-01-08 23:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:06:14] Production.INFO: ==26454== Releasing lock...
[2025-01-08 23:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:06:22] Production.INFO: count ==617
[2025-01-08 23:06:22] Production.ERROR: pbx CDR StartTime 2025-01-08 20:06:05 - End Time 2025-01-08 23:06:05
[2025-01-08 23:06:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205485', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205485', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205485', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:06:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205485', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:06:22] Production.INFO: ProcessCDR(1,14205485,1,1,2)
[2025-01-08 23:06:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:06:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:06:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:06:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205485', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:06:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205485', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:06:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:06:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:06:26] Production.INFO: ==26462== Releasing lock...
[2025-01-08 23:06:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:06:26] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:07:01] Production.INFO: ==26540== Lock acquired, processing the job...
[2025-01-09 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:07:01] Production.INFO: neon service started
[2025-01-09 04:07:01] Production.INFO: neon service started
[2025-01-09 04:07:01] Production.INFO: ==26540== Releasing lock...
[2025-01-09 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:07:01] Production.INFO: ==26542== Lock acquired, processing the job...
[2025-01-08 23:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:07:01] Production.INFO: ==26542== Releasing lock...
[2025-01-08 23:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:07:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:07:02] Production.INFO: ==26544== Lock acquired, processing the job...
[2025-01-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:07:02] Production.INFO: ==26544== Releasing lock...
[2025-01-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:07:02] Production.INFO: ==26546== Lock acquired, processing the job...
[2025-01-08 23:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:07:02] Production.INFO: ==26550== Lock acquired, processing the job...
[2025-01-08 23:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:07:02] Production.INFO: ==26554== Lock acquired, processing the job...
[2025-01-08 23:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:07:02] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:07:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:07:02] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:07:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:07:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:07:03] Production.INFO: ==26548== Lock acquired, processing the job...
[2025-01-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:07:03] Production.INFO: ==26552== Lock acquired, processing the job...
[2025-01-08 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:07:03] Production.INFO: ==26556== Lock acquired, processing the job...
[2025-01-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:07:03] Production.INFO: Account Balance Start.
[2025-01-08 23:07:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:07:03] Production.INFO: 117
[2025-01-08 23:07:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:07:03] Production.ERROR: done
[2025-01-08 23:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:07:03] Production.INFO: count ==21
[2025-01-08 23:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:07:03] Production.INFO: count ==21
[2025-01-08 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205489') start
[2025-01-08 23:07:03] Production.INFO: Total Charge 0
[2025-01-08 23:07:03] Production.INFO: CreateAllLog End
[2025-01-08 23:07:03] Production.INFO: ==26548== Releasing lock...
[2025-01-08 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:07:03] Production.ERROR: done
[2025-01-08 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205489') end
[2025-01-08 23:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:07:03] Production.INFO: 1
[2025-01-08 23:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:07:03] Production.INFO: ==26556== Releasing lock...
[2025-01-08 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:07:03] Production.INFO: Account Balance End.
[2025-01-08 23:07:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:07:03] Production.INFO: ==26552== Releasing lock...
[2025-01-08 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:07:04
[end_date_ymd] => 2025-01-08 23:07:04
[RateCDR] => 1
)
[2025-01-08 23:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:07:04' and `end` < '2025-01-08 23:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:07:10] Production.ERROR: CronJobId end10
[2025-01-08 23:07:10] Production.INFO: ==26550== Releasing lock...
[2025-01-08 23:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:07:12] Production.INFO: call_cost start
[2025-01-08 23:07:12] Production.INFO: call_cost end
[2025-01-08 23:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:07:13] Production.INFO: ==26546== Releasing lock...
[2025-01-08 23:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:07:18] Production.INFO: count ==617
[2025-01-08 23:07:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:07:04 - End Time 2025-01-08 23:07:04
[2025-01-08 23:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205490', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205490', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205490', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205490', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:07:18] Production.INFO: ProcessCDR(1,14205490,1,1,2)
[2025-01-08 23:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205490', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205490', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:07:21] Production.INFO: ==26554== Releasing lock...
[2025-01-08 23:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:07:21] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:08:01] Production.INFO: ==26711== Lock acquired, processing the job...
[2025-01-09 04:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:08:01] Production.INFO: neon service started
[2025-01-09 04:08:01] Production.INFO: neon service started
[2025-01-09 04:08:01] Production.INFO: ==26711== Releasing lock...
[2025-01-09 04:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:08:02] Production.INFO: ==26713== Lock acquired, processing the job...
[2025-01-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:08:02] Production.INFO: ==26713== Releasing lock...
[2025-01-08 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:08:02] Production.INFO: ==26715== Lock acquired, processing the job...
[2025-01-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:08:02] Production.INFO: ==26715== Releasing lock...
[2025-01-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:08:03] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-01-08 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:08:03] Production.INFO: count ==21
[2025-01-08 23:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:08:03] Production.INFO: count ==21
[2025-01-08 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205491') start
[2025-01-08 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205491') end
[2025-01-08 23:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:08:03] Production.INFO: 1
[2025-01-08 23:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:08:03] Production.INFO: ==26729== Releasing lock...
[2025-01-08 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:08:03] Production.INFO: ==26719== Lock acquired, processing the job...
[2025-01-08 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:08:03] Production.INFO: ==26721== Lock acquired, processing the job...
[2025-01-08 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:08:03] Production.INFO: ==26726== Lock acquired, processing the job...
[2025-01-08 23:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:08:03] Production.INFO: ==26717== Lock acquired, processing the job...
[2025-01-08 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:08:03] Production.INFO: ==26723== Lock acquired, processing the job...
[2025-01-08 23:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:08:03] Production.INFO: Account Balance Start.
[2025-01-08 23:08:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:08:03] Production.INFO: 117
[2025-01-08 23:08:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:08:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:08:03] Production.INFO: ==26719== Releasing lock...
[2025-01-08 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:08:03] Production.INFO: Total Charge 0
[2025-01-08 23:08:04] Production.INFO: CreateAllLog End
[2025-01-08 23:08:04] Production.ERROR: done
[2025-01-08 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:08:04] Production.INFO: Account Balance End.
[2025-01-08 23:08:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:08:04] Production.INFO: ==26723== Releasing lock...
[2025-01-08 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:08:04] Production.ERROR: done
[2025-01-08 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:08:05
[end_date_ymd] => 2025-01-08 23:08:05
[RateCDR] => 1
)
[2025-01-08 23:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:08:05' and `end` < '2025-01-08 23:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:08:13] Production.ERROR: CronJobId end10
[2025-01-08 23:08:13] Production.INFO: ==26721== Releasing lock...
[2025-01-08 23:08:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:08:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:08:14] Production.INFO: call_cost start
[2025-01-08 23:08:14] Production.INFO: call_cost end
[2025-01-08 23:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:08:15] Production.INFO: ==26717== Releasing lock...
[2025-01-08 23:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:08:21] Production.INFO: count ==617
[2025-01-08 23:08:21] Production.ERROR: pbx CDR StartTime 2025-01-08 20:08:05 - End Time 2025-01-08 23:08:05
[2025-01-08 23:08:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205495', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205495', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205495', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:08:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205495', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:08:21] Production.INFO: ProcessCDR(1,14205495,1,1,2)
[2025-01-08 23:08:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205495', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205495', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:08:24] Production.INFO: ==26726== Releasing lock...
[2025-01-08 23:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:08:24] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:09:02] Production.INFO: ==26802== Lock acquired, processing the job...
[2025-01-09 04:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:09:02] Production.INFO: neon service started
[2025-01-09 04:09:02] Production.INFO: neon service started
[2025-01-09 04:09:02] Production.INFO: ==26802== Releasing lock...
[2025-01-09 04:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:09:02] Production.INFO: ==26806== Lock acquired, processing the job...
[2025-01-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:09:02] Production.INFO: ==26806== Releasing lock...
[2025-01-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:09:02] Production.INFO: ==26804== Lock acquired, processing the job...
[2025-01-08 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:09:03] Production.INFO: ==26804== Releasing lock...
[2025-01-08 23:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:09:03] Production.INFO: ==26813== Lock acquired, processing the job...
[2025-01-08 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:09:03] Production.INFO: ==26817== Lock acquired, processing the job...
[2025-01-08 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:09:03] Production.INFO: ==26809== Lock acquired, processing the job...
[2025-01-08 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:09:03] Production.INFO: ==26811== Lock acquired, processing the job...
[2025-01-08 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:09:04] Production.INFO: ==26815== Lock acquired, processing the job...
[2025-01-08 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:09:04] Production.INFO: ==26819== Lock acquired, processing the job...
[2025-01-08 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:09:04] Production.INFO: Account Balance Start.
[2025-01-08 23:09:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:09:04] Production.INFO: 117
[2025-01-08 23:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:09:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:09:04] Production.INFO: count ==21
[2025-01-08 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:09:04] Production.INFO: count ==21
[2025-01-08 23:09:04] Production.ERROR: done
[2025-01-08 23:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205499') start
[2025-01-08 23:09:04] Production.INFO: Total Charge 0
[2025-01-08 23:09:04] Production.INFO: CreateAllLog End
[2025-01-08 23:09:04] Production.INFO: ==26811== Releasing lock...
[2025-01-08 23:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:09:04] Production.ERROR: done
[2025-01-08 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205499') end
[2025-01-08 23:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:09:04] Production.INFO: 1
[2025-01-08 23:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:09:04] Production.INFO: Account Balance End.
[2025-01-08 23:09:05] Production.ERROR: CronJobId end 12
[2025-01-08 23:09:05] Production.INFO: ==26815== Releasing lock...
[2025-01-08 23:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:09:05] Production.INFO: ==26819== Releasing lock...
[2025-01-08 23:09:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:09:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:09:05
[end_date_ymd] => 2025-01-08 23:09:05
[RateCDR] => 1
)
[2025-01-08 23:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:09:05' and `end` < '2025-01-08 23:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:09:11] Production.ERROR: CronJobId end10
[2025-01-08 23:09:11] Production.INFO: ==26813== Releasing lock...
[2025-01-08 23:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:09:14] Production.INFO: call_cost start
[2025-01-08 23:09:14] Production.INFO: call_cost end
[2025-01-08 23:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:09:15] Production.INFO: ==26809== Releasing lock...
[2025-01-08 23:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:09:20] Production.INFO: count ==617
[2025-01-08 23:09:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:09:05 - End Time 2025-01-08 23:09:05
[2025-01-08 23:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205500', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205500', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205500', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205500', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:09:20] Production.INFO: ProcessCDR(1,14205500,1,1,2)
[2025-01-08 23:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205500', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205500', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:09:23] Production.INFO: ==26817== Releasing lock...
[2025-01-08 23:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:09:23] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:10:01] Production.INFO: ==26894== Lock acquired, processing the job...
[2025-01-09 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:10:01] Production.INFO: neon service started
[2025-01-09 04:10:01] Production.INFO: neon service started
[2025-01-09 04:10:01] Production.INFO: ==26894== Releasing lock...
[2025-01-09 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:10:02] Production.INFO: ==26896== Lock acquired, processing the job...
[2025-01-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:10:02] Production.INFO: ==26898== Lock acquired, processing the job...
[2025-01-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:10:02] Production.INFO: ==26898== Releasing lock...
[2025-01-09 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:10:02] Production.INFO: ==26896== Releasing lock...
[2025-01-08 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:10:03] Production.INFO: ==26900== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 23:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 23:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 23:10:03] Production.INFO: ==26900== Releasing lock...
[2025-01-08 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 23:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:10:03] Production.INFO: ==26902== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:10:03] Production.INFO: ==26906== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:10:03] Production.INFO: ==26911== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:10:03] Production.INFO: ==26904== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:10:03] Production.INFO: ==26908== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:10:03] Production.INFO: ==26917== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:10:03] Production.INFO: ==26914== Lock acquired, processing the job...
[2025-01-08 23:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 23:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:10:03] Production.INFO: Account Balance Start.
[2025-01-08 23:10:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:10:03] Production.INFO: 117
[2025-01-08 23:10:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:10:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:10:04] Production.INFO: count ==21
[2025-01-08 23:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:10:04] Production.INFO: count ==21
[2025-01-08 23:10:04] Production.ERROR: done
[2025-01-08 23:10:04] Production.INFO: Total Charge 0
[2025-01-08 23:10:04] Production.INFO: CreateAllLog End
[2025-01-08 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205504') start
[2025-01-08 23:10:04] Production.INFO: ==26904== Releasing lock...
[2025-01-08 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205504') end
[2025-01-08 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:10:04] Production.INFO: 1
[2025-01-08 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:10:04] Production.ERROR: done
[2025-01-08 23:10:04] Production.INFO: ==26917== Releasing lock...
[2025-01-08 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:10:04] Production.ERROR: done
[2025-01-08 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205505', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 23:10:04] Production.INFO: Account Balance End.
[2025-01-08 23:10:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:10:04] Production.INFO: ==26908== Releasing lock...
[2025-01-08 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:10:05
[end_date_ymd] => 2025-01-08 23:10:05
[RateCDR] => 1
)
[2025-01-08 23:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:10:05' and `end` < '2025-01-08 23:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205505', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 23:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 23:10:07] Production.INFO: ProcessCDR(1,14205505,1,1,2)
[2025-01-08 23:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205505,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205505,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:10:08] Production.INFO: ==26914== Releasing lock...
[2025-01-08 23:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 23:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 23:10:12] Production.ERROR: CronJobId end10
[2025-01-08 23:10:12] Production.INFO: ==26906== Releasing lock...
[2025-01-08 23:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:10:14] Production.INFO: call_cost start
[2025-01-08 23:10:14] Production.INFO: call_cost end
[2025-01-08 23:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:10:15] Production.INFO: ==26902== Releasing lock...
[2025-01-08 23:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:10:18] Production.INFO: count ==617
[2025-01-08 23:10:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:10:05 - End Time 2025-01-08 23:10:05
[2025-01-08 23:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205506', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205506', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205506', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205506', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:10:18] Production.INFO: ProcessCDR(1,14205506,1,1,2)
[2025-01-08 23:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205506', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205506', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:10:22] Production.INFO: ==26911== Releasing lock...
[2025-01-08 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:10:22] Production.INFO: 32 MB #Memory Used#
[2025-01-09 04:11:02] Production.INFO: ==26997== Lock acquired, processing the job...
[2025-01-09 04:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:11:02] Production.INFO: neon service started
[2025-01-09 04:11:02] Production.INFO: neon service started
[2025-01-09 04:11:02] Production.INFO: ==26997== Releasing lock...
[2025-01-09 04:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:11:02] Production.INFO: ==26999== Lock acquired, processing the job...
[2025-01-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:11:02] Production.INFO: ==26999== Releasing lock...
[2025-01-08 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:11:02] Production.INFO: ==27004== Lock acquired, processing the job...
[2025-01-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:11:02] Production.INFO: ==27004== Releasing lock...
[2025-01-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:11:03] Production.INFO: ==27006== Lock acquired, processing the job...
[2025-01-08 23:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:11:03] Production.INFO: ==27008== Lock acquired, processing the job...
[2025-01-08 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:11:03] Production.INFO: ==27014== Lock acquired, processing the job...
[2025-01-08 23:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:11:03] Production.INFO: ==27010== Lock acquired, processing the job...
[2025-01-08 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:11:03] Production.INFO: ==27012== Lock acquired, processing the job...
[2025-01-08 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:11:03] Production.INFO: ==27008== Releasing lock...
[2025-01-08 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:11:03] Production.INFO: ==27016== Lock acquired, processing the job...
[2025-01-08 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:11:04] Production.INFO: Account Balance Start.
[2025-01-08 23:11:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:11:04] Production.INFO: 117
[2025-01-08 23:11:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:11:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:11:04] Production.ERROR: done
[2025-01-08 23:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:11:04] Production.INFO: Total Charge 0
[2025-01-08 23:11:04] Production.INFO: count ==21
[2025-01-08 23:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:11:04] Production.INFO: CreateAllLog End
[2025-01-08 23:11:04] Production.INFO: count ==21
[2025-01-08 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205510') start
[2025-01-08 23:11:04] Production.ERROR: done
[2025-01-08 23:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205510') end
[2025-01-08 23:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:11:04] Production.INFO: 1
[2025-01-08 23:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:11:04] Production.INFO: Account Balance End.
[2025-01-08 23:11:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:11:04] Production.INFO: ==27012== Releasing lock...
[2025-01-08 23:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:11:04] Production.INFO: ==27016== Releasing lock...
[2025-01-08 23:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:11:05
[end_date_ymd] => 2025-01-08 23:11:05
[RateCDR] => 1
)
[2025-01-08 23:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:11:05' and `end` < '2025-01-08 23:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:11:13] Production.ERROR: CronJobId end10
[2025-01-08 23:11:13] Production.INFO: ==27010== Releasing lock...
[2025-01-08 23:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:11:13] Production.INFO: call_cost start
[2025-01-08 23:11:13] Production.INFO: call_cost end
[2025-01-08 23:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:11:14] Production.INFO: ==27006== Releasing lock...
[2025-01-08 23:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:11:21] Production.INFO: count ==586
[2025-01-08 23:11:21] Production.ERROR: pbx CDR StartTime 2025-01-08 20:11:05 - End Time 2025-01-08 23:11:05
[2025-01-08 23:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205511', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205511', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205511', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205511', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:11:21] Production.INFO: ProcessCDR(1,14205511,1,1,2)
[2025-01-08 23:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205511', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205511', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:11:24] Production.INFO: ==27014== Releasing lock...
[2025-01-08 23:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:11:24] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:12:01] Production.INFO: ==27174== Lock acquired, processing the job...
[2025-01-09 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:12:01] Production.INFO: neon service started
[2025-01-09 04:12:01] Production.INFO: neon service started
[2025-01-09 04:12:01] Production.INFO: ==27174== Releasing lock...
[2025-01-09 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:12:02] Production.INFO: ==27177== Lock acquired, processing the job...
[2025-01-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:12:02] Production.INFO: ==27179== Lock acquired, processing the job...
[2025-01-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:12:02] Production.INFO: ==27179== Releasing lock...
[2025-01-09 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:12:02] Production.INFO: ==27177== Releasing lock...
[2025-01-08 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:12:03] Production.INFO: ==27189== Lock acquired, processing the job...
[2025-01-08 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:12:03] Production.INFO: ==27193== Lock acquired, processing the job...
[2025-01-08 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:12:03] Production.INFO: Account Balance Start.
[2025-01-08 23:12:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:12:03] Production.INFO: 117
[2025-01-08 23:12:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:12:03] Production.INFO: count ==21
[2025-01-08 23:12:03] Production.INFO: ==27183== Lock acquired, processing the job...
[2025-01-08 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:12:03] Production.INFO: count ==21
[2025-01-08 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205512') start
[2025-01-08 23:12:03] Production.INFO: Total Charge 0
[2025-01-08 23:12:03] Production.INFO: CreateAllLog End
[2025-01-08 23:12:03] Production.INFO: ==27191== Lock acquired, processing the job...
[2025-01-08 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:12:03] Production.INFO: ==27187== Lock acquired, processing the job...
[2025-01-08 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:12:03] Production.INFO: ==27185== Lock acquired, processing the job...
[2025-01-08 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205512') end
[2025-01-08 23:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:12:03] Production.INFO: 1
[2025-01-08 23:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:12:03] Production.INFO: ==27193== Releasing lock...
[2025-01-08 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:12:04] Production.INFO: Account Balance End.
[2025-01-08 23:12:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:12:04] Production.INFO: ==27189== Releasing lock...
[2025-01-08 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:12:04] Production.ERROR: done
[2025-01-08 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:12:04] Production.INFO: ==27185== Releasing lock...
[2025-01-08 23:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:12:04] Production.ERROR: done
[2025-01-08 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:12:05
[end_date_ymd] => 2025-01-08 23:12:05
[RateCDR] => 1
)
[2025-01-08 23:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:12:05' and `end` < '2025-01-08 23:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:12:12] Production.ERROR: CronJobId end10
[2025-01-08 23:12:12] Production.INFO: ==27187== Releasing lock...
[2025-01-08 23:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:12:14] Production.INFO: call_cost start
[2025-01-08 23:12:14] Production.INFO: call_cost end
[2025-01-08 23:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:12:15] Production.INFO: ==27183== Releasing lock...
[2025-01-08 23:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:12:18] Production.INFO: count ==584
[2025-01-08 23:12:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:12:05 - End Time 2025-01-08 23:12:05
[2025-01-08 23:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205516', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205516', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205516', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205516', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:12:18] Production.INFO: ProcessCDR(1,14205516,1,1,2)
[2025-01-08 23:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205516', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205516', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:12:21] Production.INFO: ==27191== Releasing lock...
[2025-01-08 23:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:12:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:13:02] Production.INFO: ==27289== Lock acquired, processing the job...
[2025-01-09 04:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:13:02] Production.INFO: neon service started
[2025-01-09 04:13:02] Production.INFO: neon service started
[2025-01-09 04:13:02] Production.INFO: ==27289== Releasing lock...
[2025-01-09 04:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:13:02] Production.INFO: ==27291== Lock acquired, processing the job...
[2025-01-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:13:02] Production.INFO: ==27293== Lock acquired, processing the job...
[2025-01-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:13:02] Production.INFO: ==27293== Releasing lock...
[2025-01-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:13:02] Production.INFO: ==27291== Releasing lock...
[2025-01-08 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:13:03] Production.INFO: ==27302== Lock acquired, processing the job...
[2025-01-08 23:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:13:03] Production.INFO: ==27306== Lock acquired, processing the job...
[2025-01-08 23:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:13:03] Production.INFO: Account Balance Start.
[2025-01-08 23:13:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:13:03] Production.INFO: 117
[2025-01-08 23:13:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:13:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:13:03] Production.INFO: count ==21
[2025-01-08 23:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:13:03] Production.INFO: count ==21
[2025-01-08 23:13:03] Production.INFO: Total Charge 0
[2025-01-08 23:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205517') start
[2025-01-08 23:13:03] Production.INFO: CreateAllLog End
[2025-01-08 23:13:04] Production.INFO: ==27296== Lock acquired, processing the job...
[2025-01-08 23:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:13:04] Production.INFO: ==27298== Lock acquired, processing the job...
[2025-01-08 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:13:04] Production.INFO: ==27300== Lock acquired, processing the job...
[2025-01-08 23:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:13:04] Production.INFO: Account Balance End.
[2025-01-08 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205517') end
[2025-01-08 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:13:04] Production.INFO: 1
[2025-01-08 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:13:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:13:04] Production.INFO: ==27302== Releasing lock...
[2025-01-08 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:13:04] Production.INFO: ==27304== Lock acquired, processing the job...
[2025-01-08 23:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:13:04] Production.INFO: ==27306== Releasing lock...
[2025-01-08 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:13:04] Production.INFO: ==27298== Releasing lock...
[2025-01-08 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:13:04] Production.ERROR: done
[2025-01-08 23:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:13:04] Production.ERROR: done
[2025-01-08 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:13:05
[end_date_ymd] => 2025-01-08 23:13:05
[RateCDR] => 1
)
[2025-01-08 23:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:13:05' and `end` < '2025-01-08 23:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:13:13] Production.ERROR: CronJobId end10
[2025-01-08 23:13:13] Production.INFO: ==27300== Releasing lock...
[2025-01-08 23:13:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:13:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:13:14] Production.INFO: call_cost start
[2025-01-08 23:13:14] Production.INFO: call_cost end
[2025-01-08 23:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:13:15] Production.INFO: ==27296== Releasing lock...
[2025-01-08 23:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:13:18] Production.INFO: count ==584
[2025-01-08 23:13:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:13:05 - End Time 2025-01-08 23:13:05
[2025-01-08 23:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205521', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205521', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205521', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205521', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:13:18] Production.INFO: ProcessCDR(1,14205521,1,1,2)
[2025-01-08 23:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205521', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205521', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:13:21] Production.INFO: ==27304== Releasing lock...
[2025-01-08 23:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:13:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:14:01] Production.INFO: ==27404== Lock acquired, processing the job...
[2025-01-09 04:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:14:01] Production.INFO: neon service started
[2025-01-09 04:14:01] Production.INFO: neon service started
[2025-01-09 04:14:01] Production.INFO: ==27404== Releasing lock...
[2025-01-09 04:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:14:01] Production.INFO: ==27407== Lock acquired, processing the job...
[2025-01-08 23:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:14:02] Production.INFO: ==27407== Releasing lock...
[2025-01-08 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:14:02] Production.INFO: ==27409== Lock acquired, processing the job...
[2025-01-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:14:02] Production.INFO: ==27409== Releasing lock...
[2025-01-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:14:03] Production.INFO: ==27413== Lock acquired, processing the job...
[2025-01-08 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:14:03] Production.INFO: ==27421== Lock acquired, processing the job...
[2025-01-08 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:14:03] Production.INFO: ==27411== Lock acquired, processing the job...
[2025-01-08 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:14:03] Production.INFO: ==27415== Lock acquired, processing the job...
[2025-01-08 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:14:03] Production.INFO: ==27417== Lock acquired, processing the job...
[2025-01-08 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:14:03] Production.INFO: ==27419== Lock acquired, processing the job...
[2025-01-08 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:14:03] Production.INFO: Account Balance Start.
[2025-01-08 23:14:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:14:03] Production.INFO: 117
[2025-01-08 23:14:03] Production.INFO: count ==21
[2025-01-08 23:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:14:03] Production.INFO: count ==21
[2025-01-08 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:14:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:14:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205523') start
[2025-01-08 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:14:03] Production.INFO: Total Charge 0
[2025-01-08 23:14:03] Production.INFO: CreateAllLog End
[2025-01-08 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205523') end
[2025-01-08 23:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:14:03] Production.INFO: 1
[2025-01-08 23:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:14:03] Production.INFO: ==27421== Releasing lock...
[2025-01-08 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:14:03] Production.INFO: ==27413== Releasing lock...
[2025-01-08 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:14:03] Production.INFO: Account Balance End.
[2025-01-08 23:14:03] Production.ERROR: done
[2025-01-08 23:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:14:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:14:03] Production.INFO: ==27417== Releasing lock...
[2025-01-08 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:14:04] Production.ERROR: done
[2025-01-08 23:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:14:04
[end_date_ymd] => 2025-01-08 23:14:04
[RateCDR] => 1
)
[2025-01-08 23:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:14:04' and `end` < '2025-01-08 23:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:14:12] Production.ERROR: CronJobId end10
[2025-01-08 23:14:12] Production.INFO: ==27415== Releasing lock...
[2025-01-08 23:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:14:13] Production.INFO: call_cost start
[2025-01-08 23:14:13] Production.INFO: call_cost end
[2025-01-08 23:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:14:14] Production.INFO: ==27411== Releasing lock...
[2025-01-08 23:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:14:18] Production.INFO: count ==583
[2025-01-08 23:14:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:14:04 - End Time 2025-01-08 23:14:04
[2025-01-08 23:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205526', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205526', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205526', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205526', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:14:18] Production.INFO: ProcessCDR(1,14205526,1,1,2)
[2025-01-08 23:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205526', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205526', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:14:22] Production.INFO: ==27419== Releasing lock...
[2025-01-08 23:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:14:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:15:01] Production.INFO: ==27636== Lock acquired, processing the job...
[2025-01-09 04:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:15:01] Production.INFO: neon service started
[2025-01-09 04:15:02] Production.INFO: neon service started
[2025-01-09 04:15:02] Production.INFO: ==27636== Releasing lock...
[2025-01-09 04:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:15:02] Production.INFO: ==27638== Lock acquired, processing the job...
[2025-01-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:15:02] Production.INFO: ==27638== Releasing lock...
[2025-01-08 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:15:02] Production.INFO: ==27640== Lock acquired, processing the job...
[2025-01-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:15:02] Production.INFO: ==27640== Releasing lock...
[2025-01-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:15:03] Production.INFO: ==27642== Lock acquired, processing the job...
[2025-01-08 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:15:03] Production.INFO: ==27653== Lock acquired, processing the job...
[2025-01-08 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:15:03] Production.INFO: ==27644== Lock acquired, processing the job...
[2025-01-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:15:03] Production.INFO: ==27646== Lock acquired, processing the job...
[2025-01-08 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:15:03] Production.INFO: ==27648== Lock acquired, processing the job...
[2025-01-08 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:15:03] Production.INFO: count ==21
[2025-01-08 23:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:15:03] Production.INFO: ==27651== Lock acquired, processing the job...
[2025-01-08 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:15:03] Production.INFO: count ==21
[2025-01-08 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205528') start
[2025-01-08 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:15:03] Production.INFO: Account Balance Start.
[2025-01-08 23:15:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:15:03] Production.INFO: 117
[2025-01-08 23:15:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:15:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:15:03] Production.INFO: Total Charge 0
[2025-01-08 23:15:03] Production.INFO: CreateAllLog End
[2025-01-08 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205528') end
[2025-01-08 23:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:15:03] Production.INFO: 1
[2025-01-08 23:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:15:03] Production.INFO: ==27653== Releasing lock...
[2025-01-08 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:15:03] Production.INFO: ==27644== Releasing lock...
[2025-01-08 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:15:04] Production.INFO: Account Balance End.
[2025-01-08 23:15:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:15:04] Production.INFO: ==27648== Releasing lock...
[2025-01-08 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:15:04] Production.ERROR: done
[2025-01-08 23:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:15:04] Production.ERROR: done
[2025-01-08 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:15:05
[end_date_ymd] => 2025-01-08 23:15:05
[RateCDR] => 1
)
[2025-01-08 23:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:15:05' and `end` < '2025-01-08 23:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:15:12] Production.ERROR: CronJobId end10
[2025-01-08 23:15:12] Production.INFO: ==27646== Releasing lock...
[2025-01-08 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:15:14] Production.INFO: call_cost start
[2025-01-08 23:15:14] Production.INFO: call_cost end
[2025-01-08 23:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:15:15] Production.INFO: ==27642== Releasing lock...
[2025-01-08 23:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:15:18] Production.INFO: count ==583
[2025-01-08 23:15:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:15:05 - End Time 2025-01-08 23:15:05
[2025-01-08 23:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205531', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205531', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205531', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205531', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:15:18] Production.INFO: ProcessCDR(1,14205531,1,1,2)
[2025-01-08 23:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205531', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205531', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:15:22] Production.INFO: ==27651== Releasing lock...
[2025-01-08 23:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:15:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:16:01] Production.INFO: ==27751== Lock acquired, processing the job...
[2025-01-09 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:16:01] Production.INFO: neon service started
[2025-01-09 04:16:01] Production.INFO: neon service started
[2025-01-09 04:16:01] Production.INFO: ==27751== Releasing lock...
[2025-01-09 04:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:16:02] Production.INFO: ==27755== Lock acquired, processing the job...
[2025-01-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:16:02] Production.INFO: ==27757== Lock acquired, processing the job...
[2025-01-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 23:16:02] Production.INFO: ==27755== Releasing lock...
[2025-01-08 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:16:02] Production.INFO: ==27757== Releasing lock...
[2025-01-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:16:03] Production.INFO: ==27759== Lock acquired, processing the job...
[2025-01-08 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:16:03] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-01-08 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:16:03] Production.INFO: ==27766== Lock acquired, processing the job...
[2025-01-08 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:16:03] Production.INFO: Account Balance Start.
[2025-01-08 23:16:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:16:03] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-01-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:16:03] Production.INFO: 117
[2025-01-08 23:16:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:16:03] Production.INFO: Total Charge 0
[2025-01-08 23:16:03] Production.INFO: ==27768== Lock acquired, processing the job...
[2025-01-08 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:16:03] Production.INFO: ==27770== Lock acquired, processing the job...
[2025-01-08 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:16:03] Production.INFO: CreateAllLog End
[2025-01-08 23:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:16:03] Production.INFO: count ==21
[2025-01-08 23:16:03] Production.INFO: Account Balance End.
[2025-01-08 23:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:16:03] Production.INFO: count ==21
[2025-01-08 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205535') start
[2025-01-08 23:16:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:16:03] Production.INFO: ==27766== Releasing lock...
[2025-01-08 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:16:03] Production.INFO: ==27761== Releasing lock...
[2025-01-08 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205535') end
[2025-01-08 23:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:16:03] Production.INFO: 1
[2025-01-08 23:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:16:04] Production.INFO: ==27770== Releasing lock...
[2025-01-08 23:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:16:04] Production.ERROR: done
[2025-01-08 23:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:16:04] Production.ERROR: done
[2025-01-08 23:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:16:05
[end_date_ymd] => 2025-01-08 23:16:05
[RateCDR] => 1
)
[2025-01-08 23:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:16:05' and `end` < '2025-01-08 23:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:16:12] Production.ERROR: CronJobId end10
[2025-01-08 23:16:12] Production.INFO: ==27763== Releasing lock...
[2025-01-08 23:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:16:13] Production.INFO: call_cost start
[2025-01-08 23:16:13] Production.INFO: call_cost end
[2025-01-08 23:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:16:14] Production.INFO: ==27759== Releasing lock...
[2025-01-08 23:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:16:18] Production.INFO: count ==583
[2025-01-08 23:16:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:16:05 - End Time 2025-01-08 23:16:05
[2025-01-08 23:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205536', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205536', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205536', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205536', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:16:18] Production.INFO: ProcessCDR(1,14205536,1,1,2)
[2025-01-08 23:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205536', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205536', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:16:21] Production.INFO: ==27768== Releasing lock...
[2025-01-08 23:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:16:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:17:02] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-09 04:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:17:02] Production.INFO: neon service started
[2025-01-09 04:17:02] Production.INFO: neon service started
[2025-01-09 04:17:02] Production.INFO: ==27850== Releasing lock...
[2025-01-09 04:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:17:02] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:17:02] Production.INFO: ==27854== Lock acquired, processing the job...
[2025-01-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:17:02] Production.INFO: ==27854== Releasing lock...
[2025-01-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:17:02] Production.INFO: ==27852== Releasing lock...
[2025-01-08 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:17:03] Production.INFO: ==27857== Lock acquired, processing the job...
[2025-01-08 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:17:03] Production.INFO: ==27859== Lock acquired, processing the job...
[2025-01-08 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:17:03] Production.INFO: ==27861== Lock acquired, processing the job...
[2025-01-08 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:17:03] Production.INFO: ==27863== Lock acquired, processing the job...
[2025-01-08 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:17:03] Production.INFO: ==27865== Lock acquired, processing the job...
[2025-01-08 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:17:03] Production.INFO: ==27867== Lock acquired, processing the job...
[2025-01-08 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:17:04] Production.INFO: Account Balance Start.
[2025-01-08 23:17:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:17:04] Production.INFO: 117
[2025-01-08 23:17:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:17:04] Production.INFO: count ==21
[2025-01-08 23:17:04] Production.INFO: Total Charge 0
[2025-01-08 23:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:17:04] Production.INFO: count ==21
[2025-01-08 23:17:04] Production.INFO: CreateAllLog End
[2025-01-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205540') start
[2025-01-08 23:17:04] Production.ERROR: done
[2025-01-08 23:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205540') end
[2025-01-08 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:17:04] Production.INFO: 1
[2025-01-08 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:17:04] Production.INFO: ==27859== Releasing lock...
[2025-01-08 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:17:04] Production.INFO: ==27867== Releasing lock...
[2025-01-08 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:17:04] Production.ERROR: done
[2025-01-08 23:17:04] Production.INFO: Account Balance End.
[2025-01-08 23:17:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:17:04] Production.INFO: ==27863== Releasing lock...
[2025-01-08 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:17:05
[end_date_ymd] => 2025-01-08 23:17:05
[RateCDR] => 1
)
[2025-01-08 23:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:17:05' and `end` < '2025-01-08 23:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:17:12] Production.ERROR: CronJobId end10
[2025-01-08 23:17:12] Production.INFO: ==27861== Releasing lock...
[2025-01-08 23:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:17:14] Production.INFO: call_cost start
[2025-01-08 23:17:14] Production.INFO: call_cost end
[2025-01-08 23:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:17:15] Production.INFO: ==27857== Releasing lock...
[2025-01-08 23:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:17:18] Production.INFO: count ==583
[2025-01-08 23:17:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:17:05 - End Time 2025-01-08 23:17:05
[2025-01-08 23:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205541', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205541', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205541', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205541', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:17:18] Production.INFO: ProcessCDR(1,14205541,1,1,2)
[2025-01-08 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205541', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205541', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:17:21] Production.INFO: ==27865== Releasing lock...
[2025-01-08 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:17:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:18:01] Production.INFO: ==27943== Lock acquired, processing the job...
[2025-01-09 04:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:18:01] Production.INFO: neon service started
[2025-01-09 04:18:01] Production.INFO: neon service started
[2025-01-09 04:18:01] Production.INFO: ==27943== Releasing lock...
[2025-01-09 04:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:18:01] Production.INFO: ==27947== Lock acquired, processing the job...
[2025-01-09 04:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:18:01] Production.INFO: ==27947== Releasing lock...
[2025-01-09 04:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:18:02] Production.INFO: ==27945== Lock acquired, processing the job...
[2025-01-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:18:02] Production.INFO: ==27945== Releasing lock...
[2025-01-08 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:18:03] Production.INFO: ==27955== Lock acquired, processing the job...
[2025-01-08 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:18:03] Production.INFO: Account Balance Start.
[2025-01-08 23:18:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:18:03] Production.INFO: 117
[2025-01-08 23:18:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:18:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:18:03] Production.INFO: ==27949== Lock acquired, processing the job...
[2025-01-08 23:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:18:03] Production.INFO: ==27953== Lock acquired, processing the job...
[2025-01-08 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:18:03] Production.INFO: ==27951== Lock acquired, processing the job...
[2025-01-08 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:18:03] Production.INFO: Total Charge 0
[2025-01-08 23:18:03] Production.INFO: CreateAllLog End
[2025-01-08 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:18:03] Production.INFO: ==27960== Lock acquired, processing the job...
[2025-01-08 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:18:03] Production.INFO: Account Balance End.
[2025-01-08 23:18:03] Production.INFO: ==27957== Lock acquired, processing the job...
[2025-01-08 23:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:18:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:18:03] Production.INFO: ==27955== Releasing lock...
[2025-01-08 23:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:18:03] Production.INFO: count ==21
[2025-01-08 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-01-08 23:18:03] Production.INFO: count ==21
[2025-01-08 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205545') start
[2025-01-08 23:18:03] Production.INFO: ==27951== Releasing lock...
[2025-01-08 23:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205545') end
[2025-01-08 23:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:18:03] Production.INFO: 1
[2025-01-08 23:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:18:04] Production.INFO: ==27960== Releasing lock...
[2025-01-08 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:18:04] Production.ERROR: done
[2025-01-08 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:18:04] Production.ERROR: done
[2025-01-08 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:18:05
[end_date_ymd] => 2025-01-08 23:18:05
[RateCDR] => 1
)
[2025-01-08 23:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:18:05' and `end` < '2025-01-08 23:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:18:12] Production.ERROR: CronJobId end10
[2025-01-08 23:18:12] Production.INFO: ==27953== Releasing lock...
[2025-01-08 23:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:18:13] Production.INFO: call_cost start
[2025-01-08 23:18:13] Production.INFO: call_cost end
[2025-01-08 23:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:18:13] Production.INFO: ==27949== Releasing lock...
[2025-01-08 23:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:18:18] Production.INFO: count ==583
[2025-01-08 23:18:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:18:05 - End Time 2025-01-08 23:18:05
[2025-01-08 23:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205546', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205546', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205546', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205546', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:18:18] Production.INFO: ProcessCDR(1,14205546,1,1,2)
[2025-01-08 23:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205546', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205546', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:18:21] Production.INFO: ==27957== Releasing lock...
[2025-01-08 23:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:18:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:19:01] Production.INFO: ==28037== Lock acquired, processing the job...
[2025-01-09 04:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:19:02] Production.INFO: neon service started
[2025-01-09 04:19:02] Production.INFO: neon service started
[2025-01-09 04:19:02] Production.INFO: ==28037== Releasing lock...
[2025-01-09 04:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:19:02] Production.INFO: ==28039== Lock acquired, processing the job...
[2025-01-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:19:02] Production.INFO: ==28039== Releasing lock...
[2025-01-08 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:19:02] Production.INFO: ==28041== Lock acquired, processing the job...
[2025-01-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:19:02] Production.INFO: ==28041== Releasing lock...
[2025-01-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:19:03] Production.INFO: ==28046== Lock acquired, processing the job...
[2025-01-08 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:19:03] Production.INFO: ==28044== Lock acquired, processing the job...
[2025-01-08 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:19:03] Production.INFO: ==28048== Lock acquired, processing the job...
[2025-01-08 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:19:03] Production.INFO: ==28046== Releasing lock...
[2025-01-08 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:19:03] Production.INFO: ==28050== Lock acquired, processing the job...
[2025-01-08 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:19:03] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-01-08 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:19:03] Production.INFO: ==28052== Lock acquired, processing the job...
[2025-01-08 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:19:03] Production.INFO: Account Balance Start.
[2025-01-08 23:19:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:19:03] Production.INFO: 117
[2025-01-08 23:19:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:19:04] Production.INFO: Total Charge 0
[2025-01-08 23:19:04] Production.INFO: CreateAllLog End
[2025-01-08 23:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:19:04] Production.INFO: count ==21
[2025-01-08 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-01-08 23:19:04] Production.INFO: count ==21
[2025-01-08 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205550') start
[2025-01-08 23:19:04] Production.ERROR: done
[2025-01-08 23:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205550') end
[2025-01-08 23:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:19:04] Production.INFO: 1
[2025-01-08 23:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:19:04] Production.INFO: Account Balance End.
[2025-01-08 23:19:04] Production.INFO: ==28054== Releasing lock...
[2025-01-08 23:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:19:04] Production.ERROR: done
[2025-01-08 23:19:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:19:04] Production.INFO: ==28050== Releasing lock...
[2025-01-08 23:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:19:05
[end_date_ymd] => 2025-01-08 23:19:05
[RateCDR] => 1
)
[2025-01-08 23:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:19:05' and `end` < '2025-01-08 23:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:19:12] Production.ERROR: CronJobId end10
[2025-01-08 23:19:12] Production.INFO: ==28048== Releasing lock...
[2025-01-08 23:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:19:14] Production.INFO: call_cost start
[2025-01-08 23:19:14] Production.INFO: call_cost end
[2025-01-08 23:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:19:14] Production.INFO: ==28044== Releasing lock...
[2025-01-08 23:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:19:20] Production.INFO: count ==583
[2025-01-08 23:19:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:19:05 - End Time 2025-01-08 23:19:05
[2025-01-08 23:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205551', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205551', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205551', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205551', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:19:20] Production.INFO: ProcessCDR(1,14205551,1,1,2)
[2025-01-08 23:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205551', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205551', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:19:23] Production.INFO: ==28052== Releasing lock...
[2025-01-08 23:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:19:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:20:01] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-01-09 04:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:20:01] Production.INFO: neon service started
[2025-01-09 04:20:01] Production.INFO: neon service started
[2025-01-09 04:20:01] Production.INFO: ==28133== Releasing lock...
[2025-01-09 04:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:20:01] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-01-08 23:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:20:02] Production.INFO: ==28135== Releasing lock...
[2025-01-08 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:20:02] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-01-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:20:02] Production.INFO: ==28137== Releasing lock...
[2025-01-09 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:20:03] Production.INFO: ==28140== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 23:20:03] Production.INFO: ==28142== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 23:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 23:20:03] Production.INFO: ==28140== Releasing lock...
[2025-01-08 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 23:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:20:03] Production.INFO: ==28146== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:20:03] Production.INFO: ==28144== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:20:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 23:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:20:03] Production.INFO: ==28148== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:20:03] Production.INFO: ==28150== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:20:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-01-08 23:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:20:03] Production.INFO: Account Balance Start.
[2025-01-08 23:20:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:20:03] Production.INFO: 117
[2025-01-08 23:20:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:20:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:20:03] Production.INFO: count ==21
[2025-01-08 23:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:20:03] Production.INFO: count ==21
[2025-01-08 23:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205555') start
[2025-01-08 23:20:03] Production.ERROR: done
[2025-01-08 23:20:03] Production.INFO: ==28144== Releasing lock...
[2025-01-08 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:20:03] Production.INFO: Total Charge 0
[2025-01-08 23:20:04] Production.INFO: CreateAllLog End
[2025-01-08 23:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 23:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205556', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205555') end
[2025-01-08 23:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:20:04] Production.INFO: 1
[2025-01-08 23:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:20:04] Production.ERROR: done
[2025-01-08 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:20:04] Production.INFO: ==28154== Releasing lock...
[2025-01-08 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:20:04] Production.INFO: Account Balance End.
[2025-01-08 23:20:04] Production.ERROR: done
[2025-01-08 23:20:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:20:04] Production.INFO: ==28148== Releasing lock...
[2025-01-08 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:20:05
[end_date_ymd] => 2025-01-08 23:20:05
[RateCDR] => 1
)
[2025-01-08 23:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:20:05' and `end` < '2025-01-08 23:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205556', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 23:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 23:20:08] Production.INFO: ProcessCDR(1,14205556,1,1,2)
[2025-01-08 23:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205556,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205556,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:20:08] Production.INFO: ==28152== Releasing lock...
[2025-01-08 23:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 23:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 23:20:13] Production.ERROR: CronJobId end10
[2025-01-08 23:20:13] Production.INFO: ==28146== Releasing lock...
[2025-01-08 23:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:20:15] Production.INFO: call_cost start
[2025-01-08 23:20:15] Production.INFO: call_cost end
[2025-01-08 23:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:20:15] Production.INFO: ==28142== Releasing lock...
[2025-01-08 23:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:20:18] Production.INFO: count ==578
[2025-01-08 23:20:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:20:05 - End Time 2025-01-08 23:20:05
[2025-01-08 23:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205557', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205557', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205557', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205557', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:20:18] Production.INFO: ProcessCDR(1,14205557,1,1,2)
[2025-01-08 23:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205557', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205557', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:20:21] Production.INFO: ==28150== Releasing lock...
[2025-01-08 23:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:20:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 04:21:01] Production.INFO: ==28224== Lock acquired, processing the job...
[2025-01-09 04:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:21:01] Production.INFO: neon service started
[2025-01-09 04:21:01] Production.INFO: neon service started
[2025-01-09 04:21:01] Production.INFO: ==28224== Releasing lock...
[2025-01-09 04:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:21:02] Production.INFO: ==28226== Lock acquired, processing the job...
[2025-01-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:21:02] Production.INFO: ==28228== Lock acquired, processing the job...
[2025-01-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:21:02] Production.INFO: ==28228== Releasing lock...
[2025-01-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:21:02] Production.INFO: ==28226== Releasing lock...
[2025-01-08 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:21:03] Production.INFO: ==28235== Lock acquired, processing the job...
[2025-01-08 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:21:03] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-01-08 23:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:21:03] Production.INFO: ==28237== Lock acquired, processing the job...
[2025-01-08 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:21:03] Production.INFO: ==28233== Lock acquired, processing the job...
[2025-01-08 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:21:03] Production.INFO: Account Balance Start.
[2025-01-08 23:21:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:21:03] Production.INFO: 117
[2025-01-08 23:21:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:21:03] Production.INFO: ==28239== Lock acquired, processing the job...
[2025-01-08 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:21:03] Production.INFO: ==28241== Lock acquired, processing the job...
[2025-01-08 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:21:03] Production.INFO: Total Charge 0
[2025-01-08 23:21:03] Production.INFO: CreateAllLog End
[2025-01-08 23:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:21:04] Production.INFO: ==28233== Releasing lock...
[2025-01-08 23:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:21:04] Production.INFO: count ==21
[2025-01-08 23:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:21:04] Production.INFO: count ==21
[2025-01-08 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205561') start
[2025-01-08 23:21:04] Production.INFO: Account Balance End.
[2025-01-08 23:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205561') end
[2025-01-08 23:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:21:04] Production.INFO: 1
[2025-01-08 23:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:21:04] Production.INFO: ==28241== Releasing lock...
[2025-01-08 23:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:21:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:21:04] Production.INFO: ==28237== Releasing lock...
[2025-01-08 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:21:04] Production.ERROR: done
[2025-01-08 23:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:21:04] Production.ERROR: done
[2025-01-08 23:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:21:05
[end_date_ymd] => 2025-01-08 23:21:05
[RateCDR] => 1
)
[2025-01-08 23:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:21:05' and `end` < '2025-01-08 23:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:21:12] Production.ERROR: CronJobId end10
[2025-01-08 23:21:12] Production.INFO: ==28235== Releasing lock...
[2025-01-08 23:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:21:13] Production.INFO: call_cost start
[2025-01-08 23:21:13] Production.INFO: call_cost end
[2025-01-08 23:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:21:14] Production.INFO: ==28231== Releasing lock...
[2025-01-08 23:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:21:19] Production.INFO: count ==541
[2025-01-08 23:21:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:21:05 - End Time 2025-01-08 23:21:05
[2025-01-08 23:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205562', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205562', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205562', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205562', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:21:19] Production.INFO: ProcessCDR(1,14205562,1,1,2)
[2025-01-08 23:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205562', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205562', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:21:22] Production.INFO: ==28239== Releasing lock...
[2025-01-08 23:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:21:22] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 04:22:02] Production.INFO: ==28304== Lock acquired, processing the job...
[2025-01-09 04:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:22:02] Production.INFO: neon service started
[2025-01-09 04:22:02] Production.INFO: neon service started
[2025-01-09 04:22:02] Production.INFO: ==28304== Releasing lock...
[2025-01-09 04:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:22:02] Production.INFO: ==28307== Lock acquired, processing the job...
[2025-01-08 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:22:03] Production.INFO: ==28307== Releasing lock...
[2025-01-08 23:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:22:03] Production.INFO: ==28309== Lock acquired, processing the job...
[2025-01-09 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:22:03] Production.INFO: ==28309== Releasing lock...
[2025-01-09 04:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:22:03] Production.INFO: ==28311== Lock acquired, processing the job...
[2025-01-08 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:22:04] Production.INFO: ==28321== Lock acquired, processing the job...
[2025-01-08 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:22:04] Production.INFO: ==28313== Lock acquired, processing the job...
[2025-01-08 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:22:04] Production.INFO: ==28315== Lock acquired, processing the job...
[2025-01-08 23:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:22:04] Production.INFO: count ==21
[2025-01-08 23:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:22:04] Production.INFO: count ==21
[2025-01-08 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205564') start
[2025-01-08 23:22:04] Production.INFO: ==28317== Lock acquired, processing the job...
[2025-01-08 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205564') end
[2025-01-08 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:22:04] Production.INFO: 1
[2025-01-08 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:22:04] Production.INFO: ==28321== Releasing lock...
[2025-01-08 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:22:04] Production.INFO: ==28319== Lock acquired, processing the job...
[2025-01-08 23:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:22:04] Production.INFO: Account Balance Start.
[2025-01-08 23:22:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:22:04] Production.INFO: 117
[2025-01-08 23:22:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:22:04] Production.INFO: ==28313== Releasing lock...
[2025-01-08 23:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:22:04] Production.INFO: Total Charge 0
[2025-01-08 23:22:04] Production.INFO: CreateAllLog End
[2025-01-08 23:22:04] Production.INFO: Account Balance End.
[2025-01-08 23:22:04] Production.ERROR: done
[2025-01-08 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:22:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:22:04] Production.INFO: ==28317== Releasing lock...
[2025-01-08 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:22:05] Production.ERROR: done
[2025-01-08 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:22:05
[end_date_ymd] => 2025-01-08 23:22:05
[RateCDR] => 1
)
[2025-01-08 23:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:22:05' and `end` < '2025-01-08 23:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:22:13] Production.ERROR: CronJobId end10
[2025-01-08 23:22:13] Production.INFO: ==28315== Releasing lock...
[2025-01-08 23:22:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:22:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:22:14] Production.INFO: call_cost start
[2025-01-08 23:22:14] Production.INFO: call_cost end
[2025-01-08 23:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:22:14] Production.INFO: ==28311== Releasing lock...
[2025-01-08 23:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:22:19] Production.INFO: count ==540
[2025-01-08 23:22:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:22:05 - End Time 2025-01-08 23:22:05
[2025-01-08 23:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205567', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205567', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205567', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205567', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:22:19] Production.INFO: ProcessCDR(1,14205567,1,1,2)
[2025-01-08 23:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205567', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205567', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:22:22] Production.INFO: ==28319== Releasing lock...
[2025-01-08 23:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:22:22] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 04:23:01] Production.INFO: ==28378== Lock acquired, processing the job...
[2025-01-09 04:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:23:01] Production.INFO: neon service started
[2025-01-09 04:23:01] Production.INFO: neon service started
[2025-01-09 04:23:01] Production.INFO: ==28378== Releasing lock...
[2025-01-09 04:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:23:02] Production.INFO: ==28380== Lock acquired, processing the job...
[2025-01-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:23:02] Production.INFO: ==28380== Releasing lock...
[2025-01-08 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:23:02] Production.INFO: ==28382== Lock acquired, processing the job...
[2025-01-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:23:02] Production.INFO: ==28382== Releasing lock...
[2025-01-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:23:03] Production.INFO: ==28387== Lock acquired, processing the job...
[2025-01-08 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:23:03] Production.INFO: ==28385== Lock acquired, processing the job...
[2025-01-08 23:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:23:03] Production.INFO: ==28389== Lock acquired, processing the job...
[2025-01-08 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:23:03] Production.INFO: ==28391== Lock acquired, processing the job...
[2025-01-08 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:23:03] Production.INFO: Account Balance Start.
[2025-01-08 23:23:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:23:03] Production.INFO: ==28393== Lock acquired, processing the job...
[2025-01-08 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:23:03] Production.INFO: 117
[2025-01-08 23:23:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:23:03] Production.INFO: ==28387== Releasing lock...
[2025-01-08 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:23:03] Production.INFO: ==28395== Lock acquired, processing the job...
[2025-01-08 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:23:03] Production.INFO: Total Charge 0
[2025-01-08 23:23:03] Production.INFO: CreateAllLog End
[2025-01-08 23:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:23:03] Production.INFO: count ==21
[2025-01-08 23:23:03] Production.INFO: Account Balance End.
[2025-01-08 23:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:23:03] Production.INFO: count ==21
[2025-01-08 23:23:03] Production.ERROR: done
[2025-01-08 23:23:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:23:03] Production.INFO: ==28391== Releasing lock...
[2025-01-08 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205571') start
[2025-01-08 23:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205571') end
[2025-01-08 23:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:23:04] Production.INFO: 1
[2025-01-08 23:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:23:04] Production.ERROR: done
[2025-01-08 23:23:04] Production.INFO: ==28395== Releasing lock...
[2025-01-08 23:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:23:05
[end_date_ymd] => 2025-01-08 23:23:05
[RateCDR] => 1
)
[2025-01-08 23:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:23:05' and `end` < '2025-01-08 23:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:23:12] Production.ERROR: CronJobId end10
[2025-01-08 23:23:12] Production.INFO: ==28389== Releasing lock...
[2025-01-08 23:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:23:13] Production.INFO: call_cost start
[2025-01-08 23:23:13] Production.INFO: call_cost end
[2025-01-08 23:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:23:14] Production.INFO: ==28385== Releasing lock...
[2025-01-08 23:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:23:18] Production.INFO: count ==535
[2025-01-08 23:23:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:23:05 - End Time 2025-01-08 23:23:05
[2025-01-08 23:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205572', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205572', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205572', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205572', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:23:18] Production.INFO: ProcessCDR(1,14205572,1,1,2)
[2025-01-08 23:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205572', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205572', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:23:21] Production.INFO: ==28393== Releasing lock...
[2025-01-08 23:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:23:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:24:02] Production.INFO: ==28449== Lock acquired, processing the job...
[2025-01-09 04:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:24:02] Production.INFO: neon service started
[2025-01-09 04:24:02] Production.INFO: neon service started
[2025-01-09 04:24:02] Production.INFO: ==28449== Releasing lock...
[2025-01-09 04:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:24:02] Production.INFO: ==28453== Lock acquired, processing the job...
[2025-01-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:24:02] Production.INFO: ==28453== Releasing lock...
[2025-01-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:24:02] Production.INFO: ==28451== Lock acquired, processing the job...
[2025-01-08 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:24:03] Production.INFO: ==28451== Releasing lock...
[2025-01-08 23:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:24:03] Production.INFO: ==28458== Lock acquired, processing the job...
[2025-01-08 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:24:03] Production.INFO: ==28464== Lock acquired, processing the job...
[2025-01-08 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:24:03] Production.INFO: ==28456== Lock acquired, processing the job...
[2025-01-08 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:24:04] Production.INFO: ==28460== Lock acquired, processing the job...
[2025-01-08 23:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:24:04] Production.INFO: ==28462== Lock acquired, processing the job...
[2025-01-08 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:24:04] Production.INFO: ==28466== Lock acquired, processing the job...
[2025-01-08 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:24:04] Production.INFO: Account Balance Start.
[2025-01-08 23:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:24:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:24:04] Production.INFO: 117
[2025-01-08 23:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:24:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:24:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:24:04] Production.INFO: ==28458== Releasing lock...
[2025-01-08 23:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:24:04] Production.INFO: count ==21
[2025-01-08 23:24:04] Production.ERROR: done
[2025-01-08 23:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:24:04] Production.INFO: count ==21
[2025-01-08 23:24:04] Production.INFO: Total Charge 0
[2025-01-08 23:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:24:04] Production.INFO: CreateAllLog End
[2025-01-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205576') start
[2025-01-08 23:24:04] Production.ERROR: done
[2025-01-08 23:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205576') end
[2025-01-08 23:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:24:04] Production.INFO: 1
[2025-01-08 23:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:24:04] Production.INFO: Account Balance End.
[2025-01-08 23:24:04] Production.INFO: ==28466== Releasing lock...
[2025-01-08 23:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:24:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:24:04] Production.INFO: ==28462== Releasing lock...
[2025-01-08 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:24:05
[end_date_ymd] => 2025-01-08 23:24:05
[RateCDR] => 1
)
[2025-01-08 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:24:05' and `end` < '2025-01-08 23:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:24:12] Production.ERROR: CronJobId end10
[2025-01-08 23:24:12] Production.INFO: ==28460== Releasing lock...
[2025-01-08 23:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:24:13] Production.INFO: call_cost start
[2025-01-08 23:24:13] Production.INFO: call_cost end
[2025-01-08 23:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:24:14] Production.INFO: ==28456== Releasing lock...
[2025-01-08 23:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:24:19] Production.INFO: count ==532
[2025-01-08 23:24:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:24:05 - End Time 2025-01-08 23:24:05
[2025-01-08 23:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205577', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205577', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205577', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205577', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:24:19] Production.INFO: ProcessCDR(1,14205577,1,1,2)
[2025-01-08 23:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205577', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205577', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:24:22] Production.INFO: ==28464== Releasing lock...
[2025-01-08 23:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:24:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:25:01] Production.INFO: ==28519== Lock acquired, processing the job...
[2025-01-09 04:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:25:01] Production.INFO: neon service started
[2025-01-09 04:25:01] Production.INFO: neon service started
[2025-01-09 04:25:01] Production.INFO: ==28519== Releasing lock...
[2025-01-09 04:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:25:01] Production.INFO: ==28523== Lock acquired, processing the job...
[2025-01-09 04:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:25:01] Production.INFO: ==28523== Releasing lock...
[2025-01-09 04:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:25:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:25:02] Production.INFO: ==28521== Lock acquired, processing the job...
[2025-01-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:25:02] Production.INFO: ==28521== Releasing lock...
[2025-01-08 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:25:02] Production.INFO: ==28526== Lock acquired, processing the job...
[2025-01-08 23:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:25:03] Production.INFO: ==28530== Lock acquired, processing the job...
[2025-01-08 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:25:03] Production.INFO: ==28534== Lock acquired, processing the job...
[2025-01-08 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:25:03] Production.INFO: ==28528== Lock acquired, processing the job...
[2025-01-08 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:25:03] Production.INFO: ==28532== Lock acquired, processing the job...
[2025-01-08 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:25:03] Production.INFO: ==28536== Lock acquired, processing the job...
[2025-01-08 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:25:03] Production.ERROR: done
[2025-01-08 23:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:25:03] Production.INFO: Account Balance Start.
[2025-01-08 23:25:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:25:03] Production.INFO: 117
[2025-01-08 23:25:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:25:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:25:03] Production.INFO: Total Charge 0
[2025-01-08 23:25:03] Production.INFO: CreateAllLog End
[2025-01-08 23:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:25:03] Production.INFO: count ==21
[2025-01-08 23:25:03] Production.ERROR: done
[2025-01-08 23:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:25:03] Production.INFO: count ==21
[2025-01-08 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205580') start
[2025-01-08 23:25:04] Production.INFO: Account Balance End.
[2025-01-08 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205580') end
[2025-01-08 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:25:04] Production.INFO: 1
[2025-01-08 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:25:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:25:04] Production.INFO: ==28532== Releasing lock...
[2025-01-08 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:25:04] Production.INFO: ==28528== Releasing lock...
[2025-01-08 23:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:25:04] Production.INFO: ==28536== Releasing lock...
[2025-01-08 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:25:04
[end_date_ymd] => 2025-01-08 23:25:04
[RateCDR] => 1
)
[2025-01-08 23:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:25:04' and `end` < '2025-01-08 23:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:25:11] Production.ERROR: CronJobId end10
[2025-01-08 23:25:11] Production.INFO: ==28530== Releasing lock...
[2025-01-08 23:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:25:12] Production.INFO: call_cost start
[2025-01-08 23:25:12] Production.INFO: call_cost end
[2025-01-08 23:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:25:13] Production.INFO: ==28526== Releasing lock...
[2025-01-08 23:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:25:18] Production.INFO: count ==521
[2025-01-08 23:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:25:04 - End Time 2025-01-08 23:25:04
[2025-01-08 23:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205582', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205582', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205582', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205582', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:25:18] Production.INFO: ProcessCDR(1,14205582,1,1,2)
[2025-01-08 23:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205582', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205582', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:25:21] Production.INFO: ==28534== Releasing lock...
[2025-01-08 23:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:25:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:26:02] Production.INFO: ==28591== Lock acquired, processing the job...
[2025-01-09 04:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:26:02] Production.INFO: neon service started
[2025-01-09 04:26:02] Production.INFO: neon service started
[2025-01-09 04:26:02] Production.INFO: ==28591== Releasing lock...
[2025-01-09 04:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:26:02] Production.INFO: ==28593== Lock acquired, processing the job...
[2025-01-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:26:02] Production.INFO: ==28593== Releasing lock...
[2025-01-08 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:26:02] Production.INFO: ==28595== Lock acquired, processing the job...
[2025-01-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:26:02] Production.INFO: ==28595== Releasing lock...
[2025-01-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:26:03] Production.INFO: ==28599== Lock acquired, processing the job...
[2025-01-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:26:03] Production.INFO: ==28597== Lock acquired, processing the job...
[2025-01-08 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:26:03] Production.INFO: ==28608== Lock acquired, processing the job...
[2025-01-08 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:26:03] Production.INFO: ==28604== Lock acquired, processing the job...
[2025-01-08 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:26:03] Production.INFO: ==28601== Lock acquired, processing the job...
[2025-01-08 23:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:26:03] Production.INFO: ==28606== Lock acquired, processing the job...
[2025-01-08 23:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:26:03] Production.INFO: Account Balance Start.
[2025-01-08 23:26:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:26:03] Production.INFO: 117
[2025-01-08 23:26:03] Production.INFO: ==28599== Releasing lock...
[2025-01-08 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:26:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:26:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:26:03] Production.INFO: count ==21
[2025-01-08 23:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:26:04] Production.INFO: count ==21
[2025-01-08 23:26:04] Production.INFO: Total Charge 0
[2025-01-08 23:26:04] Production.INFO: CreateAllLog End
[2025-01-08 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205585') start
[2025-01-08 23:26:04] Production.INFO: Account Balance End.
[2025-01-08 23:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205585') end
[2025-01-08 23:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:26:04] Production.INFO: 1
[2025-01-08 23:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:26:04] Production.ERROR: done
[2025-01-08 23:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:26:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:26:04] Production.INFO: ==28604== Releasing lock...
[2025-01-08 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:26:04] Production.INFO: ==28608== Releasing lock...
[2025-01-08 23:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:26:04] Production.ERROR: done
[2025-01-08 23:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:26:05
[end_date_ymd] => 2025-01-08 23:26:05
[RateCDR] => 1
)
[2025-01-08 23:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:26:05' and `end` < '2025-01-08 23:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:26:12] Production.ERROR: CronJobId end10
[2025-01-08 23:26:12] Production.INFO: ==28601== Releasing lock...
[2025-01-08 23:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:26:14] Production.INFO: call_cost start
[2025-01-08 23:26:14] Production.INFO: call_cost end
[2025-01-08 23:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:26:14] Production.INFO: ==28597== Releasing lock...
[2025-01-08 23:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:26:18] Production.INFO: count ==521
[2025-01-08 23:26:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:26:05 - End Time 2025-01-08 23:26:05
[2025-01-08 23:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205587', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205587', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205587', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205587', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:26:18] Production.INFO: ProcessCDR(1,14205587,1,1,2)
[2025-01-08 23:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205587', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205587', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:26:21] Production.INFO: ==28606== Releasing lock...
[2025-01-08 23:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:26:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:27:01] Production.INFO: ==28664== Lock acquired, processing the job...
[2025-01-09 04:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:27:01] Production.INFO: neon service started
[2025-01-09 04:27:01] Production.INFO: neon service started
[2025-01-09 04:27:01] Production.INFO: ==28664== Releasing lock...
[2025-01-09 04:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:27:02] Production.INFO: ==28668== Lock acquired, processing the job...
[2025-01-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:27:02] Production.INFO: ==28668== Releasing lock...
[2025-01-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:27:02] Production.INFO: ==28666== Lock acquired, processing the job...
[2025-01-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:27:02] Production.INFO: ==28666== Releasing lock...
[2025-01-08 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:27:03] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-08 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:27:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-08 23:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:27:03] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-08 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:27:03] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-08 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:27:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-08 23:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:27:03] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-01-08 23:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:27:03] Production.INFO: Account Balance Start.
[2025-01-08 23:27:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:27:03] Production.INFO: 117
[2025-01-08 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:27:03] Production.ERROR: done
[2025-01-08 23:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:27:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:27:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:27:03] Production.INFO: count ==21
[2025-01-08 23:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:27:03] Production.INFO: count ==21
[2025-01-08 23:27:03] Production.ERROR: done
[2025-01-08 23:27:03] Production.INFO: Total Charge 0
[2025-01-08 23:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205591') start
[2025-01-08 23:27:03] Production.INFO: CreateAllLog End
[2025-01-08 23:27:03] Production.INFO: ==28673== Releasing lock...
[2025-01-08 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205591') end
[2025-01-08 23:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:27:04] Production.INFO: 1
[2025-01-08 23:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:27:04] Production.INFO: ==28681== Releasing lock...
[2025-01-08 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:27:04] Production.INFO: Account Balance End.
[2025-01-08 23:27:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:27:04] Production.INFO: ==28677== Releasing lock...
[2025-01-08 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:27:05
[end_date_ymd] => 2025-01-08 23:27:05
[RateCDR] => 1
)
[2025-01-08 23:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:27:05' and `end` < '2025-01-08 23:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:27:11] Production.ERROR: CronJobId end10
[2025-01-08 23:27:11] Production.INFO: ==28675== Releasing lock...
[2025-01-08 23:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:27:13] Production.INFO: call_cost start
[2025-01-08 23:27:13] Production.INFO: call_cost end
[2025-01-08 23:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:27:14] Production.INFO: ==28671== Releasing lock...
[2025-01-08 23:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:27:18] Production.INFO: count ==519
[2025-01-08 23:27:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:27:05 - End Time 2025-01-08 23:27:05
[2025-01-08 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205592', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205592', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205592', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205592', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:27:18] Production.INFO: ProcessCDR(1,14205592,1,1,2)
[2025-01-08 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205592', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205592', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:27:21] Production.INFO: ==28679== Releasing lock...
[2025-01-08 23:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:27:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:28:02] Production.INFO: ==28735== Lock acquired, processing the job...
[2025-01-09 04:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:28:02] Production.INFO: neon service started
[2025-01-09 04:28:02] Production.INFO: neon service started
[2025-01-09 04:28:02] Production.INFO: ==28735== Releasing lock...
[2025-01-09 04:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:28:02] Production.INFO: ==28737== Lock acquired, processing the job...
[2025-01-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:28:02] Production.INFO: ==28737== Releasing lock...
[2025-01-08 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:28:03] Production.INFO: ==28739== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:28:03] Production.INFO: ==28739== Releasing lock...
[2025-01-09 04:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:28:03] Production.INFO: ==28750== Lock acquired, processing the job...
[2025-01-08 23:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:28:03] Production.INFO: ==28752== Lock acquired, processing the job...
[2025-01-08 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:28:03] Production.INFO: ==28741== Lock acquired, processing the job...
[2025-01-08 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:28:03] Production.INFO: ==28743== Lock acquired, processing the job...
[2025-01-08 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:28:04] Production.INFO: ==28745== Lock acquired, processing the job...
[2025-01-08 23:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:28:04] Production.INFO: ==28748== Lock acquired, processing the job...
[2025-01-08 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 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-01-08 23:28:04] Production.INFO: count ==21
[2025-01-08 23:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:28:04] Production.INFO: Account Balance Start.
[2025-01-08 23:28:04] Production.INFO: CreateAllLog Start
[2025-01-08 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-01-08 23:28:04] Production.INFO: count ==21
[2025-01-08 23:28:04] Production.ERROR: done
[2025-01-08 23:28:04] Production.INFO: 117
[2025-01-08 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205593') start
[2025-01-08 23:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:28:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:28:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:28:04] Production.INFO: Total Charge 0
[2025-01-08 23:28:04] Production.INFO: CreateAllLog End
[2025-01-08 23:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205593') end
[2025-01-08 23:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:28:04] Production.INFO: 1
[2025-01-08 23:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:28:04] Production.INFO: ==28752== Releasing lock...
[2025-01-08 23:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:28:04] Production.ERROR: done
[2025-01-08 23:28:04] Production.INFO: ==28743== Releasing lock...
[2025-01-08 23:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:28:04] Production.INFO: Account Balance End.
[2025-01-08 23:28:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:28:04] Production.INFO: ==28748== Releasing lock...
[2025-01-08 23:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:28:05
[end_date_ymd] => 2025-01-08 23:28:05
[RateCDR] => 1
)
[2025-01-08 23:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:28:05' and `end` < '2025-01-08 23:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:28:13] Production.ERROR: CronJobId end10
[2025-01-08 23:28:13] Production.INFO: ==28745== Releasing lock...
[2025-01-08 23:28:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:28:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:28:14] Production.INFO: call_cost start
[2025-01-08 23:28:14] Production.INFO: call_cost end
[2025-01-08 23:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:28:15] Production.INFO: ==28741== Releasing lock...
[2025-01-08 23:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:28:18] Production.INFO: count ==519
[2025-01-08 23:28:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:28:05 - End Time 2025-01-08 23:28:05
[2025-01-08 23:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205597', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205597', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205597', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205597', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:28:18] Production.INFO: ProcessCDR(1,14205597,1,1,2)
[2025-01-08 23:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205597', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205597', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:28:21] Production.INFO: ==28750== Releasing lock...
[2025-01-08 23:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:28:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:29:01] Production.INFO: ==28804== Lock acquired, processing the job...
[2025-01-09 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:29:01] Production.INFO: neon service started
[2025-01-09 04:29:01] Production.INFO: neon service started
[2025-01-09 04:29:01] Production.INFO: ==28804== Releasing lock...
[2025-01-09 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:29:02] Production.INFO: ==28806== Lock acquired, processing the job...
[2025-01-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:29:02] Production.INFO: ==28808== Lock acquired, processing the job...
[2025-01-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:29:02] Production.INFO: ==28808== Releasing lock...
[2025-01-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:29:02] Production.INFO: ==28806== Releasing lock...
[2025-01-08 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:29:03] Production.INFO: ==28811== Lock acquired, processing the job...
[2025-01-08 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:29:03] Production.INFO: ==28819== Lock acquired, processing the job...
[2025-01-08 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:29:03] Production.INFO: ==28813== Lock acquired, processing the job...
[2025-01-08 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:29:03] Production.INFO: ==28815== Lock acquired, processing the job...
[2025-01-08 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:29:03] Production.INFO: ==28817== Lock acquired, processing the job...
[2025-01-08 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:29:03] Production.INFO: ==28821== Lock acquired, processing the job...
[2025-01-08 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:29:04] Production.INFO: count ==21
[2025-01-08 23:29:04] Production.INFO: Account Balance Start.
[2025-01-08 23:29:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:29:04] Production.INFO: 117
[2025-01-08 23:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:29:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:29:04] Production.INFO: count ==21
[2025-01-08 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205600') start
[2025-01-08 23:29:04] Production.INFO: ==28813== Releasing lock...
[2025-01-08 23:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:29:04] Production.INFO: Total Charge 0
[2025-01-08 23:29:04] Production.INFO: CreateAllLog End
[2025-01-08 23:29:04] Production.ERROR: done
[2025-01-08 23:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205600') end
[2025-01-08 23:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:29:04] Production.INFO: 1
[2025-01-08 23:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:29:04] Production.INFO: ==28821== Releasing lock...
[2025-01-08 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:29:04] Production.ERROR: done
[2025-01-08 23:29:04] Production.INFO: Account Balance End.
[2025-01-08 23:29:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:29:04] Production.INFO: ==28817== Releasing lock...
[2025-01-08 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:29:05
[end_date_ymd] => 2025-01-08 23:29:05
[RateCDR] => 1
)
[2025-01-08 23:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:29:05' and `end` < '2025-01-08 23:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:29:13] Production.ERROR: CronJobId end10
[2025-01-08 23:29:13] Production.INFO: ==28815== Releasing lock...
[2025-01-08 23:29:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:29:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:29:13] Production.INFO: call_cost start
[2025-01-08 23:29:13] Production.INFO: call_cost end
[2025-01-08 23:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:29:14] Production.INFO: ==28811== Releasing lock...
[2025-01-08 23:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:29:19] Production.INFO: count ==518
[2025-01-08 23:29:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:29:05 - End Time 2025-01-08 23:29:05
[2025-01-08 23:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205602', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205602', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205602', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205602', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:29:19] Production.INFO: ProcessCDR(1,14205602,1,1,2)
[2025-01-08 23:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205602', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205602', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:29:22] Production.INFO: ==28819== Releasing lock...
[2025-01-08 23:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:29:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:30:02] Production.INFO: ==28875== Lock acquired, processing the job...
[2025-01-09 04:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:30:02] Production.INFO: neon service started
[2025-01-09 04:30:02] Production.INFO: neon service started
[2025-01-09 04:30:02] Production.INFO: ==28875== Releasing lock...
[2025-01-09 04:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:30:02] Production.INFO: ==28877== Lock acquired, processing the job...
[2025-01-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:30:02] Production.INFO: ==28877== Releasing lock...
[2025-01-08 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:30:03] Production.INFO: ==28879== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:30:03] Production.INFO: ==28879== Releasing lock...
[2025-01-09 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:30:03] Production.INFO: ==28881== Lock acquired, processing the job...
[2025-01-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 23:30:03] Production.INFO: ==28883== Lock acquired, processing the job...
[2025-01-08 23:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 23:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 23:30:03] Production.INFO: ==28881== Releasing lock...
[2025-01-08 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 23:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:30:03] Production.INFO: ==28889== Lock acquired, processing the job...
[2025-01-08 23:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:30:03] Production.INFO: ==28893== Lock acquired, processing the job...
[2025-01-08 23:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 23:30:04] Production.INFO: Account Balance Start.
[2025-01-08 23:30:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:30:04] Production.INFO: 117
[2025-01-08 23:30:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:30:04] Production.INFO: Total Charge 0
[2025-01-08 23:30:04] Production.INFO: CreateAllLog End
[2025-01-08 23:30:04] Production.INFO: ==28885== Lock acquired, processing the job...
[2025-01-08 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:30:04] Production.INFO: ==28895== Lock acquired, processing the job...
[2025-01-08 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:30:04] Production.INFO: ==28891== Lock acquired, processing the job...
[2025-01-08 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:30:04] Production.INFO: ==28887== Lock acquired, processing the job...
[2025-01-08 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:30:04] Production.ERROR: done
[2025-01-08 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205606', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 23:30:04] Production.INFO: Account Balance End.
[2025-01-08 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:30:04] Production.INFO: count ==21
[2025-01-08 23:30:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:30:04] Production.INFO: ==28889== Releasing lock...
[2025-01-08 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:30:04] Production.INFO: count ==21
[2025-01-08 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205605') start
[2025-01-08 23:30:04] Production.INFO: ==28885== Releasing lock...
[2025-01-08 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205605') end
[2025-01-08 23:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:30:04] Production.INFO: 1
[2025-01-08 23:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:30:04] Production.INFO: ==28895== Releasing lock...
[2025-01-08 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:30:04] Production.ERROR: done
[2025-01-08 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:30:05] Production.ERROR: done
[2025-01-08 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:30:06
[end_date_ymd] => 2025-01-08 23:30:06
[RateCDR] => 1
)
[2025-01-08 23:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:30:06' and `end` < '2025-01-08 23:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205606', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 23:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 23:30:08] Production.INFO: ProcessCDR(1,14205606,1,1,2)
[2025-01-08 23:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205606,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205606,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:30:08] Production.INFO: ==28893== Releasing lock...
[2025-01-08 23:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 23:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 23:30:13] Production.ERROR: CronJobId end10
[2025-01-08 23:30:13] Production.INFO: ==28887== Releasing lock...
[2025-01-08 23:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:30:15] Production.INFO: call_cost start
[2025-01-08 23:30:15] Production.INFO: call_cost end
[2025-01-08 23:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:30:16] Production.INFO: ==28883== Releasing lock...
[2025-01-08 23:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:30:19] Production.INFO: count ==523
[2025-01-08 23:30:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:30:06 - End Time 2025-01-08 23:30:06
[2025-01-08 23:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205608', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205608', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205608', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205608', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:30:19] Production.INFO: ProcessCDR(1,14205608,1,1,2)
[2025-01-08 23:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205608', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205608', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:30:22] Production.INFO: ==28891== Releasing lock...
[2025-01-08 23:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:30:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:31:01] Production.INFO: ==28990== Lock acquired, processing the job...
[2025-01-09 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:31:01] Production.INFO: neon service started
[2025-01-09 04:31:01] Production.INFO: neon service started
[2025-01-09 04:31:01] Production.INFO: ==28990== Releasing lock...
[2025-01-09 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:31:01] Production.INFO: ==28992== Lock acquired, processing the job...
[2025-01-08 23:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:31:02] Production.INFO: ==28992== Releasing lock...
[2025-01-08 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:31:02] Production.INFO: ==28994== Lock acquired, processing the job...
[2025-01-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:31:02] Production.INFO: ==28994== Releasing lock...
[2025-01-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:31:03] Production.INFO: ==29002== Lock acquired, processing the job...
[2025-01-08 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:31:03] Production.INFO: ==29006== Lock acquired, processing the job...
[2025-01-08 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:31:03] Production.INFO: ==28996== Lock acquired, processing the job...
[2025-01-08 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:31:03] Production.INFO: ==28998== Lock acquired, processing the job...
[2025-01-08 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:31:03] Production.INFO: Account Balance Start.
[2025-01-08 23:31:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:31:03] Production.INFO: 117
[2025-01-08 23:31:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:31:03] Production.INFO: count ==21
[2025-01-08 23:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:31:03] Production.INFO: count ==21
[2025-01-08 23:31:03] Production.INFO: ==29000== Lock acquired, processing the job...
[2025-01-08 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:31:03] Production.INFO: Total Charge 0
[2025-01-08 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205610') start
[2025-01-08 23:31:03] Production.INFO: CreateAllLog End
[2025-01-08 23:31:03] Production.INFO: ==29004== Lock acquired, processing the job...
[2025-01-08 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205610') end
[2025-01-08 23:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:31:03] Production.INFO: 1
[2025-01-08 23:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:31:03] Production.INFO: ==29006== Releasing lock...
[2025-01-08 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:31:03] Production.INFO: ==28998== Releasing lock...
[2025-01-08 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:31:03] Production.INFO: Account Balance End.
[2025-01-08 23:31:03] Production.ERROR: done
[2025-01-08 23:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:31:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:31:03] Production.INFO: ==29002== Releasing lock...
[2025-01-08 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:31:04] Production.ERROR: done
[2025-01-08 23:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:31:04
[end_date_ymd] => 2025-01-08 23:31:04
[RateCDR] => 1
)
[2025-01-08 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-01-08 20:31:04' and `end` < '2025-01-08 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-01-08 23:31:11] Production.ERROR: CronJobId end10
[2025-01-08 23:31:11] Production.INFO: ==29000== Releasing lock...
[2025-01-08 23:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:31:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:31:11] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:31:11] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:31:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:31:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:31:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:31:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:31:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:31:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:31:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:31:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:31:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:31:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:31:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:31:12] Production.INFO: call_cost start
[2025-01-08 23:31:12] Production.INFO: call_cost end
[2025-01-08 23:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:31:13] Production.INFO: ==28996== Releasing lock...
[2025-01-08 23:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:31:17] Production.INFO: count ==511
[2025-01-08 23:31:17] Production.ERROR: pbx CDR StartTime 2025-01-08 20:31:04 - End Time 2025-01-08 23:31:04
[2025-01-08 23:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205613', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205613', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205613', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205613', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:31:17] Production.INFO: ProcessCDR(1,14205613,1,1,2)
[2025-01-08 23:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205613', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205613', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:31:21] Production.INFO: ==29004== Releasing lock...
[2025-01-08 23:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:31:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:32:02] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-01-09 04:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:32:02] Production.INFO: neon service started
[2025-01-09 04:32:02] Production.INFO: neon service started
[2025-01-09 04:32:02] Production.INFO: ==29059== Releasing lock...
[2025-01-09 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:32:02] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-01-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:32:02] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-01-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:32:02] Production.INFO: ==29063== Releasing lock...
[2025-01-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:32:02] Production.INFO: ==29061== Releasing lock...
[2025-01-08 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:32:03] Production.INFO: ==29066== Lock acquired, processing the job...
[2025-01-08 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:32:03] Production.INFO: ==29068== Lock acquired, processing the job...
[2025-01-08 23:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:32:03] Production.INFO: ==29072== Lock acquired, processing the job...
[2025-01-08 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:32:03] Production.INFO: Account Balance Start.
[2025-01-08 23:32:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:32:03] Production.INFO: 117
[2025-01-08 23:32:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:32:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:32:04] Production.INFO: Total Charge 0
[2025-01-08 23:32:04] Production.INFO: CreateAllLog End
[2025-01-08 23:32:04] Production.INFO: ==29068== Releasing lock...
[2025-01-08 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:32:04] Production.INFO: ==29070== Lock acquired, processing the job...
[2025-01-08 23:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:32:04] Production.INFO: Account Balance End.
[2025-01-08 23:32:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:32:04] Production.INFO: ==29072== Releasing lock...
[2025-01-08 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:32:04] Production.INFO: ==29074== Lock acquired, processing the job...
[2025-01-08 23:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:32:04] Production.INFO: ==29076== Lock acquired, processing the job...
[2025-01-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:32:04] Production.INFO: count ==21
[2025-01-08 23:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:32:04] Production.INFO: count ==21
[2025-01-08 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205617') start
[2025-01-08 23:32:04] Production.ERROR: done
[2025-01-08 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205617') end
[2025-01-08 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:32:04] Production.INFO: 1
[2025-01-08 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:32:04] Production.INFO: ==29076== Releasing lock...
[2025-01-08 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:32:04] Production.ERROR: done
[2025-01-08 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:32:05
[end_date_ymd] => 2025-01-08 23:32:05
[RateCDR] => 1
)
[2025-01-08 23:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:32:05' and `end` < '2025-01-08 23:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:32:12] Production.ERROR: CronJobId end10
[2025-01-08 23:32:12] Production.INFO: ==29070== Releasing lock...
[2025-01-08 23:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:32:13] Production.INFO: call_cost start
[2025-01-08 23:32:13] Production.INFO: call_cost end
[2025-01-08 23:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:32:14] Production.INFO: ==29066== Releasing lock...
[2025-01-08 23:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:32:20] Production.INFO: count ==510
[2025-01-08 23:32:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:32:05 - End Time 2025-01-08 23:32:05
[2025-01-08 23:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205618', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205618', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205618', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205618', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:32:20] Production.INFO: ProcessCDR(1,14205618,1,1,2)
[2025-01-08 23:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205618', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205618', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:32:23] Production.INFO: ==29074== Releasing lock...
[2025-01-08 23:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:32:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:33:01] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-01-09 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:33:01] Production.INFO: neon service started
[2025-01-09 04:33:01] Production.INFO: neon service started
[2025-01-09 04:33:01] Production.INFO: ==29132== Releasing lock...
[2025-01-09 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:33:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:33:01] Production.INFO: ==29134== Lock acquired, processing the job...
[2025-01-08 23:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:33:02] Production.INFO: ==29134== Releasing lock...
[2025-01-08 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:33:02] Production.INFO: ==29136== Lock acquired, processing the job...
[2025-01-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:33:02] Production.INFO: ==29136== Releasing lock...
[2025-01-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:33:02] Production.INFO: ==29141== Lock acquired, processing the job...
[2025-01-08 23:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:33:03] Production.INFO: ==29149== Lock acquired, processing the job...
[2025-01-08 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:33:03] Production.INFO: ==29139== Lock acquired, processing the job...
[2025-01-08 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:33:03] Production.INFO: ==29143== Lock acquired, processing the job...
[2025-01-08 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:33:03] Production.INFO: ==29145== Lock acquired, processing the job...
[2025-01-08 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:33:03] Production.INFO: ==29141== Releasing lock...
[2025-01-08 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:33:03] Production.INFO: ==29147== Lock acquired, processing the job...
[2025-01-08 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:33:03] Production.INFO: count ==21
[2025-01-08 23:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:33:03] Production.INFO: count ==21
[2025-01-08 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205620') start
[2025-01-08 23:33:03] Production.INFO: Account Balance Start.
[2025-01-08 23:33:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:33:03] Production.INFO: 117
[2025-01-08 23:33:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:33:03] Production.INFO: Total Charge 0
[2025-01-08 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205620') end
[2025-01-08 23:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:33:03] Production.INFO: 1
[2025-01-08 23:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:33:03] Production.INFO: CreateAllLog End
[2025-01-08 23:33:03] Production.INFO: ==29149== Releasing lock...
[2025-01-08 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:33:03] Production.ERROR: done
[2025-01-08 23:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:33:03] Production.INFO: Account Balance End.
[2025-01-08 23:33:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:33:04] Production.INFO: ==29145== Releasing lock...
[2025-01-08 23:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:33:04] Production.ERROR: done
[2025-01-08 23:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:33:04
[end_date_ymd] => 2025-01-08 23:33:04
[RateCDR] => 1
)
[2025-01-08 23:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:33:04' and `end` < '2025-01-08 23:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:33:11] Production.ERROR: CronJobId end10
[2025-01-08 23:33:11] Production.INFO: ==29143== Releasing lock...
[2025-01-08 23:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:33:12] Production.INFO: call_cost start
[2025-01-08 23:33:12] Production.INFO: call_cost end
[2025-01-08 23:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:33:13] Production.INFO: ==29139== Releasing lock...
[2025-01-08 23:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:33:20] Production.INFO: count ==509
[2025-01-08 23:33:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:33:04 - End Time 2025-01-08 23:33:04
[2025-01-08 23:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205623', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205623', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205623', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205623', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:33:20] Production.INFO: ProcessCDR(1,14205623,1,1,2)
[2025-01-08 23:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205623', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205623', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:33:23] Production.INFO: ==29147== Releasing lock...
[2025-01-08 23:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:33:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:34:02] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-01-09 04:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:34:02] Production.INFO: neon service started
[2025-01-09 04:34:02] Production.INFO: neon service started
[2025-01-09 04:34:02] Production.INFO: ==29205== Releasing lock...
[2025-01-09 04:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:34:02] Production.INFO: ==29207== Lock acquired, processing the job...
[2025-01-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:34:02] Production.INFO: ==29207== Releasing lock...
[2025-01-08 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:34:02] Production.INFO: ==29209== Lock acquired, processing the job...
[2025-01-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:34:02] Production.INFO: ==29209== Releasing lock...
[2025-01-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:34:03] Production.INFO: ==29218== Lock acquired, processing the job...
[2025-01-08 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:34:03] Production.INFO: Account Balance Start.
[2025-01-08 23:34:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:34:03] Production.INFO: 117
[2025-01-08 23:34:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:34:03] Production.INFO: Total Charge 0
[2025-01-08 23:34:03] Production.INFO: CreateAllLog End
[2025-01-08 23:34:03] Production.INFO: Account Balance End.
[2025-01-08 23:34:03] Production.INFO: ==29216== Lock acquired, processing the job...
[2025-01-08 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:34:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:34:03] Production.INFO: ==29218== Releasing lock...
[2025-01-08 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:34:03] Production.INFO: ==29212== Lock acquired, processing the job...
[2025-01-08 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:34:03] Production.INFO: ==29214== Lock acquired, processing the job...
[2025-01-08 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:34:03] Production.INFO: ==29222== Lock acquired, processing the job...
[2025-01-08 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:34:03] Production.INFO: ==29220== Lock acquired, processing the job...
[2025-01-08 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:34:04] Production.INFO: count ==21
[2025-01-08 23:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:34:04] Production.INFO: count ==21
[2025-01-08 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205627') start
[2025-01-08 23:34:04] Production.INFO: ==29214== Releasing lock...
[2025-01-08 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205627') end
[2025-01-08 23:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:34:04] Production.INFO: 1
[2025-01-08 23:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:34:04] Production.ERROR: done
[2025-01-08 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:34:04] Production.INFO: ==29222== Releasing lock...
[2025-01-08 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:34:04] Production.ERROR: done
[2025-01-08 23:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:34:05
[end_date_ymd] => 2025-01-08 23:34:05
[RateCDR] => 1
)
[2025-01-08 23:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:34:05' and `end` < '2025-01-08 23:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:34:12] Production.ERROR: CronJobId end10
[2025-01-08 23:34:12] Production.INFO: ==29216== Releasing lock...
[2025-01-08 23:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:34:15] Production.INFO: call_cost start
[2025-01-08 23:34:15] Production.INFO: call_cost end
[2025-01-08 23:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:34:15] Production.INFO: ==29212== Releasing lock...
[2025-01-08 23:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:34:18] Production.INFO: count ==510
[2025-01-08 23:34:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:34:05 - End Time 2025-01-08 23:34:05
[2025-01-08 23:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205628', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205628', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205628', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205628', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:34:18] Production.INFO: ProcessCDR(1,14205628,1,1,2)
[2025-01-08 23:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205628', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205628', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:34:22] Production.INFO: ==29220== Releasing lock...
[2025-01-08 23:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:34:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:35:01] Production.INFO: ==29279== Lock acquired, processing the job...
[2025-01-09 04:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:35:01] Production.INFO: neon service started
[2025-01-09 04:35:01] Production.INFO: neon service started
[2025-01-09 04:35:01] Production.INFO: ==29279== Releasing lock...
[2025-01-09 04:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:35:02] Production.INFO: ==29281== Lock acquired, processing the job...
[2025-01-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:35:02] Production.INFO: ==29283== Lock acquired, processing the job...
[2025-01-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:35:02] Production.INFO: ==29283== Releasing lock...
[2025-01-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:35:02] Production.INFO: ==29281== Releasing lock...
[2025-01-08 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:35:03] Production.INFO: ==29286== Lock acquired, processing the job...
[2025-01-08 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:35:03] Production.INFO: ==29292== Lock acquired, processing the job...
[2025-01-08 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:35:03] Production.INFO: ==29296== Lock acquired, processing the job...
[2025-01-08 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:35:03] Production.INFO: ==29294== Lock acquired, processing the job...
[2025-01-08 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:35:03] Production.INFO: ==29288== Lock acquired, processing the job...
[2025-01-08 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:35:03] Production.INFO: ==29290== Lock acquired, processing the job...
[2025-01-08 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:35:03] Production.INFO: Account Balance Start.
[2025-01-08 23:35:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:35:03] Production.INFO: 117
[2025-01-08 23:35:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:35:03] Production.INFO: count ==21
[2025-01-08 23:35:03] Production.INFO: Total Charge 0
[2025-01-08 23:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:35:03] Production.INFO: count ==21
[2025-01-08 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205631') start
[2025-01-08 23:35:03] Production.INFO: CreateAllLog End
[2025-01-08 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205631') end
[2025-01-08 23:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:35:03] Production.INFO: 1
[2025-01-08 23:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:35:03] Production.INFO: ==29296== Releasing lock...
[2025-01-08 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:35:04] Production.INFO: ==29288== Releasing lock...
[2025-01-08 23:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:35:04] Production.INFO: Account Balance End.
[2025-01-08 23:35:04] Production.ERROR: done
[2025-01-08 23:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:35:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:35:04] Production.INFO: ==29292== Releasing lock...
[2025-01-08 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:35:04] Production.ERROR: done
[2025-01-08 23:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:35:04
[end_date_ymd] => 2025-01-08 23:35:04
[RateCDR] => 1
)
[2025-01-08 23:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:35:04' and `end` < '2025-01-08 23:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:35:12] Production.ERROR: CronJobId end10
[2025-01-08 23:35:12] Production.INFO: ==29290== Releasing lock...
[2025-01-08 23:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:35:13] Production.INFO: call_cost start
[2025-01-08 23:35:13] Production.INFO: call_cost end
[2025-01-08 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:35:14] Production.INFO: ==29286== Releasing lock...
[2025-01-08 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:35:17] Production.INFO: count ==502
[2025-01-08 23:35:17] Production.ERROR: pbx CDR StartTime 2025-01-08 20:35:04 - End Time 2025-01-08 23:35:04
[2025-01-08 23:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205633', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205633', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205633', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205633', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:35:17] Production.INFO: ProcessCDR(1,14205633,1,1,2)
[2025-01-08 23:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205633', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205633', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:35:21] Production.INFO: ==29294== Releasing lock...
[2025-01-08 23:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:35:21] Production.INFO: 31 MB #Memory Used#
[2025-01-09 04:36:02] Production.INFO: ==29348== Lock acquired, processing the job...
[2025-01-09 04:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:36:02] Production.INFO: neon service started
[2025-01-09 04:36:02] Production.INFO: neon service started
[2025-01-09 04:36:02] Production.INFO: ==29348== Releasing lock...
[2025-01-09 04:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:36:02] Production.INFO: ==29351== Lock acquired, processing the job...
[2025-01-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:36:02] Production.INFO: ==29353== Lock acquired, processing the job...
[2025-01-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 23:36:02] Production.INFO: ==29351== Releasing lock...
[2025-01-08 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:36:02] Production.INFO: ==29353== Releasing lock...
[2025-01-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:36:03] Production.INFO: ==29355== Lock acquired, processing the job...
[2025-01-08 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:36:03] Production.INFO: ==29359== Lock acquired, processing the job...
[2025-01-08 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:36:03] Production.INFO: ==29363== Lock acquired, processing the job...
[2025-01-08 23:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:36:03] Production.INFO: ==29357== Lock acquired, processing the job...
[2025-01-08 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:36:03] Production.INFO: ==29361== Lock acquired, processing the job...
[2025-01-08 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:36:03] Production.INFO: ==29365== Lock acquired, processing the job...
[2025-01-08 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:36:04] Production.INFO: Account Balance Start.
[2025-01-08 23:36:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:36:04] Production.INFO: 117
[2025-01-08 23:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:36:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:36:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:36:04] Production.INFO: count ==21
[2025-01-08 23:36:04] Production.INFO: Total Charge 0
[2025-01-08 23:36:04] Production.INFO: ==29357== Releasing lock...
[2025-01-08 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:36:04] Production.INFO: CreateAllLog End
[2025-01-08 23:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:36:04] Production.INFO: count ==21
[2025-01-08 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205636') start
[2025-01-08 23:36:04] Production.ERROR: done
[2025-01-08 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205636') end
[2025-01-08 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:36:04] Production.INFO: 1
[2025-01-08 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:36:04] Production.INFO: Account Balance End.
[2025-01-08 23:36:04] Production.ERROR: done
[2025-01-08 23:36:04] Production.INFO: ==29365== Releasing lock...
[2025-01-08 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:36:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:36:04] Production.INFO: ==29361== Releasing lock...
[2025-01-08 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:36:05
[end_date_ymd] => 2025-01-08 23:36:05
[RateCDR] => 1
)
[2025-01-08 23:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:36:05' and `end` < '2025-01-08 23:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:36:11] Production.ERROR: CronJobId end10
[2025-01-08 23:36:11] Production.INFO: ==29359== Releasing lock...
[2025-01-08 23:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:36:13] Production.INFO: call_cost start
[2025-01-08 23:36:13] Production.INFO: call_cost end
[2025-01-08 23:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:36:14] Production.INFO: ==29355== Releasing lock...
[2025-01-08 23:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:36:18] Production.INFO: count ==505
[2025-01-08 23:36:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:36:05 - End Time 2025-01-08 23:36:05
[2025-01-08 23:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205638', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205638', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205638', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205638', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:36:18] Production.INFO: ProcessCDR(1,14205638,1,1,2)
[2025-01-08 23:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205638', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205638', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:36:22] Production.INFO: ==29363== Releasing lock...
[2025-01-08 23:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:36:22] Production.INFO: 31 MB #Memory Used#
[2025-01-09 04:37:01] Production.INFO: ==29417== Lock acquired, processing the job...
[2025-01-09 04:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:37:01] Production.INFO: neon service started
[2025-01-09 04:37:01] Production.INFO: neon service started
[2025-01-09 04:37:01] Production.INFO: ==29417== Releasing lock...
[2025-01-09 04:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:37:01] Production.INFO: ==29419== Lock acquired, processing the job...
[2025-01-08 23:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:37:02] Production.INFO: ==29421== Lock acquired, processing the job...
[2025-01-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:37:02] Production.INFO: ==29421== Releasing lock...
[2025-01-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:37:02] Production.INFO: ==29419== Releasing lock...
[2025-01-08 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:37:03] Production.INFO: ==29426== Lock acquired, processing the job...
[2025-01-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:37:03] Production.INFO: ==29434== Lock acquired, processing the job...
[2025-01-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:37:03] Production.INFO: ==29424== Lock acquired, processing the job...
[2025-01-08 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:37:03] Production.INFO: ==29426== Releasing lock...
[2025-01-08 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:37:03] Production.INFO: count ==21
[2025-01-08 23:37:03] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-01-08 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:37:03] Production.INFO: ==29430== Lock acquired, processing the job...
[2025-01-08 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:37:03] Production.INFO: count ==21
[2025-01-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205640') start
[2025-01-08 23:37:03] Production.INFO: ==29432== Lock acquired, processing the job...
[2025-01-08 23:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205640') end
[2025-01-08 23:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:37:03] Production.INFO: 1
[2025-01-08 23:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:37:03] Production.INFO: Account Balance Start.
[2025-01-08 23:37:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:37:03] Production.INFO: 117
[2025-01-08 23:37:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:37:03] Production.INFO: Total Charge 0
[2025-01-08 23:37:03] Production.INFO: ==29434== Releasing lock...
[2025-01-08 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:37:03] Production.INFO: CreateAllLog End
[2025-01-08 23:37:03] Production.ERROR: done
[2025-01-08 23:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:37:04] Production.ERROR: done
[2025-01-08 23:37:04] Production.INFO: Account Balance End.
[2025-01-08 23:37:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:37:04] Production.INFO: ==29430== Releasing lock...
[2025-01-08 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:37:04
[end_date_ymd] => 2025-01-08 23:37:04
[RateCDR] => 1
)
[2025-01-08 23:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:37:04' and `end` < '2025-01-08 23:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:37:11] Production.ERROR: CronJobId end10
[2025-01-08 23:37:11] Production.INFO: ==29428== Releasing lock...
[2025-01-08 23:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:37:13] Production.INFO: call_cost start
[2025-01-08 23:37:13] Production.INFO: call_cost end
[2025-01-08 23:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:37:14] Production.INFO: ==29424== Releasing lock...
[2025-01-08 23:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:37:17] Production.INFO: count ==510
[2025-01-08 23:37:17] Production.ERROR: pbx CDR StartTime 2025-01-08 20:37:04 - End Time 2025-01-08 23:37:04
[2025-01-08 23:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205643', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205643', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205643', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205643', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:37:17] Production.INFO: ProcessCDR(1,14205643,1,1,2)
[2025-01-08 23:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205643', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205643', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:37:21] Production.INFO: ==29432== Releasing lock...
[2025-01-08 23:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:37:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:38:02] Production.INFO: ==29488== Lock acquired, processing the job...
[2025-01-09 04:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:38:02] Production.INFO: neon service started
[2025-01-09 04:38:02] Production.INFO: neon service started
[2025-01-09 04:38:02] Production.INFO: ==29488== Releasing lock...
[2025-01-09 04:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:38:02] Production.INFO: ==29492== Lock acquired, processing the job...
[2025-01-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:38:02] Production.INFO: ==29492== Releasing lock...
[2025-01-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:38:02] Production.INFO: ==29490== Lock acquired, processing the job...
[2025-01-08 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:38:03] Production.INFO: ==29490== Releasing lock...
[2025-01-08 23:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:38:03] Production.INFO: ==29501== Lock acquired, processing the job...
[2025-01-08 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:38:03] Production.INFO: ==29505== Lock acquired, processing the job...
[2025-01-08 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:38:03] Production.INFO: Account Balance Start.
[2025-01-08 23:38:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:38:03] Production.INFO: 117
[2025-01-08 23:38:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:38:04] Production.INFO: ==29495== Lock acquired, processing the job...
[2025-01-08 23:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:38:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:38:04] Production.INFO: Total Charge 0
[2025-01-08 23:38:04] Production.INFO: count ==21
[2025-01-08 23:38:04] Production.INFO: ==29497== Lock acquired, processing the job...
[2025-01-08 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:38:04] Production.INFO: CreateAllLog End
[2025-01-08 23:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:38:04] Production.INFO: count ==21
[2025-01-08 23:38:04] Production.INFO: ==29503== Lock acquired, processing the job...
[2025-01-08 23:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:38:04] Production.INFO: ==29499== Lock acquired, processing the job...
[2025-01-08 23:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205645') start
[2025-01-08 23:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205645') end
[2025-01-08 23:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:38:04] Production.INFO: 1
[2025-01-08 23:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:38:04] Production.INFO: Account Balance End.
[2025-01-08 23:38:04] Production.INFO: ==29505== Releasing lock...
[2025-01-08 23:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:38:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:38:04] Production.INFO: ==29501== Releasing lock...
[2025-01-08 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:38:04] Production.INFO: ==29497== Releasing lock...
[2025-01-08 23:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:38:04] Production.ERROR: done
[2025-01-08 23:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:38:04] Production.ERROR: done
[2025-01-08 23:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:38:05
[end_date_ymd] => 2025-01-08 23:38:05
[RateCDR] => 1
)
[2025-01-08 23:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:38:05' and `end` < '2025-01-08 23:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:38:12] Production.ERROR: CronJobId end10
[2025-01-08 23:38:12] Production.INFO: ==29499== Releasing lock...
[2025-01-08 23:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:38:14] Production.INFO: call_cost start
[2025-01-08 23:38:14] Production.INFO: call_cost end
[2025-01-08 23:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:38:15] Production.INFO: ==29495== Releasing lock...
[2025-01-08 23:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:38:18] Production.INFO: count ==510
[2025-01-08 23:38:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:38:05 - End Time 2025-01-08 23:38:05
[2025-01-08 23:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205648', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205648', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205648', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205648', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:38:18] Production.INFO: ProcessCDR(1,14205648,1,1,2)
[2025-01-08 23:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205648', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205648', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:38:21] Production.INFO: ==29503== Releasing lock...
[2025-01-08 23:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:38:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:39:01] Production.INFO: ==29562== Lock acquired, processing the job...
[2025-01-09 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:39:01] Production.INFO: neon service started
[2025-01-09 04:39:01] Production.INFO: neon service started
[2025-01-09 04:39:01] Production.INFO: ==29562== Releasing lock...
[2025-01-09 04:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:39:01] Production.INFO: ==29564== Lock acquired, processing the job...
[2025-01-08 23:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:39:02] Production.INFO: ==29566== Lock acquired, processing the job...
[2025-01-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:39:02] Production.INFO: ==29566== Releasing lock...
[2025-01-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:39:02] Production.INFO: ==29564== Releasing lock...
[2025-01-08 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:39:03] Production.INFO: ==29568== Lock acquired, processing the job...
[2025-01-08 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:39:03] Production.INFO: ==29576== Lock acquired, processing the job...
[2025-01-08 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:39:03] Production.INFO: ==29570== Lock acquired, processing the job...
[2025-01-08 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:39:03] Production.INFO: ==29572== Lock acquired, processing the job...
[2025-01-08 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:39:03] Production.INFO: ==29574== Lock acquired, processing the job...
[2025-01-08 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:39:03] Production.INFO: ==29579== Lock acquired, processing the job...
[2025-01-08 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:39:03] Production.ERROR: done
[2025-01-08 23:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:39:03] Production.INFO: Account Balance Start.
[2025-01-08 23:39:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:39:03] Production.ERROR: done
[2025-01-08 23:39:03] Production.INFO: 117
[2025-01-08 23:39:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:39:03] Production.INFO: Total Charge 0
[2025-01-08 23:39:03] Production.INFO: ==29570== Releasing lock...
[2025-01-08 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:39:03] Production.INFO: count ==21
[2025-01-08 23:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:39:03] Production.INFO: CreateAllLog End
[2025-01-08 23:39:03] Production.INFO: count ==21
[2025-01-08 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205651') start
[2025-01-08 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205651') end
[2025-01-08 23:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:39:04] Production.INFO: 1
[2025-01-08 23:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:39:04] Production.INFO: Account Balance End.
[2025-01-08 23:39:04] Production.INFO: ==29579== Releasing lock...
[2025-01-08 23:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:39:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:39:04] Production.INFO: ==29574== Releasing lock...
[2025-01-08 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:39:05
[end_date_ymd] => 2025-01-08 23:39:05
[RateCDR] => 1
)
[2025-01-08 23:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:39:05' and `end` < '2025-01-08 23:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:39:12] Production.ERROR: CronJobId end10
[2025-01-08 23:39:12] Production.INFO: ==29572== Releasing lock...
[2025-01-08 23:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:39:13] Production.INFO: call_cost start
[2025-01-08 23:39:13] Production.INFO: call_cost end
[2025-01-08 23:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:39:14] Production.INFO: ==29568== Releasing lock...
[2025-01-08 23:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:39:19] Production.INFO: count ==510
[2025-01-08 23:39:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:39:05 - End Time 2025-01-08 23:39:05
[2025-01-08 23:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205653', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205653', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205653', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205653', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:39:19] Production.INFO: ProcessCDR(1,14205653,1,1,2)
[2025-01-08 23:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205653', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205653', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:39:22] Production.INFO: ==29576== Releasing lock...
[2025-01-08 23:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:39:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:40:01] Production.INFO: ==29633== Lock acquired, processing the job...
[2025-01-09 04:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:40:02] Production.INFO: neon service started
[2025-01-09 04:40:02] Production.INFO: neon service started
[2025-01-09 04:40:02] Production.INFO: ==29633== Releasing lock...
[2025-01-09 04:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:40:02] Production.INFO: ==29637== Lock acquired, processing the job...
[2025-01-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:40:02] Production.INFO: ==29637== Releasing lock...
[2025-01-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:40:02] Production.INFO: ==29635== Lock acquired, processing the job...
[2025-01-08 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:40:03] Production.INFO: ==29635== Releasing lock...
[2025-01-08 23:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:40:03] Production.INFO: ==29642== Lock acquired, processing the job...
[2025-01-08 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:40:03] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-01-08 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 23:40:03] Production.INFO: ==29644== Lock acquired, processing the job...
[2025-01-08 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 23:40:04] Production.ERROR: CronJob PID - 29642
[2025-01-08 23:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-08 23:40:04] Production.ERROR: CronJob ID - 5
[2025-01-08 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-08 23:40:00
[2025-01-08 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 23:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 23:40:04] Production.ERROR: CronJob PID - 29644
[2025-01-08 23:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-08 23:40:04] Production.ERROR: CronJob ID - 7
[2025-01-08 23:40:04] Production.ERROR: CronJob Last Run Time 2025-01-08 23:40:00
[2025-01-08 23:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 23:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 23:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 23:40:04] Production.INFO: ==29640== Releasing lock...
[2025-01-08 23:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 23:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:40:04] Production.INFO: ==29646== Lock acquired, processing the job...
[2025-01-08 23:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:40:04] Production.INFO: ==29648== Lock acquired, processing the job...
[2025-01-08 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:40:04] Production.INFO: ==29650== Lock acquired, processing the job...
[2025-01-08 23:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:40:04] Production.INFO: Account Balance Start.
[2025-01-08 23:40:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:40:04] Production.INFO: 117
[2025-01-08 23:40:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:40:04] Production.INFO: ==29652== Lock acquired, processing the job...
[2025-01-08 23:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 23:40:04] Production.INFO: Total Charge 0
[2025-01-08 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:40:04] Production.INFO: CreateAllLog End
[2025-01-08 23:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:40:04] Production.INFO: ==29654== Lock acquired, processing the job...
[2025-01-08 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:40:04] Production.INFO: ==29644== Releasing lock...
[2025-01-08 23:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:40:04] Production.INFO: Account Balance End.
[2025-01-08 23:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:40:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:40:04] Production.INFO: ==29648== Releasing lock...
[2025-01-08 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:40:04] Production.ERROR: done
[2025-01-08 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:40:04] Production.INFO: count ==21
[2025-01-08 23:40:04] Production.ERROR: done
[2025-01-08 23:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:40:04] Production.INFO: count ==21
[2025-01-08 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205657') start
[2025-01-08 23:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 23:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205658', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 23:40:05] Production.ERROR: done
[2025-01-08 23:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14205657') end
[2025-01-08 23:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:40:05] Production.INFO: 1
[2025-01-08 23:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:40:05] Production.INFO: ==29654== Releasing lock...
[2025-01-08 23:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:40:06
[end_date_ymd] => 2025-01-08 23:40:06
[RateCDR] => 1
)
[2025-01-08 23:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:40:06' and `end` < '2025-01-08 23:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205658', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 23:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 23:40:09] Production.INFO: ProcessCDR(1,14205658,1,1,2)
[2025-01-08 23:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205658,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205658,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:40:09] Production.INFO: ==29652== Releasing lock...
[2025-01-08 23:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 23:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-08 23:40:14] Production.ERROR: CronJobId end10
[2025-01-08 23:40:14] Production.INFO: ==29646== Releasing lock...
[2025-01-08 23:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:40:15] Production.INFO: call_cost start
[2025-01-08 23:40:15] Production.INFO: call_cost end
[2025-01-08 23:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:40:16] Production.INFO: ==29642== Releasing lock...
[2025-01-08 23:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:40:19] Production.INFO: count ==510
[2025-01-08 23:40:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:40:06 - End Time 2025-01-08 23:40:06
[2025-01-08 23:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205659', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205659', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205659', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205659', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:40:19] Production.INFO: ProcessCDR(1,14205659,1,1,2)
[2025-01-08 23:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205659', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205659', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:40:22] Production.INFO: ==29650== Releasing lock...
[2025-01-08 23:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:40:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:41:01] Production.INFO: ==29708== Lock acquired, processing the job...
[2025-01-09 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:41:01] Production.INFO: neon service started
[2025-01-09 04:41:01] Production.INFO: neon service started
[2025-01-09 04:41:01] Production.INFO: ==29708== Releasing lock...
[2025-01-09 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:41:01] Production.INFO: ==29712== Lock acquired, processing the job...
[2025-01-09 04:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:41:01] Production.INFO: ==29712== Releasing lock...
[2025-01-09 04:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:41:01] Production.INFO: ==29710== Lock acquired, processing the job...
[2025-01-08 23:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:41:02] Production.INFO: ==29710== Releasing lock...
[2025-01-08 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:41:02] Production.INFO: ==29718== Lock acquired, processing the job...
[2025-01-08 23:41:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:41:03] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-01-08 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:41:03] Production.INFO: ==29714== Lock acquired, processing the job...
[2025-01-08 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:41:03] Production.INFO: count ==21
[2025-01-08 23:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:41:03] Production.INFO: count ==21
[2025-01-08 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205660') start
[2025-01-08 23:41:03] Production.INFO: ==29716== Lock acquired, processing the job...
[2025-01-08 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205660') end
[2025-01-08 23:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:41:03] Production.INFO: 1
[2025-01-08 23:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:41:03] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-01-08 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:41:03] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-01-08 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:41:03] Production.INFO: ==29724== Releasing lock...
[2025-01-08 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:41:03] Production.INFO: Account Balance Start.
[2025-01-08 23:41:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:41:03] Production.INFO: 117
[2025-01-08 23:41:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:41:03] Production.INFO: Total Charge 0
[2025-01-08 23:41:03] Production.INFO: CreateAllLog End
[2025-01-08 23:41:03] Production.INFO: ==29716== Releasing lock...
[2025-01-08 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:41:03] Production.INFO: Account Balance End.
[2025-01-08 23:41:03] Production.ERROR: done
[2025-01-08 23:41:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:41:03] Production.INFO: ==29720== Releasing lock...
[2025-01-08 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:41:04] Production.ERROR: done
[2025-01-08 23:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:41:04
[end_date_ymd] => 2025-01-08 23:41:04
[RateCDR] => 1
)
[2025-01-08 23:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:41:04' and `end` < '2025-01-08 23:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:41:10] Production.ERROR: CronJobId end10
[2025-01-08 23:41:10] Production.INFO: ==29718== Releasing lock...
[2025-01-08 23:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:41:12] Production.INFO: call_cost start
[2025-01-08 23:41:12] Production.INFO: call_cost end
[2025-01-08 23:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:41:13] Production.INFO: ==29714== Releasing lock...
[2025-01-08 23:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:41:17] Production.INFO: count ==523
[2025-01-08 23:41:17] Production.ERROR: pbx CDR StartTime 2025-01-08 20:41:04 - End Time 2025-01-08 23:41:04
[2025-01-08 23:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205664', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205664', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205664', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205664', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:41:17] Production.INFO: ProcessCDR(1,14205664,1,1,2)
[2025-01-08 23:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205664', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205664', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:41:20] Production.INFO: ==29722== Releasing lock...
[2025-01-08 23:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:41:20] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:42:01] Production.INFO: ==29778== Lock acquired, processing the job...
[2025-01-09 04:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:42:01] Production.INFO: neon service started
[2025-01-09 04:42:01] Production.INFO: neon service started
[2025-01-09 04:42:01] Production.INFO: ==29778== Releasing lock...
[2025-01-09 04:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:42:02] Production.INFO: ==29783== Lock acquired, processing the job...
[2025-01-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:42:02] Production.INFO: ==29783== Releasing lock...
[2025-01-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:42:02] Production.INFO: ==29781== Lock acquired, processing the job...
[2025-01-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:42:02] Production.INFO: ==29781== Releasing lock...
[2025-01-08 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:42:03] Production.INFO: ==29785== Lock acquired, processing the job...
[2025-01-08 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:42:03] Production.INFO: ==29791== Lock acquired, processing the job...
[2025-01-08 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:42:03] Production.INFO: ==29795== Lock acquired, processing the job...
[2025-01-08 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:42:03] Production.INFO: Account Balance Start.
[2025-01-08 23:42:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:42:03] Production.INFO: 117
[2025-01-08 23:42:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:42:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:42:03] Production.INFO: Total Charge 0
[2025-01-08 23:42:03] Production.INFO: CreateAllLog End
[2025-01-08 23:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:42:03] Production.INFO: count ==21
[2025-01-08 23:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:42:03] Production.INFO: count ==21
[2025-01-08 23:42:03] Production.INFO: ==29787== Lock acquired, processing the job...
[2025-01-08 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205667') start
[2025-01-08 23:42:03] Production.INFO: Account Balance End.
[2025-01-08 23:42:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:42:03] Production.INFO: ==29791== Releasing lock...
[2025-01-08 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:42:03] Production.INFO: ==29789== Lock acquired, processing the job...
[2025-01-08 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:42:03] Production.INFO: ==29793== Lock acquired, processing the job...
[2025-01-08 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205667') end
[2025-01-08 23:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:42:03] Production.INFO: 1
[2025-01-08 23:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:42:03] Production.INFO: ==29795== Releasing lock...
[2025-01-08 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:42:03] Production.INFO: ==29787== Releasing lock...
[2025-01-08 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:42:04] Production.ERROR: done
[2025-01-08 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:42:04] Production.ERROR: done
[2025-01-08 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:42:05
[end_date_ymd] => 2025-01-08 23:42:05
[RateCDR] => 1
)
[2025-01-08 23:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:42:05' and `end` < '2025-01-08 23:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:42:11] Production.ERROR: CronJobId end10
[2025-01-08 23:42:11] Production.INFO: ==29789== Releasing lock...
[2025-01-08 23:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:42:13] Production.INFO: call_cost start
[2025-01-08 23:42:13] Production.INFO: call_cost end
[2025-01-08 23:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:42:13] Production.INFO: ==29785== Releasing lock...
[2025-01-08 23:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:42:20] Production.INFO: count ==527
[2025-01-08 23:42:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:42:05 - End Time 2025-01-08 23:42:05
[2025-01-08 23:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205669', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205669', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205669', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205669', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:42:20] Production.INFO: ProcessCDR(1,14205669,1,1,2)
[2025-01-08 23:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205669', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205669', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:42:23] Production.INFO: ==29793== Releasing lock...
[2025-01-08 23:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:42:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:43:02] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-01-09 04:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:43:02] Production.INFO: neon service started
[2025-01-09 04:43:02] Production.INFO: neon service started
[2025-01-09 04:43:02] Production.INFO: ==29851== Releasing lock...
[2025-01-09 04:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:43:02] Production.INFO: ==29853== Lock acquired, processing the job...
[2025-01-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:43:02] Production.INFO: ==29853== Releasing lock...
[2025-01-08 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:43:03] Production.INFO: ==29855== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:43:03] Production.INFO: ==29855== Releasing lock...
[2025-01-09 04:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:43:03] Production.INFO: ==29857== Lock acquired, processing the job...
[2025-01-08 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:43:03] Production.INFO: ==29861== Lock acquired, processing the job...
[2025-01-08 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:43:03] Production.INFO: ==29863== Lock acquired, processing the job...
[2025-01-08 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:43:03] Production.INFO: Account Balance Start.
[2025-01-08 23:43:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:43:03] Production.INFO: 117
[2025-01-08 23:43:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:43:03] Production.INFO: Total Charge 0
[2025-01-08 23:43:03] Production.INFO: CreateAllLog End
[2025-01-08 23:43:03] Production.INFO: Account Balance End.
[2025-01-08 23:43:03] Production.INFO: ==29859== Lock acquired, processing the job...
[2025-01-08 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:43:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:43:04] Production.INFO: ==29863== Releasing lock...
[2025-01-08 23:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:43:04] Production.INFO: ==29865== Lock acquired, processing the job...
[2025-01-08 23:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:43:04] Production.INFO: ==29867== Lock acquired, processing the job...
[2025-01-08 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:43:04] Production.INFO: ==29859== Releasing lock...
[2025-01-08 23:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:43:04] Production.ERROR: done
[2025-01-08 23:43:04] Production.INFO: count ==21
[2025-01-08 23:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:43:04] Production.INFO: count ==21
[2025-01-08 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205673') start
[2025-01-08 23:43:04] Production.ERROR: done
[2025-01-08 23:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205673') end
[2025-01-08 23:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:43:04] Production.INFO: 1
[2025-01-08 23:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:43:04] Production.INFO: ==29867== Releasing lock...
[2025-01-08 23:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:43:05
[end_date_ymd] => 2025-01-08 23:43:05
[RateCDR] => 1
)
[2025-01-08 23:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:43:05' and `end` < '2025-01-08 23:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:43:13] Production.ERROR: CronJobId end10
[2025-01-08 23:43:13] Production.INFO: ==29861== Releasing lock...
[2025-01-08 23:43:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:43:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:43:14] Production.INFO: call_cost start
[2025-01-08 23:43:14] Production.INFO: call_cost end
[2025-01-08 23:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:43:15] Production.INFO: ==29857== Releasing lock...
[2025-01-08 23:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:43:18] Production.INFO: count ==526
[2025-01-08 23:43:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:43:05 - End Time 2025-01-08 23:43:05
[2025-01-08 23:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205674', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205674', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205674', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205674', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:43:18] Production.INFO: ProcessCDR(1,14205674,1,1,2)
[2025-01-08 23:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205674', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205674', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:43:21] Production.INFO: ==29865== Releasing lock...
[2025-01-08 23:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:43:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:44:01] Production.INFO: ==29920== Lock acquired, processing the job...
[2025-01-09 04:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:44:01] Production.INFO: neon service started
[2025-01-09 04:44:01] Production.INFO: neon service started
[2025-01-09 04:44:01] Production.INFO: ==29920== Releasing lock...
[2025-01-09 04:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:44:02] Production.INFO: ==29923== Lock acquired, processing the job...
[2025-01-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:44:02] Production.INFO: ==29925== Lock acquired, processing the job...
[2025-01-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:44:02] Production.INFO: ==29925== Releasing lock...
[2025-01-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:44:02] Production.INFO: ==29923== Releasing lock...
[2025-01-08 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:44:03] Production.INFO: ==29930== Lock acquired, processing the job...
[2025-01-08 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:44:03] Production.INFO: ==29936== Lock acquired, processing the job...
[2025-01-08 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:44:03] Production.INFO: ==29932== Lock acquired, processing the job...
[2025-01-08 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:44:03] Production.INFO: ==29928== Lock acquired, processing the job...
[2025-01-08 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:44:03] Production.INFO: ==29934== Lock acquired, processing the job...
[2025-01-08 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:44:04] Production.INFO: ==29930== Releasing lock...
[2025-01-08 23:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:44:04] Production.ERROR: done
[2025-01-08 23:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:44:04] Production.INFO: ==29938== Lock acquired, processing the job...
[2025-01-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:44:04] Production.INFO: Account Balance Start.
[2025-01-08 23:44:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:44:04] Production.INFO: 117
[2025-01-08 23:44:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:44:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:44:04] Production.ERROR: done
[2025-01-08 23:44:04] Production.INFO: Total Charge 0
[2025-01-08 23:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:44:04] Production.INFO: CreateAllLog End
[2025-01-08 23:44:04] Production.INFO: count ==21
[2025-01-08 23:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:44:04] Production.INFO: count ==21
[2025-01-08 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205678') start
[2025-01-08 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205678') end
[2025-01-08 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:44:04] Production.INFO: 1
[2025-01-08 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:44:04] Production.INFO: Account Balance End.
[2025-01-08 23:44:04] Production.INFO: ==29938== Releasing lock...
[2025-01-08 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:44:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:44:04] Production.INFO: ==29934== Releasing lock...
[2025-01-08 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:44:05
[end_date_ymd] => 2025-01-08 23:44:05
[RateCDR] => 1
)
[2025-01-08 23:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:44:05' and `end` < '2025-01-08 23:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:44:12] Production.ERROR: CronJobId end10
[2025-01-08 23:44:12] Production.INFO: ==29932== Releasing lock...
[2025-01-08 23:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:44:13] Production.INFO: call_cost start
[2025-01-08 23:44:13] Production.INFO: call_cost end
[2025-01-08 23:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:44:14] Production.INFO: ==29928== Releasing lock...
[2025-01-08 23:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:44:18] Production.INFO: count ==528
[2025-01-08 23:44:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:44:05 - End Time 2025-01-08 23:44:05
[2025-01-08 23:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205679', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205679', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205679', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205679', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:44:18] Production.INFO: ProcessCDR(1,14205679,1,1,2)
[2025-01-08 23:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205679', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205679', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:44:22] Production.INFO: ==29936== Releasing lock...
[2025-01-08 23:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:44:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:45:02] Production.INFO: ==29992== Lock acquired, processing the job...
[2025-01-09 04:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:45:02] Production.INFO: neon service started
[2025-01-09 04:45:02] Production.INFO: neon service started
[2025-01-09 04:45:02] Production.INFO: ==29992== Releasing lock...
[2025-01-09 04:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:45:02] Production.INFO: ==29994== Lock acquired, processing the job...
[2025-01-08 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:45:02] Production.INFO: ==29996== Lock acquired, processing the job...
[2025-01-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:45:03] Production.INFO: ==29996== Releasing lock...
[2025-01-09 04:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:45:03] Production.INFO: ==29994== Releasing lock...
[2025-01-08 23:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:45:04] Production.INFO: ==29999== Lock acquired, processing the job...
[2025-01-08 23:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:45:04] Production.INFO: ==30001== Lock acquired, processing the job...
[2025-01-08 23:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:45:04] Production.INFO: ==30007== Lock acquired, processing the job...
[2025-01-08 23:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:45:04] Production.INFO: ==30003== Lock acquired, processing the job...
[2025-01-08 23:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:45:04] Production.INFO: ==30005== Lock acquired, processing the job...
[2025-01-08 23:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:45:04] Production.INFO: ==30009== Lock acquired, processing the job...
[2025-01-08 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:45:04] Production.INFO: ==30001== Releasing lock...
[2025-01-08 23:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:45:04] Production.INFO: Account Balance Start.
[2025-01-08 23:45:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:45:04] Production.INFO: 117
[2025-01-08 23:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:45:04] Production.ERROR: done
[2025-01-08 23:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:45:04] Production.INFO: count ==21
[2025-01-08 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-01-08 23:45:04] Production.INFO: count ==21
[2025-01-08 23:45:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:45:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205683') start
[2025-01-08 23:45:04] Production.ERROR: done
[2025-01-08 23:45:04] Production.INFO: Total Charge 0
[2025-01-08 23:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205683') end
[2025-01-08 23:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:45:04] Production.INFO: 1
[2025-01-08 23:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:45:04] Production.INFO: CreateAllLog End
[2025-01-08 23:45:04] Production.INFO: ==30009== Releasing lock...
[2025-01-08 23:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:45:05] Production.INFO: Account Balance End.
[2025-01-08 23:45:05] Production.ERROR: CronJobId end 12
[2025-01-08 23:45:05] Production.INFO: ==30005== Releasing lock...
[2025-01-08 23:45:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:45:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:45:05
[end_date_ymd] => 2025-01-08 23:45:05
[RateCDR] => 1
)
[2025-01-08 23:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:45:05' and `end` < '2025-01-08 23:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:45:12] Production.ERROR: CronJobId end10
[2025-01-08 23:45:12] Production.INFO: ==30003== Releasing lock...
[2025-01-08 23:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:45:13] Production.INFO: call_cost start
[2025-01-08 23:45:13] Production.INFO: call_cost end
[2025-01-08 23:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:45:14] Production.INFO: ==29999== Releasing lock...
[2025-01-08 23:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:45:18] Production.INFO: count ==526
[2025-01-08 23:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:45:05 - End Time 2025-01-08 23:45:05
[2025-01-08 23:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205684', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205684', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205684', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205684', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:45:18] Production.INFO: ProcessCDR(1,14205684,1,1,2)
[2025-01-08 23:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205684', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205684', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:45:21] Production.INFO: ==30007== Releasing lock...
[2025-01-08 23:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:45:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:46:01] Production.INFO: ==30101== Lock acquired, processing the job...
[2025-01-09 04:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:46:01] Production.INFO: neon service started
[2025-01-09 04:46:01] Production.INFO: neon service started
[2025-01-09 04:46:01] Production.INFO: ==30101== Releasing lock...
[2025-01-09 04:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:46:02] Production.INFO: ==30103== Lock acquired, processing the job...
[2025-01-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:46:02] Production.INFO: ==30103== Releasing lock...
[2025-01-08 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:46:02] Production.INFO: ==30105== Lock acquired, processing the job...
[2025-01-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:46:02] Production.INFO: ==30105== Releasing lock...
[2025-01-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:46:03] Production.INFO: ==30115== Lock acquired, processing the job...
[2025-01-08 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:46:03] Production.INFO: ==30107== Lock acquired, processing the job...
[2025-01-08 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:46:03] Production.INFO: ==30109== Lock acquired, processing the job...
[2025-01-08 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:46:03] Production.INFO: ==30111== Lock acquired, processing the job...
[2025-01-08 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:46:03] Production.INFO: ==30113== Lock acquired, processing the job...
[2025-01-08 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:46:03] Production.INFO: ==30118== Lock acquired, processing the job...
[2025-01-08 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:46:03] Production.INFO: Account Balance Start.
[2025-01-08 23:46:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:46:03] Production.INFO: 117
[2025-01-08 23:46:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:46:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:46:03] Production.INFO: Total Charge 0
[2025-01-08 23:46:03] Production.INFO: CreateAllLog End
[2025-01-08 23:46:03] Production.ERROR: done
[2025-01-08 23:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:46:03] Production.INFO: count ==21
[2025-01-08 23:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:46:03] Production.INFO: count ==21
[2025-01-08 23:46:03] Production.ERROR: done
[2025-01-08 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205687') start
[2025-01-08 23:46:03] Production.INFO: ==30109== Releasing lock...
[2025-01-08 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:46:04] Production.INFO: Account Balance End.
[2025-01-08 23:46:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:46:04] Production.INFO: ==30113== Releasing lock...
[2025-01-08 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205687') end
[2025-01-08 23:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:46:04] Production.INFO: 1
[2025-01-08 23:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:46:04] Production.INFO: ==30118== Releasing lock...
[2025-01-08 23:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:46:04
[end_date_ymd] => 2025-01-08 23:46:04
[RateCDR] => 1
)
[2025-01-08 23:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:46:04' and `end` < '2025-01-08 23:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:46:11] Production.ERROR: CronJobId end10
[2025-01-08 23:46:11] Production.INFO: ==30111== Releasing lock...
[2025-01-08 23:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:46:12] Production.INFO: call_cost start
[2025-01-08 23:46:12] Production.INFO: call_cost end
[2025-01-08 23:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:46:13] Production.INFO: ==30107== Releasing lock...
[2025-01-08 23:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:46:17] Production.INFO: count ==524
[2025-01-08 23:46:17] Production.ERROR: pbx CDR StartTime 2025-01-08 20:46:04 - End Time 2025-01-08 23:46:04
[2025-01-08 23:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205689', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205689', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205689', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205689', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:46:17] Production.INFO: ProcessCDR(1,14205689,1,1,2)
[2025-01-08 23:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205689', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205689', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:46:22] Production.INFO: ==30115== Releasing lock...
[2025-01-08 23:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:46:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:47:02] Production.INFO: ==30172== Lock acquired, processing the job...
[2025-01-09 04:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:47:02] Production.INFO: neon service started
[2025-01-09 04:47:02] Production.INFO: neon service started
[2025-01-09 04:47:02] Production.INFO: ==30172== Releasing lock...
[2025-01-09 04:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:47:02] Production.INFO: ==30176== Lock acquired, processing the job...
[2025-01-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:47:02] Production.INFO: ==30176== Releasing lock...
[2025-01-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:47:02] Production.INFO: ==30174== Lock acquired, processing the job...
[2025-01-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:47:02] Production.INFO: ==30174== Releasing lock...
[2025-01-08 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:47:03] Production.INFO: ==30179== Lock acquired, processing the job...
[2025-01-08 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:47:03] Production.INFO: ==30181== Lock acquired, processing the job...
[2025-01-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:47:03] Production.INFO: ==30185== Lock acquired, processing the job...
[2025-01-08 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:47:03] Production.INFO: ==30183== Lock acquired, processing the job...
[2025-01-08 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:47:03] Production.INFO: Account Balance Start.
[2025-01-08 23:47:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:47:03] Production.INFO: 117
[2025-01-08 23:47:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:47:03] Production.INFO: ==30181== Releasing lock...
[2025-01-08 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:47:03] Production.INFO: ==30187== Lock acquired, processing the job...
[2025-01-08 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:47:03] Production.INFO: Total Charge 0
[2025-01-08 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:47:04] Production.INFO: CreateAllLog End
[2025-01-08 23:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:47:04] Production.INFO: ==30189== Lock acquired, processing the job...
[2025-01-08 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:47:04] Production.INFO: Account Balance End.
[2025-01-08 23:47:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:47:04] Production.INFO: ==30185== Releasing lock...
[2025-01-08 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:47:04] Production.ERROR: done
[2025-01-08 23:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:47:04] Production.INFO: count ==21
[2025-01-08 23:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:47:04] Production.INFO: count ==21
[2025-01-08 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205693') start
[2025-01-08 23:47:04] Production.ERROR: done
[2025-01-08 23:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205693') end
[2025-01-08 23:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:47:04] Production.INFO: 1
[2025-01-08 23:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:47:04] Production.INFO: ==30189== Releasing lock...
[2025-01-08 23:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:47:05
[end_date_ymd] => 2025-01-08 23:47:05
[RateCDR] => 1
)
[2025-01-08 23:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:47:05' and `end` < '2025-01-08 23:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:47:12] Production.ERROR: CronJobId end10
[2025-01-08 23:47:12] Production.INFO: ==30183== Releasing lock...
[2025-01-08 23:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:47:13] Production.INFO: call_cost start
[2025-01-08 23:47:13] Production.INFO: call_cost end
[2025-01-08 23:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:47:14] Production.INFO: ==30179== Releasing lock...
[2025-01-08 23:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:47:19] Production.INFO: count ==518
[2025-01-08 23:47:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:47:05 - End Time 2025-01-08 23:47:05
[2025-01-08 23:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205694', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205694', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205694', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205694', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:47:19] Production.INFO: ProcessCDR(1,14205694,1,1,2)
[2025-01-08 23:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205694', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205694', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:47:22] Production.INFO: ==30187== Releasing lock...
[2025-01-08 23:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:47:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:48:01] Production.INFO: ==30243== Lock acquired, processing the job...
[2025-01-09 04:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:48:01] Production.INFO: neon service started
[2025-01-09 04:48:01] Production.INFO: neon service started
[2025-01-09 04:48:01] Production.INFO: ==30243== Releasing lock...
[2025-01-09 04:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:48:01] Production.INFO: ==30245== Lock acquired, processing the job...
[2025-01-08 23:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:48:02] Production.INFO: ==30245== Releasing lock...
[2025-01-08 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:48:02] Production.INFO: ==30247== Lock acquired, processing the job...
[2025-01-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:48:02] Production.INFO: ==30247== Releasing lock...
[2025-01-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:48:03] Production.INFO: ==30256== Lock acquired, processing the job...
[2025-01-08 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:48:03] Production.INFO: ==30260== Lock acquired, processing the job...
[2025-01-08 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:48:03] Production.INFO: Account Balance Start.
[2025-01-08 23:48:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:48:03] Production.INFO: 117
[2025-01-08 23:48:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:48:03] Production.INFO: Total Charge 0
[2025-01-08 23:48:03] Production.INFO: count ==21
[2025-01-08 23:48:03] Production.INFO: CreateAllLog End
[2025-01-08 23:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:48:03] Production.INFO: count ==21
[2025-01-08 23:48:03] Production.INFO: ==30252== Lock acquired, processing the job...
[2025-01-08 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205696') start
[2025-01-08 23:48:03] Production.INFO: ==30254== Lock acquired, processing the job...
[2025-01-08 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:48:03] Production.INFO: ==30250== Lock acquired, processing the job...
[2025-01-08 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:48:03] Production.INFO: ==30258== Lock acquired, processing the job...
[2025-01-08 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205696') end
[2025-01-08 23:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:48:03] Production.INFO: 1
[2025-01-08 23:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:48:03] Production.INFO: Account Balance End.
[2025-01-08 23:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:48:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:48:03] Production.INFO: ==30256== Releasing lock...
[2025-01-08 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:48:03] Production.INFO: ==30260== Releasing lock...
[2025-01-08 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:48:03] Production.INFO: ==30252== Releasing lock...
[2025-01-08 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:48:03] Production.ERROR: done
[2025-01-08 23:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:48:03] Production.ERROR: done
[2025-01-08 23:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:48:04
[end_date_ymd] => 2025-01-08 23:48:04
[RateCDR] => 1
)
[2025-01-08 23:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:48:04' and `end` < '2025-01-08 23:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:48:11] Production.ERROR: CronJobId end10
[2025-01-08 23:48:11] Production.INFO: ==30254== Releasing lock...
[2025-01-08 23:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:48:13] Production.INFO: call_cost start
[2025-01-08 23:48:13] Production.INFO: call_cost end
[2025-01-08 23:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:48:13] Production.INFO: ==30250== Releasing lock...
[2025-01-08 23:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:48:17] Production.INFO: count ==517
[2025-01-08 23:48:17] Production.ERROR: pbx CDR StartTime 2025-01-08 20:48:04 - End Time 2025-01-08 23:48:04
[2025-01-08 23:48:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205699', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205699', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205699', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:48:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205699', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:48:17] Production.INFO: ProcessCDR(1,14205699,1,1,2)
[2025-01-08 23:48:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205699', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205699', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:48:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:48:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:48:20] Production.INFO: ==30258== Releasing lock...
[2025-01-08 23:48:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:48:20] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:49:02] Production.INFO: ==30316== Lock acquired, processing the job...
[2025-01-09 04:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:49:02] Production.INFO: neon service started
[2025-01-09 04:49:02] Production.INFO: neon service started
[2025-01-09 04:49:02] Production.INFO: ==30316== Releasing lock...
[2025-01-09 04:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:49:02] Production.INFO: ==30318== Lock acquired, processing the job...
[2025-01-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:49:02] Production.INFO: ==30320== Lock acquired, processing the job...
[2025-01-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:49:02] Production.INFO: ==30320== Releasing lock...
[2025-01-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:49:02] Production.INFO: ==30318== Releasing lock...
[2025-01-08 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:49:03] Production.INFO: ==30324== Lock acquired, processing the job...
[2025-01-08 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:49:03] Production.INFO: ==30326== Lock acquired, processing the job...
[2025-01-08 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:49:03] Production.INFO: ==30334== Lock acquired, processing the job...
[2025-01-08 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:49:03] Production.INFO: ==30328== Lock acquired, processing the job...
[2025-01-08 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:49:03] Production.INFO: count ==21
[2025-01-08 23:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:49:03] Production.INFO: count ==21
[2025-01-08 23:49:03] Production.INFO: ==30330== Lock acquired, processing the job...
[2025-01-08 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:49:03] Production.INFO: ==30332== Lock acquired, processing the job...
[2025-01-08 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205702') start
[2025-01-08 23:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:49:04] Production.INFO: Account Balance Start.
[2025-01-08 23:49:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:49:04] Production.INFO: ==30326== Releasing lock...
[2025-01-08 23:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:49:04] Production.INFO: 117
[2025-01-08 23:49:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:49:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205702') end
[2025-01-08 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:49:04] Production.INFO: 1
[2025-01-08 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:49:04] Production.INFO: Total Charge 0
[2025-01-08 23:49:04] Production.INFO: CreateAllLog End
[2025-01-08 23:49:04] Production.INFO: ==30334== Releasing lock...
[2025-01-08 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:49:04] Production.ERROR: done
[2025-01-08 23:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:49:04] Production.INFO: Account Balance End.
[2025-01-08 23:49:04] Production.ERROR: done
[2025-01-08 23:49:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:49:04] Production.INFO: ==30330== Releasing lock...
[2025-01-08 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:49:05
[end_date_ymd] => 2025-01-08 23:49:05
[RateCDR] => 1
)
[2025-01-08 23:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:49:05' and `end` < '2025-01-08 23:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:49:12] Production.ERROR: CronJobId end10
[2025-01-08 23:49:12] Production.INFO: ==30328== Releasing lock...
[2025-01-08 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:49:12] Production.INFO: call_cost start
[2025-01-08 23:49:12] Production.INFO: call_cost end
[2025-01-08 23:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:49:13] Production.INFO: ==30324== Releasing lock...
[2025-01-08 23:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:49:19] Production.INFO: count ==517
[2025-01-08 23:49:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:49:05 - End Time 2025-01-08 23:49:05
[2025-01-08 23:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205704', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205704', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205704', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205704', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:49:19] Production.INFO: ProcessCDR(1,14205704,1,1,2)
[2025-01-08 23:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205704', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205704', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:49:22] Production.INFO: ==30332== Releasing lock...
[2025-01-08 23:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:49:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:50:01] Production.INFO: ==30387== Lock acquired, processing the job...
[2025-01-09 04:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:50:01] Production.INFO: neon service started
[2025-01-09 04:50:01] Production.INFO: neon service started
[2025-01-09 04:50:01] Production.INFO: ==30387== Releasing lock...
[2025-01-09 04:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:50:01] Production.INFO: ==30389== Lock acquired, processing the job...
[2025-01-08 23:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:50:02] Production.INFO: ==30389== Releasing lock...
[2025-01-08 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:50:02] Production.INFO: ==30391== Lock acquired, processing the job...
[2025-01-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:50:02] Production.INFO: ==30391== Releasing lock...
[2025-01-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:50:03] Production.INFO: ==30399== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:50:03] Production.INFO: ==30404== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:50:03] Production.INFO: ==30395== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:50:03] Production.INFO: ==30408== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:50:03] Production.INFO: ==30393== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-08 23:50:03] Production.INFO: ==30397== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-08 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 23:50:03] Production.ERROR: CronJob PID - 30399
[2025-01-08 23:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-08 23:50:03] Production.ERROR: CronJob ID - 10
[2025-01-08 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-08 23:50:00
[2025-01-08 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-08 23:50:03] Production.ERROR: CronJob PID - 30404
[2025-01-08 23:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-08 23:50:03] Production.ERROR: CronJob ID - 16
[2025-01-08 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-08 23:50:00
[2025-01-08 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-08 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-08 23:50:03] Production.INFO: ==30402== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:50:03] Production.INFO: ==30406== Lock acquired, processing the job...
[2025-01-08 23:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-08 23:50:03] Production.ERROR: done
[2025-01-08 23:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-08 23:50:03] Production.INFO: ==30393== Releasing lock...
[2025-01-08 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-08 23:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-08 23:50:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:50:03] Production.INFO: Account Balance Start.
[2025-01-08 23:50:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:50:03] Production.INFO: 117
[2025-01-08 23:50:03] Production.INFO: count ==21
[2025-01-08 23:50:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:50:03] Production.INFO: count ==21
[2025-01-08 23:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205705') start
[2025-01-08 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:50:03] Production.ERROR: done
[2025-01-08 23:50:04] Production.INFO: Total Charge 0
[2025-01-08 23:50:04] Production.INFO: CreateAllLog End
[2025-01-08 23:50:04] Production.ERROR: done
[2025-01-08 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205705') end
[2025-01-08 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:50:04] Production.INFO: 1
[2025-01-08 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:50:04] Production.INFO: ==30408== Releasing lock...
[2025-01-08 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:50:04] Production.INFO: Account Balance End.
[2025-01-08 23:50:04] Production.INFO: ==30397== Releasing lock...
[2025-01-08 23:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-08 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205710', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) start
[2025-01-08 23:50:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:50:04] Production.INFO: ==30402== Releasing lock...
[2025-01-08 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:50:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:50:04
[end_date_ymd] => 2025-01-08 23:50:04
[RateCDR] => 1
)
[2025-01-08 23:50:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:50:04' and `end` < '2025-01-08 23:50:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205710', 'tblTempUsageDetail_20reseller','2025-01-08','2025-01-08','1' ) end
[2025-01-08 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-08 23:50:08] Production.INFO: ProcessCDR(1,14205710,1,1,2)
[2025-01-08 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205710,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205710,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:50:08] Production.INFO: ==30406== Releasing lock...
[2025-01-08 23:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-08 23:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-08 23:50:13] Production.ERROR: CronJobId end10
[2025-01-08 23:50:13] Production.INFO: ==30399== Releasing lock...
[2025-01-08 23:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:50:14] Production.INFO: call_cost start
[2025-01-08 23:50:14] Production.INFO: call_cost end
[2025-01-08 23:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:50:15] Production.INFO: ==30395== Releasing lock...
[2025-01-08 23:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:50:19] Production.INFO: count ==521
[2025-01-08 23:50:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:50:04 - End Time 2025-01-08 23:50:04
[2025-01-08 23:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205709', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205709', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205709', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205709', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:50:19] Production.INFO: ProcessCDR(1,14205709,1,1,2)
[2025-01-08 23:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205709', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205709', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:50:22] Production.INFO: ==30404== Releasing lock...
[2025-01-08 23:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:50:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:51:01] Production.INFO: ==30464== Lock acquired, processing the job...
[2025-01-09 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:51:01] Production.INFO: neon service started
[2025-01-09 04:51:01] Production.INFO: neon service started
[2025-01-09 04:51:01] Production.INFO: ==30464== Releasing lock...
[2025-01-09 04:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:51:02] Production.INFO: ==30466== Lock acquired, processing the job...
[2025-01-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:51:02] Production.INFO: ==30466== Releasing lock...
[2025-01-08 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:51:02] Production.INFO: ==30468== Lock acquired, processing the job...
[2025-01-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:51:02] Production.INFO: ==30468== Releasing lock...
[2025-01-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:51:03] Production.INFO: ==30476== Lock acquired, processing the job...
[2025-01-08 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:51:03] Production.INFO: ==30470== Lock acquired, processing the job...
[2025-01-08 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:51:03] Production.INFO: Account Balance Start.
[2025-01-08 23:51:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:51:03] Production.INFO: 117
[2025-01-08 23:51:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:51:03] Production.INFO: ==30472== Lock acquired, processing the job...
[2025-01-08 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:51:03] Production.INFO: ==30474== Lock acquired, processing the job...
[2025-01-08 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:51:03] Production.INFO: Total Charge 0
[2025-01-08 23:51:03] Production.INFO: ==30481== Lock acquired, processing the job...
[2025-01-08 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:51:03] Production.INFO: CreateAllLog End
[2025-01-08 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:51:03] Production.INFO: ==30478== Lock acquired, processing the job...
[2025-01-08 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:51:03] Production.INFO: Account Balance End.
[2025-01-08 23:51:03] Production.INFO: count ==21
[2025-01-08 23:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:51:03] Production.INFO: count ==21
[2025-01-08 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205714') start
[2025-01-08 23:51:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:51:03] Production.INFO: ==30476== Releasing lock...
[2025-01-08 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:51:03] Production.ERROR: done
[2025-01-08 23:51:03] Production.INFO: ==30472== Releasing lock...
[2025-01-08 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205714') end
[2025-01-08 23:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:51:04] Production.INFO: 1
[2025-01-08 23:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:51:04] Production.INFO: ==30481== Releasing lock...
[2025-01-08 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:51:04] Production.ERROR: done
[2025-01-08 23:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:51:04
[end_date_ymd] => 2025-01-08 23:51:04
[RateCDR] => 1
)
[2025-01-08 23:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:51:04' and `end` < '2025-01-08 23:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:51:10] Production.ERROR: CronJobId end10
[2025-01-08 23:51:10] Production.INFO: ==30474== Releasing lock...
[2025-01-08 23:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:51:13] Production.INFO: call_cost start
[2025-01-08 23:51:13] Production.INFO: call_cost end
[2025-01-08 23:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:51:14] Production.INFO: ==30470== Releasing lock...
[2025-01-08 23:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:51:20] Production.INFO: count ==523
[2025-01-08 23:51:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:51:04 - End Time 2025-01-08 23:51:04
[2025-01-08 23:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205715', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205715', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205715', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205715', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:51:20] Production.INFO: ProcessCDR(1,14205715,1,1,2)
[2025-01-08 23:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205715', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205715', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:51:23] Production.INFO: ==30478== Releasing lock...
[2025-01-08 23:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:51:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:52:02] Production.INFO: ==30537== Lock acquired, processing the job...
[2025-01-09 04:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:52:02] Production.INFO: neon service started
[2025-01-09 04:52:02] Production.INFO: neon service started
[2025-01-09 04:52:02] Production.INFO: ==30537== Releasing lock...
[2025-01-09 04:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:52:02] Production.INFO: ==30541== Lock acquired, processing the job...
[2025-01-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-08 23:52:02] Production.INFO: ==30539== Lock acquired, processing the job...
[2025-01-08 23:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:52:02] Production.INFO: ==30541== Releasing lock...
[2025-01-09 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:52:03] Production.INFO: ==30539== Releasing lock...
[2025-01-08 23:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:52:03] Production.INFO: ==30550== Lock acquired, processing the job...
[2025-01-08 23:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:52:04] Production.INFO: Account Balance Start.
[2025-01-08 23:52:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:52:04] Production.INFO: 117
[2025-01-08 23:52:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:52:04] Production.INFO: ==30554== Lock acquired, processing the job...
[2025-01-08 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:52:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:52:04] Production.INFO: Total Charge 0
[2025-01-08 23:52:04] Production.INFO: CreateAllLog End
[2025-01-08 23:52:04] Production.INFO: ==30544== Lock acquired, processing the job...
[2025-01-08 23:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:52:04] Production.INFO: count ==21
[2025-01-08 23:52:04] Production.INFO: Account Balance End.
[2025-01-08 23:52:04] Production.INFO: ==30546== Lock acquired, processing the job...
[2025-01-08 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:52:04] Production.INFO: count ==21
[2025-01-08 23:52:04] Production.INFO: ==30548== Lock acquired, processing the job...
[2025-01-08 23:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205717') start
[2025-01-08 23:52:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:52:04] Production.INFO: ==30550== Releasing lock...
[2025-01-08 23:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:52:04] Production.INFO: ==30552== Lock acquired, processing the job...
[2025-01-08 23:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205717') end
[2025-01-08 23:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:52:04] Production.INFO: 1
[2025-01-08 23:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:52:04] Production.INFO: ==30554== Releasing lock...
[2025-01-08 23:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:52:04] Production.INFO: ==30546== Releasing lock...
[2025-01-08 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:52:04] Production.ERROR: done
[2025-01-08 23:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:52:04] Production.ERROR: done
[2025-01-08 23:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:52:05
[end_date_ymd] => 2025-01-08 23:52:05
[RateCDR] => 1
)
[2025-01-08 23:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:52:05' and `end` < '2025-01-08 23:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:52:12] Production.ERROR: CronJobId end10
[2025-01-08 23:52:12] Production.INFO: ==30548== Releasing lock...
[2025-01-08 23:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:52:14] Production.INFO: call_cost start
[2025-01-08 23:52:14] Production.INFO: call_cost end
[2025-01-08 23:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:52:14] Production.INFO: ==30544== Releasing lock...
[2025-01-08 23:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:52:18] Production.INFO: count ==521
[2025-01-08 23:52:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:52:05 - End Time 2025-01-08 23:52:05
[2025-01-08 23:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205720', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205720', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205720', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205720', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:52:18] Production.INFO: ProcessCDR(1,14205720,1,1,2)
[2025-01-08 23:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205720', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205720', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:52:21] Production.INFO: ==30552== Releasing lock...
[2025-01-08 23:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:52:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:53:01] Production.INFO: ==30606== Lock acquired, processing the job...
[2025-01-09 04:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:53:01] Production.INFO: neon service started
[2025-01-09 04:53:01] Production.INFO: neon service started
[2025-01-09 04:53:01] Production.INFO: ==30606== Releasing lock...
[2025-01-09 04:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:53:02] Production.INFO: ==30608== Lock acquired, processing the job...
[2025-01-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:53:02] Production.INFO: ==30608== Releasing lock...
[2025-01-08 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:53:02] Production.INFO: ==30610== Lock acquired, processing the job...
[2025-01-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:53:02] Production.INFO: ==30610== Releasing lock...
[2025-01-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:53:03] Production.INFO: ==30612== Lock acquired, processing the job...
[2025-01-08 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:53:03] Production.INFO: ==30614== Lock acquired, processing the job...
[2025-01-08 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:53:03] Production.INFO: ==30620== Lock acquired, processing the job...
[2025-01-08 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:53:03] Production.INFO: ==30616== Lock acquired, processing the job...
[2025-01-08 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:53:03] Production.INFO: ==30618== Lock acquired, processing the job...
[2025-01-08 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:53:03] Production.INFO: ==30622== Lock acquired, processing the job...
[2025-01-08 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:53:03] Production.INFO: Account Balance Start.
[2025-01-08 23:53:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:53:03] Production.INFO: 117
[2025-01-08 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:53:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:53:03] Production.ERROR: done
[2025-01-08 23:53:03] Production.INFO: count ==21
[2025-01-08 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:53:03] Production.INFO: count ==21
[2025-01-08 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205724') start
[2025-01-08 23:53:03] Production.INFO: ==30614== Releasing lock...
[2025-01-08 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:53:03] Production.INFO: Total Charge 0
[2025-01-08 23:53:03] Production.INFO: CreateAllLog End
[2025-01-08 23:53:04] Production.ERROR: done
[2025-01-08 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205724') end
[2025-01-08 23:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:53:04] Production.INFO: 1
[2025-01-08 23:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:53:04] Production.INFO: Account Balance End.
[2025-01-08 23:53:04] Production.INFO: ==30622== Releasing lock...
[2025-01-08 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:53:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:53:04] Production.INFO: ==30618== Releasing lock...
[2025-01-08 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:53:05
[end_date_ymd] => 2025-01-08 23:53:05
[RateCDR] => 1
)
[2025-01-08 23:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:53:05' and `end` < '2025-01-08 23:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:53:12] Production.ERROR: CronJobId end10
[2025-01-08 23:53:12] Production.INFO: ==30616== Releasing lock...
[2025-01-08 23:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:53:13] Production.INFO: call_cost start
[2025-01-08 23:53:13] Production.INFO: call_cost end
[2025-01-08 23:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:53:13] Production.INFO: ==30612== Releasing lock...
[2025-01-08 23:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:53:18] Production.INFO: count ==521
[2025-01-08 23:53:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:53:05 - End Time 2025-01-08 23:53:05
[2025-01-08 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205725', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205725', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205725', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205725', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:53:18] Production.INFO: ProcessCDR(1,14205725,1,1,2)
[2025-01-08 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205725', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205725', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:53:22] Production.INFO: ==30620== Releasing lock...
[2025-01-08 23:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:53:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:54:02] Production.INFO: ==30677== Lock acquired, processing the job...
[2025-01-09 04:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:54:02] Production.INFO: neon service started
[2025-01-09 04:54:02] Production.INFO: neon service started
[2025-01-09 04:54:02] Production.INFO: ==30677== Releasing lock...
[2025-01-09 04:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:54:02] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-01-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:54:02] Production.INFO: ==30680== Releasing lock...
[2025-01-08 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:54:03] Production.INFO: ==30682== Lock acquired, processing the job...
[2025-01-09 04:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:54:03] Production.INFO: ==30682== Releasing lock...
[2025-01-09 04:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:54:03] Production.INFO: ==30686== Lock acquired, processing the job...
[2025-01-08 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:54:03] Production.INFO: ==30692== Lock acquired, processing the job...
[2025-01-08 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:54:04] Production.INFO: ==30684== Lock acquired, processing the job...
[2025-01-08 23:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:54:04] Production.INFO: ==30688== Lock acquired, processing the job...
[2025-01-08 23:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:54:04] Production.INFO: ==30690== Lock acquired, processing the job...
[2025-01-08 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:54:04] Production.INFO: ==30694== Lock acquired, processing the job...
[2025-01-08 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:54:04] Production.INFO: ==30686== Releasing lock...
[2025-01-08 23:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:54:04] Production.INFO: Account Balance Start.
[2025-01-08 23:54:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:54:04] Production.INFO: 117
[2025-01-08 23:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:54:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:54:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:54:04] Production.INFO: Total Charge 0
[2025-01-08 23:54:04] Production.INFO: CreateAllLog End
[2025-01-08 23:54:04] Production.INFO: count ==21
[2025-01-08 23:54:04] Production.ERROR: done
[2025-01-08 23:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:54:04] Production.INFO: count ==21
[2025-01-08 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205729') start
[2025-01-08 23:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205729') end
[2025-01-08 23:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:54:04] Production.INFO: 1
[2025-01-08 23:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:54:04] Production.INFO: ==30694== Releasing lock...
[2025-01-08 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:54:04] Production.ERROR: done
[2025-01-08 23:54:04] Production.INFO: Account Balance End.
[2025-01-08 23:54:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:54:04] Production.INFO: ==30690== Releasing lock...
[2025-01-08 23:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:54:05
[end_date_ymd] => 2025-01-08 23:54:05
[RateCDR] => 1
)
[2025-01-08 23:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:54:05' and `end` < '2025-01-08 23:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:54:12] Production.ERROR: CronJobId end10
[2025-01-08 23:54:12] Production.INFO: ==30688== Releasing lock...
[2025-01-08 23:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:54:13] Production.INFO: call_cost start
[2025-01-08 23:54:13] Production.INFO: call_cost end
[2025-01-08 23:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:54:14] Production.INFO: ==30684== Releasing lock...
[2025-01-08 23:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:54:18] Production.INFO: count ==521
[2025-01-08 23:54:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:54:05 - End Time 2025-01-08 23:54:05
[2025-01-08 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205730', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205730', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205730', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205730', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:54:18] Production.INFO: ProcessCDR(1,14205730,1,1,2)
[2025-01-08 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205730', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205730', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:54:21] Production.INFO: ==30692== Releasing lock...
[2025-01-08 23:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:54:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:55:02] Production.INFO: ==30750== Lock acquired, processing the job...
[2025-01-09 04:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:55:02] Production.INFO: neon service started
[2025-01-09 04:55:02] Production.INFO: neon service started
[2025-01-09 04:55:02] Production.INFO: ==30750== Releasing lock...
[2025-01-09 04:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:55:02] Production.INFO: ==30753== Lock acquired, processing the job...
[2025-01-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:55:02] Production.INFO: ==30753== Releasing lock...
[2025-01-08 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:55:02] Production.INFO: ==30755== Lock acquired, processing the job...
[2025-01-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:55:02] Production.INFO: ==30755== Releasing lock...
[2025-01-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:55:03] Production.INFO: ==30757== Lock acquired, processing the job...
[2025-01-08 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:55:03] Production.INFO: ==30767== Lock acquired, processing the job...
[2025-01-08 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:55:03] Production.INFO: ==30765== Lock acquired, processing the job...
[2025-01-08 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:55:03] Production.INFO: ==30759== Lock acquired, processing the job...
[2025-01-08 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:55:03] Production.INFO: ==30761== Lock acquired, processing the job...
[2025-01-08 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:55:03] Production.INFO: ==30763== Lock acquired, processing the job...
[2025-01-08 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:55:03] Production.INFO: count ==21
[2025-01-08 23:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:55:03] Production.INFO: count ==21
[2025-01-08 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205732') start
[2025-01-08 23:55:03] Production.INFO: Account Balance Start.
[2025-01-08 23:55:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:55:03] Production.INFO: 117
[2025-01-08 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:55:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:55:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:55:04] Production.INFO: Total Charge 0
[2025-01-08 23:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205732') end
[2025-01-08 23:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:55:04] Production.INFO: 1
[2025-01-08 23:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:55:04] Production.INFO: CreateAllLog End
[2025-01-08 23:55:04] Production.ERROR: done
[2025-01-08 23:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:55:04] Production.INFO: ==30767== Releasing lock...
[2025-01-08 23:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:55:04] Production.INFO: ==30759== Releasing lock...
[2025-01-08 23:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:55:04] Production.INFO: Account Balance End.
[2025-01-08 23:55:04] Production.ERROR: done
[2025-01-08 23:55:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:55:04] Production.INFO: ==30763== Releasing lock...
[2025-01-08 23:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:55:05
[end_date_ymd] => 2025-01-08 23:55:05
[RateCDR] => 1
)
[2025-01-08 23:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:55:05' and `end` < '2025-01-08 23:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:55:12] Production.ERROR: CronJobId end10
[2025-01-08 23:55:12] Production.INFO: ==30761== Releasing lock...
[2025-01-08 23:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:55:13] Production.INFO: call_cost start
[2025-01-08 23:55:13] Production.INFO: call_cost end
[2025-01-08 23:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:55:14] Production.INFO: ==30757== Releasing lock...
[2025-01-08 23:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:55:18] Production.INFO: count ==521
[2025-01-08 23:55:18] Production.ERROR: pbx CDR StartTime 2025-01-08 20:55:05 - End Time 2025-01-08 23:55:05
[2025-01-08 23:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205735', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205735', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205735', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205735', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:55:18] Production.INFO: ProcessCDR(1,14205735,1,1,2)
[2025-01-08 23:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205735', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205735', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:55:21] Production.INFO: ==30765== Releasing lock...
[2025-01-08 23:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:55:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:56:01] Production.INFO: ==30823== Lock acquired, processing the job...
[2025-01-09 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:56:01] Production.INFO: neon service started
[2025-01-09 04:56:01] Production.INFO: neon service started
[2025-01-09 04:56:01] Production.INFO: ==30823== Releasing lock...
[2025-01-09 04:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:56:01] Production.INFO: ==30825== Lock acquired, processing the job...
[2025-01-08 23:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:56:02] Production.INFO: ==30825== Releasing lock...
[2025-01-08 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:56:02] Production.INFO: ==30827== Lock acquired, processing the job...
[2025-01-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:56:02] Production.INFO: ==30827== Releasing lock...
[2025-01-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:56:03] Production.INFO: ==30839== Lock acquired, processing the job...
[2025-01-08 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:56:03] Production.INFO: ==30835== Lock acquired, processing the job...
[2025-01-08 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:56:03] Production.INFO: count ==21
[2025-01-08 23:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:56:03] Production.INFO: count ==21
[2025-01-08 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205736') start
[2025-01-08 23:56:03] Production.INFO: Account Balance Start.
[2025-01-08 23:56:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:56:03] Production.INFO: 117
[2025-01-08 23:56:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:56:03] Production.INFO: ==30829== Lock acquired, processing the job...
[2025-01-08 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205736') end
[2025-01-08 23:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:56:03] Production.INFO: 1
[2025-01-08 23:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:56:03] Production.INFO: Total Charge 0
[2025-01-08 23:56:03] Production.INFO: ==30839== Releasing lock...
[2025-01-08 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:56:03] Production.INFO: ==30831== Lock acquired, processing the job...
[2025-01-08 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:56:03] Production.INFO: CreateAllLog End
[2025-01-08 23:56:03] Production.INFO: ==30833== Lock acquired, processing the job...
[2025-01-08 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:56:03] Production.INFO: Account Balance End.
[2025-01-08 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:56:03] Production.INFO: ==30837== Lock acquired, processing the job...
[2025-01-08 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:56:03] Production.ERROR: CronJobId end 12
[2025-01-08 23:56:03] Production.INFO: ==30835== Releasing lock...
[2025-01-08 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:56:03] Production.INFO: ==30831== Releasing lock...
[2025-01-08 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:56:03] Production.ERROR: done
[2025-01-08 23:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:56:04] Production.ERROR: done
[2025-01-08 23:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:56:05
[end_date_ymd] => 2025-01-08 23:56:05
[RateCDR] => 1
)
[2025-01-08 23:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:56:05' and `end` < '2025-01-08 23:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:56:11] Production.ERROR: CronJobId end10
[2025-01-08 23:56:11] Production.INFO: ==30833== Releasing lock...
[2025-01-08 23:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:56:12] Production.INFO: call_cost start
[2025-01-08 23:56:12] Production.INFO: call_cost end
[2025-01-08 23:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:56:13] Production.INFO: ==30829== Releasing lock...
[2025-01-08 23:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:56:19] Production.INFO: count ==520
[2025-01-08 23:56:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:56:05 - End Time 2025-01-08 23:56:05
[2025-01-08 23:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205740', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205740', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205740', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205740', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:56:19] Production.INFO: ProcessCDR(1,14205740,1,1,2)
[2025-01-08 23:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205740', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205740', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:56:22] Production.INFO: ==30837== Releasing lock...
[2025-01-08 23:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:56:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:57:01] Production.INFO: ==30894== Lock acquired, processing the job...
[2025-01-09 04:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:57:01] Production.INFO: neon service started
[2025-01-09 04:57:01] Production.INFO: neon service started
[2025-01-09 04:57:01] Production.INFO: ==30894== Releasing lock...
[2025-01-09 04:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:57:02] Production.INFO: ==30896== Lock acquired, processing the job...
[2025-01-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:57:02] Production.INFO: ==30898== Lock acquired, processing the job...
[2025-01-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:57:02] Production.INFO: ==30898== Releasing lock...
[2025-01-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:57:02] Production.INFO: ==30896== Releasing lock...
[2025-01-08 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:57:03] Production.INFO: ==30907== Lock acquired, processing the job...
[2025-01-08 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:57:03] Production.INFO: ==30911== Lock acquired, processing the job...
[2025-01-08 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:57:03] Production.INFO: Account Balance Start.
[2025-01-08 23:57:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:57:03] Production.INFO: 117
[2025-01-08 23:57:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:57:03] Production.INFO: Total Charge 0
[2025-01-08 23:57:03] Production.INFO: CreateAllLog End
[2025-01-08 23:57:03] Production.INFO: ==30901== Lock acquired, processing the job...
[2025-01-08 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:57:03] Production.INFO: ==30903== Lock acquired, processing the job...
[2025-01-08 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:57:03] Production.INFO: ==30905== Lock acquired, processing the job...
[2025-01-08 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:57:03] Production.INFO: count ==21
[2025-01-08 23:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:57:03] Production.INFO: ==30909== Lock acquired, processing the job...
[2025-01-08 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:57:03] Production.INFO: count ==21
[2025-01-08 23:57:03] Production.INFO: Account Balance End.
[2025-01-08 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205742') start
[2025-01-08 23:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:57:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:57:04] Production.INFO: ==30907== Releasing lock...
[2025-01-08 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205742') end
[2025-01-08 23:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:57:04] Production.INFO: 1
[2025-01-08 23:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:57:04] Production.INFO: ==30911== Releasing lock...
[2025-01-08 23:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:57:04] Production.ERROR: done
[2025-01-08 23:57:04] Production.INFO: ==30903== Releasing lock...
[2025-01-08 23:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:57:04] Production.ERROR: done
[2025-01-08 23:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:57:05
[end_date_ymd] => 2025-01-08 23:57:05
[RateCDR] => 1
)
[2025-01-08 23:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:57:05' and `end` < '2025-01-08 23:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:57:11] Production.ERROR: CronJobId end10
[2025-01-08 23:57:11] Production.INFO: ==30905== Releasing lock...
[2025-01-08 23:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:57:13] Production.INFO: call_cost start
[2025-01-08 23:57:13] Production.INFO: call_cost end
[2025-01-08 23:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:57:14] Production.INFO: ==30901== Releasing lock...
[2025-01-08 23:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:57:20] Production.INFO: count ==518
[2025-01-08 23:57:20] Production.ERROR: pbx CDR StartTime 2025-01-08 20:57:05 - End Time 2025-01-08 23:57:05
[2025-01-08 23:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205745', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205745', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205745', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205745', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:57:20] Production.INFO: ProcessCDR(1,14205745,1,1,2)
[2025-01-08 23:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205745', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205745', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:57:24] Production.INFO: ==30909== Releasing lock...
[2025-01-08 23:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:57:24] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:58:02] Production.INFO: ==30965== Lock acquired, processing the job...
[2025-01-09 04:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:58:02] Production.INFO: neon service started
[2025-01-09 04:58:02] Production.INFO: neon service started
[2025-01-09 04:58:02] Production.INFO: ==30965== Releasing lock...
[2025-01-09 04:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-08 23:58:02] Production.INFO: ==30967== Lock acquired, processing the job...
[2025-01-08 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:58:03] Production.INFO: ==30967== Releasing lock...
[2025-01-08 23:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:58:03] Production.INFO: ==30969== Lock acquired, processing the job...
[2025-01-09 04:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:58:03] Production.INFO: ==30969== Releasing lock...
[2025-01-09 04:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:58:04] Production.INFO: ==30978== Lock acquired, processing the job...
[2025-01-08 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:58:04] Production.INFO: ==30972== Lock acquired, processing the job...
[2025-01-08 23:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:58:04] Production.INFO: Account Balance Start.
[2025-01-08 23:58:04] Production.INFO: CreateAllLog Start
[2025-01-08 23:58:04] Production.INFO: 117
[2025-01-08 23:58:04] Production.INFO: Date 2025-01-08
[2025-01-08 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-08 23:58:04] Production.INFO: ==30980== Lock acquired, processing the job...
[2025-01-08 23:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:58:04] Production.INFO: Total Charge 0
[2025-01-08 23:58:04] Production.INFO: CreateAllLog End
[2025-01-08 23:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:58:04] Production.INFO: ==30974== Lock acquired, processing the job...
[2025-01-08 23:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:58:04] Production.INFO: ==30976== Lock acquired, processing the job...
[2025-01-08 23:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:58:04] Production.INFO: ==30982== Lock acquired, processing the job...
[2025-01-08 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:58:04] Production.INFO: Account Balance End.
[2025-01-08 23:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:58:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:58:04] Production.INFO: ==30978== Releasing lock...
[2025-01-08 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:58:04] Production.INFO: count ==21
[2025-01-08 23:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:58:04] Production.INFO: count ==21
[2025-01-08 23:58:04] Production.ERROR: done
[2025-01-08 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205748') start
[2025-01-08 23:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205748') end
[2025-01-08 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:58:04] Production.INFO: 1
[2025-01-08 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:58:04] Production.ERROR: done
[2025-01-08 23:58:04] Production.INFO: ==30982== Releasing lock...
[2025-01-08 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:58:04] Production.INFO: ==30974== Releasing lock...
[2025-01-08 23:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:58:05
[end_date_ymd] => 2025-01-08 23:58:05
[RateCDR] => 1
)
[2025-01-08 23:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:58:05' and `end` < '2025-01-08 23:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:58:12] Production.ERROR: CronJobId end10
[2025-01-08 23:58:12] Production.INFO: ==30976== Releasing lock...
[2025-01-08 23:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:58:13] Production.INFO: call_cost start
[2025-01-08 23:58:13] Production.INFO: call_cost end
[2025-01-08 23:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:58:14] Production.INFO: ==30972== Releasing lock...
[2025-01-08 23:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:58:19] Production.INFO: count ==518
[2025-01-08 23:58:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:58:05 - End Time 2025-01-08 23:58:05
[2025-01-08 23:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205750', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205750', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205750', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205750', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:58:19] Production.INFO: ProcessCDR(1,14205750,1,1,2)
[2025-01-08 23:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205750', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205750', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:58:22] Production.INFO: ==30980== Releasing lock...
[2025-01-08 23:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:58:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 04:59:01] Production.INFO: ==31036== Lock acquired, processing the job...
[2025-01-09 04:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 04:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 04:59:01] Production.INFO: neon service started
[2025-01-09 04:59:01] Production.INFO: neon service started
[2025-01-09 04:59:01] Production.INFO: ==31036== Releasing lock...
[2025-01-09 04:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 04:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:59:02] Production.INFO: ==31040== Lock acquired, processing the job...
[2025-01-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:59:02] Production.INFO: ==31040== Releasing lock...
[2025-01-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-08 23:59:02] Production.INFO: ==31038== Lock acquired, processing the job...
[2025-01-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-08 23:59:02] Production.INFO: ==31038== Releasing lock...
[2025-01-08 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-08 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-08 23:59:03] Production.INFO: ==31042== Lock acquired, processing the job...
[2025-01-08 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-08 23:59:03] Production.INFO: ==31044== Lock acquired, processing the job...
[2025-01-08 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-08 23:59:03] Production.INFO: ==31046== Lock acquired, processing the job...
[2025-01-08 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-08 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-08 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250108Live done
[2025-01-08 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108Live done
[2025-01-08 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250108Live)
[2025-01-08 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-08','2025-01-08','120250108Live')
[2025-01-08 23:59:03] Production.INFO: ==31048== Lock acquired, processing the job...
[2025-01-08 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-08 23:59:03] Production.INFO: Account Balance Start.
[2025-01-08 23:59:03] Production.INFO: CreateAllLog Start
[2025-01-08 23:59:03] Production.INFO: 117
[2025-01-08 23:59:03] Production.INFO: Date 2025-01-08
[2025-01-08 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-08 23:59:03] Production.INFO: Total Charge 0
[2025-01-08 23:59:03] Production.INFO: ==31050== Lock acquired, processing the job...
[2025-01-08 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-08 23:59:03] Production.INFO: CreateAllLog End
[2025-01-08 23:59:04] Production.INFO: ==31052== Lock acquired, processing the job...
[2025-01-08 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-08 23:59:04] Production.INFO: ==31044== Releasing lock...
[2025-01-08 23:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-08 23:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-08 23:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-08 23:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:59:04] Production.INFO: Account Balance End.
[2025-01-08 23:59:04] Production.INFO: count ==21
[2025-01-08 23:59:04] Production.ERROR: CronJobId end 12
[2025-01-08 23:59:04] Production.INFO: ==31048== Releasing lock...
[2025-01-08 23:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-08 23:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-08 23:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-08 23:59:04] Production.INFO: count ==21
[2025-01-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205754') start
[2025-01-08 23:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205754') end
[2025-01-08 23:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-08 23:59:04] Production.INFO: 1
[2025-01-08 23:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-08 23:59:04] Production.ERROR: done
[2025-01-08 23:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-08 23:59:04] Production.INFO: ==31052== Releasing lock...
[2025-01-08 23:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-08 23:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-08 23:59:04] Production.ERROR: done
[2025-01-08 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 20:59:05
[end_date_ymd] => 2025-01-08 23:59:05
[RateCDR] => 1
)
[2025-01-08 23:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 20:59:05' and `end` < '2025-01-08 23:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-08 23:59:13] Production.ERROR: CronJobId end10
[2025-01-08 23:59:13] Production.INFO: ==31046== Releasing lock...
[2025-01-08 23:59:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-08 23:59:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-08 23:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-08 23:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-08 23:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-08 23:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-08 23:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-08 23:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-08 23:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-08 23:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-08 23:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-08 23:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-08 23:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-08 23:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-08 23:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-08 23:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-08 23:59:14] Production.INFO: call_cost start
[2025-01-08 23:59:14] Production.INFO: call_cost end
[2025-01-08 23:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-08 23:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-08 23:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-08 23:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-08 23:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-08 23:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-08 23:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-08 23:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-08 23:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-08 23:59:15] Production.INFO: ==31042== Releasing lock...
[2025-01-08 23:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-08 23:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-08 23:59:19] Production.INFO: count ==518
[2025-01-08 23:59:19] Production.ERROR: pbx CDR StartTime 2025-01-08 20:59:05 - End Time 2025-01-08 23:59:05
[2025-01-08 23:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205755', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205755', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205755', 'tblTempVendorCDR_20' ) start
[2025-01-08 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205755', 'tblTempVendorCDR_20' ) end
[2025-01-08 23:59:19] Production.INFO: ProcessCDR(1,14205755,1,1,2)
[2025-01-08 23:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-08 23:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-08 23:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205755', 'tblTempUsageDetail_20' ) start
[2025-01-08 23:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205755', 'tblTempUsageDetail_20' ) end
[2025-01-08 23:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-08 23:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-08 23:59:22] Production.INFO: ==31050== Releasing lock...
[2025-01-08 23:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-08 23:59:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 05:00:02] Production.INFO: ==31106== Lock acquired, processing the job...
[2025-01-09 05:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:00:02] Production.INFO: neon service started
[2025-01-09 05:00:02] Production.INFO: neon service started
[2025-01-09 05:00:02] Production.INFO: ==31106== Releasing lock...
[2025-01-09 05:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:00:02] Production.INFO: ==31108== Lock acquired, processing the job...
[2025-01-09 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:00:03] Production.INFO: ==31110== Lock acquired, processing the job...
[2025-01-09 05:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:00:03] Production.INFO: ==31110== Releasing lock...
[2025-01-09 05:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:00:03] Production.INFO: ==31108== Releasing lock...
[2025-01-09 00:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:00:03] Production.INFO: ==31113== Lock acquired, processing the job...
[2025-01-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 00:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 00:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 00:00:03] Production.INFO: ==31113== Releasing lock...
[2025-01-09 00:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 00:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:00:03] Production.INFO: ==31115== Lock acquired, processing the job...
[2025-01-09 00:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:00:04] Production.INFO: ==31121== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:00:04] Production.INFO: ==31127== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:00:04] Production.INFO: ==31129== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:00:04] Production.INFO: ==31117== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:00:04] Production.INFO: ==31119== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-01-09 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:00:04] Production.INFO: ==31125== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:00:04] Production.INFO: ==31123== Lock acquired, processing the job...
[2025-01-09 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:00:04] Production.INFO: count ==21
[2025-01-09 00:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:00:04] Production.INFO: count ==21
[2025-01-09 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:00:04] Production.INFO: Account Balance Start.
[2025-01-09 00:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:00:04] Production.INFO: 117
[2025-01-09 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205757') start
[2025-01-09 00:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-09 00:00:05] Production.ERROR: done
[2025-01-09 00:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14205757') end
[2025-01-09 00:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:00:05] Production.INFO: 1
[2025-01-09 00:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:00:05] Production.INFO: ==31117== Releasing lock...
[2025-01-09 00:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:00:05] Production.INFO: Date 2025-01-09
[2025-01-09 00:00:05] Production.INFO: Reseller ==> 0
[2025-01-09 00:00:05] Production.INFO: Total Charge 0
[2025-01-09 00:00:05] Production.INFO: ==31129== Releasing lock...
[2025-01-09 00:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:00:05] Production.INFO: CreateAllLog End
[2025-01-09 00:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 00:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205760', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 00:00:05] Production.ERROR: done
[2025-01-09 00:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:00:05] Production.INFO: Account Balance End.
[2025-01-09 00:00:05] Production.ERROR: done
[2025-01-09 00:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 00:00:05] Production.INFO: ==31123== Releasing lock...
[2025-01-09 00:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:00:06
[end_date_ymd] => 2025-01-09 00:00:06
[RateCDR] => 1
)
[2025-01-09 00:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:00:06' and `end` < '2025-01-09 00:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205760', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 00:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 00:00:10] Production.INFO: ProcessCDR(1,14205760,1,1,2)
[2025-01-09 00:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205760,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205760,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:00:10] Production.INFO: ==31127== Releasing lock...
[2025-01-09 00:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 00:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:00:13] Production.ERROR: tmp_tblUsageDetailsReport_120250105 done
[2025-01-09 00:00:13] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250105 done
[2025-01-09 00:00:13] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250105
[2025-01-09 00:00:14] Production.INFO: call prc_generateSummary(1,'2025-01-05','2025-01-05','120250105')
[2025-01-09 00:00:18] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:00:18] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:00:18] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:00:18] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:00:18] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:00:18] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:00:18] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:00:18] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:00:18] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:00:18] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:00:18] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:00:18] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:00:18] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:00:18] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:00:18] Production.INFO: call prc_generateVendorSummary(1,'2025-01-05','2025-01-05','120250105')
[2025-01-09 00:00:18] Production.ERROR: CronJobId end10
[2025-01-09 00:00:18] Production.INFO: ==31121== Releasing lock...
[2025-01-09 00:00:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:00:18] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:00:19] Production.INFO: call_cost start
[2025-01-09 00:00:19] Production.INFO: call_cost end
[2025-01-09 00:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:00:20] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:00:20] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:00:20] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:00:20] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:00:20] Production.INFO: ==31115== Releasing lock...
[2025-01-09 00:00:20] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:00:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:00:20] Production.INFO: count ==518
[2025-01-09 00:00:21] Production.ERROR: pbx CDR StartTime 2025-01-08 21:00:06 - End Time 2025-01-09 00:00:06
[2025-01-09 00:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205761', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205761', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205761', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205761', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:00:21] Production.INFO: ProcessCDR(1,14205761,1,1,2)
[2025-01-09 00:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:00:22] Production.ERROR: tmp_tblUsageDetailsReport_120250106 done
[2025-01-09 00:00:22] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250106 done
[2025-01-09 00:00:22] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250106
[2025-01-09 00:00:23] Production.INFO: call prc_generateSummary(1,'2025-01-06','2025-01-06','120250106')
[2025-01-09 00:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205761', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205761', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:00:26] Production.INFO: ==31125== Releasing lock...
[2025-01-09 00:00:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:00:26] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 00:00:27] Production.INFO: call prc_generateVendorSummary(1,'2025-01-06','2025-01-06','120250106')
[2025-01-09 00:00:30] Production.ERROR: tmp_tblUsageDetailsReport_120250107 done
[2025-01-09 00:00:30] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250107 done
[2025-01-09 00:00:30] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250107
[2025-01-09 00:00:30] Production.INFO: call prc_generateSummary(1,'2025-01-07','2025-01-07','120250107')
[2025-01-09 00:00:34] Production.INFO: call prc_generateVendorSummary(1,'2025-01-07','2025-01-07','120250107')
[2025-01-09 00:00:37] Production.ERROR: tmp_tblUsageDetailsReport_120250108 done
[2025-01-09 00:00:37] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108 done
[2025-01-09 00:00:37] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250108
[2025-01-09 00:00:37] Production.INFO: call prc_generateSummary(1,'2025-01-08','2025-01-08','120250108')
[2025-01-09 00:00:41] Production.INFO: call prc_generateVendorSummary(1,'2025-01-08','2025-01-08','120250108')
[2025-01-09 00:00:44] Production.ERROR: CronJobId end9
[2025-01-09 00:00:44] Production.INFO: ==31119== Releasing lock...
[2025-01-09 00:00:44] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-01-09 00:00:44] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:01:01] Production.INFO: ==31184== Lock acquired, processing the job...
[2025-01-09 05:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:01:01] Production.INFO: neon service started
[2025-01-09 05:01:01] Production.INFO: neon service started
[2025-01-09 05:01:01] Production.INFO: ==31184== Releasing lock...
[2025-01-09 05:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:01:02] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-01-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:01:02] Production.INFO: ==31199== Releasing lock...
[2025-01-09 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:01:02] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-01-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:01:02] Production.INFO: ==31201== Releasing lock...
[2025-01-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:01:03] Production.INFO: ==31203== Lock acquired, processing the job...
[2025-01-09 00:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:01:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-01-09 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:01:03] Production.INFO: ==31209== Lock acquired, processing the job...
[2025-01-09 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:01:03] Production.INFO: Account Balance Start.
[2025-01-09 00:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:01:03] Production.INFO: 117
[2025-01-09 00:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:01:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-01-09 00:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:01:03] Production.INFO: ==31205== Releasing lock...
[2025-01-09 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:01:03] Production.INFO: Total Charge 0
[2025-01-09 00:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:01:03] Production.INFO: CreateAllLog End
[2025-01-09 00:01:03] Production.INFO: ==31211== Lock acquired, processing the job...
[2025-01-09 00:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:01:03] Production.INFO: ==31214== Lock acquired, processing the job...
[2025-01-09 00:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:01:03] Production.INFO: Account Balance End.
[2025-01-09 00:01:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:01:03] Production.INFO: ==31209== Releasing lock...
[2025-01-09 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:01:03] Production.INFO: count ==21
[2025-01-09 00:01:03] Production.ERROR: done
[2025-01-09 00:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:01:03] Production.INFO: count ==21
[2025-01-09 00:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205765') start
[2025-01-09 00:01:04] Production.ERROR: done
[2025-01-09 00:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205765') end
[2025-01-09 00:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:01:04] Production.INFO: 1
[2025-01-09 00:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:01:04] Production.INFO: ==31214== Releasing lock...
[2025-01-09 00:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:01:05
[end_date_ymd] => 2025-01-09 00:01:05
[RateCDR] => 1
)
[2025-01-09 00:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:01:05' and `end` < '2025-01-09 00:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:01:11] Production.ERROR: CronJobId end10
[2025-01-09 00:01:11] Production.INFO: ==31207== Releasing lock...
[2025-01-09 00:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:01:13] Production.INFO: call_cost start
[2025-01-09 00:01:13] Production.INFO: call_cost end
[2025-01-09 00:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:01:14] Production.INFO: ==31203== Releasing lock...
[2025-01-09 00:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:01:18] Production.INFO: count ==524
[2025-01-09 00:01:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:01:05 - End Time 2025-01-09 00:01:05
[2025-01-09 00:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205766', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205766', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205766', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205766', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:01:18] Production.INFO: ProcessCDR(1,14205766,1,1,2)
[2025-01-09 00:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205766', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205766', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:01:21] Production.INFO: ==31211== Releasing lock...
[2025-01-09 00:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:01:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 05:02:02] Production.INFO: ==31306== Lock acquired, processing the job...
[2025-01-09 05:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:02:02] Production.INFO: neon service started
[2025-01-09 05:02:02] Production.INFO: neon service started
[2025-01-09 05:02:02] Production.INFO: ==31306== Releasing lock...
[2025-01-09 05:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:02:02] Production.INFO: ==31310== Lock acquired, processing the job...
[2025-01-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:02:02] Production.INFO: ==31310== Releasing lock...
[2025-01-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:02:02] Production.INFO: ==31308== Lock acquired, processing the job...
[2025-01-09 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:02:03] Production.INFO: ==31308== Releasing lock...
[2025-01-09 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:02:03] Production.INFO: ==31314== Lock acquired, processing the job...
[2025-01-09 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:02:03] Production.INFO: ==31316== Lock acquired, processing the job...
[2025-01-09 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:02:03] Production.INFO: ==31323== Lock acquired, processing the job...
[2025-01-09 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:02:04] Production.INFO: count ==21
[2025-01-09 00:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:02:04] Production.INFO: count ==21
[2025-01-09 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205767') start
[2025-01-09 00:02:04] Production.INFO: ==31312== Lock acquired, processing the job...
[2025-01-09 00:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205767') end
[2025-01-09 00:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:02:04] Production.INFO: 1
[2025-01-09 00:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:02:04] Production.INFO: ==31318== Lock acquired, processing the job...
[2025-01-09 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:02:04] Production.INFO: ==31323== Releasing lock...
[2025-01-09 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:02:04] Production.INFO: ==31320== Lock acquired, processing the job...
[2025-01-09 00:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:02:04] Production.INFO: ==31314== Releasing lock...
[2025-01-09 00:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:02:04] Production.INFO: Account Balance Start.
[2025-01-09 00:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:02:04] Production.INFO: 117
[2025-01-09 00:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:02:04] Production.ERROR: done
[2025-01-09 00:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:02:04] Production.INFO: Total Charge 0
[2025-01-09 00:02:04] Production.INFO: CreateAllLog End
[2025-01-09 00:02:04] Production.ERROR: done
[2025-01-09 00:02:04] Production.INFO: Account Balance End.
[2025-01-09 00:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:02:04] Production.INFO: ==31318== Releasing lock...
[2025-01-09 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:02:05
[end_date_ymd] => 2025-01-09 00:02:05
[RateCDR] => 1
)
[2025-01-09 00:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:02:05' and `end` < '2025-01-09 00:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:02:11] Production.ERROR: CronJobId end10
[2025-01-09 00:02:11] Production.INFO: ==31316== Releasing lock...
[2025-01-09 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:02:14] Production.INFO: call_cost start
[2025-01-09 00:02:14] Production.INFO: call_cost end
[2025-01-09 00:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:02:15] Production.INFO: ==31312== Releasing lock...
[2025-01-09 00:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:02:27] Production.INFO: count ==90
[2025-01-09 00:02:27] Production.ERROR: pbx CDR StartTime 2025-01-08 21:02:05 - End Time 2025-01-09 00:02:05
[2025-01-09 00:02:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205771', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205771', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205771', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:02:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205771', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:02:27] Production.INFO: ProcessCDR(1,14205771,1,1,2)
[2025-01-09 00:02:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:02:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:02:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:02:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205771', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:02:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205771', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:02:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:02:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:02:30] Production.INFO: ==31320== Releasing lock...
[2025-01-09 00:02:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:02:30] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:03:01] Production.INFO: ==31377== Lock acquired, processing the job...
[2025-01-09 05:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:03:01] Production.INFO: neon service started
[2025-01-09 05:03:01] Production.INFO: neon service started
[2025-01-09 05:03:01] Production.INFO: ==31377== Releasing lock...
[2025-01-09 05:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:03:02] Production.INFO: ==31379== Lock acquired, processing the job...
[2025-01-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:03:02] Production.INFO: ==31379== Releasing lock...
[2025-01-09 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:03:02] Production.INFO: ==31381== Lock acquired, processing the job...
[2025-01-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:03:02] Production.INFO: ==31381== Releasing lock...
[2025-01-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:03:03] Production.INFO: ==31383== Lock acquired, processing the job...
[2025-01-09 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:03:03] Production.INFO: ==31385== Lock acquired, processing the job...
[2025-01-09 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:03:03] Production.INFO: ==31388== Lock acquired, processing the job...
[2025-01-09 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:03:03] Production.INFO: ==31390== Lock acquired, processing the job...
[2025-01-09 00:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:03:03] Production.INFO: ==31394== Lock acquired, processing the job...
[2025-01-09 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:03:03] Production.INFO: ==31392== Lock acquired, processing the job...
[2025-01-09 00:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:03:03] Production.INFO: Account Balance Start.
[2025-01-09 00:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:03:03] Production.INFO: 117
[2025-01-09 00:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:03:03] Production.INFO: Total Charge 0
[2025-01-09 00:03:03] Production.INFO: CreateAllLog End
[2025-01-09 00:03:03] Production.INFO: count ==21
[2025-01-09 00:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:03:03] Production.INFO: count ==21
[2025-01-09 00:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205775') start
[2025-01-09 00:03:04] Production.INFO: ==31385== Releasing lock...
[2025-01-09 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:03:04] Production.ERROR: done
[2025-01-09 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205775') end
[2025-01-09 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:03:04] Production.INFO: 1
[2025-01-09 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:03:04] Production.INFO: Account Balance End.
[2025-01-09 00:03:04] Production.INFO: ==31394== Releasing lock...
[2025-01-09 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:03:04] Production.INFO: ==31390== Releasing lock...
[2025-01-09 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:03:04] Production.ERROR: done
[2025-01-09 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:03:05
[end_date_ymd] => 2025-01-09 00:03:05
[RateCDR] => 1
)
[2025-01-09 00:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:03:05' and `end` < '2025-01-09 00:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:03:12] Production.ERROR: CronJobId end10
[2025-01-09 00:03:12] Production.INFO: ==31388== Releasing lock...
[2025-01-09 00:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:03:14] Production.INFO: call_cost start
[2025-01-09 00:03:14] Production.INFO: call_cost end
[2025-01-09 00:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:03:15] Production.INFO: ==31383== Releasing lock...
[2025-01-09 00:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:03:24] Production.INFO: count ==90
[2025-01-09 00:03:24] Production.ERROR: pbx CDR StartTime 2025-01-08 21:03:05 - End Time 2025-01-09 00:03:05
[2025-01-09 00:03:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205776', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205776', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205776', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205776', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:03:24] Production.INFO: ProcessCDR(1,14205776,1,1,2)
[2025-01-09 00:03:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205776', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205776', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:03:27] Production.INFO: ==31392== Releasing lock...
[2025-01-09 00:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:03:27] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:04:02] Production.INFO: ==31453== Lock acquired, processing the job...
[2025-01-09 05:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:04:02] Production.INFO: neon service started
[2025-01-09 05:04:02] Production.INFO: neon service started
[2025-01-09 05:04:02] Production.INFO: ==31453== Releasing lock...
[2025-01-09 05:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:04:02] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-01-09 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:04:02] Production.INFO: ==31457== Lock acquired, processing the job...
[2025-01-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:04:02] Production.INFO: ==31457== Releasing lock...
[2025-01-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:04:03] Production.INFO: ==31455== Releasing lock...
[2025-01-09 00:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:04:03] Production.INFO: ==31463== Lock acquired, processing the job...
[2025-01-09 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:04:03] Production.INFO: ==31461== Lock acquired, processing the job...
[2025-01-09 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:04:04] Production.INFO: ==31459== Lock acquired, processing the job...
[2025-01-09 00:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:04:04] Production.INFO: ==31461== Releasing lock...
[2025-01-09 00:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:04:04] Production.INFO: ==31465== Lock acquired, processing the job...
[2025-01-09 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:04:04] Production.INFO: ==31470== Lock acquired, processing the job...
[2025-01-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:04:04] Production.INFO: ==31468== Lock acquired, processing the job...
[2025-01-09 00:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:04:04] Production.INFO: Account Balance Start.
[2025-01-09 00:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:04:04] Production.INFO: 117
[2025-01-09 00:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:04:04] Production.INFO: Total Charge 0
[2025-01-09 00:04:04] Production.INFO: count ==21
[2025-01-09 00:04:04] Production.INFO: CreateAllLog End
[2025-01-09 00:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:04:04] Production.INFO: count ==21
[2025-01-09 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205780') start
[2025-01-09 00:04:04] Production.ERROR: done
[2025-01-09 00:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205780') end
[2025-01-09 00:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:04:04] Production.INFO: 1
[2025-01-09 00:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:04:04] Production.INFO: ==31470== Releasing lock...
[2025-01-09 00:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:04:04] Production.ERROR: done
[2025-01-09 00:04:05] Production.INFO: Account Balance End.
[2025-01-09 00:04:05] Production.ERROR: CronJobId end 12
[2025-01-09 00:04:05] Production.INFO: ==31465== Releasing lock...
[2025-01-09 00:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:04:05
[end_date_ymd] => 2025-01-09 00:04:05
[RateCDR] => 1
)
[2025-01-09 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-01-08 21:04:05' and `end` < '2025-01-09 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-01-09 00:04:11] Production.ERROR: CronJobId end10
[2025-01-09 00:04:11] Production.INFO: ==31463== Releasing lock...
[2025-01-09 00:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:04:14] Production.INFO: call_cost start
[2025-01-09 00:04:14] Production.INFO: call_cost end
[2025-01-09 00:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:04:15] Production.INFO: ==31459== Releasing lock...
[2025-01-09 00:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:04:23] Production.INFO: count ==90
[2025-01-09 00:04:23] Production.ERROR: pbx CDR StartTime 2025-01-08 21:04:05 - End Time 2025-01-09 00:04:05
[2025-01-09 00:04:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205781', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205781', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205781', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205781', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:04:23] Production.INFO: ProcessCDR(1,14205781,1,1,2)
[2025-01-09 00:04:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205781', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205781', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:04:26] Production.INFO: ==31468== Releasing lock...
[2025-01-09 00:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:04:26] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:05:01] Production.INFO: ==31523== Lock acquired, processing the job...
[2025-01-09 05:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:05:01] Production.INFO: neon service started
[2025-01-09 05:05:01] Production.INFO: neon service started
[2025-01-09 05:05:01] Production.INFO: ==31523== Releasing lock...
[2025-01-09 05:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:05:02] Production.INFO: ==31525== Lock acquired, processing the job...
[2025-01-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:05:02] Production.INFO: ==31527== Lock acquired, processing the job...
[2025-01-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:05:02] Production.INFO: ==31527== Releasing lock...
[2025-01-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:05:02] Production.INFO: ==31525== Releasing lock...
[2025-01-09 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:05:03] Production.INFO: ==31530== Lock acquired, processing the job...
[2025-01-09 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:05:03] Production.INFO: ==31536== Lock acquired, processing the job...
[2025-01-09 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:05:03] Production.INFO: ==31534== Lock acquired, processing the job...
[2025-01-09 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:05:03] Production.INFO: Account Balance Start.
[2025-01-09 00:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:05:03] Production.INFO: ==31532== Lock acquired, processing the job...
[2025-01-09 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:05:03] Production.INFO: 117
[2025-01-09 00:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:05:03] Production.INFO: Total Charge 0
[2025-01-09 00:05:03] Production.INFO: ==31538== Lock acquired, processing the job...
[2025-01-09 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:05:03] Production.INFO: CreateAllLog End
[2025-01-09 00:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:05:04] Production.INFO: ==31540== Lock acquired, processing the job...
[2025-01-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:05:04] Production.INFO: Account Balance End.
[2025-01-09 00:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:05:04] Production.INFO: ==31536== Releasing lock...
[2025-01-09 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:05:04] Production.INFO: ==31532== Releasing lock...
[2025-01-09 00:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:05:04] Production.INFO: count ==21
[2025-01-09 00:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:05:04] Production.INFO: count ==21
[2025-01-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205785') start
[2025-01-09 00:05:04] Production.ERROR: done
[2025-01-09 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205785') end
[2025-01-09 00:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:05:04] Production.INFO: 1
[2025-01-09 00:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:05:04] Production.ERROR: done
[2025-01-09 00:05:04] Production.INFO: ==31540== Releasing lock...
[2025-01-09 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:05:05
[end_date_ymd] => 2025-01-09 00:05:05
[RateCDR] => 1
)
[2025-01-09 00:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:05:05' and `end` < '2025-01-09 00:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:05:11] Production.ERROR: CronJobId end10
[2025-01-09 00:05:11] Production.INFO: ==31534== Releasing lock...
[2025-01-09 00:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:05:13] Production.INFO: call_cost start
[2025-01-09 00:05:13] Production.INFO: call_cost end
[2025-01-09 00:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:05:14] Production.INFO: ==31530== Releasing lock...
[2025-01-09 00:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:05:26] Production.INFO: count ==88
[2025-01-09 00:05:26] Production.ERROR: pbx CDR StartTime 2025-01-08 21:05:05 - End Time 2025-01-09 00:05:05
[2025-01-09 00:05:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205786', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205786', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205786', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205786', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:05:26] Production.INFO: ProcessCDR(1,14205786,1,1,2)
[2025-01-09 00:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:05:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:05:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:05:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205786', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:05:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205786', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:05:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:05:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:05:29] Production.INFO: ==31538== Releasing lock...
[2025-01-09 00:05:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:05:29] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:06:02] Production.INFO: ==31594== Lock acquired, processing the job...
[2025-01-09 05:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:06:02] Production.INFO: neon service started
[2025-01-09 05:06:02] Production.INFO: neon service started
[2025-01-09 05:06:02] Production.INFO: ==31594== Releasing lock...
[2025-01-09 05:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:06:02] Production.INFO: ==31598== Lock acquired, processing the job...
[2025-01-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:06:02] Production.INFO: ==31598== Releasing lock...
[2025-01-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:06:02] Production.INFO: ==31596== Lock acquired, processing the job...
[2025-01-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:06:02] Production.INFO: ==31596== Releasing lock...
[2025-01-09 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:06:03] Production.INFO: ==31602== Lock acquired, processing the job...
[2025-01-09 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:06:03] Production.INFO: ==31604== Lock acquired, processing the job...
[2025-01-09 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:06:03] Production.INFO: ==31608== Lock acquired, processing the job...
[2025-01-09 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:06:03] Production.INFO: ==31600== Lock acquired, processing the job...
[2025-01-09 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:06:04] Production.INFO: ==31602== Releasing lock...
[2025-01-09 00:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:06:04] Production.INFO: ==31606== Lock acquired, processing the job...
[2025-01-09 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:06:04] Production.INFO: ==31610== Lock acquired, processing the job...
[2025-01-09 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:06:04] Production.ERROR: done
[2025-01-09 00:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:06:04] Production.INFO: Account Balance Start.
[2025-01-09 00:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:06:04] Production.INFO: 117
[2025-01-09 00:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 00:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:06:04] Production.INFO: count ==21
[2025-01-09 00:06:04] Production.INFO: Total Charge 0
[2025-01-09 00:06:04] Production.INFO: CreateAllLog End
[2025-01-09 00:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:06:04] Production.INFO: count ==21
[2025-01-09 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205789') start
[2025-01-09 00:06:04] Production.ERROR: done
[2025-01-09 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205789') end
[2025-01-09 00:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:06:04] Production.INFO: 1
[2025-01-09 00:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:06:04] Production.INFO: Account Balance End.
[2025-01-09 00:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:06:04] Production.INFO: ==31606== Releasing lock...
[2025-01-09 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:06:04] Production.INFO: ==31610== Releasing lock...
[2025-01-09 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:06:05
[end_date_ymd] => 2025-01-09 00:06:05
[RateCDR] => 1
)
[2025-01-09 00:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:06:05' and `end` < '2025-01-09 00:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:06:10] Production.ERROR: CronJobId end10
[2025-01-09 00:06:10] Production.INFO: ==31604== Releasing lock...
[2025-01-09 00:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:06:13] Production.INFO: call_cost start
[2025-01-09 00:06:13] Production.INFO: call_cost end
[2025-01-09 00:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:06:14] Production.INFO: ==31600== Releasing lock...
[2025-01-09 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:06:18] Production.INFO: count ==85
[2025-01-09 00:06:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:06:05 - End Time 2025-01-09 00:06:05
[2025-01-09 00:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205791', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205791', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205791', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205791', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:06:18] Production.INFO: ProcessCDR(1,14205791,1,1,2)
[2025-01-09 00:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205791', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205791', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:06:23] Production.INFO: ==31608== Releasing lock...
[2025-01-09 00:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:06:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:07:01] Production.INFO: ==31665== Lock acquired, processing the job...
[2025-01-09 05:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:07:01] Production.INFO: neon service started
[2025-01-09 05:07:01] Production.INFO: neon service started
[2025-01-09 05:07:01] Production.INFO: ==31665== Releasing lock...
[2025-01-09 05:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:07:01] Production.INFO: ==31669== Lock acquired, processing the job...
[2025-01-09 05:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:07:01] Production.INFO: ==31669== Releasing lock...
[2025-01-09 05:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:07:02] Production.INFO: ==31667== Lock acquired, processing the job...
[2025-01-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:07:02] Production.INFO: ==31667== Releasing lock...
[2025-01-09 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:07:03] Production.INFO: ==31671== Lock acquired, processing the job...
[2025-01-09 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:07:03] Production.INFO: ==31682== Lock acquired, processing the job...
[2025-01-09 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:07:03] Production.INFO: ==31673== Lock acquired, processing the job...
[2025-01-09 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:07:03] Production.INFO: count ==21
[2025-01-09 00:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:07:03] Production.INFO: count ==21
[2025-01-09 00:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205793') start
[2025-01-09 00:07:03] Production.INFO: ==31680== Lock acquired, processing the job...
[2025-01-09 00:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:07:03] Production.INFO: ==31678== Lock acquired, processing the job...
[2025-01-09 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:07:03] Production.INFO: ==31676== Lock acquired, processing the job...
[2025-01-09 00:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205793') end
[2025-01-09 00:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:07:03] Production.INFO: 1
[2025-01-09 00:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:07:03] Production.INFO: ==31682== Releasing lock...
[2025-01-09 00:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:07:03] Production.INFO: ==31673== Releasing lock...
[2025-01-09 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:07:03] Production.INFO: Account Balance Start.
[2025-01-09 00:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:07:03] Production.INFO: 117
[2025-01-09 00:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:07:03] Production.ERROR: done
[2025-01-09 00:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:07:03] Production.INFO: Total Charge 0
[2025-01-09 00:07:03] Production.INFO: CreateAllLog End
[2025-01-09 00:07:04] Production.ERROR: done
[2025-01-09 00:07:04] Production.INFO: Account Balance End.
[2025-01-09 00:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:07:04] Production.INFO: ==31678== Releasing lock...
[2025-01-09 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:07:05
[end_date_ymd] => 2025-01-09 00:07:05
[RateCDR] => 1
)
[2025-01-09 00:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:07:05' and `end` < '2025-01-09 00:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:07:11] Production.ERROR: CronJobId end10
[2025-01-09 00:07:11] Production.INFO: ==31676== Releasing lock...
[2025-01-09 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:07:13] Production.INFO: call_cost start
[2025-01-09 00:07:13] Production.INFO: call_cost end
[2025-01-09 00:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:07:14] Production.INFO: ==31671== Releasing lock...
[2025-01-09 00:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:07:17] Production.INFO: count ==81
[2025-01-09 00:07:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:07:05 - End Time 2025-01-09 00:07:05
[2025-01-09 00:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205796', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205796', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205796', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205796', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:07:18] Production.INFO: ProcessCDR(1,14205796,1,1,2)
[2025-01-09 00:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205796', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205796', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:07:21] Production.INFO: ==31680== Releasing lock...
[2025-01-09 00:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:07:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 05:08:02] Production.INFO: ==31735== Lock acquired, processing the job...
[2025-01-09 05:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:08:02] Production.INFO: neon service started
[2025-01-09 05:08:02] Production.INFO: neon service started
[2025-01-09 05:08:02] Production.INFO: ==31735== Releasing lock...
[2025-01-09 05:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:08:02] Production.INFO: ==31737== Lock acquired, processing the job...
[2025-01-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:08:02] Production.INFO: ==31737== Releasing lock...
[2025-01-09 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:08:02] Production.INFO: ==31739== Lock acquired, processing the job...
[2025-01-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:08:02] Production.INFO: ==31739== Releasing lock...
[2025-01-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:08:03] Production.INFO: ==31746== Lock acquired, processing the job...
[2025-01-09 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:08:03] Production.INFO: ==31750== Lock acquired, processing the job...
[2025-01-09 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:08:03] Production.INFO: ==31742== Lock acquired, processing the job...
[2025-01-09 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:08:03] Production.INFO: ==31744== Lock acquired, processing the job...
[2025-01-09 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:08:03] Production.INFO: ==31748== Lock acquired, processing the job...
[2025-01-09 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:08:03] Production.INFO: ==31752== Lock acquired, processing the job...
[2025-01-09 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:08:04] Production.INFO: Account Balance Start.
[2025-01-09 00:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:08:04] Production.INFO: 117
[2025-01-09 00:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 00:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:08:04] Production.INFO: count ==21
[2025-01-09 00:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:08:04] Production.ERROR: done
[2025-01-09 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-01-09 00:08:04] Production.INFO: count ==21
[2025-01-09 00:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205800') start
[2025-01-09 00:08:04] Production.INFO: Total Charge 0
[2025-01-09 00:08:04] Production.INFO: CreateAllLog End
[2025-01-09 00:08:04] Production.INFO: ==31744== Releasing lock...
[2025-01-09 00:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:08:04] Production.ERROR: done
[2025-01-09 00:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205800') end
[2025-01-09 00:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:08:04] Production.INFO: 1
[2025-01-09 00:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:08:04] Production.INFO: Account Balance End.
[2025-01-09 00:08:04] Production.INFO: ==31752== Releasing lock...
[2025-01-09 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:08:04] Production.INFO: ==31748== Releasing lock...
[2025-01-09 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:08:05
[end_date_ymd] => 2025-01-09 00:08:05
[RateCDR] => 1
)
[2025-01-09 00:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:08:05' and `end` < '2025-01-09 00:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:08:11] Production.ERROR: CronJobId end10
[2025-01-09 00:08:11] Production.INFO: ==31746== Releasing lock...
[2025-01-09 00:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:08:13] Production.INFO: call_cost start
[2025-01-09 00:08:13] Production.INFO: call_cost end
[2025-01-09 00:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:08:14] Production.INFO: ==31742== Releasing lock...
[2025-01-09 00:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:08:18] Production.INFO: count ==80
[2025-01-09 00:08:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:08:05 - End Time 2025-01-09 00:08:05
[2025-01-09 00:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205801', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205801', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205801', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205801', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:08:18] Production.INFO: ProcessCDR(1,14205801,1,1,2)
[2025-01-09 00:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205801', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205801', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:08:21] Production.INFO: ==31750== Releasing lock...
[2025-01-09 00:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:08:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:09:01] Production.INFO: ==31808== Lock acquired, processing the job...
[2025-01-09 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:09:01] Production.INFO: neon service started
[2025-01-09 05:09:01] Production.INFO: neon service started
[2025-01-09 05:09:01] Production.INFO: ==31808== Releasing lock...
[2025-01-09 05:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:09:01] Production.INFO: ==31812== Lock acquired, processing the job...
[2025-01-09 05:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:09:01] Production.INFO: ==31812== Releasing lock...
[2025-01-09 05:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:09:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:09:01] Production.INFO: ==31810== Lock acquired, processing the job...
[2025-01-09 00:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:09:02] Production.INFO: ==31810== Releasing lock...
[2025-01-09 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:09:02] Production.INFO: ==31814== Lock acquired, processing the job...
[2025-01-09 00:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:09:02] Production.INFO: ==31816== Lock acquired, processing the job...
[2025-01-09 00:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:09:03] Production.INFO: ==31821== Lock acquired, processing the job...
[2025-01-09 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:09:03] Production.INFO: ==31818== Lock acquired, processing the job...
[2025-01-09 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:09:03] Production.INFO: ==31816== Releasing lock...
[2025-01-09 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:09:03] Production.INFO: Account Balance Start.
[2025-01-09 00:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:09:03] Production.INFO: 117
[2025-01-09 00:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:09:03] Production.INFO: Total Charge 0
[2025-01-09 00:09:03] Production.INFO: ==31823== Lock acquired, processing the job...
[2025-01-09 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:09:03] Production.INFO: CreateAllLog End
[2025-01-09 00:09:03] Production.INFO: ==31825== Lock acquired, processing the job...
[2025-01-09 00:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:09:03] Production.INFO: Account Balance End.
[2025-01-09 00:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:09:03] Production.INFO: ==31821== Releasing lock...
[2025-01-09 00:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:09:03] Production.INFO: count ==21
[2025-01-09 00:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:09:03] Production.INFO: count ==21
[2025-01-09 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205805') start
[2025-01-09 00:09:03] Production.ERROR: done
[2025-01-09 00:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205805') end
[2025-01-09 00:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:09:03] Production.INFO: 1
[2025-01-09 00:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:09:04] Production.INFO: ==31825== Releasing lock...
[2025-01-09 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:09:04] Production.ERROR: done
[2025-01-09 00:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:09:04
[end_date_ymd] => 2025-01-09 00:09:04
[RateCDR] => 1
)
[2025-01-09 00:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:09:04' and `end` < '2025-01-09 00:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:09:10] Production.ERROR: CronJobId end10
[2025-01-09 00:09:10] Production.INFO: ==31818== Releasing lock...
[2025-01-09 00:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:09:12] Production.INFO: call_cost start
[2025-01-09 00:09:12] Production.INFO: call_cost end
[2025-01-09 00:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:09:13] Production.INFO: ==31814== Releasing lock...
[2025-01-09 00:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:09:18] Production.INFO: count ==80
[2025-01-09 00:09:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:09:04 - End Time 2025-01-09 00:09:04
[2025-01-09 00:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205806', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205806', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205806', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205806', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:09:18] Production.INFO: ProcessCDR(1,14205806,1,1,2)
[2025-01-09 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205806', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205806', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:09:21] Production.INFO: ==31823== Releasing lock...
[2025-01-09 00:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:09:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:10:01] Production.INFO: ==31882== Lock acquired, processing the job...
[2025-01-09 05:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:10:01] Production.INFO: neon service started
[2025-01-09 05:10:01] Production.INFO: neon service started
[2025-01-09 05:10:01] Production.INFO: ==31882== Releasing lock...
[2025-01-09 05:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:10:02] Production.INFO: ==31886== Lock acquired, processing the job...
[2025-01-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:10:02] Production.INFO: ==31886== Releasing lock...
[2025-01-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:10:02] Production.INFO: ==31884== Lock acquired, processing the job...
[2025-01-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:10:02] Production.INFO: ==31884== Releasing lock...
[2025-01-09 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:10:03] Production.INFO: ==31888== Lock acquired, processing the job...
[2025-01-09 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 00:10:03] Production.INFO: ==31890== Lock acquired, processing the job...
[2025-01-09 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:10:03] Production.INFO: ==31894== Lock acquired, processing the job...
[2025-01-09 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 00:10:03] Production.ERROR: CronJob PID - 31890
[2025-01-09 00:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 00:10:03] Production.ERROR: CronJob ID - 5
[2025-01-09 00:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 00:10:00
[2025-01-09 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 00:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 00:10:03] Production.ERROR: CronJob PID - 31894
[2025-01-09 00:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 00:10:03] Production.ERROR: CronJob ID - 10
[2025-01-09 00:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 00:10:00
[2025-01-09 00:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 00:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 00:10:03] Production.INFO: ==31896== Lock acquired, processing the job...
[2025-01-09 00:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 00:10:04] Production.INFO: ==31888== Releasing lock...
[2025-01-09 00:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 00:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:10:04] Production.INFO: ==31892== Lock acquired, processing the job...
[2025-01-09 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:10:04] Production.INFO: Account Balance Start.
[2025-01-09 00:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:10:04] Production.INFO: 117
[2025-01-09 00:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:10:04] Production.INFO: ==31898== Lock acquired, processing the job...
[2025-01-09 00:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:10:04] Production.INFO: ==31900== Lock acquired, processing the job...
[2025-01-09 00:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:10:04] Production.INFO: ==31903== Lock acquired, processing the job...
[2025-01-09 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:10:04] Production.INFO: Total Charge 0
[2025-01-09 00:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:10:04] Production.INFO: CreateAllLog End
[2025-01-09 00:10:04] Production.INFO: count ==21
[2025-01-09 00:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:10:04] Production.INFO: ==31892== Releasing lock...
[2025-01-09 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:10:04] Production.INFO: count ==21
[2025-01-09 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205810') start
[2025-01-09 00:10:04] Production.ERROR: done
[2025-01-09 00:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205810') end
[2025-01-09 00:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:10:04] Production.INFO: 1
[2025-01-09 00:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:10:04] Production.INFO: ==31903== Releasing lock...
[2025-01-09 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:10:04] Production.INFO: Account Balance End.
[2025-01-09 00:10:04] Production.ERROR: done
[2025-01-09 00:10:05] Production.ERROR: done
[2025-01-09 00:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 00:10:05] Production.INFO: ==31896== Releasing lock...
[2025-01-09 00:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 00:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205811', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 00:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:10:06
[end_date_ymd] => 2025-01-09 00:10:06
[RateCDR] => 1
)
[2025-01-09 00:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:10:06' and `end` < '2025-01-09 00:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205811', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 00:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 00:10:08] Production.INFO: ProcessCDR(1,14205811,1,1,2)
[2025-01-09 00:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205811,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205811,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:10:08] Production.INFO: ==31900== Releasing lock...
[2025-01-09 00:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 00:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:10:12] Production.ERROR: CronJobId end10
[2025-01-09 00:10:12] Production.INFO: ==31894== Releasing lock...
[2025-01-09 00:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:10:14] Production.INFO: call_cost start
[2025-01-09 00:10:14] Production.INFO: call_cost end
[2025-01-09 00:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:10:15] Production.INFO: ==31890== Releasing lock...
[2025-01-09 00:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:10:19] Production.INFO: count ==88
[2025-01-09 00:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:10:06 - End Time 2025-01-09 00:10:06
[2025-01-09 00:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205812', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205812', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205812', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205812', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:10:19] Production.INFO: ProcessCDR(1,14205812,1,1,2)
[2025-01-09 00:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205812', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205812', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:10:22] Production.INFO: ==31898== Releasing lock...
[2025-01-09 00:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:10:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 05:11:02] Production.INFO: ==31962== Lock acquired, processing the job...
[2025-01-09 05:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:11:02] Production.INFO: neon service started
[2025-01-09 05:11:02] Production.INFO: neon service started
[2025-01-09 05:11:02] Production.INFO: ==31962== Releasing lock...
[2025-01-09 05:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:11:02] Production.INFO: ==31965== Lock acquired, processing the job...
[2025-01-09 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:11:03] Production.INFO: ==31967== Lock acquired, processing the job...
[2025-01-09 05:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:11:03] Production.INFO: ==31965== Releasing lock...
[2025-01-09 00:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:11:03] Production.INFO: ==31967== Releasing lock...
[2025-01-09 05:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:11:03] Production.INFO: ==31969== Lock acquired, processing the job...
[2025-01-09 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:11:03] Production.INFO: ==31971== Lock acquired, processing the job...
[2025-01-09 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:11:03] Production.INFO: ==31973== Lock acquired, processing the job...
[2025-01-09 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:11:04] Production.INFO: ==31975== Lock acquired, processing the job...
[2025-01-09 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:11:04] Production.INFO: ==31979== Lock acquired, processing the job...
[2025-01-09 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:11:04] Production.INFO: Account Balance Start.
[2025-01-09 00:11:04] Production.INFO: ==31971== Releasing lock...
[2025-01-09 00:11:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:11:04] Production.INFO: 117
[2025-01-09 00:11:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:11:04] Production.INFO: ==31977== Lock acquired, processing the job...
[2025-01-09 00:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:11:04] Production.INFO: Total Charge 0
[2025-01-09 00:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:11:04] Production.INFO: CreateAllLog End
[2025-01-09 00:11:04] Production.INFO: count ==21
[2025-01-09 00:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:11:04] Production.INFO: count ==21
[2025-01-09 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205816') start
[2025-01-09 00:11:04] Production.INFO: Account Balance End.
[2025-01-09 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205816') end
[2025-01-09 00:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:11:04] Production.INFO: 1
[2025-01-09 00:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:11:04] Production.INFO: ==31975== Releasing lock...
[2025-01-09 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:11:04] Production.ERROR: done
[2025-01-09 00:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:11:04] Production.INFO: ==31979== Releasing lock...
[2025-01-09 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:11:04] Production.ERROR: done
[2025-01-09 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:11:05
[end_date_ymd] => 2025-01-09 00:11:05
[RateCDR] => 1
)
[2025-01-09 00:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:11:05' and `end` < '2025-01-09 00:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:11:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 00:11:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:11:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:11:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:11:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:11:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:11:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:11:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:11:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:11:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:11:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:11:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:11:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:11:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:11:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:11:10] Production.INFO: call_cost start
[2025-01-09 00:11:10] Production.INFO: call_cost end
[2025-01-09 00:11:10] Production.ERROR: CronJobId end10
[2025-01-09 00:11:10] Production.INFO: ==31973== Releasing lock...
[2025-01-09 00:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:11:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:11:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:11:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:11:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:11:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:11:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:11:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:11:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:11:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:11:11] Production.INFO: ==31969== Releasing lock...
[2025-01-09 00:11:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:11:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:11:19] Production.INFO: count ==104
[2025-01-09 00:11:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:11:05 - End Time 2025-01-09 00:11:05
[2025-01-09 00:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205817', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205817', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205817', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205817', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:11:19] Production.INFO: ProcessCDR(1,14205817,1,1,2)
[2025-01-09 00:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205817', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205817', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:11:22] Production.INFO: ==31977== Releasing lock...
[2025-01-09 00:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:11:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:12:01] Production.INFO: ==32035== Lock acquired, processing the job...
[2025-01-09 05:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:12:01] Production.INFO: neon service started
[2025-01-09 05:12:01] Production.INFO: neon service started
[2025-01-09 05:12:01] Production.INFO: ==32035== Releasing lock...
[2025-01-09 05:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:12:02] Production.INFO: ==32037== Lock acquired, processing the job...
[2025-01-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:12:02] Production.INFO: ==32039== Lock acquired, processing the job...
[2025-01-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:12:02] Production.INFO: ==32037== Releasing lock...
[2025-01-09 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:12:02] Production.INFO: ==32039== Releasing lock...
[2025-01-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:12:03] Production.INFO: ==32047== Lock acquired, processing the job...
[2025-01-09 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:12:03] Production.INFO: ==32049== Lock acquired, processing the job...
[2025-01-09 00:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:12:03] Production.INFO: ==32051== Lock acquired, processing the job...
[2025-01-09 00:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:12:03] Production.INFO: Account Balance Start.
[2025-01-09 00:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:12:03] Production.INFO: 117
[2025-01-09 00:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:12:03] Production.INFO: ==32045== Lock acquired, processing the job...
[2025-01-09 00:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:12:03] Production.INFO: ==32041== Lock acquired, processing the job...
[2025-01-09 00:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:12:03] Production.INFO: Total Charge 0
[2025-01-09 00:12:03] Production.INFO: CreateAllLog End
[2025-01-09 00:12:03] Production.INFO: count ==21
[2025-01-09 00:12:03] Production.INFO: ==32043== Lock acquired, processing the job...
[2025-01-09 00:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:12:03] Production.INFO: count ==21
[2025-01-09 00:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205819') start
[2025-01-09 00:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:12:03] Production.INFO: Account Balance End.
[2025-01-09 00:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205819') end
[2025-01-09 00:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:12:03] Production.INFO: 1
[2025-01-09 00:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:12:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:12:03] Production.INFO: ==32047== Releasing lock...
[2025-01-09 00:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:12:03] Production.ERROR: done
[2025-01-09 00:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:12:03] Production.INFO: ==32051== Releasing lock...
[2025-01-09 00:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:12:03] Production.ERROR: done
[2025-01-09 00:12:04] Production.INFO: ==32043== Releasing lock...
[2025-01-09 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:12:04
[end_date_ymd] => 2025-01-09 00:12:04
[RateCDR] => 1
)
[2025-01-09 00:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:12:04' and `end` < '2025-01-09 00:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:12:10] Production.ERROR: CronJobId end10
[2025-01-09 00:12:10] Production.INFO: ==32045== Releasing lock...
[2025-01-09 00:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:12:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:12:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:12:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:12:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:12:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:12:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:12:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:12:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:12:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:12:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:12:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:12:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:12:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:12:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:12:12] Production.INFO: call_cost start
[2025-01-09 00:12:12] Production.INFO: call_cost end
[2025-01-09 00:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:12:13] Production.INFO: ==32041== Releasing lock...
[2025-01-09 00:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:12:17] Production.INFO: count ==103
[2025-01-09 00:12:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:12:04 - End Time 2025-01-09 00:12:04
[2025-01-09 00:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205822', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205822', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205822', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205822', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:12:17] Production.INFO: ProcessCDR(1,14205822,1,1,2)
[2025-01-09 00:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:12:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205822', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:12:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205822', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:12:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:12:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:12:20] Production.INFO: ==32049== Releasing lock...
[2025-01-09 00:12:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:12:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:13:02] Production.INFO: ==32105== Lock acquired, processing the job...
[2025-01-09 05:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:13:02] Production.INFO: neon service started
[2025-01-09 05:13:02] Production.INFO: neon service started
[2025-01-09 05:13:02] Production.INFO: ==32105== Releasing lock...
[2025-01-09 05:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:13:02] Production.INFO: ==32107== Lock acquired, processing the job...
[2025-01-09 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:13:02] Production.INFO: ==32109== Lock acquired, processing the job...
[2025-01-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:13:02] Production.INFO: ==32109== Releasing lock...
[2025-01-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:13:03] Production.INFO: ==32107== Releasing lock...
[2025-01-09 00:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:13:03] Production.INFO: ==32114== Lock acquired, processing the job...
[2025-01-09 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:13:03] Production.INFO: ==32112== Lock acquired, processing the job...
[2025-01-09 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:13:03] Production.INFO: ==32120== Lock acquired, processing the job...
[2025-01-09 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:13:04] Production.INFO: ==32116== Lock acquired, processing the job...
[2025-01-09 00:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:13:04] Production.INFO: ==32118== Lock acquired, processing the job...
[2025-01-09 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:13:04] Production.INFO: ==32122== Lock acquired, processing the job...
[2025-01-09 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:13:04] Production.INFO: ==32114== Releasing lock...
[2025-01-09 00:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:13:04] Production.INFO: Account Balance Start.
[2025-01-09 00:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:13:04] Production.INFO: 117
[2025-01-09 00:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:13:04] Production.ERROR: done
[2025-01-09 00:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:13:04] Production.INFO: Total Charge 0
[2025-01-09 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-01-09 00:13:04] Production.INFO: CreateAllLog End
[2025-01-09 00:13:04] Production.INFO: count ==21
[2025-01-09 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-01-09 00:13:04] Production.INFO: count ==21
[2025-01-09 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205826') start
[2025-01-09 00:13:04] Production.ERROR: done
[2025-01-09 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205826') end
[2025-01-09 00:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:13:04] Production.INFO: 1
[2025-01-09 00:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:13:04] Production.INFO: Account Balance End.
[2025-01-09 00:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:13:04] Production.INFO: ==32118== Releasing lock...
[2025-01-09 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:13:04] Production.INFO: ==32122== Releasing lock...
[2025-01-09 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:13:05
[end_date_ymd] => 2025-01-09 00:13:05
[RateCDR] => 1
)
[2025-01-09 00:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:13:05' and `end` < '2025-01-09 00:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:13:10] Production.ERROR: CronJobId end10
[2025-01-09 00:13:10] Production.INFO: ==32116== Releasing lock...
[2025-01-09 00:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:13:13] Production.INFO: call_cost start
[2025-01-09 00:13:13] Production.INFO: call_cost end
[2025-01-09 00:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:13:14] Production.INFO: ==32112== Releasing lock...
[2025-01-09 00:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:13:18] Production.INFO: count ==102
[2025-01-09 00:13:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:13:05 - End Time 2025-01-09 00:13:05
[2025-01-09 00:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205827', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205827', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205827', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205827', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:13:18] Production.INFO: ProcessCDR(1,14205827,1,1,2)
[2025-01-09 00:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205827', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205827', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:13:21] Production.INFO: ==32120== Releasing lock...
[2025-01-09 00:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:13:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:14:01] Production.INFO: ==32175== Lock acquired, processing the job...
[2025-01-09 05:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:14:01] Production.INFO: neon service started
[2025-01-09 05:14:01] Production.INFO: neon service started
[2025-01-09 05:14:01] Production.INFO: ==32175== Releasing lock...
[2025-01-09 05:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:14:01] Production.INFO: ==32177== Lock acquired, processing the job...
[2025-01-09 00:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:14:02] Production.INFO: ==32177== Releasing lock...
[2025-01-09 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:14:02] Production.INFO: ==32179== Lock acquired, processing the job...
[2025-01-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:14:02] Production.INFO: ==32179== Releasing lock...
[2025-01-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:14:03] Production.INFO: ==32181== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:14:03] Production.INFO: ==32183== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:14:03] Production.INFO: ==32185== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:14:03] Production.INFO: ==32187== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:14:03] Production.INFO: Account Balance Start.
[2025-01-09 00:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:14:03] Production.INFO: 117
[2025-01-09 00:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:14:03] Production.INFO: ==32189== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-09 00:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:14:03] Production.INFO: Total Charge 0
[2025-01-09 00:14:03] Production.INFO: CreateAllLog End
[2025-01-09 00:14:03] Production.INFO: -- Xero Api Check --
[2025-01-09 00:14:03] Production.INFO: ==32191== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:14:03] Production.INFO: ==32183== Releasing lock...
[2025-01-09 00:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:14:03] Production.INFO: ==32193== Lock acquired, processing the job...
[2025-01-09 00:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:14:03] Production.INFO: Account Balance End.
[2025-01-09 00:14:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:14:03] Production.INFO: ==32187== Releasing lock...
[2025-01-09 00:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:14:03] Production.ERROR: done
[2025-01-09 00:14:03] Production.INFO: count ==21
[2025-01-09 00:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:14:04] Production.INFO: count ==21
[2025-01-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205831') start
[2025-01-09 00:14:04] Production.ERROR: done
[2025-01-09 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205831') end
[2025-01-09 00:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:14:04] Production.INFO: 1
[2025-01-09 00:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:14:04] Production.INFO: ==32193== Releasing lock...
[2025-01-09 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:14:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.331333
[namelookup_time] => 0.533268
[connect_time] => 0.621408
[pretransfer_time] => 1.116499
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2069
[speed_upload] => 61
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.331279
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.16.6.30
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 48606
)
[2025-01-09 00:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYzOTk2NDQsImV4cCI6MTczNjM5OTk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2Mzk5NjQ0LCJhdF9oYXNoIjoiZWI5ZExPSVJHOTVJVzY5Q3hoc0x5USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.uHRK_1AwVzNusaF0sGykGGhr7swiXuXCGh6aMpbYmPdbrG_I351iXNfD9p3Vj4dc0QBklN9g2iIRTTjvLV_Qn_kXs7zAeeJkYqzxvA0w_p_F4A1oYIGi5NXRxmMMi8s01NjX7_mEq8_2gSejrKYwgXT-0aHBdsMqCi78tBPZLpYtqhlg9gjD4huCSFFeE1yFwqPABog8pCszRPSvqj_zQgE3pnenkxEWVxUFAAMG5b1jQaprhcOQuTQzbONBkSy9bJ_ypEuwBBlx3hIS80NyaJgTLasZexiWPtVGuK0uzQeSJURf-z7KZZ0aUfNm9D1SiJKB2H-Ua3Wa-ttkgC-syw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYzOTk2NDQsImV4cCI6MTczNjQwMTQ0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.K-vxSfINuqdT9v_Vzo4q7uJJDSpYYvkuN03X6VQn2rfENqLtL57Lt2JXHLdDyqm0uuNshO14oo82S6tWrH5iqh_ZNHqeBuA9zKdL4RoEpDLY2Y6InPs2DkrX_nZ8iqBhvwHx3tLissHCztQgIhJ0-JUlpxApMFmb9cb1_OgUTpJEIlAUqs9vUTGJRs5whhmtoqUmT9EyyeIhTnK0huwege1c9nHB1nsK_NO981EjKRLndnSFkr_CcJzsw2vfnj8b10DzwxL2WFqLIJ0hpJGN5qm7-urYPi5IvgW0Ak4ASK9T1XVCd-tIEkqxJ5YCBHonr49v8TgLoTsGizMg73A0-w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => dKx-5Dnc_kRR_IOQitaPf7hb13j7xngldWes_wlYgdQ
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-09 00:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYzOTk2NDQsImV4cCI6MTczNjM5OTk0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2Mzk5NjQ0LCJhdF9oYXNoIjoiZWI5ZExPSVJHOTVJVzY5Q3hoc0x5USIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.uHRK_1AwVzNusaF0sGykGGhr7swiXuXCGh6aMpbYmPdbrG_I351iXNfD9p3Vj4dc0QBklN9g2iIRTTjvLV_Qn_kXs7zAeeJkYqzxvA0w_p_F4A1oYIGi5NXRxmMMi8s01NjX7_mEq8_2gSejrKYwgXT-0aHBdsMqCi78tBPZLpYtqhlg9gjD4huCSFFeE1yFwqPABog8pCszRPSvqj_zQgE3pnenkxEWVxUFAAMG5b1jQaprhcOQuTQzbONBkSy9bJ_ypEuwBBlx3hIS80NyaJgTLasZexiWPtVGuK0uzQeSJURf-z7KZZ0aUfNm9D1SiJKB2H-Ua3Wa-ttkgC-syw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzYzOTk2NDQsImV4cCI6MTczNjQwMTQ0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.K-vxSfINuqdT9v_Vzo4q7uJJDSpYYvkuN03X6VQn2rfENqLtL57Lt2JXHLdDyqm0uuNshO14oo82S6tWrH5iqh_ZNHqeBuA9zKdL4RoEpDLY2Y6InPs2DkrX_nZ8iqBhvwHx3tLissHCztQgIhJ0-JUlpxApMFmb9cb1_OgUTpJEIlAUqs9vUTGJRs5whhmtoqUmT9EyyeIhTnK0huwege1c9nHB1nsK_NO981EjKRLndnSFkr_CcJzsw2vfnj8b10DzwxL2WFqLIJ0hpJGN5qm7-urYPi5IvgW0Ak4ASK9T1XVCd-tIEkqxJ5YCBHonr49v8TgLoTsGizMg73A0-w
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => dKx-5Dnc_kRR_IOQitaPf7hb13j7xngldWes_wlYgdQ
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-09 00:14:04] Production.ERROR: Invoice Payment Date 2025-01-08 00:00:00
[2025-01-09 00:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,08)
[2025-01-09 00:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:14:05
[end_date_ymd] => 2025-01-09 00:14:05
[RateCDR] => 1
)
[2025-01-09 00:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:14:05' and `end` < '2025-01-09 00:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:14:07] Production.INFO: Batch insert start
[2025-01-09 00:14:07] Production.INFO: global counter1
[2025-01-09 00:14:07] Production.INFO: insertion start
[2025-01-09 00:14:07] Production.INFO: last batch insert 1
[2025-01-09 00:14:07] Production.INFO: insertion end
[2025-01-09 00:14:07] Production.INFO: CALL prc_importPaymentAccounting ('8bbcdc90-ce48-11ef-88f4-df1bd8159209') start
[2025-01-09 00:14:07] Production.INFO: CALL prc_importPaymentAccounting ('8bbcdc90-ce48-11ef-88f4-df1bd8159209') end
[2025-01-09 00:14:07] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-09 00:14:07] Production.INFO: 2
[2025-01-09 00:14:07] Production.ERROR: CronJobId end14
[2025-01-09 00:14:07] Production.INFO: ==32189== Releasing lock...
[2025-01-09 00:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-09 00:14:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:14:11] Production.ERROR: CronJobId end10
[2025-01-09 00:14:11] Production.INFO: ==32185== Releasing lock...
[2025-01-09 00:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:14:13] Production.INFO: call_cost start
[2025-01-09 00:14:13] Production.INFO: call_cost end
[2025-01-09 00:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:14:13] Production.INFO: ==32181== Releasing lock...
[2025-01-09 00:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:14:18] Production.INFO: count ==102
[2025-01-09 00:14:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:14:05 - End Time 2025-01-09 00:14:05
[2025-01-09 00:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205832', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205832', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205832', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205832', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:14:18] Production.INFO: ProcessCDR(1,14205832,1,1,2)
[2025-01-09 00:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205832', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205832', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:14:21] Production.INFO: ==32191== Releasing lock...
[2025-01-09 00:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:14:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:15:01] Production.INFO: ==32249== Lock acquired, processing the job...
[2025-01-09 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:15:01] Production.INFO: neon service started
[2025-01-09 05:15:01] Production.INFO: neon service started
[2025-01-09 05:15:01] Production.INFO: ==32249== Releasing lock...
[2025-01-09 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:15:02] Production.INFO: ==32251== Lock acquired, processing the job...
[2025-01-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:15:02] Production.INFO: ==32251== Releasing lock...
[2025-01-09 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:15:02] Production.INFO: ==32253== Lock acquired, processing the job...
[2025-01-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:15:02] Production.INFO: ==32253== Releasing lock...
[2025-01-09 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:15:03] Production.INFO: ==32256== Lock acquired, processing the job...
[2025-01-09 00:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:15:03] Production.INFO: ==32262== Lock acquired, processing the job...
[2025-01-09 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:15:03] Production.INFO: ==32266== Lock acquired, processing the job...
[2025-01-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:15:03] Production.INFO: ==32258== Lock acquired, processing the job...
[2025-01-09 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:15:03] Production.INFO: Account Balance Start.
[2025-01-09 00:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:15:03] Production.INFO: 117
[2025-01-09 00:15:03] Production.INFO: ==32260== Lock acquired, processing the job...
[2025-01-09 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:15:03] Production.INFO: count ==21
[2025-01-09 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:15:03] Production.INFO: count ==21
[2025-01-09 00:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:15:03] Production.INFO: ==32264== Lock acquired, processing the job...
[2025-01-09 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205835') start
[2025-01-09 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:15:03] Production.INFO: Total Charge 0
[2025-01-09 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205835') end
[2025-01-09 00:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:15:03] Production.INFO: 1
[2025-01-09 00:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:15:03] Production.INFO: CreateAllLog End
[2025-01-09 00:15:03] Production.INFO: ==32266== Releasing lock...
[2025-01-09 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:15:03] Production.INFO: ==32258== Releasing lock...
[2025-01-09 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:15:04] Production.ERROR: done
[2025-01-09 00:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:15:04] Production.INFO: Account Balance End.
[2025-01-09 00:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:15:04] Production.INFO: ==32262== Releasing lock...
[2025-01-09 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:15:04] Production.ERROR: done
[2025-01-09 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:15:05
[end_date_ymd] => 2025-01-09 00:15:05
[RateCDR] => 1
)
[2025-01-09 00:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:15:05' and `end` < '2025-01-09 00:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:15:11] Production.ERROR: CronJobId end10
[2025-01-09 00:15:11] Production.INFO: ==32260== Releasing lock...
[2025-01-09 00:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:15:13] Production.INFO: call_cost start
[2025-01-09 00:15:13] Production.INFO: call_cost end
[2025-01-09 00:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:15:14] Production.INFO: ==32256== Releasing lock...
[2025-01-09 00:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:15:18] Production.INFO: count ==102
[2025-01-09 00:15:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:15:05 - End Time 2025-01-09 00:15:05
[2025-01-09 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205837', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205837', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205837', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205837', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:15:18] Production.INFO: ProcessCDR(1,14205837,1,1,2)
[2025-01-09 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205837', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205837', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:15:21] Production.INFO: ==32264== Releasing lock...
[2025-01-09 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:15:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:16:02] Production.INFO: ==32319== Lock acquired, processing the job...
[2025-01-09 05:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:16:02] Production.INFO: neon service started
[2025-01-09 05:16:02] Production.INFO: neon service started
[2025-01-09 05:16:02] Production.INFO: ==32319== Releasing lock...
[2025-01-09 05:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:16:02] Production.INFO: ==32322== Lock acquired, processing the job...
[2025-01-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:16:02] Production.INFO: ==32322== Releasing lock...
[2025-01-09 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:16:03] Production.INFO: ==32324== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:16:03] Production.INFO: ==32324== Releasing lock...
[2025-01-09 05:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:16:03] Production.INFO: ==32326== Lock acquired, processing the job...
[2025-01-09 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:16:03] Production.INFO: ==32328== Lock acquired, processing the job...
[2025-01-09 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:16:04] Production.INFO: ==32330== Lock acquired, processing the job...
[2025-01-09 00:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:16:04] Production.INFO: ==32336== Lock acquired, processing the job...
[2025-01-09 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:16:04] Production.INFO: ==32332== Lock acquired, processing the job...
[2025-01-09 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:16:04] Production.INFO: ==32334== Lock acquired, processing the job...
[2025-01-09 00:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:16:04] Production.INFO: Account Balance Start.
[2025-01-09 00:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:16:04] Production.INFO: 117
[2025-01-09 00:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:16:04] Production.INFO: count ==21
[2025-01-09 00:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:16:04] Production.INFO: count ==21
[2025-01-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205840') start
[2025-01-09 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:16:04] Production.ERROR: done
[2025-01-09 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:16:04] Production.INFO: ==32328== Releasing lock...
[2025-01-09 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:16:04] Production.INFO: Total Charge 0
[2025-01-09 00:16:04] Production.INFO: CreateAllLog End
[2025-01-09 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205840') end
[2025-01-09 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:16:04] Production.INFO: 1
[2025-01-09 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:16:04] Production.INFO: ==32336== Releasing lock...
[2025-01-09 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:16:04] Production.ERROR: done
[2025-01-09 00:16:04] Production.INFO: Account Balance End.
[2025-01-09 00:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:16:04] Production.INFO: ==32332== Releasing lock...
[2025-01-09 00:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:16:05
[end_date_ymd] => 2025-01-09 00:16:05
[RateCDR] => 1
)
[2025-01-09 00:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:16:05' and `end` < '2025-01-09 00:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:16:11] Production.ERROR: CronJobId end10
[2025-01-09 00:16:11] Production.INFO: ==32330== Releasing lock...
[2025-01-09 00:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:16:14] Production.INFO: call_cost start
[2025-01-09 00:16:14] Production.INFO: call_cost end
[2025-01-09 00:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:16:14] Production.INFO: ==32326== Releasing lock...
[2025-01-09 00:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:16:18] Production.INFO: count ==102
[2025-01-09 00:16:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:16:05 - End Time 2025-01-09 00:16:05
[2025-01-09 00:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205842', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205842', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205842', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205842', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:16:18] Production.INFO: ProcessCDR(1,14205842,1,1,2)
[2025-01-09 00:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205842', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205842', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:16:21] Production.INFO: ==32334== Releasing lock...
[2025-01-09 00:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:16:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:17:01] Production.INFO: ==32392== Lock acquired, processing the job...
[2025-01-09 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:17:01] Production.INFO: neon service started
[2025-01-09 05:17:01] Production.INFO: neon service started
[2025-01-09 05:17:01] Production.INFO: ==32392== Releasing lock...
[2025-01-09 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:17:02] Production.INFO: ==32396== Lock acquired, processing the job...
[2025-01-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:17:02] Production.INFO: ==32396== Releasing lock...
[2025-01-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:17:02] Production.INFO: ==32394== Lock acquired, processing the job...
[2025-01-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:17:02] Production.INFO: ==32394== Releasing lock...
[2025-01-09 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:17:03] Production.INFO: ==32403== Lock acquired, processing the job...
[2025-01-09 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:17:03] Production.INFO: ==32409== Lock acquired, processing the job...
[2025-01-09 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:17:03] Production.INFO: ==32399== Lock acquired, processing the job...
[2025-01-09 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:17:03] Production.INFO: ==32401== Lock acquired, processing the job...
[2025-01-09 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:17:03] Production.INFO: ==32405== Lock acquired, processing the job...
[2025-01-09 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:17:03] Production.INFO: ==32407== Lock acquired, processing the job...
[2025-01-09 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:17:03] Production.INFO: count ==21
[2025-01-09 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:17:03] Production.INFO: count ==21
[2025-01-09 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:17:03] Production.INFO: Account Balance Start.
[2025-01-09 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205843') start
[2025-01-09 00:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:17:03] Production.INFO: 117
[2025-01-09 00:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:17:03] Production.INFO: Total Charge 0
[2025-01-09 00:17:04] Production.INFO: CreateAllLog End
[2025-01-09 00:17:04] Production.INFO: ==32401== Releasing lock...
[2025-01-09 00:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205843') end
[2025-01-09 00:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:17:04] Production.INFO: 1
[2025-01-09 00:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:17:04] Production.ERROR: done
[2025-01-09 00:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:17:04] Production.INFO: ==32409== Releasing lock...
[2025-01-09 00:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:17:04] Production.ERROR: done
[2025-01-09 00:17:04] Production.INFO: Account Balance End.
[2025-01-09 00:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:17:04] Production.INFO: ==32405== Releasing lock...
[2025-01-09 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:17:05
[end_date_ymd] => 2025-01-09 00:17:05
[RateCDR] => 1
)
[2025-01-09 00:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:17:05' and `end` < '2025-01-09 00:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:17:10] Production.ERROR: CronJobId end10
[2025-01-09 00:17:10] Production.INFO: ==32403== Releasing lock...
[2025-01-09 00:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:17:13] Production.INFO: call_cost start
[2025-01-09 00:17:13] Production.INFO: call_cost end
[2025-01-09 00:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:17:14] Production.INFO: ==32399== Releasing lock...
[2025-01-09 00:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:17:18] Production.INFO: count ==102
[2025-01-09 00:17:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:17:05 - End Time 2025-01-09 00:17:05
[2025-01-09 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205847', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205847', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205847', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205847', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:17:18] Production.INFO: ProcessCDR(1,14205847,1,1,2)
[2025-01-09 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205847', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205847', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:17:21] Production.INFO: ==32407== Releasing lock...
[2025-01-09 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:17:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:18:02] Production.INFO: ==32520== Lock acquired, processing the job...
[2025-01-09 05:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:18:02] Production.INFO: neon service started
[2025-01-09 05:18:02] Production.INFO: neon service started
[2025-01-09 05:18:02] Production.INFO: ==32520== Releasing lock...
[2025-01-09 05:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:18:02] Production.INFO: ==32524== Lock acquired, processing the job...
[2025-01-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:18:02] Production.INFO: ==32524== Releasing lock...
[2025-01-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:18:02] Production.INFO: ==32522== Lock acquired, processing the job...
[2025-01-09 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:18:03] Production.INFO: ==32522== Releasing lock...
[2025-01-09 00:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:18:03] Production.INFO: ==32531== Lock acquired, processing the job...
[2025-01-09 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:18:03] Production.INFO: ==32533== Lock acquired, processing the job...
[2025-01-09 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:18:04] Production.INFO: Account Balance Start.
[2025-01-09 00:18:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:18:04] Production.INFO: 117
[2025-01-09 00:18:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:18:04] Production.INFO: ==32527== Lock acquired, processing the job...
[2025-01-09 00:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:18:04] Production.INFO: ==32529== Lock acquired, processing the job...
[2025-01-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:18:04] Production.INFO: Total Charge 0
[2025-01-09 00:18:04] Production.INFO: CreateAllLog End
[2025-01-09 00:18:04] Production.INFO: ==32535== Lock acquired, processing the job...
[2025-01-09 00:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:18:04] Production.INFO: ==32537== Lock acquired, processing the job...
[2025-01-09 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:18:04] Production.INFO: Account Balance End.
[2025-01-09 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:18:04] Production.INFO: ==32533== Releasing lock...
[2025-01-09 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:18:04] Production.INFO: count ==21
[2025-01-09 00:18:04] Production.INFO: ==32529== Releasing lock...
[2025-01-09 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:18:04] Production.INFO: count ==21
[2025-01-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205851') start
[2025-01-09 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205851') end
[2025-01-09 00:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:18:04] Production.INFO: 1
[2025-01-09 00:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:18:04] Production.INFO: ==32537== Releasing lock...
[2025-01-09 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:18:04] Production.ERROR: done
[2025-01-09 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:18:04] Production.ERROR: done
[2025-01-09 00:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:18:05
[end_date_ymd] => 2025-01-09 00:18:05
[RateCDR] => 1
)
[2025-01-09 00:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:18:05' and `end` < '2025-01-09 00:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:18:11] Production.ERROR: CronJobId end10
[2025-01-09 00:18:11] Production.INFO: ==32531== Releasing lock...
[2025-01-09 00:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:18:13] Production.INFO: call_cost start
[2025-01-09 00:18:13] Production.INFO: call_cost end
[2025-01-09 00:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:18:14] Production.INFO: ==32527== Releasing lock...
[2025-01-09 00:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:18:18] Production.INFO: count ==102
[2025-01-09 00:18:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:18:05 - End Time 2025-01-09 00:18:05
[2025-01-09 00:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205852', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205852', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205852', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205852', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:18:18] Production.INFO: ProcessCDR(1,14205852,1,1,2)
[2025-01-09 00:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205852', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205852', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:18:21] Production.INFO: ==32535== Releasing lock...
[2025-01-09 00:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:18:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:19:01] Production.INFO: ==32589== Lock acquired, processing the job...
[2025-01-09 05:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:19:01] Production.INFO: neon service started
[2025-01-09 05:19:01] Production.INFO: neon service started
[2025-01-09 05:19:01] Production.INFO: ==32589== Releasing lock...
[2025-01-09 05:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:19:02] Production.INFO: ==32591== Lock acquired, processing the job...
[2025-01-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:19:02] Production.INFO: ==32591== Releasing lock...
[2025-01-09 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:19:02] Production.INFO: ==32593== Lock acquired, processing the job...
[2025-01-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:19:02] Production.INFO: ==32593== Releasing lock...
[2025-01-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:19:03] Production.INFO: ==32599== Lock acquired, processing the job...
[2025-01-09 00:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:19:03] Production.INFO: ==32605== Lock acquired, processing the job...
[2025-01-09 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:19:03] Production.INFO: ==32595== Lock acquired, processing the job...
[2025-01-09 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:19:03] Production.INFO: ==32597== Lock acquired, processing the job...
[2025-01-09 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:19:03] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-01-09 00:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:19:03] Production.INFO: count ==21
[2025-01-09 00:19:03] Production.INFO: ==32601== Lock acquired, processing the job...
[2025-01-09 00:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:19:03] Production.INFO: count ==21
[2025-01-09 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205853') start
[2025-01-09 00:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205853') end
[2025-01-09 00:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:19:03] Production.INFO: 1
[2025-01-09 00:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:19:03] Production.INFO: Account Balance Start.
[2025-01-09 00:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:19:03] Production.INFO: 117
[2025-01-09 00:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:19:03] Production.INFO: ==32605== Releasing lock...
[2025-01-09 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:19:03] Production.ERROR: done
[2025-01-09 00:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:19:03] Production.INFO: Total Charge 0
[2025-01-09 00:19:03] Production.INFO: CreateAllLog End
[2025-01-09 00:19:03] Production.INFO: ==32597== Releasing lock...
[2025-01-09 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:19:03] Production.ERROR: done
[2025-01-09 00:19:04] Production.INFO: Account Balance End.
[2025-01-09 00:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:19:04] Production.INFO: ==32601== Releasing lock...
[2025-01-09 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:19:04
[end_date_ymd] => 2025-01-09 00:19:04
[RateCDR] => 1
)
[2025-01-09 00:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:19:04' and `end` < '2025-01-09 00:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:19:09] Production.ERROR: CronJobId end10
[2025-01-09 00:19:09] Production.INFO: ==32599== Releasing lock...
[2025-01-09 00:19:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:19:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:19:13] Production.INFO: call_cost start
[2025-01-09 00:19:13] Production.INFO: call_cost end
[2025-01-09 00:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:19:14] Production.INFO: ==32595== Releasing lock...
[2025-01-09 00:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:19:17] Production.INFO: count ==102
[2025-01-09 00:19:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:19:04 - End Time 2025-01-09 00:19:04
[2025-01-09 00:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205857', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205857', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205857', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205857', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:19:17] Production.INFO: ProcessCDR(1,14205857,1,1,2)
[2025-01-09 00:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205857', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205857', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:19:21] Production.INFO: ==32603== Releasing lock...
[2025-01-09 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:19:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:20:02] Production.INFO: ==32659== Lock acquired, processing the job...
[2025-01-09 05:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:20:02] Production.INFO: neon service started
[2025-01-09 05:20:02] Production.INFO: neon service started
[2025-01-09 05:20:02] Production.INFO: ==32659== Releasing lock...
[2025-01-09 05:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:20:02] Production.INFO: ==32661== Lock acquired, processing the job...
[2025-01-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:20:02] Production.INFO: ==32661== Releasing lock...
[2025-01-09 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:20:02] Production.INFO: ==32663== Lock acquired, processing the job...
[2025-01-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:20:03] Production.INFO: ==32663== Releasing lock...
[2025-01-09 05:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:20:03] Production.INFO: ==32666== Lock acquired, processing the job...
[2025-01-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 00:20:03] Production.INFO: ==32674== Lock acquired, processing the job...
[2025-01-09 00:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 00:20:03] Production.INFO: ==32666== Releasing lock...
[2025-01-09 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:20:04] Production.INFO: ==32678== Lock acquired, processing the job...
[2025-01-09 00:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 00:20:04] Production.INFO: ==32668== Lock acquired, processing the job...
[2025-01-09 00:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:20:04] Production.INFO: ==32670== Lock acquired, processing the job...
[2025-01-09 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:20:04] Production.INFO: Account Balance Start.
[2025-01-09 00:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:20:04] Production.INFO: 117
[2025-01-09 00:20:04] Production.INFO: ==32672== Lock acquired, processing the job...
[2025-01-09 00:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:20:04] Production.INFO: ==32676== Lock acquired, processing the job...
[2025-01-09 00:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:20:04] Production.INFO: Total Charge 0
[2025-01-09 00:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:20:04] Production.INFO: CreateAllLog End
[2025-01-09 00:20:04] Production.INFO: ==32680== Lock acquired, processing the job...
[2025-01-09 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:20:04] Production.ERROR: done
[2025-01-09 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205861', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 00:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:20:04] Production.INFO: Account Balance End.
[2025-01-09 00:20:04] Production.INFO: ==32670== Releasing lock...
[2025-01-09 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:20:04] Production.INFO: count ==21
[2025-01-09 00:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:20:04] Production.INFO: count ==21
[2025-01-09 00:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:20:04] Production.INFO: ==32674== Releasing lock...
[2025-01-09 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205862') start
[2025-01-09 00:20:04] Production.ERROR: done
[2025-01-09 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205862') end
[2025-01-09 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:20:04] Production.INFO: 1
[2025-01-09 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:20:05] Production.ERROR: done
[2025-01-09 00:20:05] Production.INFO: ==32680== Releasing lock...
[2025-01-09 00:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:20:06
[end_date_ymd] => 2025-01-09 00:20:06
[RateCDR] => 1
)
[2025-01-09 00:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:20:06' and `end` < '2025-01-09 00:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205861', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 00:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 00:20:08] Production.INFO: ProcessCDR(1,14205861,1,1,2)
[2025-01-09 00:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205861,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205861,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:20:08] Production.INFO: ==32678== Releasing lock...
[2025-01-09 00:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 00:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:20:12] Production.ERROR: CronJobId end10
[2025-01-09 00:20:12] Production.INFO: ==32672== Releasing lock...
[2025-01-09 00:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:20:15] Production.INFO: call_cost start
[2025-01-09 00:20:15] Production.INFO: call_cost end
[2025-01-09 00:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:20:15] Production.INFO: ==32668== Releasing lock...
[2025-01-09 00:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:20:19] Production.INFO: count ==112
[2025-01-09 00:20:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:20:06 - End Time 2025-01-09 00:20:06
[2025-01-09 00:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205863', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205863', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205863', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205863', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:20:19] Production.INFO: ProcessCDR(1,14205863,1,1,2)
[2025-01-09 00:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205863', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205863', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:20:24] Production.INFO: ==32676== Releasing lock...
[2025-01-09 00:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:20:24] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:21:01] Production.INFO: ==32734== Lock acquired, processing the job...
[2025-01-09 05:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:21:01] Production.INFO: neon service started
[2025-01-09 05:21:01] Production.INFO: neon service started
[2025-01-09 05:21:01] Production.INFO: ==32734== Releasing lock...
[2025-01-09 05:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:21:01] Production.INFO: ==32736== Lock acquired, processing the job...
[2025-01-09 00:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:21:02] Production.INFO: ==32736== Releasing lock...
[2025-01-09 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:21:02] Production.INFO: ==32738== Lock acquired, processing the job...
[2025-01-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:21:02] Production.INFO: ==32738== Releasing lock...
[2025-01-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:21:03] Production.INFO: ==32748== Lock acquired, processing the job...
[2025-01-09 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:21:03] Production.INFO: ==32750== Lock acquired, processing the job...
[2025-01-09 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:21:03] Production.INFO: ==32740== Lock acquired, processing the job...
[2025-01-09 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:21:03] Production.INFO: ==32742== Lock acquired, processing the job...
[2025-01-09 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:21:03] Production.INFO: ==32744== Lock acquired, processing the job...
[2025-01-09 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:21:03] Production.INFO: count ==21
[2025-01-09 00:21:03] Production.ERROR: done
[2025-01-09 00:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:21:03] Production.INFO: ==32746== Lock acquired, processing the job...
[2025-01-09 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:21:03] Production.INFO: count ==21
[2025-01-09 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205864') start
[2025-01-09 00:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205864') end
[2025-01-09 00:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:21:03] Production.INFO: 1
[2025-01-09 00:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:21:03] Production.ERROR: done
[2025-01-09 00:21:03] Production.INFO: Account Balance Start.
[2025-01-09 00:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:21:03] Production.INFO: 117
[2025-01-09 00:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:21:03] Production.INFO: ==32750== Releasing lock...
[2025-01-09 00:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:21:03] Production.INFO: Total Charge 0
[2025-01-09 00:21:03] Production.INFO: CreateAllLog End
[2025-01-09 00:21:03] Production.INFO: ==32742== Releasing lock...
[2025-01-09 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:21:03] Production.INFO: Account Balance End.
[2025-01-09 00:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:21:03] Production.INFO: ==32746== Releasing lock...
[2025-01-09 00:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:21:04
[end_date_ymd] => 2025-01-09 00:21:04
[RateCDR] => 1
)
[2025-01-09 00:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:21:04' and `end` < '2025-01-09 00:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:21:11] Production.ERROR: CronJobId end10
[2025-01-09 00:21:11] Production.INFO: ==32744== Releasing lock...
[2025-01-09 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:21:12] Production.INFO: call_cost start
[2025-01-09 00:21:12] Production.INFO: call_cost end
[2025-01-09 00:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:21:13] Production.INFO: ==32740== Releasing lock...
[2025-01-09 00:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:21:17] Production.INFO: count ==126
[2025-01-09 00:21:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:21:04 - End Time 2025-01-09 00:21:04
[2025-01-09 00:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205868', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205868', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205868', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205868', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:21:17] Production.INFO: ProcessCDR(1,14205868,1,1,2)
[2025-01-09 00:21:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:21:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:21:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:21:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205868', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:21:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205868', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:21:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:21:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:21:20] Production.INFO: ==32748== Releasing lock...
[2025-01-09 00:21:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:21:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:22:02] Production.INFO: ==358== Lock acquired, processing the job...
[2025-01-09 05:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:22:02] Production.INFO: neon service started
[2025-01-09 05:22:02] Production.INFO: neon service started
[2025-01-09 05:22:02] Production.INFO: ==358== Releasing lock...
[2025-01-09 05:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:22:02] Production.INFO: ==361== Lock acquired, processing the job...
[2025-01-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:22:02] Production.INFO: ==361== Releasing lock...
[2025-01-09 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:22:02] Production.INFO: ==363== Lock acquired, processing the job...
[2025-01-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:22:02] Production.INFO: ==363== Releasing lock...
[2025-01-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:22:03] Production.INFO: ==365== Lock acquired, processing the job...
[2025-01-09 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:22:03] Production.INFO: ==369== Lock acquired, processing the job...
[2025-01-09 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:22:03] Production.INFO: ==371== Lock acquired, processing the job...
[2025-01-09 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:22:03] Production.INFO: Account Balance Start.
[2025-01-09 00:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:22:03] Production.INFO: 117
[2025-01-09 00:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:22:03] Production.INFO: ==367== Lock acquired, processing the job...
[2025-01-09 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:22:03] Production.INFO: Total Charge 0
[2025-01-09 00:22:03] Production.INFO: ==373== Lock acquired, processing the job...
[2025-01-09 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:22:03] Production.INFO: CreateAllLog End
[2025-01-09 00:22:03] Production.INFO: ==375== Lock acquired, processing the job...
[2025-01-09 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:22:04] Production.INFO: Account Balance End.
[2025-01-09 00:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:22:04] Production.INFO: ==371== Releasing lock...
[2025-01-09 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:22:04] Production.INFO: ==367== Releasing lock...
[2025-01-09 00:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:22:04] Production.INFO: count ==21
[2025-01-09 00:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:22:04] Production.INFO: count ==21
[2025-01-09 00:22:04] Production.ERROR: done
[2025-01-09 00:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205872') start
[2025-01-09 00:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205872') end
[2025-01-09 00:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:22:04] Production.INFO: 1
[2025-01-09 00:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:22:04] Production.INFO: ==375== Releasing lock...
[2025-01-09 00:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:22:04] Production.ERROR: done
[2025-01-09 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:22:05
[end_date_ymd] => 2025-01-09 00:22:05
[RateCDR] => 1
)
[2025-01-09 00:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:22:05' and `end` < '2025-01-09 00:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:22:11] Production.ERROR: CronJobId end10
[2025-01-09 00:22:11] Production.INFO: ==369== Releasing lock...
[2025-01-09 00:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:22:13] Production.INFO: call_cost start
[2025-01-09 00:22:13] Production.INFO: call_cost end
[2025-01-09 00:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:22:14] Production.INFO: ==365== Releasing lock...
[2025-01-09 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:22:18] Production.INFO: count ==126
[2025-01-09 00:22:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:22:05 - End Time 2025-01-09 00:22:05
[2025-01-09 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205873', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205873', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205873', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205873', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:22:18] Production.INFO: ProcessCDR(1,14205873,1,1,2)
[2025-01-09 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205873', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205873', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:22:21] Production.INFO: ==373== Releasing lock...
[2025-01-09 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:22:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:23:01] Production.INFO: ==439== Lock acquired, processing the job...
[2025-01-09 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:23:01] Production.INFO: neon service started
[2025-01-09 05:23:01] Production.INFO: neon service started
[2025-01-09 05:23:01] Production.INFO: ==439== Releasing lock...
[2025-01-09 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:23:01] Production.INFO: ==443== Lock acquired, processing the job...
[2025-01-09 05:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:23:01] Production.INFO: ==443== Releasing lock...
[2025-01-09 05:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:23:01] Production.INFO: ==441== Lock acquired, processing the job...
[2025-01-09 00:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:23:02] Production.INFO: ==441== Releasing lock...
[2025-01-09 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:23:02] Production.INFO: ==449== Lock acquired, processing the job...
[2025-01-09 00:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:23:02] Production.INFO: ==447== Lock acquired, processing the job...
[2025-01-09 00:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:23:03] Production.INFO: ==453== Lock acquired, processing the job...
[2025-01-09 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:23:03] Production.INFO: ==455== Lock acquired, processing the job...
[2025-01-09 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:23:03] Production.INFO: ==451== Lock acquired, processing the job...
[2025-01-09 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:23:03] Production.INFO: Account Balance Start.
[2025-01-09 00:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:23:03] Production.INFO: 117
[2025-01-09 00:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:23:03] Production.INFO: Total Charge 0
[2025-01-09 00:23:03] Production.INFO: CreateAllLog End
[2025-01-09 00:23:03] Production.INFO: ==449== Releasing lock...
[2025-01-09 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:23:03] Production.ERROR: done
[2025-01-09 00:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:23:03] Production.INFO: ==457== Lock acquired, processing the job...
[2025-01-09 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:23:03] Production.ERROR: done
[2025-01-09 00:23:03] Production.INFO: Account Balance End.
[2025-01-09 00:23:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:23:03] Production.INFO: ==453== Releasing lock...
[2025-01-09 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:23:03] Production.INFO: count ==21
[2025-01-09 00:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:23:03] Production.INFO: count ==21
[2025-01-09 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205877') start
[2025-01-09 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205877') end
[2025-01-09 00:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:23:03] Production.INFO: 1
[2025-01-09 00:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:23:04] Production.INFO: ==457== Releasing lock...
[2025-01-09 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:23:04
[end_date_ymd] => 2025-01-09 00:23:04
[RateCDR] => 1
)
[2025-01-09 00:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:23:04' and `end` < '2025-01-09 00:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:23:10] Production.ERROR: CronJobId end10
[2025-01-09 00:23:10] Production.INFO: ==451== Releasing lock...
[2025-01-09 00:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:23:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:23:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:23:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:23:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:23:12] Production.INFO: call_cost start
[2025-01-09 00:23:12] Production.INFO: call_cost end
[2025-01-09 00:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:23:13] Production.INFO: ==447== Releasing lock...
[2025-01-09 00:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:23:17] Production.INFO: count ==126
[2025-01-09 00:23:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:23:04 - End Time 2025-01-09 00:23:04
[2025-01-09 00:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205878', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205878', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205878', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205878', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:23:17] Production.INFO: ProcessCDR(1,14205878,1,1,2)
[2025-01-09 00:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205878', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205878', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:23:20] Production.INFO: ==455== Releasing lock...
[2025-01-09 00:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:23:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:24:01] Production.INFO: ==524== Lock acquired, processing the job...
[2025-01-09 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:24:01] Production.INFO: neon service started
[2025-01-09 05:24:01] Production.INFO: neon service started
[2025-01-09 05:24:01] Production.INFO: ==524== Releasing lock...
[2025-01-09 05:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:24:02] Production.INFO: ==526== Lock acquired, processing the job...
[2025-01-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:24:02] Production.INFO: ==526== Releasing lock...
[2025-01-09 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:24:02] Production.INFO: ==528== Lock acquired, processing the job...
[2025-01-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:24:02] Production.INFO: ==528== Releasing lock...
[2025-01-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:24:03] Production.INFO: ==532== Lock acquired, processing the job...
[2025-01-09 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:24:03] Production.INFO: ==540== Lock acquired, processing the job...
[2025-01-09 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:24:03] Production.INFO: ==530== Lock acquired, processing the job...
[2025-01-09 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:24:03] Production.INFO: count ==21
[2025-01-09 00:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:24:03] Production.INFO: ==534== Lock acquired, processing the job...
[2025-01-09 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:24:03] Production.INFO: count ==21
[2025-01-09 00:24:03] Production.INFO: ==536== Lock acquired, processing the job...
[2025-01-09 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205880') start
[2025-01-09 00:24:03] Production.INFO: ==538== Lock acquired, processing the job...
[2025-01-09 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:24:03] Production.INFO: ==532== Releasing lock...
[2025-01-09 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205880') end
[2025-01-09 00:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:24:03] Production.INFO: 1
[2025-01-09 00:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:24:03] Production.INFO: Account Balance Start.
[2025-01-09 00:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:24:03] Production.INFO: 117
[2025-01-09 00:24:03] Production.INFO: ==540== Releasing lock...
[2025-01-09 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:24:04] Production.ERROR: done
[2025-01-09 00:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:24:04] Production.ERROR: done
[2025-01-09 00:24:04] Production.INFO: Total Charge 0
[2025-01-09 00:24:04] Production.INFO: CreateAllLog End
[2025-01-09 00:24:04] Production.INFO: Account Balance End.
[2025-01-09 00:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:24:04] Production.INFO: ==536== Releasing lock...
[2025-01-09 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:24:05
[end_date_ymd] => 2025-01-09 00:24:05
[RateCDR] => 1
)
[2025-01-09 00:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:24:05' and `end` < '2025-01-09 00:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:24:11] Production.ERROR: CronJobId end10
[2025-01-09 00:24:11] Production.INFO: ==534== Releasing lock...
[2025-01-09 00:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:24:12] Production.INFO: call_cost start
[2025-01-09 00:24:12] Production.INFO: call_cost end
[2025-01-09 00:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:24:13] Production.INFO: ==530== Releasing lock...
[2025-01-09 00:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:24:18] Production.INFO: count ==126
[2025-01-09 00:24:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:24:05 - End Time 2025-01-09 00:24:05
[2025-01-09 00:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205883', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205883', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205883', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205883', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:24:18] Production.INFO: ProcessCDR(1,14205883,1,1,2)
[2025-01-09 00:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205883', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205883', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:24:21] Production.INFO: ==538== Releasing lock...
[2025-01-09 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:24:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:25:02] Production.INFO: ==611== Lock acquired, processing the job...
[2025-01-09 05:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:25:02] Production.INFO: neon service started
[2025-01-09 05:25:02] Production.INFO: neon service started
[2025-01-09 05:25:02] Production.INFO: ==611== Releasing lock...
[2025-01-09 05:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:25:02] Production.INFO: ==617== Lock acquired, processing the job...
[2025-01-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:25:02] Production.INFO: ==617== Releasing lock...
[2025-01-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:25:02] Production.INFO: ==615== Lock acquired, processing the job...
[2025-01-09 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:25:03] Production.INFO: ==615== Releasing lock...
[2025-01-09 00:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:25:03] Production.INFO: ==621== Lock acquired, processing the job...
[2025-01-09 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:25:03] Production.INFO: ==619== Lock acquired, processing the job...
[2025-01-09 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:25:03] Production.INFO: ==625== Lock acquired, processing the job...
[2025-01-09 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:25:03] Production.INFO: Account Balance Start.
[2025-01-09 00:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:25:03] Production.INFO: 117
[2025-01-09 00:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:25:04] Production.INFO: Total Charge 0
[2025-01-09 00:25:04] Production.INFO: CreateAllLog End
[2025-01-09 00:25:04] Production.INFO: ==623== Lock acquired, processing the job...
[2025-01-09 00:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:25:04] Production.INFO: ==621== Releasing lock...
[2025-01-09 00:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:25:04] Production.INFO: ==627== Lock acquired, processing the job...
[2025-01-09 00:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:25:04] Production.INFO: Account Balance End.
[2025-01-09 00:25:04] Production.INFO: ==629== Lock acquired, processing the job...
[2025-01-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:25:04] Production.INFO: ==625== Releasing lock...
[2025-01-09 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:25:04] Production.INFO: count ==21
[2025-01-09 00:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:25:04] Production.INFO: count ==21
[2025-01-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205887') start
[2025-01-09 00:25:04] Production.ERROR: done
[2025-01-09 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:25:04] Production.ERROR: done
[2025-01-09 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205887') end
[2025-01-09 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:25:04] Production.INFO: 1
[2025-01-09 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:25:04] Production.INFO: ==629== Releasing lock...
[2025-01-09 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:25:05
[end_date_ymd] => 2025-01-09 00:25:05
[RateCDR] => 1
)
[2025-01-09 00:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:25:05' and `end` < '2025-01-09 00:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:25:11] Production.ERROR: CronJobId end10
[2025-01-09 00:25:11] Production.INFO: ==623== Releasing lock...
[2025-01-09 00:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:25:13] Production.INFO: call_cost start
[2025-01-09 00:25:13] Production.INFO: call_cost end
[2025-01-09 00:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:25:14] Production.INFO: ==619== Releasing lock...
[2025-01-09 00:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:25:18] Production.INFO: count ==126
[2025-01-09 00:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:25:05 - End Time 2025-01-09 00:25:05
[2025-01-09 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205888', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205888', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205888', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205888', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:25:18] Production.INFO: ProcessCDR(1,14205888,1,1,2)
[2025-01-09 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205888', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205888', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:25:21] Production.INFO: ==627== Releasing lock...
[2025-01-09 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:25:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:26:01] Production.INFO: ==717== Lock acquired, processing the job...
[2025-01-09 05:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:26:01] Production.INFO: neon service started
[2025-01-09 05:26:01] Production.INFO: neon service started
[2025-01-09 05:26:01] Production.INFO: ==717== Releasing lock...
[2025-01-09 05:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:26:02] Production.INFO: ==719== Lock acquired, processing the job...
[2025-01-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:26:02] Production.INFO: ==721== Lock acquired, processing the job...
[2025-01-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:26:02] Production.INFO: ==721== Releasing lock...
[2025-01-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:26:02] Production.INFO: ==719== Releasing lock...
[2025-01-09 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:26:03] Production.INFO: ==728== Lock acquired, processing the job...
[2025-01-09 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:26:03] Production.INFO: ==734== Lock acquired, processing the job...
[2025-01-09 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:26:03] Production.INFO: ==724== Lock acquired, processing the job...
[2025-01-09 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:26:03] Production.INFO: ==726== Lock acquired, processing the job...
[2025-01-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:26:03] Production.INFO: ==730== Lock acquired, processing the job...
[2025-01-09 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:26:03] Production.INFO: count ==21
[2025-01-09 00:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:26:03] Production.INFO: ==732== Lock acquired, processing the job...
[2025-01-09 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:26:03] Production.INFO: count ==21
[2025-01-09 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205889') start
[2025-01-09 00:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:26:03] Production.INFO: Account Balance Start.
[2025-01-09 00:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:26:03] Production.INFO: 117
[2025-01-09 00:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205889') end
[2025-01-09 00:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:26:03] Production.INFO: 1
[2025-01-09 00:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:26:03] Production.INFO: Total Charge 0
[2025-01-09 00:26:03] Production.INFO: CreateAllLog End
[2025-01-09 00:26:03] Production.INFO: ==734== Releasing lock...
[2025-01-09 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:26:03] Production.INFO: ==726== Releasing lock...
[2025-01-09 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:26:03] Production.ERROR: done
[2025-01-09 00:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:26:03] Production.INFO: Account Balance End.
[2025-01-09 00:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:26:04] Production.INFO: ==730== Releasing lock...
[2025-01-09 00:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:26:04] Production.ERROR: done
[2025-01-09 00:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:26:04
[end_date_ymd] => 2025-01-09 00:26:04
[RateCDR] => 1
)
[2025-01-09 00:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:26:04' and `end` < '2025-01-09 00:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:26:10] Production.ERROR: CronJobId end10
[2025-01-09 00:26:10] Production.INFO: ==728== Releasing lock...
[2025-01-09 00:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:26:12] Production.INFO: call_cost start
[2025-01-09 00:26:12] Production.INFO: call_cost end
[2025-01-09 00:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:26:13] Production.INFO: ==724== Releasing lock...
[2025-01-09 00:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:26:18] Production.INFO: count ==126
[2025-01-09 00:26:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:26:04 - End Time 2025-01-09 00:26:04
[2025-01-09 00:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205893', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205893', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205893', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205893', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:26:18] Production.INFO: ProcessCDR(1,14205893,1,1,2)
[2025-01-09 00:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205893', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205893', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:26:21] Production.INFO: ==732== Releasing lock...
[2025-01-09 00:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:26:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:27:01] Production.INFO: ==801== Lock acquired, processing the job...
[2025-01-09 05:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:27:01] Production.INFO: neon service started
[2025-01-09 05:27:01] Production.INFO: neon service started
[2025-01-09 05:27:01] Production.INFO: ==801== Releasing lock...
[2025-01-09 05:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:27:02] Production.INFO: ==803== Lock acquired, processing the job...
[2025-01-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:27:02] Production.INFO: ==805== Lock acquired, processing the job...
[2025-01-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:27:02] Production.INFO: ==805== Releasing lock...
[2025-01-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:27:02] Production.INFO: ==803== Releasing lock...
[2025-01-09 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:27:03] Production.INFO: ==808== Lock acquired, processing the job...
[2025-01-09 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:27:03] Production.INFO: ==810== Lock acquired, processing the job...
[2025-01-09 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:27:03] Production.INFO: ==814== Lock acquired, processing the job...
[2025-01-09 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:27:03] Production.INFO: Account Balance Start.
[2025-01-09 00:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:27:03] Production.INFO: 117
[2025-01-09 00:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:27:03] Production.INFO: Total Charge 0
[2025-01-09 00:27:03] Production.INFO: ==812== Lock acquired, processing the job...
[2025-01-09 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:27:03] Production.INFO: CreateAllLog End
[2025-01-09 00:27:03] Production.INFO: ==816== Lock acquired, processing the job...
[2025-01-09 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:27:03] Production.INFO: ==818== Lock acquired, processing the job...
[2025-01-09 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:27:04] Production.INFO: ==810== Releasing lock...
[2025-01-09 00:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:27:04] Production.INFO: Account Balance End.
[2025-01-09 00:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:27:04] Production.INFO: ==814== Releasing lock...
[2025-01-09 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:27:04] Production.INFO: count ==21
[2025-01-09 00:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:27:04] Production.INFO: count ==21
[2025-01-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205897') start
[2025-01-09 00:27:04] Production.ERROR: done
[2025-01-09 00:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205897') end
[2025-01-09 00:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:27:04] Production.INFO: 1
[2025-01-09 00:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:27:04] Production.ERROR: done
[2025-01-09 00:27:04] Production.INFO: ==818== Releasing lock...
[2025-01-09 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:27:05
[end_date_ymd] => 2025-01-09 00:27:05
[RateCDR] => 1
)
[2025-01-09 00:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:27:05' and `end` < '2025-01-09 00:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:27:10] Production.ERROR: CronJobId end10
[2025-01-09 00:27:10] Production.INFO: ==812== Releasing lock...
[2025-01-09 00:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:27:13] Production.INFO: call_cost start
[2025-01-09 00:27:13] Production.INFO: call_cost end
[2025-01-09 00:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:27:13] Production.INFO: ==808== Releasing lock...
[2025-01-09 00:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:27:18] Production.INFO: count ==126
[2025-01-09 00:27:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:27:05 - End Time 2025-01-09 00:27:05
[2025-01-09 00:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205898', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205898', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205898', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205898', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:27:18] Production.INFO: ProcessCDR(1,14205898,1,1,2)
[2025-01-09 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205898', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205898', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:27:21] Production.INFO: ==816== Releasing lock...
[2025-01-09 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:27:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:28:01] Production.INFO: ==881== Lock acquired, processing the job...
[2025-01-09 05:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:28:01] Production.INFO: neon service started
[2025-01-09 05:28:01] Production.INFO: neon service started
[2025-01-09 05:28:01] Production.INFO: ==881== Releasing lock...
[2025-01-09 05:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:28:01] Production.INFO: ==883== Lock acquired, processing the job...
[2025-01-09 00:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:28:02] Production.INFO: ==883== Releasing lock...
[2025-01-09 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:28:02] Production.INFO: ==885== Lock acquired, processing the job...
[2025-01-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:28:02] Production.INFO: ==885== Releasing lock...
[2025-01-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:28:02] Production.INFO: ==896== Lock acquired, processing the job...
[2025-01-09 00:28:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:28:02] Production.INFO: ==888== Lock acquired, processing the job...
[2025-01-09 00:28:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:28:02] Production.INFO: ==894== Lock acquired, processing the job...
[2025-01-09 00:28:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:28:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:28:03] Production.INFO: ==890== Lock acquired, processing the job...
[2025-01-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:28:03] Production.INFO: Account Balance Start.
[2025-01-09 00:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:28:03] Production.INFO: 117
[2025-01-09 00:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:28:03] Production.INFO: ==892== Lock acquired, processing the job...
[2025-01-09 00:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:28:03] Production.INFO: ==898== Lock acquired, processing the job...
[2025-01-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:28:03] Production.INFO: Total Charge 0
[2025-01-09 00:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:28:03] Production.INFO: CreateAllLog End
[2025-01-09 00:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:28:03] Production.ERROR: done
[2025-01-09 00:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:28:03] Production.INFO: count ==21
[2025-01-09 00:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:28:03] Production.INFO: count ==21
[2025-01-09 00:28:03] Production.INFO: Account Balance End.
[2025-01-09 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205902') start
[2025-01-09 00:28:03] Production.INFO: ==890== Releasing lock...
[2025-01-09 00:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:28:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:28:03] Production.INFO: ==894== Releasing lock...
[2025-01-09 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:28:03] Production.ERROR: done
[2025-01-09 00:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205902') end
[2025-01-09 00:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:28:03] Production.INFO: 1
[2025-01-09 00:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:28:03] Production.INFO: ==898== Releasing lock...
[2025-01-09 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:28:04
[end_date_ymd] => 2025-01-09 00:28:04
[RateCDR] => 1
)
[2025-01-09 00:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:28:04' and `end` < '2025-01-09 00:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:28:11] Production.ERROR: CronJobId end10
[2025-01-09 00:28:11] Production.INFO: ==892== Releasing lock...
[2025-01-09 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:28:12] Production.INFO: call_cost start
[2025-01-09 00:28:12] Production.INFO: call_cost end
[2025-01-09 00:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:28:13] Production.INFO: ==888== Releasing lock...
[2025-01-09 00:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:28:17] Production.INFO: count ==126
[2025-01-09 00:28:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:28:04 - End Time 2025-01-09 00:28:04
[2025-01-09 00:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205903', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205903', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205903', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205903', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:28:17] Production.INFO: ProcessCDR(1,14205903,1,1,2)
[2025-01-09 00:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205903', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205903', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:28:20] Production.INFO: ==896== Releasing lock...
[2025-01-09 00:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:28:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:29:01] Production.INFO: ==961== Lock acquired, processing the job...
[2025-01-09 05:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:29:01] Production.INFO: neon service started
[2025-01-09 05:29:01] Production.INFO: neon service started
[2025-01-09 05:29:01] Production.INFO: ==961== Releasing lock...
[2025-01-09 05:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:29:02] Production.INFO: ==966== Lock acquired, processing the job...
[2025-01-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:29:02] Production.INFO: ==966== Releasing lock...
[2025-01-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:29:02] Production.INFO: ==963== Lock acquired, processing the job...
[2025-01-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:29:02] Production.INFO: ==963== Releasing lock...
[2025-01-09 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:29:03] Production.INFO: ==970== Lock acquired, processing the job...
[2025-01-09 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:29:03] Production.INFO: ==972== Lock acquired, processing the job...
[2025-01-09 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:29:03] Production.INFO: ==974== Lock acquired, processing the job...
[2025-01-09 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:29:03] Production.INFO: ==976== Lock acquired, processing the job...
[2025-01-09 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:29:03] Production.INFO: ==972== Releasing lock...
[2025-01-09 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:29:03] Production.INFO: ==978== Lock acquired, processing the job...
[2025-01-09 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:29:03] Production.INFO: Account Balance Start.
[2025-01-09 00:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:29:03] Production.INFO: 117
[2025-01-09 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:29:03] Production.INFO: ==980== Lock acquired, processing the job...
[2025-01-09 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:29:03] Production.INFO: Total Charge 0
[2025-01-09 00:29:03] Production.INFO: CreateAllLog End
[2025-01-09 00:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:29:04] Production.INFO: count ==21
[2025-01-09 00:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:29:04] Production.INFO: count ==21
[2025-01-09 00:29:04] Production.ERROR: done
[2025-01-09 00:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205907') start
[2025-01-09 00:29:04] Production.ERROR: done
[2025-01-09 00:29:04] Production.INFO: Account Balance End.
[2025-01-09 00:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205907') end
[2025-01-09 00:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:29:04] Production.INFO: 1
[2025-01-09 00:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:29:04] Production.INFO: ==976== Releasing lock...
[2025-01-09 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:29:04] Production.INFO: ==980== Releasing lock...
[2025-01-09 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:29:05
[end_date_ymd] => 2025-01-09 00:29:05
[RateCDR] => 1
)
[2025-01-09 00:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:29:05' and `end` < '2025-01-09 00:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:29:11] Production.ERROR: CronJobId end10
[2025-01-09 00:29:11] Production.INFO: ==974== Releasing lock...
[2025-01-09 00:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:29:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:29:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:29:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:29:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:29:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:29:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:29:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:29:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:29:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:29:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:29:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:29:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:29:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:29:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:29:12] Production.INFO: call_cost start
[2025-01-09 00:29:12] Production.INFO: call_cost end
[2025-01-09 00:29:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:29:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:29:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:29:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:29:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:29:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:29:13] Production.INFO: ==970== Releasing lock...
[2025-01-09 00:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:29:18] Production.INFO: count ==126
[2025-01-09 00:29:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:29:05 - End Time 2025-01-09 00:29:05
[2025-01-09 00:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205908', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205908', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205908', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205908', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:29:18] Production.INFO: ProcessCDR(1,14205908,1,1,2)
[2025-01-09 00:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205908', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205908', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:29:21] Production.INFO: ==978== Releasing lock...
[2025-01-09 00:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:29:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:30:02] Production.INFO: ==1042== Lock acquired, processing the job...
[2025-01-09 05:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:30:02] Production.INFO: neon service started
[2025-01-09 05:30:02] Production.INFO: neon service started
[2025-01-09 05:30:02] Production.INFO: ==1042== Releasing lock...
[2025-01-09 05:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:30:02] Production.INFO: ==1044== Lock acquired, processing the job...
[2025-01-09 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:30:03] Production.INFO: ==1047== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:30:03] Production.INFO: ==1044== Releasing lock...
[2025-01-09 00:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:30:03] Production.INFO: ==1047== Releasing lock...
[2025-01-09 05:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:30:03] Production.INFO: ==1049== Lock acquired, processing the job...
[2025-01-09 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 00:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 00:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 00:30:04] Production.INFO: ==1049== Releasing lock...
[2025-01-09 00:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 00:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:30:04] Production.INFO: ==1051== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:30:04] Production.INFO: ==1053== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:30:04] Production.INFO: ==1055== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:30:04] Production.INFO: ==1057== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:30:04] Production.INFO: ==1059== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:30:04] Production.INFO: ==1061== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 00:30:04] Production.INFO: ==1053== Releasing lock...
[2025-01-09 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:30:04] Production.INFO: Account Balance Start.
[2025-01-09 00:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:30:04] Production.INFO: 117
[2025-01-09 00:30:04] Production.INFO: ==1063== Lock acquired, processing the job...
[2025-01-09 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:30:04] Production.INFO: Total Charge 0
[2025-01-09 00:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:30:04] Production.INFO: CreateAllLog End
[2025-01-09 00:30:04] Production.INFO: count ==21
[2025-01-09 00:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:30:04] Production.INFO: count ==21
[2025-01-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205912') start
[2025-01-09 00:30:04] Production.ERROR: done
[2025-01-09 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205913', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 00:30:04] Production.INFO: Account Balance End.
[2025-01-09 00:30:04] Production.ERROR: done
[2025-01-09 00:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:30:04] Production.INFO: ==1057== Releasing lock...
[2025-01-09 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205912') end
[2025-01-09 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:30:04] Production.INFO: 1
[2025-01-09 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:30:05] Production.INFO: ==1063== Releasing lock...
[2025-01-09 00:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:30:05] Production.ERROR: done
[2025-01-09 00:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:30:06
[end_date_ymd] => 2025-01-09 00:30:06
[RateCDR] => 1
)
[2025-01-09 00:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:30:06' and `end` < '2025-01-09 00:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205913', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 00:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 00:30:08] Production.INFO: ProcessCDR(1,14205913,1,1,2)
[2025-01-09 00:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205913,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205913,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:30:08] Production.INFO: ==1061== Releasing lock...
[2025-01-09 00:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 00:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:30:13] Production.ERROR: CronJobId end10
[2025-01-09 00:30:13] Production.INFO: ==1055== Releasing lock...
[2025-01-09 00:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:30:14] Production.INFO: call_cost start
[2025-01-09 00:30:14] Production.INFO: call_cost end
[2025-01-09 00:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:30:15] Production.INFO: ==1051== Releasing lock...
[2025-01-09 00:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:30:19] Production.INFO: count ==128
[2025-01-09 00:30:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:30:06 - End Time 2025-01-09 00:30:06
[2025-01-09 00:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205914', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205914', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205914', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205914', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:30:19] Production.INFO: ProcessCDR(1,14205914,1,1,2)
[2025-01-09 00:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205914', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205914', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:30:22] Production.INFO: ==1059== Releasing lock...
[2025-01-09 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:30:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:31:01] Production.INFO: ==1123== Lock acquired, processing the job...
[2025-01-09 05:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:31:01] Production.INFO: neon service started
[2025-01-09 05:31:01] Production.INFO: neon service started
[2025-01-09 05:31:01] Production.INFO: ==1123== Releasing lock...
[2025-01-09 05:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:31:02] Production.INFO: ==1126== Lock acquired, processing the job...
[2025-01-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:31:02] Production.INFO: ==1128== Lock acquired, processing the job...
[2025-01-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:31:02] Production.INFO: ==1126== Releasing lock...
[2025-01-09 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:31:02] Production.INFO: ==1128== Releasing lock...
[2025-01-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:31:03] Production.INFO: ==1130== Lock acquired, processing the job...
[2025-01-09 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:31:03] Production.INFO: ==1139== Lock acquired, processing the job...
[2025-01-09 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:31:03] Production.INFO: ==1141== Lock acquired, processing the job...
[2025-01-09 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:31:03] Production.INFO: ==1134== Lock acquired, processing the job...
[2025-01-09 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:31:03] Production.INFO: Account Balance Start.
[2025-01-09 00:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:31:03] Production.INFO: 117
[2025-01-09 00:31:03] Production.INFO: ==1137== Lock acquired, processing the job...
[2025-01-09 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:31:03] Production.INFO: Total Charge 0
[2025-01-09 00:31:03] Production.INFO: ==1143== Lock acquired, processing the job...
[2025-01-09 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:31:03] Production.INFO: CreateAllLog End
[2025-01-09 00:31:03] Production.ERROR: done
[2025-01-09 00:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:31:03] Production.INFO: ==1134== Releasing lock...
[2025-01-09 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:31:03] Production.INFO: count ==21
[2025-01-09 00:31:03] Production.ERROR: done
[2025-01-09 00:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:31:03] Production.INFO: count ==21
[2025-01-09 00:31:03] Production.INFO: Account Balance End.
[2025-01-09 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205918') start
[2025-01-09 00:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:31:03] Production.INFO: ==1139== Releasing lock...
[2025-01-09 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205918') end
[2025-01-09 00:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:31:03] Production.INFO: 1
[2025-01-09 00:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:31:04] Production.INFO: ==1143== Releasing lock...
[2025-01-09 00:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:31:04
[end_date_ymd] => 2025-01-09 00:31:04
[RateCDR] => 1
)
[2025-01-09 00:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:31:04' and `end` < '2025-01-09 00:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:31:10] Production.ERROR: CronJobId end10
[2025-01-09 00:31:10] Production.INFO: ==1137== Releasing lock...
[2025-01-09 00:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:31:12] Production.INFO: call_cost start
[2025-01-09 00:31:12] Production.INFO: call_cost end
[2025-01-09 00:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:31:13] Production.INFO: ==1130== Releasing lock...
[2025-01-09 00:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:31:17] Production.INFO: count ==128
[2025-01-09 00:31:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:31:04 - End Time 2025-01-09 00:31:04
[2025-01-09 00:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205919', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205919', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205919', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205919', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:31:18] Production.INFO: ProcessCDR(1,14205919,1,1,2)
[2025-01-09 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205919', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205919', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:31:21] Production.INFO: ==1141== Releasing lock...
[2025-01-09 00:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:31:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:32:02] Production.INFO: ==1212== Lock acquired, processing the job...
[2025-01-09 05:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:32:02] Production.INFO: neon service started
[2025-01-09 05:32:02] Production.INFO: neon service started
[2025-01-09 05:32:02] Production.INFO: ==1212== Releasing lock...
[2025-01-09 05:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:32:02] Production.INFO: ==1214== Lock acquired, processing the job...
[2025-01-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:32:02] Production.INFO: ==1214== Releasing lock...
[2025-01-09 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:32:02] Production.INFO: ==1216== Lock acquired, processing the job...
[2025-01-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:32:02] Production.INFO: ==1216== Releasing lock...
[2025-01-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:32:03] Production.INFO: ==1219== Lock acquired, processing the job...
[2025-01-09 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:32:03] Production.INFO: ==1221== Lock acquired, processing the job...
[2025-01-09 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:32:03] Production.INFO: ==1223== Lock acquired, processing the job...
[2025-01-09 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:32:03] Production.INFO: ==1225== Lock acquired, processing the job...
[2025-01-09 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:32:03] Production.INFO: ==1221== Releasing lock...
[2025-01-09 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:32:03] Production.INFO: ==1227== Lock acquired, processing the job...
[2025-01-09 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:32:03] Production.INFO: Account Balance Start.
[2025-01-09 00:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:32:03] Production.INFO: 117
[2025-01-09 00:32:03] Production.INFO: ==1229== Lock acquired, processing the job...
[2025-01-09 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:32:04] Production.INFO: Total Charge 0
[2025-01-09 00:32:04] Production.INFO: CreateAllLog End
[2025-01-09 00:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:32:04] Production.ERROR: done
[2025-01-09 00:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:32:04] Production.INFO: count ==21
[2025-01-09 00:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:32:04] Production.INFO: count ==21
[2025-01-09 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205923') start
[2025-01-09 00:32:04] Production.ERROR: done
[2025-01-09 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205923') end
[2025-01-09 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:32:04] Production.INFO: 1
[2025-01-09 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:32:04] Production.INFO: ==1229== Releasing lock...
[2025-01-09 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:32:04] Production.INFO: Account Balance End.
[2025-01-09 00:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:32:04] Production.INFO: ==1225== Releasing lock...
[2025-01-09 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:32:05
[end_date_ymd] => 2025-01-09 00:32:05
[RateCDR] => 1
)
[2025-01-09 00:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:32:05' and `end` < '2025-01-09 00:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:32:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-01-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-09 00:32:10] Production.ERROR: CronJobId end10
[2025-01-09 00:32:10] Production.INFO: ==1223== Releasing lock...
[2025-01-09 00:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:32:13] Production.INFO: call_cost start
[2025-01-09 00:32:13] Production.INFO: call_cost end
[2025-01-09 00:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:32:14] Production.INFO: ==1219== Releasing lock...
[2025-01-09 00:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:32:18] Production.INFO: count ==128
[2025-01-09 00:32:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:32:05 - End Time 2025-01-09 00:32:05
[2025-01-09 00:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205924', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205924', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205924', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205924', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:32:18] Production.INFO: ProcessCDR(1,14205924,1,1,2)
[2025-01-09 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205924', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205924', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:32:21] Production.INFO: ==1227== Releasing lock...
[2025-01-09 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:32:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-09 05:33:01] Production.INFO: ==1348== Lock acquired, processing the job...
[2025-01-09 05:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:33:01] Production.INFO: neon service started
[2025-01-09 05:33:01] Production.INFO: neon service started
[2025-01-09 05:33:01] Production.INFO: ==1348== Releasing lock...
[2025-01-09 05:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:33:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:33:01] Production.INFO: ==1350== Lock acquired, processing the job...
[2025-01-09 00:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:33:02] Production.INFO: ==1352== Lock acquired, processing the job...
[2025-01-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:33:02] Production.INFO: ==1350== Releasing lock...
[2025-01-09 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:33:02] Production.INFO: ==1352== Releasing lock...
[2025-01-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:33:02] Production.INFO: ==1355== Lock acquired, processing the job...
[2025-01-09 00:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:33:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:33:02] Production.INFO: ==1357== Lock acquired, processing the job...
[2025-01-09 00:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:33:02] Production.INFO: ==1359== Lock acquired, processing the job...
[2025-01-09 00:33:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:33:03] Production.INFO: ==1361== Lock acquired, processing the job...
[2025-01-09 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:33:03] Production.INFO: ==1357== Releasing lock...
[2025-01-09 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:33:03] Production.INFO: ==1363== Lock acquired, processing the job...
[2025-01-09 00:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:33:03] Production.INFO: Account Balance Start.
[2025-01-09 00:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:33:03] Production.INFO: 117
[2025-01-09 00:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:33:03] Production.INFO: ==1365== Lock acquired, processing the job...
[2025-01-09 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:33:03] Production.INFO: Total Charge 0
[2025-01-09 00:33:03] Production.INFO: CreateAllLog End
[2025-01-09 00:33:03] Production.ERROR: done
[2025-01-09 00:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:33:03] Production.INFO: Account Balance End.
[2025-01-09 00:33:03] Production.INFO: count ==21
[2025-01-09 00:33:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:33:03] Production.INFO: ==1361== Releasing lock...
[2025-01-09 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:33:03] Production.INFO: count ==21
[2025-01-09 00:33:03] Production.ERROR: done
[2025-01-09 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205928') start
[2025-01-09 00:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205928') end
[2025-01-09 00:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:33:03] Production.INFO: 1
[2025-01-09 00:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:33:03] Production.INFO: ==1365== Releasing lock...
[2025-01-09 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:33:04
[end_date_ymd] => 2025-01-09 00:33:04
[RateCDR] => 1
)
[2025-01-09 00:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:33:04' and `end` < '2025-01-09 00:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:33:09] Production.ERROR: CronJobId end10
[2025-01-09 00:33:09] Production.INFO: ==1359== Releasing lock...
[2025-01-09 00:33:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:33:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:33:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:33:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:33:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:33:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:33:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:33:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:33:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:33:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:33:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:33:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:33:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:33:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:33:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:33:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:33:12] Production.INFO: call_cost start
[2025-01-09 00:33:12] Production.INFO: call_cost end
[2025-01-09 00:33:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:33:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:33:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:33:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:33:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:33:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:33:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:33:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:33:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:33:12] Production.INFO: ==1355== Releasing lock...
[2025-01-09 00:33:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:33:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:33:17] Production.INFO: count ==128
[2025-01-09 00:33:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:33:04 - End Time 2025-01-09 00:33:04
[2025-01-09 00:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205929', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205929', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205929', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205929', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:33:17] Production.INFO: ProcessCDR(1,14205929,1,1,2)
[2025-01-09 00:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205929', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205929', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:33:20] Production.INFO: ==1363== Releasing lock...
[2025-01-09 00:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:33:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:34:01] Production.INFO: ==1418== Lock acquired, processing the job...
[2025-01-09 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:34:01] Production.INFO: neon service started
[2025-01-09 05:34:01] Production.INFO: neon service started
[2025-01-09 05:34:01] Production.INFO: ==1418== Releasing lock...
[2025-01-09 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:34:02] Production.INFO: ==1420== Lock acquired, processing the job...
[2025-01-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:34:02] Production.INFO: ==1422== Lock acquired, processing the job...
[2025-01-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:34:02] Production.INFO: ==1420== Releasing lock...
[2025-01-09 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:34:02] Production.INFO: ==1422== Releasing lock...
[2025-01-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:34:03] Production.INFO: ==1425== Lock acquired, processing the job...
[2025-01-09 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:34:03] Production.INFO: ==1435== Lock acquired, processing the job...
[2025-01-09 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:34:03] Production.INFO: ==1427== Lock acquired, processing the job...
[2025-01-09 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:34:03] Production.INFO: ==1429== Lock acquired, processing the job...
[2025-01-09 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:34:03] Production.INFO: ==1431== Lock acquired, processing the job...
[2025-01-09 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:34:03] Production.INFO: count ==21
[2025-01-09 00:34:03] Production.INFO: ==1433== Lock acquired, processing the job...
[2025-01-09 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:34:03] Production.INFO: count ==21
[2025-01-09 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205931') start
[2025-01-09 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205931') end
[2025-01-09 00:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:34:03] Production.INFO: 1
[2025-01-09 00:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:34:03] Production.INFO: Account Balance Start.
[2025-01-09 00:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:34:03] Production.INFO: 117
[2025-01-09 00:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:34:03] Production.INFO: ==1435== Releasing lock...
[2025-01-09 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:34:03] Production.INFO: Total Charge 0
[2025-01-09 00:34:04] Production.INFO: ==1427== Releasing lock...
[2025-01-09 00:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:34:04] Production.INFO: CreateAllLog End
[2025-01-09 00:34:04] Production.ERROR: done
[2025-01-09 00:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:34:04] Production.INFO: Account Balance End.
[2025-01-09 00:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:34:04] Production.INFO: ==1431== Releasing lock...
[2025-01-09 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:34:04] Production.ERROR: done
[2025-01-09 00:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:34:05
[end_date_ymd] => 2025-01-09 00:34:05
[RateCDR] => 1
)
[2025-01-09 00:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:34:05' and `end` < '2025-01-09 00:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:34:10] Production.ERROR: CronJobId end10
[2025-01-09 00:34:10] Production.INFO: ==1429== Releasing lock...
[2025-01-09 00:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:34:12] Production.INFO: call_cost start
[2025-01-09 00:34:12] Production.INFO: call_cost end
[2025-01-09 00:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:34:13] Production.INFO: ==1425== Releasing lock...
[2025-01-09 00:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:34:18] Production.INFO: count ==128
[2025-01-09 00:34:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:34:05 - End Time 2025-01-09 00:34:05
[2025-01-09 00:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205934', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205934', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205934', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205934', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:34:18] Production.INFO: ProcessCDR(1,14205934,1,1,2)
[2025-01-09 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205934', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205934', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:34:21] Production.INFO: ==1433== Releasing lock...
[2025-01-09 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:34:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:35:01] Production.INFO: ==1489== Lock acquired, processing the job...
[2025-01-09 05:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:35:01] Production.INFO: neon service started
[2025-01-09 05:35:01] Production.INFO: neon service started
[2025-01-09 05:35:01] Production.INFO: ==1489== Releasing lock...
[2025-01-09 05:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:35:01] Production.INFO: ==1491== Lock acquired, processing the job...
[2025-01-09 00:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:35:01] Production.INFO: ==1491== Releasing lock...
[2025-01-09 00:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:35:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:35:02] Production.INFO: ==1493== Lock acquired, processing the job...
[2025-01-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:35:02] Production.INFO: ==1493== Releasing lock...
[2025-01-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:35:02] Production.INFO: ==1498== Lock acquired, processing the job...
[2025-01-09 00:35:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:35:02] Production.INFO: ==1505== Lock acquired, processing the job...
[2025-01-09 00:35:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:35:02] Production.INFO: ==1496== Lock acquired, processing the job...
[2025-01-09 00:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:35:02] Production.INFO: Account Balance Start.
[2025-01-09 00:35:02] Production.INFO: CreateAllLog Start
[2025-01-09 00:35:02] Production.INFO: 117
[2025-01-09 00:35:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:35:02] Production.INFO: Date 2025-01-08
[2025-01-09 00:35:02] Production.INFO: Reseller ==> 0
[2025-01-09 00:35:02] Production.INFO: ==1500== Lock acquired, processing the job...
[2025-01-09 00:35:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:35:02] Production.INFO: Date 2025-01-09
[2025-01-09 00:35:02] Production.INFO: Reseller ==> 0
[2025-01-09 00:35:03] Production.INFO: Total Charge 0
[2025-01-09 00:35:03] Production.INFO: ==1537== Lock acquired, processing the job...
[2025-01-09 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:35:03] Production.INFO: ==1535== Lock acquired, processing the job...
[2025-01-09 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:35:03] Production.INFO: CreateAllLog End
[2025-01-09 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:35:03] Production.INFO: ==1498== Releasing lock...
[2025-01-09 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:35:03] Production.INFO: count ==21
[2025-01-09 00:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:35:03] Production.INFO: count ==21
[2025-01-09 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205938') start
[2025-01-09 00:35:03] Production.INFO: Account Balance End.
[2025-01-09 00:35:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:35:03] Production.INFO: ==1505== Releasing lock...
[2025-01-09 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:35:03] Production.ERROR: done
[2025-01-09 00:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:35:03] Production.ERROR: done
[2025-01-09 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205938') end
[2025-01-09 00:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:35:03] Production.INFO: 1
[2025-01-09 00:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:35:03] Production.INFO: ==1537== Releasing lock...
[2025-01-09 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:35:04
[end_date_ymd] => 2025-01-09 00:35:04
[RateCDR] => 1
)
[2025-01-09 00:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:35:04' and `end` < '2025-01-09 00:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:35:10] Production.ERROR: CronJobId end10
[2025-01-09 00:35:10] Production.INFO: ==1500== Releasing lock...
[2025-01-09 00:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:35:12] Production.INFO: call_cost start
[2025-01-09 00:35:12] Production.INFO: call_cost end
[2025-01-09 00:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:35:13] Production.INFO: ==1496== Releasing lock...
[2025-01-09 00:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:35:17] Production.INFO: count ==128
[2025-01-09 00:35:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:35:04 - End Time 2025-01-09 00:35:04
[2025-01-09 00:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205939', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205939', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205939', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205939', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:35:17] Production.INFO: ProcessCDR(1,14205939,1,1,2)
[2025-01-09 00:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205939', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205939', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:35:20] Production.INFO: ==1535== Releasing lock...
[2025-01-09 00:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:35:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:36:01] Production.INFO: ==1601== Lock acquired, processing the job...
[2025-01-09 05:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:36:01] Production.INFO: neon service started
[2025-01-09 05:36:01] Production.INFO: neon service started
[2025-01-09 05:36:01] Production.INFO: ==1601== Releasing lock...
[2025-01-09 05:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:36:02] Production.INFO: ==1603== Lock acquired, processing the job...
[2025-01-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:36:02] Production.INFO: ==1605== Lock acquired, processing the job...
[2025-01-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:36:02] Production.INFO: ==1605== Releasing lock...
[2025-01-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:36:02] Production.INFO: ==1603== Releasing lock...
[2025-01-09 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:36:03] Production.INFO: ==1618== Lock acquired, processing the job...
[2025-01-09 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:36:03] Production.INFO: ==1616== Lock acquired, processing the job...
[2025-01-09 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:36:03] Production.INFO: count ==21
[2025-01-09 00:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:36:03] Production.INFO: ==1610== Lock acquired, processing the job...
[2025-01-09 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:36:03] Production.INFO: count ==21
[2025-01-09 00:36:03] Production.INFO: ==1608== Lock acquired, processing the job...
[2025-01-09 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205940') start
[2025-01-09 00:36:03] Production.INFO: ==1612== Lock acquired, processing the job...
[2025-01-09 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:36:03] Production.INFO: ==1614== Lock acquired, processing the job...
[2025-01-09 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205940') end
[2025-01-09 00:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:36:03] Production.INFO: 1
[2025-01-09 00:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:36:03] Production.INFO: ==1618== Releasing lock...
[2025-01-09 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:36:03] Production.INFO: Account Balance Start.
[2025-01-09 00:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:36:03] Production.INFO: 117
[2025-01-09 00:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:36:04] Production.INFO: Total Charge 0
[2025-01-09 00:36:04] Production.INFO: CreateAllLog End
[2025-01-09 00:36:04] Production.ERROR: done
[2025-01-09 00:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:36:04] Production.INFO: ==1610== Releasing lock...
[2025-01-09 00:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:36:04] Production.ERROR: done
[2025-01-09 00:36:04] Production.INFO: Account Balance End.
[2025-01-09 00:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:36:04] Production.INFO: ==1614== Releasing lock...
[2025-01-09 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:36:05
[end_date_ymd] => 2025-01-09 00:36:05
[RateCDR] => 1
)
[2025-01-09 00:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:36:05' and `end` < '2025-01-09 00:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:36:10] Production.ERROR: CronJobId end10
[2025-01-09 00:36:10] Production.INFO: ==1612== Releasing lock...
[2025-01-09 00:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:36:13] Production.INFO: call_cost start
[2025-01-09 00:36:13] Production.INFO: call_cost end
[2025-01-09 00:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:36:14] Production.INFO: ==1608== Releasing lock...
[2025-01-09 00:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:36:18] Production.INFO: count ==128
[2025-01-09 00:36:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:36:05 - End Time 2025-01-09 00:36:05
[2025-01-09 00:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205944', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205944', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205944', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205944', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:36:18] Production.INFO: ProcessCDR(1,14205944,1,1,2)
[2025-01-09 00:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205944', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205944', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:36:21] Production.INFO: ==1616== Releasing lock...
[2025-01-09 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:36:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:37:02] Production.INFO: ==1671== Lock acquired, processing the job...
[2025-01-09 05:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:37:02] Production.INFO: neon service started
[2025-01-09 05:37:02] Production.INFO: neon service started
[2025-01-09 05:37:02] Production.INFO: ==1671== Releasing lock...
[2025-01-09 05:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:37:02] Production.INFO: ==1673== Lock acquired, processing the job...
[2025-01-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:37:02] Production.INFO: ==1673== Releasing lock...
[2025-01-09 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:37:02] Production.INFO: ==1675== Lock acquired, processing the job...
[2025-01-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:37:03] Production.INFO: ==1675== Releasing lock...
[2025-01-09 05:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:37:03] Production.INFO: ==1681== Lock acquired, processing the job...
[2025-01-09 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:37:03] Production.INFO: ==1685== Lock acquired, processing the job...
[2025-01-09 00:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:37:03] Production.INFO: ==1677== Lock acquired, processing the job...
[2025-01-09 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:37:03] Production.INFO: ==1679== Lock acquired, processing the job...
[2025-01-09 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:37:03] Production.INFO: ==1683== Lock acquired, processing the job...
[2025-01-09 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:37:04] Production.INFO: ==1688== Lock acquired, processing the job...
[2025-01-09 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:37:04] Production.INFO: Account Balance Start.
[2025-01-09 00:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:37:04] Production.INFO: 117
[2025-01-09 00:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:37:04] Production.INFO: count ==21
[2025-01-09 00:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:37:04] Production.INFO: count ==21
[2025-01-09 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205948') start
[2025-01-09 00:37:04] Production.ERROR: done
[2025-01-09 00:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205948') end
[2025-01-09 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:37:04] Production.INFO: 1
[2025-01-09 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:37:04] Production.INFO: Total Charge 0
[2025-01-09 00:37:04] Production.ERROR: done
[2025-01-09 00:37:04] Production.INFO: CreateAllLog End
[2025-01-09 00:37:04] Production.INFO: ==1679== Releasing lock...
[2025-01-09 00:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:37:04] Production.INFO: ==1688== Releasing lock...
[2025-01-09 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:37:04] Production.INFO: Account Balance End.
[2025-01-09 00:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:37:04] Production.INFO: ==1683== Releasing lock...
[2025-01-09 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:37:05
[end_date_ymd] => 2025-01-09 00:37:05
[RateCDR] => 1
)
[2025-01-09 00:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:37:05' and `end` < '2025-01-09 00:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:37:10] Production.ERROR: CronJobId end10
[2025-01-09 00:37:10] Production.INFO: ==1681== Releasing lock...
[2025-01-09 00:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:37:13] Production.INFO: call_cost start
[2025-01-09 00:37:13] Production.INFO: call_cost end
[2025-01-09 00:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:37:13] Production.INFO: ==1677== Releasing lock...
[2025-01-09 00:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:37:18] Production.INFO: count ==128
[2025-01-09 00:37:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:37:05 - End Time 2025-01-09 00:37:05
[2025-01-09 00:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205949', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205949', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205949', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205949', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:37:18] Production.INFO: ProcessCDR(1,14205949,1,1,2)
[2025-01-09 00:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205949', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205949', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:37:21] Production.INFO: ==1685== Releasing lock...
[2025-01-09 00:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:37:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:38:01] Production.INFO: ==1741== Lock acquired, processing the job...
[2025-01-09 05:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:38:01] Production.INFO: neon service started
[2025-01-09 05:38:01] Production.INFO: neon service started
[2025-01-09 05:38:01] Production.INFO: ==1741== Releasing lock...
[2025-01-09 05:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:38:01] Production.INFO: ==1745== Lock acquired, processing the job...
[2025-01-09 05:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:38:01] Production.INFO: ==1745== Releasing lock...
[2025-01-09 05:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:38:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:38:02] Production.INFO: ==1743== Lock acquired, processing the job...
[2025-01-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:38:02] Production.INFO: ==1743== Releasing lock...
[2025-01-09 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:38:03] Production.INFO: ==1758== Lock acquired, processing the job...
[2025-01-09 00:38:03] Production.INFO: ==1754== Lock acquired, processing the job...
[2025-01-09 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:38:03] Production.INFO: count ==21
[2025-01-09 00:38:03] Production.INFO: ==1747== Lock acquired, processing the job...
[2025-01-09 00:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:38:03] Production.INFO: Account Balance Start.
[2025-01-09 00:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:38:03] Production.INFO: 117
[2025-01-09 00:38:03] Production.INFO: count ==21
[2025-01-09 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205950') start
[2025-01-09 00:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:38:03] Production.INFO: ==1749== Lock acquired, processing the job...
[2025-01-09 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205950') end
[2025-01-09 00:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:38:03] Production.INFO: 1
[2025-01-09 00:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:38:03] Production.INFO: ==1751== Lock acquired, processing the job...
[2025-01-09 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:38:03] Production.INFO: ==1758== Releasing lock...
[2025-01-09 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:38:03] Production.INFO: Total Charge 0
[2025-01-09 00:38:03] Production.INFO: CreateAllLog End
[2025-01-09 00:38:03] Production.INFO: ==1756== Lock acquired, processing the job...
[2025-01-09 00:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:38:03] Production.INFO: Account Balance End.
[2025-01-09 00:38:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:38:03] Production.INFO: ==1754== Releasing lock...
[2025-01-09 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:38:03] Production.INFO: ==1749== Releasing lock...
[2025-01-09 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:38:04] Production.ERROR: done
[2025-01-09 00:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:38:04] Production.ERROR: done
[2025-01-09 00:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:38:05
[end_date_ymd] => 2025-01-09 00:38:05
[RateCDR] => 1
)
[2025-01-09 00:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:38:05' and `end` < '2025-01-09 00:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:38:10] Production.ERROR: CronJobId end10
[2025-01-09 00:38:10] Production.INFO: ==1751== Releasing lock...
[2025-01-09 00:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:38:12] Production.INFO: call_cost start
[2025-01-09 00:38:12] Production.INFO: call_cost end
[2025-01-09 00:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:38:13] Production.INFO: ==1747== Releasing lock...
[2025-01-09 00:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:38:19] Production.INFO: count ==128
[2025-01-09 00:38:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:38:05 - End Time 2025-01-09 00:38:05
[2025-01-09 00:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205954', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205954', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205954', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205954', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:38:19] Production.INFO: ProcessCDR(1,14205954,1,1,2)
[2025-01-09 00:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205954', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205954', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:38:22] Production.INFO: ==1756== Releasing lock...
[2025-01-09 00:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:38:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:39:01] Production.INFO: ==1811== Lock acquired, processing the job...
[2025-01-09 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:39:01] Production.INFO: neon service started
[2025-01-09 05:39:02] Production.INFO: neon service started
[2025-01-09 05:39:02] Production.INFO: ==1811== Releasing lock...
[2025-01-09 05:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:39:02] Production.INFO: ==1817== Lock acquired, processing the job...
[2025-01-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:39:02] Production.INFO: ==1817== Releasing lock...
[2025-01-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:39:02] Production.INFO: ==1813== Lock acquired, processing the job...
[2025-01-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:39:02] Production.INFO: ==1813== Releasing lock...
[2025-01-09 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:39:03] Production.INFO: ==1827== Lock acquired, processing the job...
[2025-01-09 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:39:03] Production.INFO: ==1831== Lock acquired, processing the job...
[2025-01-09 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:39:03] Production.INFO: ==1820== Lock acquired, processing the job...
[2025-01-09 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:39:03] Production.INFO: ==1822== Lock acquired, processing the job...
[2025-01-09 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:39:03] Production.ERROR: done
[2025-01-09 00:39:03] Production.INFO: ==1829== Lock acquired, processing the job...
[2025-01-09 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:39:03] Production.INFO: ==1833== Lock acquired, processing the job...
[2025-01-09 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:39:03] Production.INFO: Account Balance Start.
[2025-01-09 00:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:39:03] Production.INFO: 117
[2025-01-09 00:39:04] Production.ERROR: done
[2025-01-09 00:39:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:39:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:39:04] Production.INFO: count ==21
[2025-01-09 00:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:39:04] Production.INFO: count ==21
[2025-01-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205958') start
[2025-01-09 00:39:04] Production.INFO: Total Charge 0
[2025-01-09 00:39:04] Production.INFO: CreateAllLog End
[2025-01-09 00:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205958') end
[2025-01-09 00:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:39:04] Production.INFO: 1
[2025-01-09 00:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:39:04] Production.INFO: ==1822== Releasing lock...
[2025-01-09 00:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:39:04] Production.INFO: Account Balance End.
[2025-01-09 00:39:04] Production.INFO: ==1833== Releasing lock...
[2025-01-09 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:39:04] Production.INFO: ==1829== Releasing lock...
[2025-01-09 00:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:39:05
[end_date_ymd] => 2025-01-09 00:39:05
[RateCDR] => 1
)
[2025-01-09 00:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:39:05' and `end` < '2025-01-09 00:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:39:10] Production.ERROR: CronJobId end10
[2025-01-09 00:39:10] Production.INFO: ==1827== Releasing lock...
[2025-01-09 00:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:39:13] Production.INFO: call_cost start
[2025-01-09 00:39:13] Production.INFO: call_cost end
[2025-01-09 00:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:39:14] Production.INFO: ==1820== Releasing lock...
[2025-01-09 00:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:39:18] Production.INFO: count ==128
[2025-01-09 00:39:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:39:05 - End Time 2025-01-09 00:39:05
[2025-01-09 00:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205959', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205959', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205959', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205959', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:39:18] Production.INFO: ProcessCDR(1,14205959,1,1,2)
[2025-01-09 00:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205959', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205959', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:39:21] Production.INFO: ==1831== Releasing lock...
[2025-01-09 00:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:39:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:40:01] Production.INFO: ==1885== Lock acquired, processing the job...
[2025-01-09 05:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:40:01] Production.INFO: neon service started
[2025-01-09 05:40:01] Production.INFO: neon service started
[2025-01-09 05:40:01] Production.INFO: ==1885== Releasing lock...
[2025-01-09 05:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:40:01] Production.INFO: ==1889== Lock acquired, processing the job...
[2025-01-09 05:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:40:01] Production.INFO: ==1889== Releasing lock...
[2025-01-09 05:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:40:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:40:01] Production.INFO: ==1887== Lock acquired, processing the job...
[2025-01-09 00:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:40:02] Production.INFO: ==1887== Releasing lock...
[2025-01-09 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:40:03] Production.INFO: ==1892== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 00:40:03] Production.INFO: ==1894== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:40:03] Production.INFO: ==1899== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 00:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 00:40:03] Production.INFO: ==1892== Releasing lock...
[2025-01-09 00:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 00:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:40:03] Production.INFO: ==1897== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:40:03] Production.INFO: ==1907== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:40:03] Production.INFO: count ==21
[2025-01-09 00:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:40:03] Production.INFO: count ==21
[2025-01-09 00:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205961') start
[2025-01-09 00:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205961') end
[2025-01-09 00:40:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:40:03] Production.INFO: 1
[2025-01-09 00:40:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:40:03] Production.INFO: ==1901== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:40:03] Production.INFO: ==1907== Releasing lock...
[2025-01-09 00:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:40:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:40:03] Production.INFO: ==1897== Releasing lock...
[2025-01-09 00:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:40:03] Production.INFO: ==1903== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:40:03] Production.INFO: ==1905== Lock acquired, processing the job...
[2025-01-09 00:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 00:40:03] Production.INFO: Account Balance Start.
[2025-01-09 00:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:40:03] Production.INFO: 117
[2025-01-09 00:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:40:04] Production.INFO: Total Charge 0
[2025-01-09 00:40:04] Production.INFO: CreateAllLog End
[2025-01-09 00:40:04] Production.ERROR: done
[2025-01-09 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205964', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 00:40:04] Production.ERROR: done
[2025-01-09 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:40:04] Production.INFO: Account Balance End.
[2025-01-09 00:40:04] Production.ERROR: done
[2025-01-09 00:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:40:04] Production.INFO: ==1901== Releasing lock...
[2025-01-09 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:40:05
[end_date_ymd] => 2025-01-09 00:40:05
[RateCDR] => 1
)
[2025-01-09 00:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:40:05' and `end` < '2025-01-09 00:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14205964', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 00:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 00:40:08] Production.INFO: ProcessCDR(1,14205964,1,1,2)
[2025-01-09 00:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14205964,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14205964,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:40:08] Production.INFO: ==1905== Releasing lock...
[2025-01-09 00:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 00:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:40:11] Production.ERROR: CronJobId end10
[2025-01-09 00:40:11] Production.INFO: ==1899== Releasing lock...
[2025-01-09 00:40:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:40:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:40:13] Production.INFO: call_cost start
[2025-01-09 00:40:13] Production.INFO: call_cost end
[2025-01-09 00:40:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:40:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:40:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:40:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:40:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:40:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:40:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:40:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:40:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:40:14] Production.INFO: ==1894== Releasing lock...
[2025-01-09 00:40:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:40:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:40:18] Production.INFO: count ==133
[2025-01-09 00:40:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:40:05 - End Time 2025-01-09 00:40:05
[2025-01-09 00:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205965', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205965', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205965', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205965', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:40:18] Production.INFO: ProcessCDR(1,14205965,1,1,2)
[2025-01-09 00:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205965', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205965', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:40:21] Production.INFO: ==1903== Releasing lock...
[2025-01-09 00:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:40:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:41:01] Production.INFO: ==1961== Lock acquired, processing the job...
[2025-01-09 05:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:41:01] Production.INFO: neon service started
[2025-01-09 05:41:01] Production.INFO: neon service started
[2025-01-09 05:41:01] Production.INFO: ==1961== Releasing lock...
[2025-01-09 05:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:41:02] Production.INFO: ==1963== Lock acquired, processing the job...
[2025-01-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:41:02] Production.INFO: ==1965== Lock acquired, processing the job...
[2025-01-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:41:02] Production.INFO: ==1963== Releasing lock...
[2025-01-09 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:41:02] Production.INFO: ==1965== Releasing lock...
[2025-01-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:41:03] Production.INFO: ==1967== Lock acquired, processing the job...
[2025-01-09 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:41:03] Production.INFO: ==1969== Lock acquired, processing the job...
[2025-01-09 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:41:03] Production.INFO: ==1977== Lock acquired, processing the job...
[2025-01-09 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:41:03] Production.INFO: ==1971== Lock acquired, processing the job...
[2025-01-09 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:41:03] Production.INFO: ==1969== Releasing lock...
[2025-01-09 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:41:03] Production.INFO: ==1973== Lock acquired, processing the job...
[2025-01-09 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:41:03] Production.INFO: count ==21
[2025-01-09 00:41:03] Production.INFO: ==1975== Lock acquired, processing the job...
[2025-01-09 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:41:03] Production.INFO: count ==21
[2025-01-09 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:41:03] Production.INFO: Account Balance Start.
[2025-01-09 00:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205968') start
[2025-01-09 00:41:03] Production.INFO: 117
[2025-01-09 00:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205968') end
[2025-01-09 00:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:41:03] Production.INFO: 1
[2025-01-09 00:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:41:03] Production.INFO: ==1977== Releasing lock...
[2025-01-09 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:41:04] Production.INFO: Total Charge 0
[2025-01-09 00:41:04] Production.INFO: CreateAllLog End
[2025-01-09 00:41:04] Production.ERROR: done
[2025-01-09 00:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:41:04] Production.INFO: Account Balance End.
[2025-01-09 00:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:41:04] Production.INFO: ==1973== Releasing lock...
[2025-01-09 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:41:04] Production.ERROR: done
[2025-01-09 00:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:41:05
[end_date_ymd] => 2025-01-09 00:41:05
[RateCDR] => 1
)
[2025-01-09 00:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:41:05' and `end` < '2025-01-09 00:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:41:10] Production.ERROR: CronJobId end10
[2025-01-09 00:41:10] Production.INFO: ==1971== Releasing lock...
[2025-01-09 00:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:41:13] Production.INFO: call_cost start
[2025-01-09 00:41:13] Production.INFO: call_cost end
[2025-01-09 00:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:41:14] Production.INFO: ==1967== Releasing lock...
[2025-01-09 00:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:41:18] Production.INFO: count ==145
[2025-01-09 00:41:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:41:05 - End Time 2025-01-09 00:41:05
[2025-01-09 00:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205970', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205970', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205970', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205970', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:41:18] Production.INFO: ProcessCDR(1,14205970,1,1,2)
[2025-01-09 00:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205970', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205970', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:41:21] Production.INFO: ==1975== Releasing lock...
[2025-01-09 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:41:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:42:02] Production.INFO: ==2032== Lock acquired, processing the job...
[2025-01-09 05:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:42:02] Production.INFO: neon service started
[2025-01-09 05:42:02] Production.INFO: neon service started
[2025-01-09 05:42:02] Production.INFO: ==2032== Releasing lock...
[2025-01-09 05:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:42:02] Production.INFO: ==2036== Lock acquired, processing the job...
[2025-01-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:42:02] Production.INFO: ==2036== Releasing lock...
[2025-01-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:42:02] Production.INFO: ==2034== Lock acquired, processing the job...
[2025-01-09 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:42:03] Production.INFO: ==2034== Releasing lock...
[2025-01-09 00:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:42:03] Production.INFO: ==2043== Lock acquired, processing the job...
[2025-01-09 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:42:03] Production.INFO: ==2049== Lock acquired, processing the job...
[2025-01-09 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:42:04] Production.INFO: ==2039== Lock acquired, processing the job...
[2025-01-09 00:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:42:04] Production.INFO: ==2041== Lock acquired, processing the job...
[2025-01-09 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:42:04] Production.INFO: count ==21
[2025-01-09 00:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:42:04] Production.INFO: count ==21
[2025-01-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205971') start
[2025-01-09 00:42:04] Production.INFO: ==2045== Lock acquired, processing the job...
[2025-01-09 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:42:04] Production.INFO: ==2047== Lock acquired, processing the job...
[2025-01-09 00:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205971') end
[2025-01-09 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:42:04] Production.INFO: 1
[2025-01-09 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:42:04] Production.INFO: Account Balance Start.
[2025-01-09 00:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:42:04] Production.INFO: 117
[2025-01-09 00:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:42:04] Production.INFO: ==2049== Releasing lock...
[2025-01-09 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:42:04] Production.INFO: Total Charge 0
[2025-01-09 00:42:04] Production.INFO: CreateAllLog End
[2025-01-09 00:42:04] Production.INFO: ==2041== Releasing lock...
[2025-01-09 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:42:04] Production.ERROR: done
[2025-01-09 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:42:05] Production.ERROR: done
[2025-01-09 00:42:05] Production.INFO: Account Balance End.
[2025-01-09 00:42:05] Production.ERROR: CronJobId end 12
[2025-01-09 00:42:05] Production.INFO: ==2045== Releasing lock...
[2025-01-09 00:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:42:06
[end_date_ymd] => 2025-01-09 00:42:06
[RateCDR] => 1
)
[2025-01-09 00:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:42:06' and `end` < '2025-01-09 00:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:42:10] Production.ERROR: CronJobId end10
[2025-01-09 00:42:10] Production.INFO: ==2043== Releasing lock...
[2025-01-09 00:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:42:13] Production.INFO: call_cost start
[2025-01-09 00:42:13] Production.INFO: call_cost end
[2025-01-09 00:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:42:14] Production.INFO: ==2039== Releasing lock...
[2025-01-09 00:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:42:20] Production.INFO: count ==145
[2025-01-09 00:42:20] Production.ERROR: pbx CDR StartTime 2025-01-08 21:42:06 - End Time 2025-01-09 00:42:06
[2025-01-09 00:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205975', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205975', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205975', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205975', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:42:20] Production.INFO: ProcessCDR(1,14205975,1,1,2)
[2025-01-09 00:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205975', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205975', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:42:23] Production.INFO: ==2047== Releasing lock...
[2025-01-09 00:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:42:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:43:01] Production.INFO: ==2102== Lock acquired, processing the job...
[2025-01-09 05:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:43:01] Production.INFO: neon service started
[2025-01-09 05:43:01] Production.INFO: neon service started
[2025-01-09 05:43:01] Production.INFO: ==2102== Releasing lock...
[2025-01-09 05:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:43:01] Production.INFO: ==2106== Lock acquired, processing the job...
[2025-01-09 05:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:43:01] Production.INFO: ==2106== Releasing lock...
[2025-01-09 05:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:43:02] Production.INFO: ==2104== Lock acquired, processing the job...
[2025-01-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:43:02] Production.INFO: ==2104== Releasing lock...
[2025-01-09 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:43:03] Production.INFO: ==2108== Lock acquired, processing the job...
[2025-01-09 00:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:43:03] Production.INFO: ==2110== Lock acquired, processing the job...
[2025-01-09 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:43:03] Production.INFO: ==2114== Lock acquired, processing the job...
[2025-01-09 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:43:03] Production.INFO: ==2112== Lock acquired, processing the job...
[2025-01-09 00:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:43:03] Production.INFO: Account Balance Start.
[2025-01-09 00:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:43:03] Production.INFO: ==2110== Releasing lock...
[2025-01-09 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:43:03] Production.INFO: 117
[2025-01-09 00:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:43:03] Production.INFO: ==2116== Lock acquired, processing the job...
[2025-01-09 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:43:03] Production.INFO: ==2118== Lock acquired, processing the job...
[2025-01-09 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:43:03] Production.INFO: Total Charge 0
[2025-01-09 00:43:03] Production.INFO: CreateAllLog End
[2025-01-09 00:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:43:03] Production.INFO: count ==21
[2025-01-09 00:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:43:03] Production.INFO: count ==21
[2025-01-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205979') start
[2025-01-09 00:43:04] Production.ERROR: done
[2025-01-09 00:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:43:04] Production.INFO: Account Balance End.
[2025-01-09 00:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205979') end
[2025-01-09 00:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:43:04] Production.INFO: 1
[2025-01-09 00:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:43:04] Production.INFO: ==2114== Releasing lock...
[2025-01-09 00:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:43:04] Production.INFO: ==2118== Releasing lock...
[2025-01-09 00:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:43:04] Production.ERROR: done
[2025-01-09 00:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:43:05
[end_date_ymd] => 2025-01-09 00:43:05
[RateCDR] => 1
)
[2025-01-09 00:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:43:05' and `end` < '2025-01-09 00:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:43:10] Production.ERROR: CronJobId end10
[2025-01-09 00:43:10] Production.INFO: ==2112== Releasing lock...
[2025-01-09 00:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:43:12] Production.INFO: call_cost start
[2025-01-09 00:43:12] Production.INFO: call_cost end
[2025-01-09 00:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:43:13] Production.INFO: ==2108== Releasing lock...
[2025-01-09 00:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:43:18] Production.INFO: count ==145
[2025-01-09 00:43:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:43:05 - End Time 2025-01-09 00:43:05
[2025-01-09 00:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205980', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205980', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205980', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205980', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:43:18] Production.INFO: ProcessCDR(1,14205980,1,1,2)
[2025-01-09 00:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205980', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205980', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:43:21] Production.INFO: ==2116== Releasing lock...
[2025-01-09 00:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:43:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:44:02] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-01-09 05:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:44:02] Production.INFO: neon service started
[2025-01-09 05:44:02] Production.INFO: neon service started
[2025-01-09 05:44:02] Production.INFO: ==2173== Releasing lock...
[2025-01-09 05:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:44:02] Production.INFO: ==2175== Lock acquired, processing the job...
[2025-01-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:44:02] Production.INFO: ==2175== Releasing lock...
[2025-01-09 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:44:02] Production.INFO: ==2177== Lock acquired, processing the job...
[2025-01-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:44:02] Production.INFO: ==2177== Releasing lock...
[2025-01-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:44:03] Production.INFO: ==2179== Lock acquired, processing the job...
[2025-01-09 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:44:03] Production.INFO: ==2181== Lock acquired, processing the job...
[2025-01-09 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:44:03] Production.INFO: ==2183== Lock acquired, processing the job...
[2025-01-09 00:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:44:03] Production.INFO: ==2185== Lock acquired, processing the job...
[2025-01-09 00:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:44:03] Production.INFO: ==2181== Releasing lock...
[2025-01-09 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:44:03] Production.INFO: ==2187== Lock acquired, processing the job...
[2025-01-09 00:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:44:03] Production.INFO: ==2189== Lock acquired, processing the job...
[2025-01-09 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:44:03] Production.INFO: Account Balance Start.
[2025-01-09 00:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:44:03] Production.INFO: 117
[2025-01-09 00:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:44:04] Production.INFO: count ==21
[2025-01-09 00:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:44:04] Production.INFO: count ==21
[2025-01-09 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205984') start
[2025-01-09 00:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205984') end
[2025-01-09 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:44:04] Production.INFO: 1
[2025-01-09 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:44:04] Production.INFO: ==2189== Releasing lock...
[2025-01-09 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:44:04] Production.INFO: Total Charge 0
[2025-01-09 00:44:04] Production.ERROR: done
[2025-01-09 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:44:04] Production.INFO: CreateAllLog End
[2025-01-09 00:44:04] Production.ERROR: done
[2025-01-09 00:44:04] Production.INFO: Account Balance End.
[2025-01-09 00:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:44:04] Production.INFO: ==2185== Releasing lock...
[2025-01-09 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:44:05
[end_date_ymd] => 2025-01-09 00:44:05
[RateCDR] => 1
)
[2025-01-09 00:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:44:05' and `end` < '2025-01-09 00:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:44:11] Production.ERROR: CronJobId end10
[2025-01-09 00:44:11] Production.INFO: ==2183== Releasing lock...
[2025-01-09 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:44:12] Production.INFO: call_cost start
[2025-01-09 00:44:12] Production.INFO: call_cost end
[2025-01-09 00:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:44:13] Production.INFO: ==2179== Releasing lock...
[2025-01-09 00:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:44:18] Production.INFO: count ==145
[2025-01-09 00:44:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:44:05 - End Time 2025-01-09 00:44:05
[2025-01-09 00:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205985', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205985', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205985', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205985', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:44:18] Production.INFO: ProcessCDR(1,14205985,1,1,2)
[2025-01-09 00:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205985', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205985', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:44:21] Production.INFO: ==2187== Releasing lock...
[2025-01-09 00:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:44:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:45:01] Production.INFO: ==2245== Lock acquired, processing the job...
[2025-01-09 05:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:45:01] Production.INFO: neon service started
[2025-01-09 05:45:01] Production.INFO: neon service started
[2025-01-09 05:45:01] Production.INFO: ==2245== Releasing lock...
[2025-01-09 05:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:45:01] Production.INFO: ==2249== Lock acquired, processing the job...
[2025-01-09 05:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:45:01] Production.INFO: ==2249== Releasing lock...
[2025-01-09 05:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:45:01] Production.INFO: ==2247== Lock acquired, processing the job...
[2025-01-09 00:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:45:02] Production.INFO: ==2247== Releasing lock...
[2025-01-09 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:45:03] Production.INFO: ==2253== Lock acquired, processing the job...
[2025-01-09 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:45:03] Production.INFO: ==2261== Lock acquired, processing the job...
[2025-01-09 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:45:03] Production.INFO: ==2251== Lock acquired, processing the job...
[2025-01-09 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:45:03] Production.INFO: count ==21
[2025-01-09 00:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:45:03] Production.INFO: count ==21
[2025-01-09 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205987') start
[2025-01-09 00:45:03] Production.INFO: ==2255== Lock acquired, processing the job...
[2025-01-09 00:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205987') end
[2025-01-09 00:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:45:03] Production.INFO: 1
[2025-01-09 00:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:45:03] Production.INFO: ==2257== Lock acquired, processing the job...
[2025-01-09 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:45:03] Production.INFO: ==2259== Lock acquired, processing the job...
[2025-01-09 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:45:03] Production.INFO: ==2253== Releasing lock...
[2025-01-09 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:45:03] Production.INFO: ==2261== Releasing lock...
[2025-01-09 00:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:45:03] Production.INFO: Account Balance Start.
[2025-01-09 00:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:45:03] Production.INFO: 117
[2025-01-09 00:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:45:03] Production.INFO: Total Charge 0
[2025-01-09 00:45:03] Production.INFO: CreateAllLog End
[2025-01-09 00:45:03] Production.ERROR: done
[2025-01-09 00:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:45:03] Production.INFO: Account Balance End.
[2025-01-09 00:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:45:03] Production.INFO: ==2257== Releasing lock...
[2025-01-09 00:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:45:03] Production.ERROR: done
[2025-01-09 00:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:45:04
[end_date_ymd] => 2025-01-09 00:45:04
[RateCDR] => 1
)
[2025-01-09 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-01-08 21:45:04' and `end` < '2025-01-09 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-01-09 00:45:10] Production.ERROR: CronJobId end10
[2025-01-09 00:45:10] Production.INFO: ==2255== Releasing lock...
[2025-01-09 00:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:45:12] Production.INFO: call_cost start
[2025-01-09 00:45:12] Production.INFO: call_cost end
[2025-01-09 00:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:45:13] Production.INFO: ==2251== Releasing lock...
[2025-01-09 00:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:45:17] Production.INFO: count ==144
[2025-01-09 00:45:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:45:04 - End Time 2025-01-09 00:45:04
[2025-01-09 00:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205990', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205990', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205990', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205990', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:45:17] Production.INFO: ProcessCDR(1,14205990,1,1,2)
[2025-01-09 00:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205990', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205990', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:45:20] Production.INFO: ==2259== Releasing lock...
[2025-01-09 00:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:45:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:46:01] Production.INFO: ==2317== Lock acquired, processing the job...
[2025-01-09 05:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:46:01] Production.INFO: neon service started
[2025-01-09 05:46:01] Production.INFO: neon service started
[2025-01-09 05:46:01] Production.INFO: ==2317== Releasing lock...
[2025-01-09 05:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:46:02] Production.INFO: ==2319== Lock acquired, processing the job...
[2025-01-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:46:02] Production.INFO: ==2319== Releasing lock...
[2025-01-09 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:46:02] Production.INFO: ==2321== Lock acquired, processing the job...
[2025-01-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:46:02] Production.INFO: ==2321== Releasing lock...
[2025-01-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:46:03] Production.INFO: ==2331== Lock acquired, processing the job...
[2025-01-09 00:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:46:03] Production.INFO: ==2333== Lock acquired, processing the job...
[2025-01-09 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:46:03] Production.INFO: ==2323== Lock acquired, processing the job...
[2025-01-09 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:46:03] Production.INFO: ==2325== Lock acquired, processing the job...
[2025-01-09 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:46:03] Production.INFO: ==2327== Lock acquired, processing the job...
[2025-01-09 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:46:03] Production.INFO: ==2329== Lock acquired, processing the job...
[2025-01-09 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:46:03] Production.INFO: count ==21
[2025-01-09 00:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:46:03] Production.INFO: count ==21
[2025-01-09 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205991') start
[2025-01-09 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:46:03] Production.ERROR: done
[2025-01-09 00:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:46:03] Production.INFO: Account Balance Start.
[2025-01-09 00:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:46:03] Production.INFO: 117
[2025-01-09 00:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14205991') end
[2025-01-09 00:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:46:03] Production.INFO: 1
[2025-01-09 00:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:46:03] Production.INFO: ==2325== Releasing lock...
[2025-01-09 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:46:03] Production.ERROR: done
[2025-01-09 00:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:46:03] Production.INFO: ==2333== Releasing lock...
[2025-01-09 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:46:03] Production.INFO: Total Charge 0
[2025-01-09 00:46:03] Production.INFO: CreateAllLog End
[2025-01-09 00:46:04] Production.INFO: Account Balance End.
[2025-01-09 00:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:46:04] Production.INFO: ==2329== Releasing lock...
[2025-01-09 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:46:04
[end_date_ymd] => 2025-01-09 00:46:04
[RateCDR] => 1
)
[2025-01-09 00:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:46:04' and `end` < '2025-01-09 00:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:46:10] Production.ERROR: CronJobId end10
[2025-01-09 00:46:10] Production.INFO: ==2327== Releasing lock...
[2025-01-09 00:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:46:12] Production.INFO: call_cost start
[2025-01-09 00:46:12] Production.INFO: call_cost end
[2025-01-09 00:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:46:13] Production.INFO: ==2323== Releasing lock...
[2025-01-09 00:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:46:17] Production.INFO: count ==144
[2025-01-09 00:46:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:46:04 - End Time 2025-01-09 00:46:04
[2025-01-09 00:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205995', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14205995', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205995', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14205995', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:46:17] Production.INFO: ProcessCDR(1,14205995,1,1,2)
[2025-01-09 00:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14205995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14205995,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14205995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14205995,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205995', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14205995', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:46:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:46:20] Production.INFO: ==2331== Releasing lock...
[2025-01-09 00:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:46:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:47:02] Production.INFO: ==2389== Lock acquired, processing the job...
[2025-01-09 05:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:47:02] Production.INFO: neon service started
[2025-01-09 05:47:02] Production.INFO: neon service started
[2025-01-09 05:47:02] Production.INFO: ==2389== Releasing lock...
[2025-01-09 05:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:47:02] Production.INFO: ==2391== Lock acquired, processing the job...
[2025-01-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:47:02] Production.INFO: ==2391== Releasing lock...
[2025-01-09 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:47:03] Production.INFO: ==2393== Lock acquired, processing the job...
[2025-01-09 05:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:47:03] Production.INFO: ==2393== Releasing lock...
[2025-01-09 05:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:47:03] Production.INFO: ==2404== Lock acquired, processing the job...
[2025-01-09 00:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:47:03] Production.INFO: ==2400== Lock acquired, processing the job...
[2025-01-09 00:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:47:03] Production.INFO: ==2396== Lock acquired, processing the job...
[2025-01-09 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:47:03] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-01-09 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:47:03] Production.INFO: ==2402== Lock acquired, processing the job...
[2025-01-09 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:47:03] Production.INFO: ==2406== Lock acquired, processing the job...
[2025-01-09 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:47:04] Production.INFO: Account Balance Start.
[2025-01-09 00:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:47:04] Production.INFO: 117
[2025-01-09 00:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:47:04] Production.INFO: count ==21
[2025-01-09 00:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:47:04] Production.ERROR: done
[2025-01-09 00:47:04] Production.INFO: count ==21
[2025-01-09 00:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205998') start
[2025-01-09 00:47:04] Production.INFO: Total Charge 0
[2025-01-09 00:47:04] Production.INFO: CreateAllLog End
[2025-01-09 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14205998') end
[2025-01-09 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:47:04] Production.INFO: 1
[2025-01-09 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:47:04] Production.INFO: ==2406== Releasing lock...
[2025-01-09 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:47:04] Production.ERROR: done
[2025-01-09 00:47:04] Production.INFO: ==2398== Releasing lock...
[2025-01-09 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:47:04] Production.INFO: Account Balance End.
[2025-01-09 00:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:47:04] Production.INFO: ==2402== Releasing lock...
[2025-01-09 00:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:47:05
[end_date_ymd] => 2025-01-09 00:47:05
[RateCDR] => 1
)
[2025-01-09 00:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:47:05' and `end` < '2025-01-09 00:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:47:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_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-01-09 00:47:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:47:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:47:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:47:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:47:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:47:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:47:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:47:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:47:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:47:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:47:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:47:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:47:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:47:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:47:11] Production.ERROR: CronJobId end10
[2025-01-09 00:47:11] Production.INFO: ==2400== Releasing lock...
[2025-01-09 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:47:11] Production.INFO: call_cost start
[2025-01-09 00:47:11] Production.INFO: call_cost end
[2025-01-09 00:47:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:47:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:47:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:47:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:47:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:47:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:47:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:47:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:47:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:47:12] Production.INFO: ==2396== Releasing lock...
[2025-01-09 00:47:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:47:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:47:18] Production.INFO: count ==142
[2025-01-09 00:47:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:47:05 - End Time 2025-01-09 00:47:05
[2025-01-09 00:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206000', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206000', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206000', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206000', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:47:18] Production.INFO: ProcessCDR(1,14206000,1,1,2)
[2025-01-09 00:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206000,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206000,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206000', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206000', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:47:21] Production.INFO: ==2404== Releasing lock...
[2025-01-09 00:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:47:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:48:01] Production.INFO: ==2462== Lock acquired, processing the job...
[2025-01-09 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:48:01] Production.INFO: neon service started
[2025-01-09 05:48:01] Production.INFO: neon service started
[2025-01-09 05:48:01] Production.INFO: ==2462== Releasing lock...
[2025-01-09 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:48:02] Production.INFO: ==2464== Lock acquired, processing the job...
[2025-01-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:48:02] Production.INFO: ==2464== Releasing lock...
[2025-01-09 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:48:02] Production.INFO: ==2466== Lock acquired, processing the job...
[2025-01-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:48:02] Production.INFO: ==2466== Releasing lock...
[2025-01-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:48:03] Production.INFO: ==2471== Lock acquired, processing the job...
[2025-01-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:48:03] Production.INFO: ==2469== Lock acquired, processing the job...
[2025-01-09 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:48:03] Production.INFO: ==2479== Lock acquired, processing the job...
[2025-01-09 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:48:03] Production.INFO: ==2473== Lock acquired, processing the job...
[2025-01-09 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:48:03] Production.INFO: ==2475== Lock acquired, processing the job...
[2025-01-09 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:48:03] Production.INFO: count ==21
[2025-01-09 00:48:03] Production.INFO: ==2477== Lock acquired, processing the job...
[2025-01-09 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:48:03] Production.INFO: count ==21
[2025-01-09 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206002') start
[2025-01-09 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:48:03] Production.INFO: ==2471== Releasing lock...
[2025-01-09 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:48:03] Production.INFO: Account Balance Start.
[2025-01-09 00:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:48:03] Production.INFO: 117
[2025-01-09 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206002') end
[2025-01-09 00:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:48:03] Production.INFO: 1
[2025-01-09 00:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:48:03] Production.INFO: ==2479== Releasing lock...
[2025-01-09 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:48:03] Production.ERROR: done
[2025-01-09 00:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:48:03] Production.INFO: Total Charge 0
[2025-01-09 00:48:04] Production.INFO: CreateAllLog End
[2025-01-09 00:48:04] Production.ERROR: done
[2025-01-09 00:48:04] Production.INFO: Account Balance End.
[2025-01-09 00:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:48:04] Production.INFO: ==2475== Releasing lock...
[2025-01-09 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:48:04
[end_date_ymd] => 2025-01-09 00:48:04
[RateCDR] => 1
)
[2025-01-09 00:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:48:04' and `end` < '2025-01-09 00:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:48:10] Production.ERROR: CronJobId end10
[2025-01-09 00:48:10] Production.INFO: ==2473== Releasing lock...
[2025-01-09 00:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:48:12] Production.INFO: call_cost start
[2025-01-09 00:48:12] Production.INFO: call_cost end
[2025-01-09 00:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:48:13] Production.INFO: ==2469== Releasing lock...
[2025-01-09 00:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:48:19] Production.INFO: count ==142
[2025-01-09 00:48:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:48:04 - End Time 2025-01-09 00:48:04
[2025-01-09 00:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206005', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206005', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206005', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206005', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:48:19] Production.INFO: ProcessCDR(1,14206005,1,1,2)
[2025-01-09 00:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206005,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206005,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206005', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206005', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:48:22] Production.INFO: ==2477== Releasing lock...
[2025-01-09 00:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:48:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:49:02] Production.INFO: ==2574== Lock acquired, processing the job...
[2025-01-09 05:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:49:02] Production.INFO: neon service started
[2025-01-09 05:49:02] Production.INFO: neon service started
[2025-01-09 05:49:02] Production.INFO: ==2574== Releasing lock...
[2025-01-09 05:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:49:02] Production.INFO: ==2576== Lock acquired, processing the job...
[2025-01-09 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:49:02] Production.INFO: ==2578== Lock acquired, processing the job...
[2025-01-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:49:02] Production.INFO: ==2578== Releasing lock...
[2025-01-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:49:03] Production.INFO: ==2576== Releasing lock...
[2025-01-09 00:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:49:03] Production.INFO: ==2583== Lock acquired, processing the job...
[2025-01-09 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:49:03] Production.INFO: ==2585== Lock acquired, processing the job...
[2025-01-09 00:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:49:03] Production.INFO: ==2589== Lock acquired, processing the job...
[2025-01-09 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:49:04] Production.INFO: ==2583== Releasing lock...
[2025-01-09 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:49:04] Production.INFO: ==2581== Lock acquired, processing the job...
[2025-01-09 00:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:49:04] Production.INFO: ==2587== Lock acquired, processing the job...
[2025-01-09 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:49:04] Production.INFO: ==2591== Lock acquired, processing the job...
[2025-01-09 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:49:04] Production.ERROR: done
[2025-01-09 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:49:04] Production.INFO: Account Balance Start.
[2025-01-09 00:49:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:49:04] Production.INFO: 117
[2025-01-09 00:49:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:49:04] Production.INFO: Total Charge 0
[2025-01-09 00:49:04] Production.INFO: CreateAllLog End
[2025-01-09 00:49:04] Production.INFO: count ==21
[2025-01-09 00:49:04] Production.ERROR: done
[2025-01-09 00:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:49:04] Production.INFO: count ==21
[2025-01-09 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206008') start
[2025-01-09 00:49:04] Production.INFO: Account Balance End.
[2025-01-09 00:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:49:04] Production.INFO: ==2587== Releasing lock...
[2025-01-09 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206008') end
[2025-01-09 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:49:04] Production.INFO: 1
[2025-01-09 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:49:04] Production.INFO: ==2591== Releasing lock...
[2025-01-09 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:49:05
[end_date_ymd] => 2025-01-09 00:49:05
[RateCDR] => 1
)
[2025-01-09 00:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:49:05' and `end` < '2025-01-09 00:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:49:11] Production.ERROR: CronJobId end10
[2025-01-09 00:49:11] Production.INFO: ==2585== Releasing lock...
[2025-01-09 00:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:49:14] Production.INFO: call_cost start
[2025-01-09 00:49:14] Production.INFO: call_cost end
[2025-01-09 00:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:49:14] Production.INFO: ==2581== Releasing lock...
[2025-01-09 00:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:49:18] Production.INFO: count ==145
[2025-01-09 00:49:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:49:05 - End Time 2025-01-09 00:49:05
[2025-01-09 00:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206010', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206010', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206010', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206010', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:49:18] Production.INFO: ProcessCDR(1,14206010,1,1,2)
[2025-01-09 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206010,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206010,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206010', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206010', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:49:22] Production.INFO: ==2589== Releasing lock...
[2025-01-09 00:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:49:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:50:01] Production.INFO: ==2644== Lock acquired, processing the job...
[2025-01-09 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:50:01] Production.INFO: neon service started
[2025-01-09 05:50:01] Production.INFO: neon service started
[2025-01-09 05:50:01] Production.INFO: ==2644== Releasing lock...
[2025-01-09 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:50:01] Production.INFO: ==2648== Lock acquired, processing the job...
[2025-01-09 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:50:01] Production.INFO: ==2648== Releasing lock...
[2025-01-09 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:50:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:50:02] Production.INFO: ==2646== Lock acquired, processing the job...
[2025-01-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:50:02] Production.INFO: ==2646== Releasing lock...
[2025-01-09 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:50:03] Production.INFO: ==2650== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 00:50:03] Production.INFO: ==2652== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 00:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 00:50:03] Production.INFO: ==2650== Releasing lock...
[2025-01-09 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 00:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 00:50:03] Production.INFO: ==2657== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:50:03] Production.INFO: ==2655== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:50:03] Production.INFO: ==2659== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:50:03] Production.INFO: ==2661== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:50:03] Production.INFO: ==2663== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 00:50:03] Production.INFO: Account Balance Start.
[2025-01-09 00:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:50:03] Production.INFO: 117
[2025-01-09 00:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:50:03] Production.INFO: ==2665== Lock acquired, processing the job...
[2025-01-09 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:50:03] Production.INFO: Total Charge 0
[2025-01-09 00:50:03] Production.INFO: CreateAllLog End
[2025-01-09 00:50:04] Production.INFO: ==2655== Releasing lock...
[2025-01-09 00:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:50:04] Production.INFO: count ==21
[2025-01-09 00:50:04] Production.ERROR: done
[2025-01-09 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:50:04] Production.INFO: count ==21
[2025-01-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206014') start
[2025-01-09 00:50:04] Production.ERROR: done
[2025-01-09 00:50:04] Production.INFO: Account Balance End.
[2025-01-09 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206015', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206014') end
[2025-01-09 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:50:04] Production.INFO: 1
[2025-01-09 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:50:04] Production.INFO: ==2659== Releasing lock...
[2025-01-09 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:50:04] Production.ERROR: done
[2025-01-09 00:50:04] Production.INFO: ==2665== Releasing lock...
[2025-01-09 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:50:05
[end_date_ymd] => 2025-01-09 00:50:05
[RateCDR] => 1
)
[2025-01-09 00:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:50:05' and `end` < '2025-01-09 00:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206015', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 00:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 00:50:08] Production.INFO: ProcessCDR(1,14206015,1,1,2)
[2025-01-09 00:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206015,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206015,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:50:08] Production.INFO: ==2663== Releasing lock...
[2025-01-09 00:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 00:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 00:50:12] Production.ERROR: CronJobId end10
[2025-01-09 00:50:12] Production.INFO: ==2657== Releasing lock...
[2025-01-09 00:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:50:14] Production.INFO: call_cost start
[2025-01-09 00:50:14] Production.INFO: call_cost end
[2025-01-09 00:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:50:15] Production.INFO: ==2652== Releasing lock...
[2025-01-09 00:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:50:18] Production.INFO: count ==148
[2025-01-09 00:50:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:50:05 - End Time 2025-01-09 00:50:05
[2025-01-09 00:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206016', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206016', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206016', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206016', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:50:18] Production.INFO: ProcessCDR(1,14206016,1,1,2)
[2025-01-09 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206016', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206016', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:50:21] Production.INFO: ==2661== Releasing lock...
[2025-01-09 00:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:50:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:51:01] Production.INFO: ==2719== Lock acquired, processing the job...
[2025-01-09 05:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:51:01] Production.INFO: neon service started
[2025-01-09 05:51:01] Production.INFO: neon service started
[2025-01-09 05:51:01] Production.INFO: ==2719== Releasing lock...
[2025-01-09 05:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:51:02] Production.INFO: ==2721== Lock acquired, processing the job...
[2025-01-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:51:02] Production.INFO: ==2723== Lock acquired, processing the job...
[2025-01-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:51:02] Production.INFO: ==2723== Releasing lock...
[2025-01-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:51:02] Production.INFO: ==2721== Releasing lock...
[2025-01-09 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:51:03] Production.INFO: ==2728== Lock acquired, processing the job...
[2025-01-09 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:51:03] Production.INFO: ==2726== Lock acquired, processing the job...
[2025-01-09 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:51:03] Production.INFO: ==2734== Lock acquired, processing the job...
[2025-01-09 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:51:03] Production.INFO: ==2728== Releasing lock...
[2025-01-09 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:51:03] Production.INFO: ==2730== Lock acquired, processing the job...
[2025-01-09 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:51:03] Production.INFO: ==2736== Lock acquired, processing the job...
[2025-01-09 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:51:03] Production.ERROR: done
[2025-01-09 00:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:51:03] Production.INFO: ==2732== Lock acquired, processing the job...
[2025-01-09 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:51:04] Production.INFO: Account Balance Start.
[2025-01-09 00:51:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:51:04] Production.INFO: 117
[2025-01-09 00:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:51:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:51:04] Production.ERROR: done
[2025-01-09 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:51:04] Production.INFO: count ==21
[2025-01-09 00:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:51:04] Production.INFO: count ==21
[2025-01-09 00:51:04] Production.INFO: Total Charge 0
[2025-01-09 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206019') start
[2025-01-09 00:51:04] Production.INFO: CreateAllLog End
[2025-01-09 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206019') end
[2025-01-09 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:51:04] Production.INFO: 1
[2025-01-09 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:51:04] Production.INFO: ==2736== Releasing lock...
[2025-01-09 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:51:04] Production.INFO: Account Balance End.
[2025-01-09 00:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:51:04] Production.INFO: ==2732== Releasing lock...
[2025-01-09 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:51:05
[end_date_ymd] => 2025-01-09 00:51:05
[RateCDR] => 1
)
[2025-01-09 00:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:51:05' and `end` < '2025-01-09 00:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:51:12] Production.ERROR: CronJobId end10
[2025-01-09 00:51:12] Production.INFO: ==2730== Releasing lock...
[2025-01-09 00:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:51:13] Production.INFO: call_cost start
[2025-01-09 00:51:13] Production.INFO: call_cost end
[2025-01-09 00:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:51:14] Production.INFO: ==2726== Releasing lock...
[2025-01-09 00:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:51:17] Production.INFO: count ==147
[2025-01-09 00:51:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:51:05 - End Time 2025-01-09 00:51:05
[2025-01-09 00:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206021', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206021', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206021', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206021', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:51:18] Production.INFO: ProcessCDR(1,14206021,1,1,2)
[2025-01-09 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206021', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206021', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:51:21] Production.INFO: ==2734== Releasing lock...
[2025-01-09 00:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:51:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:52:01] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-01-09 05:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:52:01] Production.INFO: neon service started
[2025-01-09 05:52:01] Production.INFO: neon service started
[2025-01-09 05:52:01] Production.INFO: ==2790== Releasing lock...
[2025-01-09 05:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:52:01] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-01-09 05:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:52:01] Production.INFO: ==2794== Releasing lock...
[2025-01-09 05:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:52:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:52:01] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-01-09 00:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:52:02] Production.INFO: ==2792== Releasing lock...
[2025-01-09 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:52:02] Production.INFO: ==2800== Lock acquired, processing the job...
[2025-01-09 00:52:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:52:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:52:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:52:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:52:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:52:03] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-01-09 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:52:03] Production.INFO: ==2806== Lock acquired, processing the job...
[2025-01-09 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:52:03] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-01-09 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:52:03] Production.INFO: ==2802== Lock acquired, processing the job...
[2025-01-09 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:52:03] Production.INFO: ==2804== Lock acquired, processing the job...
[2025-01-09 00:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:52:03] Production.INFO: Account Balance Start.
[2025-01-09 00:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:52:03] Production.INFO: 117
[2025-01-09 00:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:52:03] Production.INFO: count ==21
[2025-01-09 00:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:52:03] Production.INFO: count ==21
[2025-01-09 00:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206024') start
[2025-01-09 00:52:03] Production.INFO: Total Charge 0
[2025-01-09 00:52:03] Production.INFO: CreateAllLog End
[2025-01-09 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206024') end
[2025-01-09 00:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:52:03] Production.INFO: 1
[2025-01-09 00:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:52:03] Production.INFO: ==2798== Releasing lock...
[2025-01-09 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:52:03] Production.INFO: ==2806== Releasing lock...
[2025-01-09 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:52:03] Production.ERROR: done
[2025-01-09 00:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:52:03] Production.INFO: Account Balance End.
[2025-01-09 00:52:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:52:03] Production.INFO: ==2802== Releasing lock...
[2025-01-09 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:52:03] Production.ERROR: done
[2025-01-09 00:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:52:04
[end_date_ymd] => 2025-01-09 00:52:04
[RateCDR] => 1
)
[2025-01-09 00:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:52:04' and `end` < '2025-01-09 00:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:52:09] Production.ERROR: CronJobId end10
[2025-01-09 00:52:09] Production.INFO: ==2800== Releasing lock...
[2025-01-09 00:52:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:52:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:52:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:52:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:52:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:52:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:52:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:52:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:52:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:52:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:52:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:52:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:52:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:52:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:52:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:52:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:52:12] Production.INFO: call_cost start
[2025-01-09 00:52:12] Production.INFO: call_cost end
[2025-01-09 00:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:52:13] Production.INFO: ==2796== Releasing lock...
[2025-01-09 00:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:52:17] Production.INFO: count ==147
[2025-01-09 00:52:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:52:04 - End Time 2025-01-09 00:52:04
[2025-01-09 00:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206026', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206026', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206026', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206026', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:52:17] Production.INFO: ProcessCDR(1,14206026,1,1,2)
[2025-01-09 00:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206026', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206026', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:52:20] Production.INFO: ==2804== Releasing lock...
[2025-01-09 00:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:52:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:53:01] Production.INFO: ==2861== Lock acquired, processing the job...
[2025-01-09 05:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:53:01] Production.INFO: neon service started
[2025-01-09 05:53:01] Production.INFO: neon service started
[2025-01-09 05:53:01] Production.INFO: ==2861== Releasing lock...
[2025-01-09 05:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:53:02] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-01-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:53:02] Production.INFO: ==2865== Releasing lock...
[2025-01-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:53:02] Production.INFO: ==2863== Lock acquired, processing the job...
[2025-01-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:53:02] Production.INFO: ==2863== Releasing lock...
[2025-01-09 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:53:03] Production.INFO: ==2868== Lock acquired, processing the job...
[2025-01-09 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:53:03] Production.INFO: ==2870== Lock acquired, processing the job...
[2025-01-09 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:53:03] Production.INFO: ==2872== Lock acquired, processing the job...
[2025-01-09 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:53:03] Production.INFO: ==2874== Lock acquired, processing the job...
[2025-01-09 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:53:03] Production.INFO: ==2876== Lock acquired, processing the job...
[2025-01-09 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:53:03] Production.INFO: Account Balance Start.
[2025-01-09 00:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:53:03] Production.INFO: 117
[2025-01-09 00:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:53:03] Production.INFO: ==2870== Releasing lock...
[2025-01-09 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:53:03] Production.INFO: Total Charge 0
[2025-01-09 00:53:03] Production.INFO: ==2878== Lock acquired, processing the job...
[2025-01-09 00:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:53:03] Production.INFO: CreateAllLog End
[2025-01-09 00:53:03] Production.INFO: Account Balance End.
[2025-01-09 00:53:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:53:03] Production.INFO: ==2874== Releasing lock...
[2025-01-09 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:53:03] Production.ERROR: done
[2025-01-09 00:53:04] Production.INFO: count ==21
[2025-01-09 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:53:04] Production.INFO: count ==21
[2025-01-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206030') start
[2025-01-09 00:53:04] Production.ERROR: done
[2025-01-09 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206030') end
[2025-01-09 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:53:04] Production.INFO: 1
[2025-01-09 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:53:04] Production.INFO: ==2878== Releasing lock...
[2025-01-09 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:53:05
[end_date_ymd] => 2025-01-09 00:53:05
[RateCDR] => 1
)
[2025-01-09 00:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:53:05' and `end` < '2025-01-09 00:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:53:10] Production.ERROR: CronJobId end10
[2025-01-09 00:53:10] Production.INFO: ==2872== Releasing lock...
[2025-01-09 00:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:53:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:53:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:53:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:53:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:53:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:53:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:53:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:53:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:53:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:53:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:53:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:53:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:53:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:53:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:53:12] Production.INFO: call_cost start
[2025-01-09 00:53:12] Production.INFO: call_cost end
[2025-01-09 00:53:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:53:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:53:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:53:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:53:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:53:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:53:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:53:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:53:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:53:12] Production.INFO: ==2868== Releasing lock...
[2025-01-09 00:53:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:53:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:53:17] Production.INFO: count ==147
[2025-01-09 00:53:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:53:05 - End Time 2025-01-09 00:53:05
[2025-01-09 00:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206031', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206031', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206031', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206031', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:53:17] Production.INFO: ProcessCDR(1,14206031,1,1,2)
[2025-01-09 00:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206031', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206031', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:53:20] Production.INFO: ==2876== Releasing lock...
[2025-01-09 00:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:53:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:54:02] Production.INFO: ==2932== Lock acquired, processing the job...
[2025-01-09 05:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:54:02] Production.INFO: neon service started
[2025-01-09 05:54:02] Production.INFO: neon service started
[2025-01-09 05:54:02] Production.INFO: ==2932== Releasing lock...
[2025-01-09 05:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:54:02] Production.INFO: ==2934== Lock acquired, processing the job...
[2025-01-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:54:02] Production.INFO: ==2936== Lock acquired, processing the job...
[2025-01-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:54:02] Production.INFO: ==2934== Releasing lock...
[2025-01-09 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:54:02] Production.INFO: ==2936== Releasing lock...
[2025-01-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:54:03] Production.INFO: ==2947== Lock acquired, processing the job...
[2025-01-09 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:54:03] Production.INFO: ==2949== Lock acquired, processing the job...
[2025-01-09 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:54:03] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-01-09 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:54:03] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-01-09 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:54:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-01-09 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:54:03] Production.INFO: ==2945== Lock acquired, processing the job...
[2025-01-09 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:54:03] Production.INFO: count ==21
[2025-01-09 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:54:03] Production.INFO: count ==21
[2025-01-09 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206032') start
[2025-01-09 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:54:03] Production.INFO: Account Balance Start.
[2025-01-09 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:54:04] Production.INFO: 117
[2025-01-09 00:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206032') end
[2025-01-09 00:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:54:04] Production.INFO: 1
[2025-01-09 00:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:54:04] Production.INFO: ==2949== Releasing lock...
[2025-01-09 00:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:54:04] Production.ERROR: done
[2025-01-09 00:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:54:04] Production.INFO: Total Charge 0
[2025-01-09 00:54:04] Production.INFO: CreateAllLog End
[2025-01-09 00:54:04] Production.INFO: ==2941== Releasing lock...
[2025-01-09 00:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:54:04] Production.ERROR: done
[2025-01-09 00:54:04] Production.INFO: Account Balance End.
[2025-01-09 00:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:54:04] Production.INFO: ==2945== Releasing lock...
[2025-01-09 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:54:05
[end_date_ymd] => 2025-01-09 00:54:05
[RateCDR] => 1
)
[2025-01-09 00:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:54:05' and `end` < '2025-01-09 00:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:54:10] Production.ERROR: CronJobId end10
[2025-01-09 00:54:10] Production.INFO: ==2943== Releasing lock...
[2025-01-09 00:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:54:12] Production.INFO: call_cost start
[2025-01-09 00:54:12] Production.INFO: call_cost end
[2025-01-09 00:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:54:13] Production.INFO: ==2939== Releasing lock...
[2025-01-09 00:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:54:19] Production.INFO: count ==147
[2025-01-09 00:54:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:54:05 - End Time 2025-01-09 00:54:05
[2025-01-09 00:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206036', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206036', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206036', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206036', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:54:19] Production.INFO: ProcessCDR(1,14206036,1,1,2)
[2025-01-09 00:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206036', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206036', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:54:22] Production.INFO: ==2947== Releasing lock...
[2025-01-09 00:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:54:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:55:01] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-01-09 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:55:01] Production.INFO: neon service started
[2025-01-09 05:55:01] Production.INFO: neon service started
[2025-01-09 05:55:01] Production.INFO: ==3002== Releasing lock...
[2025-01-09 05:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:55:02] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-01-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:55:02] Production.INFO: ==3006== Releasing lock...
[2025-01-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:55:02] Production.INFO: ==3004== Lock acquired, processing the job...
[2025-01-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:55:02] Production.INFO: ==3004== Releasing lock...
[2025-01-09 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:55:03] Production.INFO: ==3009== Lock acquired, processing the job...
[2025-01-09 00:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:55:03] Production.INFO: ==3017== Lock acquired, processing the job...
[2025-01-09 00:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:55:03] Production.INFO: ==3013== Lock acquired, processing the job...
[2025-01-09 00:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:55:03] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-01-09 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:55:03] Production.INFO: ==3015== Lock acquired, processing the job...
[2025-01-09 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:55:03] Production.INFO: ==3019== Lock acquired, processing the job...
[2025-01-09 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:55:03] Production.ERROR: done
[2025-01-09 00:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:55:03] Production.INFO: Account Balance Start.
[2025-01-09 00:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:55:03] Production.INFO: 117
[2025-01-09 00:55:03] Production.INFO: count ==21
[2025-01-09 00:55:03] Production.ERROR: done
[2025-01-09 00:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:55:03] Production.INFO: count ==21
[2025-01-09 00:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206040') start
[2025-01-09 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:55:03] Production.INFO: ==3011== Releasing lock...
[2025-01-09 00:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:55:04] Production.INFO: Total Charge 0
[2025-01-09 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206040') end
[2025-01-09 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:55:04] Production.INFO: 1
[2025-01-09 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:55:04] Production.INFO: CreateAllLog End
[2025-01-09 00:55:04] Production.INFO: ==3019== Releasing lock...
[2025-01-09 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:55:04] Production.INFO: Account Balance End.
[2025-01-09 00:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:55:04] Production.INFO: ==3015== Releasing lock...
[2025-01-09 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:55:04
[end_date_ymd] => 2025-01-09 00:55:04
[RateCDR] => 1
)
[2025-01-09 00:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:55:04' and `end` < '2025-01-09 00:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:55:10] Production.ERROR: CronJobId end10
[2025-01-09 00:55:10] Production.INFO: ==3013== Releasing lock...
[2025-01-09 00:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:55:12] Production.INFO: call_cost start
[2025-01-09 00:55:12] Production.INFO: call_cost end
[2025-01-09 00:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:55:13] Production.INFO: ==3009== Releasing lock...
[2025-01-09 00:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:55:17] Production.INFO: count ==149
[2025-01-09 00:55:17] Production.ERROR: pbx CDR StartTime 2025-01-08 21:55:04 - End Time 2025-01-09 00:55:04
[2025-01-09 00:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206041', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206041', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206041', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206041', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:55:17] Production.INFO: ProcessCDR(1,14206041,1,1,2)
[2025-01-09 00:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206041', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206041', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:55:22] Production.INFO: ==3017== Releasing lock...
[2025-01-09 00:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:55:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:56:02] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-01-09 05:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:56:02] Production.INFO: neon service started
[2025-01-09 05:56:02] Production.INFO: neon service started
[2025-01-09 05:56:02] Production.INFO: ==3074== Releasing lock...
[2025-01-09 05:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:56:02] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-01-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:56:02] Production.INFO: ==3076== Releasing lock...
[2025-01-09 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:56:02] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-01-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:56:02] Production.INFO: ==3078== Releasing lock...
[2025-01-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:56:03] Production.INFO: ==3087== Lock acquired, processing the job...
[2025-01-09 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:56:03] Production.INFO: Account Balance Start.
[2025-01-09 00:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:56:03] Production.INFO: 117
[2025-01-09 00:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:56:03] Production.INFO: ==3091== Lock acquired, processing the job...
[2025-01-09 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:56:03] Production.INFO: Total Charge 0
[2025-01-09 00:56:03] Production.INFO: ==3081== Lock acquired, processing the job...
[2025-01-09 00:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:56:03] Production.INFO: CreateAllLog End
[2025-01-09 00:56:03] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-01-09 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:56:03] Production.INFO: ==3083== Lock acquired, processing the job...
[2025-01-09 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:56:03] Production.INFO: count ==21
[2025-01-09 00:56:03] Production.INFO: Account Balance End.
[2025-01-09 00:56:03] Production.INFO: ==3089== Lock acquired, processing the job...
[2025-01-09 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:56:03] Production.INFO: count ==21
[2025-01-09 00:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:56:04] Production.INFO: ==3087== Releasing lock...
[2025-01-09 00:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206043') start
[2025-01-09 00:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206043') end
[2025-01-09 00:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:56:04] Production.INFO: 1
[2025-01-09 00:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:56:04] Production.INFO: ==3091== Releasing lock...
[2025-01-09 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:56:04] Production.INFO: ==3083== Releasing lock...
[2025-01-09 00:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:56:04] Production.ERROR: done
[2025-01-09 00:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:56:04] Production.ERROR: done
[2025-01-09 00:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:56:05
[end_date_ymd] => 2025-01-09 00:56:05
[RateCDR] => 1
)
[2025-01-09 00:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:56:05' and `end` < '2025-01-09 00:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:56:12] Production.ERROR: CronJobId end10
[2025-01-09 00:56:12] Production.INFO: ==3085== Releasing lock...
[2025-01-09 00:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:56:13] Production.INFO: call_cost start
[2025-01-09 00:56:13] Production.INFO: call_cost end
[2025-01-09 00:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:56:14] Production.INFO: ==3081== Releasing lock...
[2025-01-09 00:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:56:18] Production.INFO: count ==149
[2025-01-09 00:56:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:56:05 - End Time 2025-01-09 00:56:05
[2025-01-09 00:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206046', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206046', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206046', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206046', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:56:18] Production.INFO: ProcessCDR(1,14206046,1,1,2)
[2025-01-09 00:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206046', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206046', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:56:21] Production.INFO: ==3089== Releasing lock...
[2025-01-09 00:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:56:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:57:01] Production.INFO: ==3144== Lock acquired, processing the job...
[2025-01-09 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:57:01] Production.INFO: neon service started
[2025-01-09 05:57:01] Production.INFO: neon service started
[2025-01-09 05:57:01] Production.INFO: ==3144== Releasing lock...
[2025-01-09 05:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:57:01] Production.INFO: ==3147== Lock acquired, processing the job...
[2025-01-09 00:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:57:02] Production.INFO: ==3149== Lock acquired, processing the job...
[2025-01-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 00:57:02] Production.INFO: ==3147== Releasing lock...
[2025-01-09 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:57:02] Production.INFO: ==3149== Releasing lock...
[2025-01-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:57:03] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-01-09 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:57:03] Production.INFO: ==3161== Lock acquired, processing the job...
[2025-01-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:57:03] Production.INFO: ==3151== Lock acquired, processing the job...
[2025-01-09 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:57:03] Production.INFO: Account Balance Start.
[2025-01-09 00:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:57:03] Production.INFO: 117
[2025-01-09 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:57:03] Production.INFO: ==3153== Lock acquired, processing the job...
[2025-01-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:57:03] Production.INFO: ==3155== Lock acquired, processing the job...
[2025-01-09 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:57:03] Production.INFO: count ==21
[2025-01-09 00:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:57:03] Production.INFO: count ==21
[2025-01-09 00:57:03] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-01-09 00:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206048') start
[2025-01-09 00:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:57:03] Production.INFO: Total Charge 0
[2025-01-09 00:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206048') end
[2025-01-09 00:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:57:03] Production.INFO: 1
[2025-01-09 00:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:57:03] Production.INFO: CreateAllLog End
[2025-01-09 00:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:57:03] Production.INFO: ==3161== Releasing lock...
[2025-01-09 00:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:57:03] Production.INFO: ==3153== Releasing lock...
[2025-01-09 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:57:03] Production.INFO: Account Balance End.
[2025-01-09 00:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:57:03] Production.INFO: ==3157== Releasing lock...
[2025-01-09 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:57:03] Production.ERROR: done
[2025-01-09 00:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:57:04] Production.ERROR: done
[2025-01-09 00:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:57:05
[end_date_ymd] => 2025-01-09 00:57:05
[RateCDR] => 1
)
[2025-01-09 00:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:57:05' and `end` < '2025-01-09 00:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:57:10] Production.ERROR: CronJobId end10
[2025-01-09 00:57:10] Production.INFO: ==3155== Releasing lock...
[2025-01-09 00:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:57:12] Production.INFO: call_cost start
[2025-01-09 00:57:12] Production.INFO: call_cost end
[2025-01-09 00:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:57:13] Production.INFO: ==3151== Releasing lock...
[2025-01-09 00:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:57:19] Production.INFO: count ==149
[2025-01-09 00:57:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:57:05 - End Time 2025-01-09 00:57:05
[2025-01-09 00:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206051', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206051', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206051', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206051', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:57:19] Production.INFO: ProcessCDR(1,14206051,1,1,2)
[2025-01-09 00:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206051,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206051,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206051', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206051', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:57:22] Production.INFO: ==3159== Releasing lock...
[2025-01-09 00:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:57:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 05:58:02] Production.INFO: ==3215== Lock acquired, processing the job...
[2025-01-09 05:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:58:02] Production.INFO: neon service started
[2025-01-09 05:58:02] Production.INFO: neon service started
[2025-01-09 05:58:02] Production.INFO: ==3215== Releasing lock...
[2025-01-09 05:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:58:02] Production.INFO: ==3220== Lock acquired, processing the job...
[2025-01-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:58:02] Production.INFO: ==3220== Releasing lock...
[2025-01-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:58:02] Production.INFO: ==3218== Lock acquired, processing the job...
[2025-01-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 00:58:02] Production.INFO: ==3218== Releasing lock...
[2025-01-09 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:58:03] Production.INFO: ==3222== Lock acquired, processing the job...
[2025-01-09 00:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:58:03] Production.INFO: ==3224== Lock acquired, processing the job...
[2025-01-09 00:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:58:03] Production.INFO: ==3230== Lock acquired, processing the job...
[2025-01-09 00:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:58:03] Production.INFO: ==3226== Lock acquired, processing the job...
[2025-01-09 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:58:04] Production.INFO: ==3228== Lock acquired, processing the job...
[2025-01-09 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:58:04] Production.INFO: ==3232== Lock acquired, processing the job...
[2025-01-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:58:04] Production.INFO: ==3224== Releasing lock...
[2025-01-09 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:58:04] Production.ERROR: done
[2025-01-09 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:58:04] Production.INFO: Account Balance Start.
[2025-01-09 00:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 00:58:04] Production.INFO: 117
[2025-01-09 00:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 00:58:04] Production.INFO: Total Charge 0
[2025-01-09 00:58:04] Production.ERROR: done
[2025-01-09 00:58:04] Production.INFO: CreateAllLog End
[2025-01-09 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:58:04] Production.INFO: count ==21
[2025-01-09 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:58:04] Production.INFO: count ==21
[2025-01-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206055') start
[2025-01-09 00:58:04] Production.INFO: Account Balance End.
[2025-01-09 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206055') end
[2025-01-09 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:58:04] Production.INFO: 1
[2025-01-09 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 00:58:04] Production.INFO: ==3228== Releasing lock...
[2025-01-09 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:58:04] Production.INFO: ==3232== Releasing lock...
[2025-01-09 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:58:05
[end_date_ymd] => 2025-01-09 00:58:05
[RateCDR] => 1
)
[2025-01-09 00:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:58:05' and `end` < '2025-01-09 00:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:58:10] Production.ERROR: CronJobId end10
[2025-01-09 00:58:10] Production.INFO: ==3226== Releasing lock...
[2025-01-09 00:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:58:13] Production.INFO: call_cost start
[2025-01-09 00:58:13] Production.INFO: call_cost end
[2025-01-09 00:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:58:14] Production.INFO: ==3222== Releasing lock...
[2025-01-09 00:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:58:18] Production.INFO: count ==150
[2025-01-09 00:58:18] Production.ERROR: pbx CDR StartTime 2025-01-08 21:58:05 - End Time 2025-01-09 00:58:05
[2025-01-09 00:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206056', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206056', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206056', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206056', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:58:18] Production.INFO: ProcessCDR(1,14206056,1,1,2)
[2025-01-09 00:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206056,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206056,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206056', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206056', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:58:23] Production.INFO: ==3230== Releasing lock...
[2025-01-09 00:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:58:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 05:59:01] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-01-09 05:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 05:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 05:59:01] Production.INFO: neon service started
[2025-01-09 05:59:01] Production.INFO: neon service started
[2025-01-09 05:59:01] Production.INFO: ==3284== Releasing lock...
[2025-01-09 05:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 05:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 00:59:02] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-01-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:59:02] Production.INFO: ==3290== Lock acquired, processing the job...
[2025-01-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:59:02] Production.INFO: ==3290== Releasing lock...
[2025-01-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 00:59:02] Production.INFO: ==3288== Releasing lock...
[2025-01-09 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 00:59:03] Production.INFO: ==3299== Lock acquired, processing the job...
[2025-01-09 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 00:59:03] Production.INFO: ==3303== Lock acquired, processing the job...
[2025-01-09 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 00:59:03] Production.INFO: Account Balance Start.
[2025-01-09 00:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 00:59:03] Production.INFO: 117
[2025-01-09 00:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:59:03] Production.INFO: ==3293== Lock acquired, processing the job...
[2025-01-09 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 00:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 00:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:59:03] Production.INFO: count ==21
[2025-01-09 00:59:03] Production.INFO: Total Charge 0
[2025-01-09 00:59:03] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-01-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 00:59:03] Production.INFO: CreateAllLog End
[2025-01-09 00:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 00:59:03] Production.INFO: ==3297== Lock acquired, processing the job...
[2025-01-09 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 00:59:03] Production.INFO: count ==21
[2025-01-09 00:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206058') start
[2025-01-09 00:59:03] Production.INFO: ==3301== Lock acquired, processing the job...
[2025-01-09 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 00:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 00:59:03] Production.INFO: Account Balance End.
[2025-01-09 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 00:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 00:59:03] Production.INFO: ==3299== Releasing lock...
[2025-01-09 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 00:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206058') end
[2025-01-09 00:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 00:59:03] Production.INFO: 1
[2025-01-09 00:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 00:59:03] Production.INFO: ==3303== Releasing lock...
[2025-01-09 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 00:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 00:59:03] Production.ERROR: done
[2025-01-09 00:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 00:59:03] Production.ERROR: done
[2025-01-09 00:59:03] Production.INFO: ==3295== Releasing lock...
[2025-01-09 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 00:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 00:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 21:59:04
[end_date_ymd] => 2025-01-09 00:59:04
[RateCDR] => 1
)
[2025-01-09 00:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 21:59:04' and `end` < '2025-01-09 00:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 00:59:10] Production.ERROR: CronJobId end10
[2025-01-09 00:59:10] Production.INFO: ==3297== Releasing lock...
[2025-01-09 00:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 00:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 00:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 00:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 00:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 00:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 00:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 00:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 00:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 00:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 00:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 00:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 00:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 00:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 00:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 00:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 00:59:12] Production.INFO: call_cost start
[2025-01-09 00:59:12] Production.INFO: call_cost end
[2025-01-09 00:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 00:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 00:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 00:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 00:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 00:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 00:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 00:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 00:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 00:59:13] Production.INFO: ==3293== Releasing lock...
[2025-01-09 00:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 00:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 00:59:19] Production.INFO: count ==150
[2025-01-09 00:59:19] Production.ERROR: pbx CDR StartTime 2025-01-08 21:59:04 - End Time 2025-01-09 00:59:04
[2025-01-09 00:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206061', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206061', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206061', 'tblTempVendorCDR_20' ) start
[2025-01-09 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206061', 'tblTempVendorCDR_20' ) end
[2025-01-09 00:59:19] Production.INFO: ProcessCDR(1,14206061,1,1,2)
[2025-01-09 00:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206061,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 00:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206061,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206061', 'tblTempUsageDetail_20' ) start
[2025-01-09 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206061', 'tblTempUsageDetail_20' ) end
[2025-01-09 00:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 00:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 00:59:22] Production.INFO: ==3301== Releasing lock...
[2025-01-09 00:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 00:59:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:00:01] Production.INFO: ==3360== Lock acquired, processing the job...
[2025-01-09 06:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:00:01] Production.INFO: neon service started
[2025-01-09 06:00:01] Production.INFO: neon service started
[2025-01-09 06:00:01] Production.INFO: ==3360== Releasing lock...
[2025-01-09 06:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:00:02] Production.INFO: ==3362== Lock acquired, processing the job...
[2025-01-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:00:02] Production.INFO: ==3364== Lock acquired, processing the job...
[2025-01-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:00:02] Production.INFO: ==3364== Releasing lock...
[2025-01-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:00:02] Production.INFO: ==3362== Releasing lock...
[2025-01-09 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:00:03] Production.INFO: ==3367== Lock acquired, processing the job...
[2025-01-09 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 01:00:03] Production.INFO: ==3369== Lock acquired, processing the job...
[2025-01-09 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 01:00:03] Production.INFO: ==3367== Releasing lock...
[2025-01-09 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 01:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:00:03] Production.INFO: ==3377== Lock acquired, processing the job...
[2025-01-09 01:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:00:03] Production.INFO: ==3375== Lock acquired, processing the job...
[2025-01-09 01:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:00:03] Production.INFO: Account Balance Start.
[2025-01-09 01:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:00:03] Production.INFO: 117
[2025-01-09 01:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:00:04] Production.INFO: Total Charge 0
[2025-01-09 01:00:04] Production.INFO: ==3371== Lock acquired, processing the job...
[2025-01-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:00:04] Production.INFO: CreateAllLog End
[2025-01-09 01:00:04] Production.INFO: ==3373== Lock acquired, processing the job...
[2025-01-09 01:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:00:04] Production.INFO: ==3379== Lock acquired, processing the job...
[2025-01-09 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 01:00:04] Production.ERROR: done
[2025-01-09 01:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:00:04] Production.INFO: ==3381== Lock acquired, processing the job...
[2025-01-09 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:00:04] Production.INFO: Account Balance End.
[2025-01-09 01:00:04] Production.INFO: ==3371== Releasing lock...
[2025-01-09 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:00:04] Production.ERROR: done
[2025-01-09 01:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:00:04] Production.INFO: ==3375== Releasing lock...
[2025-01-09 01:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:00:04] Production.INFO: count ==21
[2025-01-09 01:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:00:04] Production.INFO: count ==21
[2025-01-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206065') start
[2025-01-09 01:00:04] Production.ERROR: done
[2025-01-09 01:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 01:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206067', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206065') end
[2025-01-09 01:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:00:04] Production.INFO: 1
[2025-01-09 01:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:00:05] Production.INFO: ==3381== Releasing lock...
[2025-01-09 01:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:00:05
[end_date_ymd] => 2025-01-09 01:00:05
[RateCDR] => 1
)
[2025-01-09 01:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:00:05' and `end` < '2025-01-09 01:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206067', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 01:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 01:00:08] Production.INFO: ProcessCDR(1,14206067,1,1,2)
[2025-01-09 01:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206067,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:00:08] Production.INFO: ==3379== Releasing lock...
[2025-01-09 01:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 01:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 01:00:13] Production.ERROR: CronJobId end10
[2025-01-09 01:00:13] Production.INFO: ==3373== Releasing lock...
[2025-01-09 01:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:00:15] Production.INFO: call_cost start
[2025-01-09 01:00:15] Production.INFO: call_cost end
[2025-01-09 01:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:00:16] Production.INFO: ==3369== Releasing lock...
[2025-01-09 01:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:00:18] Production.INFO: count ==156
[2025-01-09 01:00:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:00:05 - End Time 2025-01-09 01:00:05
[2025-01-09 01:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206066', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206066', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206066', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206066', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:00:18] Production.INFO: ProcessCDR(1,14206066,1,1,2)
[2025-01-09 01:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206066,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206066,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206066', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206066', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:00:22] Production.INFO: ==3377== Releasing lock...
[2025-01-09 01:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:00:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:01:01] Production.INFO: ==3450== Lock acquired, processing the job...
[2025-01-09 06:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:01:01] Production.INFO: neon service started
[2025-01-09 06:01:01] Production.INFO: neon service started
[2025-01-09 06:01:01] Production.INFO: ==3450== Releasing lock...
[2025-01-09 06:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:01:01] Production.INFO: ==3453== Lock acquired, processing the job...
[2025-01-09 01:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:01:02] Production.INFO: ==3455== Lock acquired, processing the job...
[2025-01-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:01:02] Production.INFO: ==3455== Releasing lock...
[2025-01-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:01:02] Production.INFO: ==3453== Releasing lock...
[2025-01-09 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:01:03] Production.INFO: ==3462== Lock acquired, processing the job...
[2025-01-09 01:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:01:03] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-01-09 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:01:03] Production.INFO: ==3458== Lock acquired, processing the job...
[2025-01-09 01:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:01:03] Production.INFO: ==3460== Lock acquired, processing the job...
[2025-01-09 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:01:03] Production.INFO: count ==21
[2025-01-09 01:01:03] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-01-09 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:01:03] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-01-09 01:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:01:03] Production.INFO: count ==21
[2025-01-09 01:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:01:03] Production.INFO: Account Balance Start.
[2025-01-09 01:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:01:03] Production.INFO: 117
[2025-01-09 01:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206068') start
[2025-01-09 01:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206068') end
[2025-01-09 01:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:01:03] Production.INFO: 1
[2025-01-09 01:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:01:03] Production.INFO: Total Charge 0
[2025-01-09 01:01:03] Production.INFO: CreateAllLog End
[2025-01-09 01:01:03] Production.INFO: ==3468== Releasing lock...
[2025-01-09 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:01:03] Production.INFO: ==3460== Releasing lock...
[2025-01-09 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:01:03] Production.ERROR: done
[2025-01-09 01:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:01:04] Production.INFO: Account Balance End.
[2025-01-09 01:01:04] Production.ERROR: done
[2025-01-09 01:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:01:04] Production.INFO: ==3464== Releasing lock...
[2025-01-09 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:01:04
[end_date_ymd] => 2025-01-09 01:01:04
[RateCDR] => 1
)
[2025-01-09 01:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:01:04' and `end` < '2025-01-09 01:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:01:10] Production.ERROR: CronJobId end10
[2025-01-09 01:01:10] Production.INFO: ==3462== Releasing lock...
[2025-01-09 01:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:01:12] Production.INFO: call_cost start
[2025-01-09 01:01:12] Production.INFO: call_cost end
[2025-01-09 01:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:01:13] Production.INFO: ==3458== Releasing lock...
[2025-01-09 01:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:01:17] Production.INFO: count ==167
[2025-01-09 01:01:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:01:04 - End Time 2025-01-09 01:01:04
[2025-01-09 01:01:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206072', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206072', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206072', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:01:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206072', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:01:17] Production.INFO: ProcessCDR(1,14206072,1,1,2)
[2025-01-09 01:01:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:01:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:01:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:01:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206072', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:01:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206072', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:01:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:01:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:01:20] Production.INFO: ==3466== Releasing lock...
[2025-01-09 01:01:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:01:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:02:01] Production.INFO: ==3523== Lock acquired, processing the job...
[2025-01-09 06:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:02:01] Production.INFO: neon service started
[2025-01-09 06:02:01] Production.INFO: neon service started
[2025-01-09 06:02:01] Production.INFO: ==3523== Releasing lock...
[2025-01-09 06:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:02:02] Production.INFO: ==3527== Lock acquired, processing the job...
[2025-01-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:02:02] Production.INFO: ==3527== Releasing lock...
[2025-01-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:02:02] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-01-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:02:02] Production.INFO: ==3525== Releasing lock...
[2025-01-09 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:02:03] Production.INFO: ==3536== Lock acquired, processing the job...
[2025-01-09 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:02:03] Production.INFO: ==3540== Lock acquired, processing the job...
[2025-01-09 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:02:03] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-01-09 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:02:03] Production.INFO: Account Balance Start.
[2025-01-09 01:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:02:03] Production.INFO: 117
[2025-01-09 01:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:02:03] Production.INFO: ==3534== Lock acquired, processing the job...
[2025-01-09 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:02:03] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-01-09 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:02:03] Production.INFO: Total Charge 0
[2025-01-09 01:02:03] Production.INFO: CreateAllLog End
[2025-01-09 01:02:03] Production.INFO: count ==21
[2025-01-09 01:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:02:03] Production.INFO: count ==21
[2025-01-09 01:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206074') start
[2025-01-09 01:02:03] Production.INFO: ==3538== Lock acquired, processing the job...
[2025-01-09 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:02:03] Production.INFO: Account Balance End.
[2025-01-09 01:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206074') end
[2025-01-09 01:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:02:03] Production.INFO: 1
[2025-01-09 01:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:02:03] Production.INFO: ==3536== Releasing lock...
[2025-01-09 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:02:03] Production.INFO: ==3540== Releasing lock...
[2025-01-09 01:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:02:04] Production.ERROR: done
[2025-01-09 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:02:04] Production.ERROR: done
[2025-01-09 01:02:04] Production.INFO: ==3532== Releasing lock...
[2025-01-09 01:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:02:05
[end_date_ymd] => 2025-01-09 01:02:05
[RateCDR] => 1
)
[2025-01-09 01:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:02:05' and `end` < '2025-01-09 01:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:02:10] Production.ERROR: CronJobId end10
[2025-01-09 01:02:10] Production.INFO: ==3534== Releasing lock...
[2025-01-09 01:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:02:12] Production.INFO: call_cost start
[2025-01-09 01:02:12] Production.INFO: call_cost end
[2025-01-09 01:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:02:13] Production.INFO: ==3530== Releasing lock...
[2025-01-09 01:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:02:19] Production.INFO: count ==166
[2025-01-09 01:02:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:02:05 - End Time 2025-01-09 01:02:05
[2025-01-09 01:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206077', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206077', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206077', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206077', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:02:19] Production.INFO: ProcessCDR(1,14206077,1,1,2)
[2025-01-09 01:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206077', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206077', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:02:22] Production.INFO: ==3538== Releasing lock...
[2025-01-09 01:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:02:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:03:02] Production.INFO: ==3600== Lock acquired, processing the job...
[2025-01-09 06:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:03:02] Production.INFO: neon service started
[2025-01-09 06:03:02] Production.INFO: neon service started
[2025-01-09 06:03:02] Production.INFO: ==3600== Releasing lock...
[2025-01-09 06:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:03:02] Production.INFO: ==3602== Lock acquired, processing the job...
[2025-01-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:03:02] Production.INFO: ==3602== Releasing lock...
[2025-01-09 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:03:03] Production.INFO: ==3604== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:03:03] Production.INFO: ==3604== Releasing lock...
[2025-01-09 06:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:03:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:03:03] Production.INFO: ==3614== Lock acquired, processing the job...
[2025-01-09 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:03:03] Production.INFO: ==3616== Lock acquired, processing the job...
[2025-01-09 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:03:04] Production.INFO: ==3606== Lock acquired, processing the job...
[2025-01-09 01:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:03:04] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-01-09 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:03:04] Production.ERROR: done
[2025-01-09 01:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:03:04] Production.INFO: count ==21
[2025-01-09 01:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:03:04] Production.INFO: count ==21
[2025-01-09 01:03:04] Production.INFO: ==3610== Lock acquired, processing the job...
[2025-01-09 01:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:03:04] Production.INFO: ==3612== Lock acquired, processing the job...
[2025-01-09 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206078') start
[2025-01-09 01:03:04] Production.INFO: Account Balance Start.
[2025-01-09 01:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206078') end
[2025-01-09 01:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:03:04] Production.INFO: 1
[2025-01-09 01:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:03:04] Production.INFO: 117
[2025-01-09 01:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:03:04] Production.INFO: ==3616== Releasing lock...
[2025-01-09 01:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:03:04] Production.ERROR: done
[2025-01-09 01:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:03:04] Production.INFO: Total Charge 0
[2025-01-09 01:03:04] Production.INFO: CreateAllLog End
[2025-01-09 01:03:04] Production.INFO: ==3608== Releasing lock...
[2025-01-09 01:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:03:04] Production.INFO: Account Balance End.
[2025-01-09 01:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:03:04] Production.INFO: ==3612== Releasing lock...
[2025-01-09 01:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:03:05
[end_date_ymd] => 2025-01-09 01:03:05
[RateCDR] => 1
)
[2025-01-09 01:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:03:05' and `end` < '2025-01-09 01:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:03:11] Production.ERROR: CronJobId end10
[2025-01-09 01:03:11] Production.INFO: ==3610== Releasing lock...
[2025-01-09 01:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:03:13] Production.INFO: call_cost start
[2025-01-09 01:03:13] Production.INFO: call_cost end
[2025-01-09 01:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:03:14] Production.INFO: ==3606== Releasing lock...
[2025-01-09 01:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:03:18] Production.INFO: count ==163
[2025-01-09 01:03:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:03:05 - End Time 2025-01-09 01:03:05
[2025-01-09 01:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206082', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206082', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206082', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206082', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:03:18] Production.INFO: ProcessCDR(1,14206082,1,1,2)
[2025-01-09 01:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206082', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206082', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:03:21] Production.INFO: ==3614== Releasing lock...
[2025-01-09 01:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:03:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:04:01] Production.INFO: ==3709== Lock acquired, processing the job...
[2025-01-09 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:04:01] Production.INFO: neon service started
[2025-01-09 06:04:01] Production.INFO: neon service started
[2025-01-09 06:04:01] Production.INFO: ==3709== Releasing lock...
[2025-01-09 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:04:02] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-01-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:04:02] Production.INFO: ==3711== Releasing lock...
[2025-01-09 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:04:02] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-01-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:04:02] Production.INFO: ==3713== Releasing lock...
[2025-01-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:04:03] Production.INFO: ==3717== Lock acquired, processing the job...
[2025-01-09 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:04:03] Production.INFO: ==3725== Lock acquired, processing the job...
[2025-01-09 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:04:03] Production.INFO: ==3715== Lock acquired, processing the job...
[2025-01-09 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:04:03] Production.INFO: ==3721== Lock acquired, processing the job...
[2025-01-09 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:04:03] Production.INFO: ==3719== Lock acquired, processing the job...
[2025-01-09 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:04:03] Production.INFO: count ==21
[2025-01-09 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:04:03] Production.INFO: count ==21
[2025-01-09 01:04:03] Production.INFO: ==3723== Lock acquired, processing the job...
[2025-01-09 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:04:03] Production.INFO: ==3717== Releasing lock...
[2025-01-09 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206084') start
[2025-01-09 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:04:03] Production.INFO: Account Balance Start.
[2025-01-09 01:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:04:03] Production.INFO: 117
[2025-01-09 01:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206084') end
[2025-01-09 01:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:04:03] Production.INFO: 1
[2025-01-09 01:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:04:03] Production.INFO: Total Charge 0
[2025-01-09 01:04:03] Production.INFO: CreateAllLog End
[2025-01-09 01:04:03] Production.INFO: ==3725== Releasing lock...
[2025-01-09 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:04:03] Production.ERROR: done
[2025-01-09 01:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:04:04] Production.ERROR: done
[2025-01-09 01:04:04] Production.INFO: Account Balance End.
[2025-01-09 01:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:04:04] Production.INFO: ==3721== Releasing lock...
[2025-01-09 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:04:04
[end_date_ymd] => 2025-01-09 01:04:04
[RateCDR] => 1
)
[2025-01-09 01:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:04:04' and `end` < '2025-01-09 01:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:04:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php: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-01-09 01:04:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:04:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:04:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:04:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:04:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:04:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:04:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:04:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:04:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:04:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:04:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:04:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:04:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:04:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:04:11] Production.INFO: call_cost start
[2025-01-09 01:04:11] Production.INFO: call_cost end
[2025-01-09 01:04:11] Production.ERROR: CronJobId end10
[2025-01-09 01:04:11] Production.INFO: ==3719== Releasing lock...
[2025-01-09 01:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:04:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:04:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:04:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:04:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:04:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:04:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:04:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:04:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:04:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:04:11] Production.INFO: ==3715== Releasing lock...
[2025-01-09 01:04:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:04:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:04:18] Production.INFO: count ==163
[2025-01-09 01:04:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:04:04 - End Time 2025-01-09 01:04:04
[2025-01-09 01:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206087', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206087', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206087', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206087', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:04:18] Production.INFO: ProcessCDR(1,14206087,1,1,2)
[2025-01-09 01:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206087', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206087', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:04:21] Production.INFO: ==3723== Releasing lock...
[2025-01-09 01:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:04:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:05:02] Production.INFO: ==3779== Lock acquired, processing the job...
[2025-01-09 06:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:05:02] Production.INFO: neon service started
[2025-01-09 06:05:02] Production.INFO: neon service started
[2025-01-09 06:05:02] Production.INFO: ==3779== Releasing lock...
[2025-01-09 06:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:05:02] Production.INFO: ==3781== Lock acquired, processing the job...
[2025-01-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:05:02] Production.INFO: ==3781== Releasing lock...
[2025-01-09 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:05:02] Production.INFO: ==3783== Lock acquired, processing the job...
[2025-01-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:05:02] Production.INFO: ==3783== Releasing lock...
[2025-01-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:05:03] Production.INFO: ==3792== Lock acquired, processing the job...
[2025-01-09 01:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:05:03] Production.INFO: ==3794== Lock acquired, processing the job...
[2025-01-09 01:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:05:03] Production.INFO: Account Balance Start.
[2025-01-09 01:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:05:03] Production.INFO: 117
[2025-01-09 01:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:05:03] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-01-09 01:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:05:03] Production.INFO: Total Charge 0
[2025-01-09 01:05:03] Production.INFO: ==3788== Lock acquired, processing the job...
[2025-01-09 01:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:05:03] Production.INFO: CreateAllLog End
[2025-01-09 01:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:05:03] Production.INFO: ==3790== Lock acquired, processing the job...
[2025-01-09 01:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:05:03] Production.INFO: ==3796== Lock acquired, processing the job...
[2025-01-09 01:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:05:04] Production.INFO: count ==21
[2025-01-09 01:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:05:04] Production.INFO: count ==21
[2025-01-09 01:05:04] Production.ERROR: done
[2025-01-09 01:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206091') start
[2025-01-09 01:05:04] Production.INFO: ==3788== Releasing lock...
[2025-01-09 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:05:04] Production.INFO: Account Balance End.
[2025-01-09 01:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:05:04] Production.INFO: ==3792== Releasing lock...
[2025-01-09 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206091') end
[2025-01-09 01:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:05:04] Production.INFO: 1
[2025-01-09 01:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:05:04] Production.INFO: ==3796== Releasing lock...
[2025-01-09 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:05:04] Production.ERROR: done
[2025-01-09 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:05:05
[end_date_ymd] => 2025-01-09 01:05:05
[RateCDR] => 1
)
[2025-01-09 01:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:05:05' and `end` < '2025-01-09 01:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:05:11] Production.ERROR: CronJobId end10
[2025-01-09 01:05:11] Production.INFO: ==3790== Releasing lock...
[2025-01-09 01:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:05:12] Production.INFO: call_cost start
[2025-01-09 01:05:12] Production.INFO: call_cost end
[2025-01-09 01:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:05:13] Production.INFO: ==3786== Releasing lock...
[2025-01-09 01:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:05:18] Production.INFO: count ==162
[2025-01-09 01:05:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:05:05 - End Time 2025-01-09 01:05:05
[2025-01-09 01:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206092', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206092', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206092', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206092', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:05:18] Production.INFO: ProcessCDR(1,14206092,1,1,2)
[2025-01-09 01:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206092', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206092', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:05:21] Production.INFO: ==3794== Releasing lock...
[2025-01-09 01:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:05:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:06:01] Production.INFO: ==3848== Lock acquired, processing the job...
[2025-01-09 06:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:06:01] Production.INFO: neon service started
[2025-01-09 06:06:01] Production.INFO: neon service started
[2025-01-09 06:06:01] Production.INFO: ==3848== Releasing lock...
[2025-01-09 06:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:06:01] Production.INFO: ==3850== Lock acquired, processing the job...
[2025-01-09 01:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:06:02] Production.INFO: ==3850== Releasing lock...
[2025-01-09 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:06:02] Production.INFO: ==3852== Lock acquired, processing the job...
[2025-01-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:06:02] Production.INFO: ==3852== Releasing lock...
[2025-01-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:06:02] Production.INFO: ==3855== Lock acquired, processing the job...
[2025-01-09 01:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:06:03] Production.INFO: ==3857== Lock acquired, processing the job...
[2025-01-09 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:06:03] Production.INFO: ==3861== Lock acquired, processing the job...
[2025-01-09 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:06:03] Production.INFO: Account Balance Start.
[2025-01-09 01:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:06:03] Production.INFO: 117
[2025-01-09 01:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:06:03] Production.INFO: ==3857== Releasing lock...
[2025-01-09 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:06:03] Production.INFO: ==3859== Lock acquired, processing the job...
[2025-01-09 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:06:03] Production.INFO: Total Charge 0
[2025-01-09 01:06:03] Production.INFO: CreateAllLog End
[2025-01-09 01:06:03] Production.INFO: ==3863== Lock acquired, processing the job...
[2025-01-09 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:06:03] Production.INFO: ==3865== Lock acquired, processing the job...
[2025-01-09 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:06:03] Production.INFO: Account Balance End.
[2025-01-09 01:06:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:06:03] Production.INFO: ==3861== Releasing lock...
[2025-01-09 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:06:03] Production.INFO: count ==21
[2025-01-09 01:06:03] Production.ERROR: done
[2025-01-09 01:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:06:03] Production.INFO: count ==21
[2025-01-09 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206096') start
[2025-01-09 01:06:03] Production.ERROR: done
[2025-01-09 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206096') end
[2025-01-09 01:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:06:03] Production.INFO: 1
[2025-01-09 01:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:06:03] Production.INFO: ==3865== Releasing lock...
[2025-01-09 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:06:04
[end_date_ymd] => 2025-01-09 01:06:04
[RateCDR] => 1
)
[2025-01-09 01:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:06:04' and `end` < '2025-01-09 01:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:06:10] Production.ERROR: CronJobId end10
[2025-01-09 01:06:10] Production.INFO: ==3859== Releasing lock...
[2025-01-09 01:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:06:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:06:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:06:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:06:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:06:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:06:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:06:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:06:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:06:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:06:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:06:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:06:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:06:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:06:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:06:12] Production.INFO: call_cost start
[2025-01-09 01:06:12] Production.INFO: call_cost end
[2025-01-09 01:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:06:13] Production.INFO: ==3855== Releasing lock...
[2025-01-09 01:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:06:19] Production.INFO: count ==162
[2025-01-09 01:06:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:06:04 - End Time 2025-01-09 01:06:04
[2025-01-09 01:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206097', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206097', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206097', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206097', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:06:19] Production.INFO: ProcessCDR(1,14206097,1,1,2)
[2025-01-09 01:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206097,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206097,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206097', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206097', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:06:22] Production.INFO: ==3863== Releasing lock...
[2025-01-09 01:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:06:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:07:01] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-01-09 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:07:01] Production.INFO: neon service started
[2025-01-09 06:07:02] Production.INFO: neon service started
[2025-01-09 06:07:02] Production.INFO: ==3918== Releasing lock...
[2025-01-09 06:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:07:02] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-01-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:07:02] Production.INFO: ==3920== Releasing lock...
[2025-01-09 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:07:02] Production.INFO: ==3922== Lock acquired, processing the job...
[2025-01-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:07:02] Production.INFO: ==3922== Releasing lock...
[2025-01-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:07:03] Production.INFO: ==3931== Lock acquired, processing the job...
[2025-01-09 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:07:03] Production.INFO: ==3933== Lock acquired, processing the job...
[2025-01-09 01:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:07:03] Production.INFO: Account Balance Start.
[2025-01-09 01:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:07:03] Production.INFO: 117
[2025-01-09 01:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:07:03] Production.INFO: ==3927== Lock acquired, processing the job...
[2025-01-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:07:03] Production.INFO: ==3929== Lock acquired, processing the job...
[2025-01-09 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:07:03] Production.INFO: ==3925== Lock acquired, processing the job...
[2025-01-09 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:07:03] Production.INFO: ==3935== Lock acquired, processing the job...
[2025-01-09 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:07:03] Production.ERROR: done
[2025-01-09 01:07:03] Production.INFO: Total Charge 0
[2025-01-09 01:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:07:03] Production.INFO: CreateAllLog End
[2025-01-09 01:07:03] Production.INFO: count ==21
[2025-01-09 01:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:07:03] Production.INFO: count ==21
[2025-01-09 01:07:03] Production.INFO: ==3927== Releasing lock...
[2025-01-09 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206101') start
[2025-01-09 01:07:03] Production.ERROR: done
[2025-01-09 01:07:03] Production.INFO: Account Balance End.
[2025-01-09 01:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206101') end
[2025-01-09 01:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:07:04] Production.INFO: 1
[2025-01-09 01:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:07:04] Production.INFO: ==3935== Releasing lock...
[2025-01-09 01:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:07:04] Production.INFO: ==3931== Releasing lock...
[2025-01-09 01:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:07:04
[end_date_ymd] => 2025-01-09 01:07:04
[RateCDR] => 1
)
[2025-01-09 01:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:07:04' and `end` < '2025-01-09 01:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:07:09] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 01:07:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:07:09] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:07:09] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:07:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:07:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:07:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:07:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:07:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:07:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:07:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:07:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:07:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:07:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:07:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:07:10] Production.INFO: call_cost start
[2025-01-09 01:07:10] Production.INFO: call_cost end
[2025-01-09 01:07:10] Production.ERROR: CronJobId end10
[2025-01-09 01:07:10] Production.INFO: ==3929== Releasing lock...
[2025-01-09 01:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:07:10] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:07:10] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:07:10] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:07:10] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:07:10] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:07:10] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:07:10] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:07:10] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:07:10] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:07:10] Production.INFO: ==3925== Releasing lock...
[2025-01-09 01:07:10] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:07:10] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:07:17] Production.INFO: count ==162
[2025-01-09 01:07:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:07:04 - End Time 2025-01-09 01:07:04
[2025-01-09 01:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206102', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206102', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206102', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206102', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:07:17] Production.INFO: ProcessCDR(1,14206102,1,1,2)
[2025-01-09 01:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206102,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:07:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206102,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206102', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:07:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206102', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:07:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:07:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:07:20] Production.INFO: ==3933== Releasing lock...
[2025-01-09 01:07:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:07:20] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:08:01] Production.INFO: ==3988== Lock acquired, processing the job...
[2025-01-09 06:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:08:01] Production.INFO: neon service started
[2025-01-09 06:08:01] Production.INFO: neon service started
[2025-01-09 06:08:01] Production.INFO: ==3988== Releasing lock...
[2025-01-09 06:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:08:01] Production.INFO: ==3992== Lock acquired, processing the job...
[2025-01-09 06:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:08:01] Production.INFO: ==3992== Releasing lock...
[2025-01-09 06:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:08:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:08:01] Production.INFO: ==3990== Lock acquired, processing the job...
[2025-01-09 01:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:08:02] Production.INFO: ==3990== Releasing lock...
[2025-01-09 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:08:03] Production.INFO: ==4003== Lock acquired, processing the job...
[2025-01-09 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:08:03] Production.INFO: ==3999== Lock acquired, processing the job...
[2025-01-09 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:08:03] Production.INFO: ==3995== Lock acquired, processing the job...
[2025-01-09 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:08:03] Production.INFO: ==3997== Lock acquired, processing the job...
[2025-01-09 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:08:03] Production.INFO: ==4001== Lock acquired, processing the job...
[2025-01-09 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:08:03] Production.ERROR: done
[2025-01-09 01:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:08:03] Production.INFO: ==4005== Lock acquired, processing the job...
[2025-01-09 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:08:03] Production.INFO: Account Balance Start.
[2025-01-09 01:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:08:03] Production.INFO: 117
[2025-01-09 01:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:08:03] Production.ERROR: done
[2025-01-09 01:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:08:03] Production.INFO: Total Charge 0
[2025-01-09 01:08:03] Production.INFO: CreateAllLog End
[2025-01-09 01:08:03] Production.INFO: ==3997== Releasing lock...
[2025-01-09 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:08:03] Production.INFO: Account Balance End.
[2025-01-09 01:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:08:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:08:03] Production.INFO: ==4001== Releasing lock...
[2025-01-09 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:08:03] Production.INFO: count ==21
[2025-01-09 01:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:08:03] Production.INFO: count ==21
[2025-01-09 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206107') start
[2025-01-09 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206107') end
[2025-01-09 01:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:08:04] Production.INFO: 1
[2025-01-09 01:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:08:04] Production.INFO: ==4005== Releasing lock...
[2025-01-09 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:08:04
[end_date_ymd] => 2025-01-09 01:08:04
[RateCDR] => 1
)
[2025-01-09 01:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:08:04' and `end` < '2025-01-09 01:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:08:10] Production.ERROR: CronJobId end10
[2025-01-09 01:08:10] Production.INFO: ==3999== Releasing lock...
[2025-01-09 01:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:08:12] Production.INFO: call_cost start
[2025-01-09 01:08:12] Production.INFO: call_cost end
[2025-01-09 01:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:08:13] Production.INFO: ==3995== Releasing lock...
[2025-01-09 01:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:08:17] Production.INFO: count ==161
[2025-01-09 01:08:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:08:04 - End Time 2025-01-09 01:08:04
[2025-01-09 01:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206106', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206106', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206106', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206106', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:08:17] Production.INFO: ProcessCDR(1,14206106,1,1,2)
[2025-01-09 01:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206106,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206106,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206106', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206106', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:08:20] Production.INFO: ==4003== Releasing lock...
[2025-01-09 01:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:08:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:09:01] Production.INFO: ==4060== Lock acquired, processing the job...
[2025-01-09 06:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:09:01] Production.INFO: neon service started
[2025-01-09 06:09:01] Production.INFO: neon service started
[2025-01-09 06:09:01] Production.INFO: ==4060== Releasing lock...
[2025-01-09 06:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:09:02] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-01-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:09:02] Production.INFO: ==4062== Releasing lock...
[2025-01-09 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:09:02] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-01-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:09:02] Production.INFO: ==4064== Releasing lock...
[2025-01-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:09:03] Production.INFO: ==4070== Lock acquired, processing the job...
[2025-01-09 01:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:09:03] Production.INFO: ==4074== Lock acquired, processing the job...
[2025-01-09 01:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:09:03] Production.INFO: ==4076== Lock acquired, processing the job...
[2025-01-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:09:03] Production.INFO: ==4068== Lock acquired, processing the job...
[2025-01-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:09:03] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-01-09 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:09:03] Production.INFO: ==4072== Lock acquired, processing the job...
[2025-01-09 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:09:03] Production.INFO: count ==21
[2025-01-09 01:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:09:03] Production.INFO: count ==21
[2025-01-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206108') start
[2025-01-09 01:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:09:03] Production.INFO: Account Balance Start.
[2025-01-09 01:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:09:03] Production.INFO: 117
[2025-01-09 01:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:09:03] Production.ERROR: done
[2025-01-09 01:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206108') end
[2025-01-09 01:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:09:03] Production.INFO: 1
[2025-01-09 01:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:09:03] Production.INFO: Total Charge 0
[2025-01-09 01:09:03] Production.INFO: CreateAllLog End
[2025-01-09 01:09:03] Production.INFO: ==4076== Releasing lock...
[2025-01-09 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:09:03] Production.ERROR: done
[2025-01-09 01:09:03] Production.INFO: ==4068== Releasing lock...
[2025-01-09 01:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:09:04] Production.INFO: Account Balance End.
[2025-01-09 01:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:09:04] Production.INFO: ==4072== Releasing lock...
[2025-01-09 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:09:04
[end_date_ymd] => 2025-01-09 01:09:04
[RateCDR] => 1
)
[2025-01-09 01:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:09:04' and `end` < '2025-01-09 01:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:09:10] Production.ERROR: CronJobId end10
[2025-01-09 01:09:10] Production.INFO: ==4070== Releasing lock...
[2025-01-09 01:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:09:13] Production.INFO: call_cost start
[2025-01-09 01:09:13] Production.INFO: call_cost end
[2025-01-09 01:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:09:14] Production.INFO: ==4066== Releasing lock...
[2025-01-09 01:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:09:19] Production.INFO: count ==161
[2025-01-09 01:09:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:09:04 - End Time 2025-01-09 01:09:04
[2025-01-09 01:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206112', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206112', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206112', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206112', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:09:19] Production.INFO: ProcessCDR(1,14206112,1,1,2)
[2025-01-09 01:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206112,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206112,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206112', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206112', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:09:22] Production.INFO: ==4074== Releasing lock...
[2025-01-09 01:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:09:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:10:02] Production.INFO: ==4131== Lock acquired, processing the job...
[2025-01-09 06:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:10:02] Production.INFO: neon service started
[2025-01-09 06:10:02] Production.INFO: neon service started
[2025-01-09 06:10:02] Production.INFO: ==4131== Releasing lock...
[2025-01-09 06:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:10:02] Production.INFO: ==4133== Lock acquired, processing the job...
[2025-01-09 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:10:02] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-01-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:10:02] Production.INFO: ==4135== Releasing lock...
[2025-01-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:10:03] Production.INFO: ==4133== Releasing lock...
[2025-01-09 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:10:04] Production.INFO: ==4140== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:10:04] Production.INFO: ==4144== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:10:04] Production.INFO: ==4138== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 01:10:04] Production.INFO: ==4148== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 01:10:04] Production.ERROR: CronJob PID - 4140
[2025-01-09 01:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 01:10:04] Production.ERROR: CronJob ID - 5
[2025-01-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 01:10:00
[2025-01-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 01:10:04] Production.ERROR: CronJob PID - 4144
[2025-01-09 01:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 01:10:04] Production.ERROR: CronJob ID - 10
[2025-01-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 01:10:00
[2025-01-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 01:10:04] Production.ERROR: CronJob PID - 4148
[2025-01-09 01:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 01:10:04] Production.ERROR: CronJob ID - 16
[2025-01-09 01:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 01:10:00
[2025-01-09 01:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 01:10:04] Production.INFO: ==4142== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 01:10:04] Production.INFO: ==4138== Releasing lock...
[2025-01-09 01:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 01:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:10:04] Production.INFO: ==4146== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:10:04] Production.INFO: ==4150== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 01:10:04] Production.INFO: ==4152== Lock acquired, processing the job...
[2025-01-09 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:10:04] Production.INFO: Account Balance Start.
[2025-01-09 01:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:10:04] Production.INFO: 117
[2025-01-09 01:10:05] Production.ERROR: done
[2025-01-09 01:10:05] Production.INFO: Date 2025-01-08
[2025-01-09 01:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-09 01:10:05] Production.INFO: ==4142== Releasing lock...
[2025-01-09 01:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01: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-01-09 01:10:05] Production.INFO: Date 2025-01-09
[2025-01-09 01:10:05] Production.INFO: count ==21
[2025-01-09 01:10:05] Production.INFO: Reseller ==> 0
[2025-01-09 01:10:05] Production.ERROR: done
[2025-01-09 01: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-01-09 01:10:05] Production.ERROR: done
[2025-01-09 01:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 01:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206118', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 01:10:05] Production.INFO: count ==21
[2025-01-09 01:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206116') start
[2025-01-09 01:10:05] Production.INFO: Total Charge 0
[2025-01-09 01:10:05] Production.INFO: CreateAllLog End
[2025-01-09 01:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206116') end
[2025-01-09 01:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:10:05] Production.INFO: 1
[2025-01-09 01:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:10:05] Production.INFO: ==4152== Releasing lock...
[2025-01-09 01:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:10:05] Production.INFO: Account Balance End.
[2025-01-09 01:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 01:10:05] Production.INFO: ==4146== Releasing lock...
[2025-01-09 01:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:10:06
[end_date_ymd] => 2025-01-09 01:10:06
[RateCDR] => 1
)
[2025-01-09 01:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:10:06' and `end` < '2025-01-09 01:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206118', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 01:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 01:10:09] Production.INFO: ProcessCDR(1,14206118,1,1,2)
[2025-01-09 01:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206118,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206118,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:10:09] Production.INFO: ==4150== Releasing lock...
[2025-01-09 01:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 01:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 01:10:13] Production.ERROR: CronJobId end10
[2025-01-09 01:10:13] Production.INFO: ==4144== Releasing lock...
[2025-01-09 01:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:10:15] Production.INFO: call_cost start
[2025-01-09 01:10:15] Production.INFO: call_cost end
[2025-01-09 01:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:10:16] Production.INFO: ==4140== Releasing lock...
[2025-01-09 01:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:10:19] Production.INFO: count ==170
[2025-01-09 01:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:10:06 - End Time 2025-01-09 01:10:06
[2025-01-09 01:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206117', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206117', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206117', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206117', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:10:19] Production.INFO: ProcessCDR(1,14206117,1,1,2)
[2025-01-09 01:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206117,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206117,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206117', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206117', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:10:23] Production.INFO: ==4148== Releasing lock...
[2025-01-09 01:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:10:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:11:01] Production.INFO: ==4206== Lock acquired, processing the job...
[2025-01-09 06:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:11:01] Production.INFO: neon service started
[2025-01-09 06:11:01] Production.INFO: neon service started
[2025-01-09 06:11:01] Production.INFO: ==4206== Releasing lock...
[2025-01-09 06:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:11:01] Production.INFO: ==4210== Lock acquired, processing the job...
[2025-01-09 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:11:01] Production.INFO: ==4210== Releasing lock...
[2025-01-09 06:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:11:02] Production.INFO: ==4208== Lock acquired, processing the job...
[2025-01-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:11:02] Production.INFO: ==4208== Releasing lock...
[2025-01-09 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:11:03] Production.INFO: ==4219== Lock acquired, processing the job...
[2025-01-09 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:11:03] Production.INFO: Account Balance Start.
[2025-01-09 01:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:11:03] Production.INFO: 117
[2025-01-09 01:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:11:03] Production.INFO: ==4221== Lock acquired, processing the job...
[2025-01-09 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:11:03] Production.INFO: Total Charge 0
[2025-01-09 01:11:03] Production.INFO: CreateAllLog End
[2025-01-09 01:11:03] Production.INFO: ==4212== Lock acquired, processing the job...
[2025-01-09 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:11:03] Production.INFO: ==4215== Lock acquired, processing the job...
[2025-01-09 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:11:03] Production.INFO: ==4217== Lock acquired, processing the job...
[2025-01-09 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:11:03] Production.ERROR: done
[2025-01-09 01:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:11:03] Production.INFO: ==4223== Lock acquired, processing the job...
[2025-01-09 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:11:03] Production.INFO: Account Balance End.
[2025-01-09 01:11:03] Production.ERROR: done
[2025-01-09 01:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:11:03] Production.INFO: ==4219== Releasing lock...
[2025-01-09 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:11:03] Production.INFO: count ==21
[2025-01-09 01:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:11:04] Production.INFO: count ==21
[2025-01-09 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206122') start
[2025-01-09 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206122') end
[2025-01-09 01:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:11:04] Production.INFO: 1
[2025-01-09 01:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:11:04] Production.INFO: ==4215== Releasing lock...
[2025-01-09 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:11:04] Production.INFO: ==4223== Releasing lock...
[2025-01-09 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:11:05
[end_date_ymd] => 2025-01-09 01:11:05
[RateCDR] => 1
)
[2025-01-09 01:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:11:05' and `end` < '2025-01-09 01:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:11:10] Production.ERROR: CronJobId end10
[2025-01-09 01:11:10] Production.INFO: ==4217== Releasing lock...
[2025-01-09 01:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:11:13] Production.INFO: call_cost start
[2025-01-09 01:11:13] Production.INFO: call_cost end
[2025-01-09 01:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:11:14] Production.INFO: ==4212== Releasing lock...
[2025-01-09 01:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:11:19] Production.INFO: count ==179
[2025-01-09 01:11:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:11:05 - End Time 2025-01-09 01:11:05
[2025-01-09 01:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206123', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206123', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206123', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206123', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:11:19] Production.INFO: ProcessCDR(1,14206123,1,1,2)
[2025-01-09 01:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206123', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206123', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:11:24] Production.INFO: ==4221== Releasing lock...
[2025-01-09 01:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:11:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:12:02] Production.INFO: ==4277== Lock acquired, processing the job...
[2025-01-09 06:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:12:02] Production.INFO: neon service started
[2025-01-09 06:12:02] Production.INFO: neon service started
[2025-01-09 06:12:02] Production.INFO: ==4277== Releasing lock...
[2025-01-09 06:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:12:02] Production.INFO: ==4281== Lock acquired, processing the job...
[2025-01-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:12:02] Production.INFO: ==4281== Releasing lock...
[2025-01-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:12:02] Production.INFO: ==4279== Lock acquired, processing the job...
[2025-01-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:12:02] Production.INFO: ==4279== Releasing lock...
[2025-01-09 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:12:03] Production.INFO: ==4288== Lock acquired, processing the job...
[2025-01-09 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:12:03] Production.INFO: ==4294== Lock acquired, processing the job...
[2025-01-09 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:12:04] Production.INFO: count ==21
[2025-01-09 01:12:04] Production.INFO: ==4284== Lock acquired, processing the job...
[2025-01-09 01:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:12:04] Production.INFO: count ==21
[2025-01-09 01:12:04] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-01-09 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:12:04] Production.INFO: ==4290== Lock acquired, processing the job...
[2025-01-09 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206124') start
[2025-01-09 01:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206124') end
[2025-01-09 01:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:12:04] Production.INFO: 1
[2025-01-09 01:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:12:04] Production.INFO: ==4292== Lock acquired, processing the job...
[2025-01-09 01:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:12:04] Production.INFO: Account Balance Start.
[2025-01-09 01:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:12:04] Production.INFO: 117
[2025-01-09 01:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:12:04] Production.INFO: ==4294== Releasing lock...
[2025-01-09 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:12:04] Production.INFO: Total Charge 0
[2025-01-09 01:12:04] Production.INFO: CreateAllLog End
[2025-01-09 01:12:04] Production.INFO: ==4286== Releasing lock...
[2025-01-09 01:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:12:04] Production.ERROR: done
[2025-01-09 01:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:12:04] Production.ERROR: done
[2025-01-09 01:12:04] Production.INFO: Account Balance End.
[2025-01-09 01:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:12:04] Production.INFO: ==4290== Releasing lock...
[2025-01-09 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:12:05
[end_date_ymd] => 2025-01-09 01:12:05
[RateCDR] => 1
)
[2025-01-09 01:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:12:05' and `end` < '2025-01-09 01:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:12:11] Production.ERROR: CronJobId end10
[2025-01-09 01:12:11] Production.INFO: ==4288== Releasing lock...
[2025-01-09 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:12:13] Production.INFO: call_cost start
[2025-01-09 01:12:13] Production.INFO: call_cost end
[2025-01-09 01:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:12:13] Production.INFO: ==4284== Releasing lock...
[2025-01-09 01:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:12:20] Production.INFO: count ==179
[2025-01-09 01:12:20] Production.ERROR: pbx CDR StartTime 2025-01-08 22:12:05 - End Time 2025-01-09 01:12:05
[2025-01-09 01:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206128', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206128', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206128', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206128', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:12:20] Production.INFO: ProcessCDR(1,14206128,1,1,2)
[2025-01-09 01:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206128', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206128', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:12:23] Production.INFO: ==4292== Releasing lock...
[2025-01-09 01:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:12:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:13:01] Production.INFO: ==4348== Lock acquired, processing the job...
[2025-01-09 06:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:13:01] Production.INFO: neon service started
[2025-01-09 06:13:01] Production.INFO: neon service started
[2025-01-09 06:13:01] Production.INFO: ==4348== Releasing lock...
[2025-01-09 06:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:13:01] Production.INFO: ==4350== Lock acquired, processing the job...
[2025-01-09 01:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:13:02] Production.INFO: ==4350== Releasing lock...
[2025-01-09 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:13:02] Production.INFO: ==4352== Lock acquired, processing the job...
[2025-01-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:13:02] Production.INFO: ==4352== Releasing lock...
[2025-01-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:13:02] Production.INFO: ==4360== Lock acquired, processing the job...
[2025-01-09 01:13:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:13:03] Production.INFO: Account Balance Start.
[2025-01-09 01:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:13:03] Production.INFO: 117
[2025-01-09 01:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:13:03] Production.INFO: ==4364== Lock acquired, processing the job...
[2025-01-09 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:13:03] Production.INFO: ==4354== Lock acquired, processing the job...
[2025-01-09 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:13:03] Production.INFO: ==4356== Lock acquired, processing the job...
[2025-01-09 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:13:03] Production.INFO: count ==21
[2025-01-09 01:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:13:03] Production.INFO: count ==21
[2025-01-09 01:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206130') start
[2025-01-09 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:13:03] Production.INFO: Total Charge 0
[2025-01-09 01:13:03] Production.INFO: CreateAllLog End
[2025-01-09 01:13:03] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-01-09 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:13:03] Production.INFO: ==4362== Lock acquired, processing the job...
[2025-01-09 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206130') end
[2025-01-09 01:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:13:03] Production.INFO: 1
[2025-01-09 01:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:13:03] Production.INFO: Account Balance End.
[2025-01-09 01:13:03] Production.INFO: ==4364== Releasing lock...
[2025-01-09 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:13:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:13:03] Production.INFO: ==4360== Releasing lock...
[2025-01-09 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:13:03] Production.INFO: ==4356== Releasing lock...
[2025-01-09 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:13:03] Production.ERROR: done
[2025-01-09 01:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:13:03] Production.ERROR: done
[2025-01-09 01:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:13:04
[end_date_ymd] => 2025-01-09 01:13:04
[RateCDR] => 1
)
[2025-01-09 01:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:13:04' and `end` < '2025-01-09 01:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:13:09] Production.ERROR: CronJobId end10
[2025-01-09 01:13:09] Production.INFO: ==4358== Releasing lock...
[2025-01-09 01:13:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:13:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:13:12] Production.INFO: call_cost start
[2025-01-09 01:13:12] Production.INFO: call_cost end
[2025-01-09 01:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:13:13] Production.INFO: ==4354== Releasing lock...
[2025-01-09 01:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:13:17] Production.INFO: count ==178
[2025-01-09 01:13:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:13:04 - End Time 2025-01-09 01:13:04
[2025-01-09 01:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206133', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206133', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206133', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206133', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:13:17] Production.INFO: ProcessCDR(1,14206133,1,1,2)
[2025-01-09 01:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206133', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206133', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:13:20] Production.INFO: ==4362== Releasing lock...
[2025-01-09 01:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:13:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:14:02] Production.INFO: ==4419== Lock acquired, processing the job...
[2025-01-09 06:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:14:02] Production.INFO: neon service started
[2025-01-09 06:14:02] Production.INFO: neon service started
[2025-01-09 06:14:02] Production.INFO: ==4419== Releasing lock...
[2025-01-09 06:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:14:02] Production.INFO: ==4423== Lock acquired, processing the job...
[2025-01-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:14:02] Production.INFO: ==4423== Releasing lock...
[2025-01-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:14:02] Production.INFO: ==4421== Lock acquired, processing the job...
[2025-01-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:14:02] Production.INFO: ==4421== Releasing lock...
[2025-01-09 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:14:03] Production.INFO: ==4425== Lock acquired, processing the job...
[2025-01-09 01:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:14:03] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-01-09 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:14:03] Production.INFO: ==4434== Lock acquired, processing the job...
[2025-01-09 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:14:03] Production.INFO: ==4427== Lock acquired, processing the job...
[2025-01-09 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:14:03] Production.INFO: ==4431== Lock acquired, processing the job...
[2025-01-09 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:14:03] Production.INFO: ==4436== Lock acquired, processing the job...
[2025-01-09 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:14:04] Production.INFO: Account Balance Start.
[2025-01-09 01:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:14:04] Production.INFO: 117
[2025-01-09 01:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:14:04] Production.INFO: Total Charge 0
[2025-01-09 01:14:04] Production.ERROR: done
[2025-01-09 01:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:14:04] Production.INFO: CreateAllLog End
[2025-01-09 01:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:14:04] Production.INFO: count ==21
[2025-01-09 01:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:14:04] Production.INFO: count ==21
[2025-01-09 01:14:04] Production.ERROR: done
[2025-01-09 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206137') start
[2025-01-09 01:14:04] Production.INFO: ==4427== Releasing lock...
[2025-01-09 01:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:14:04] Production.INFO: Account Balance End.
[2025-01-09 01:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:14:04] Production.INFO: ==4431== Releasing lock...
[2025-01-09 01:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206137') end
[2025-01-09 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:14:04] Production.INFO: 1
[2025-01-09 01:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:14:04] Production.INFO: ==4436== Releasing lock...
[2025-01-09 01:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:14:05
[end_date_ymd] => 2025-01-09 01:14:05
[RateCDR] => 1
)
[2025-01-09 01:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:14:05' and `end` < '2025-01-09 01:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:14:10] Production.ERROR: CronJobId end10
[2025-01-09 01:14:10] Production.INFO: ==4429== Releasing lock...
[2025-01-09 01:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:14:12] Production.INFO: call_cost start
[2025-01-09 01:14:12] Production.INFO: call_cost end
[2025-01-09 01:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:14:13] Production.INFO: ==4425== Releasing lock...
[2025-01-09 01:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:14:19] Production.INFO: count ==178
[2025-01-09 01:14:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:14:05 - End Time 2025-01-09 01:14:05
[2025-01-09 01:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206138', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206138', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206138', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206138', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:14:19] Production.INFO: ProcessCDR(1,14206138,1,1,2)
[2025-01-09 01:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206138', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206138', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:14:22] Production.INFO: ==4434== Releasing lock...
[2025-01-09 01:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:14:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:15:01] Production.INFO: ==4490== Lock acquired, processing the job...
[2025-01-09 06:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:15:01] Production.INFO: neon service started
[2025-01-09 06:15:01] Production.INFO: neon service started
[2025-01-09 06:15:01] Production.INFO: ==4490== Releasing lock...
[2025-01-09 06:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:15:02] Production.INFO: ==4492== Lock acquired, processing the job...
[2025-01-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:15:02] Production.INFO: ==4492== Releasing lock...
[2025-01-09 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:15:02] Production.INFO: ==4494== Lock acquired, processing the job...
[2025-01-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:15:02] Production.INFO: ==4494== Releasing lock...
[2025-01-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:15:03] Production.INFO: ==4503== Lock acquired, processing the job...
[2025-01-09 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:15:03] Production.INFO: ==4496== Lock acquired, processing the job...
[2025-01-09 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:15:03] Production.INFO: ==4498== Lock acquired, processing the job...
[2025-01-09 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:15:03] Production.INFO: Account Balance Start.
[2025-01-09 01:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:15:03] Production.INFO: 117
[2025-01-09 01:15:03] Production.INFO: ==4507== Lock acquired, processing the job...
[2025-01-09 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:15:03] Production.INFO: ==4500== Lock acquired, processing the job...
[2025-01-09 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:15:03] Production.INFO: ==4505== Lock acquired, processing the job...
[2025-01-09 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:15:03] Production.INFO: count ==21
[2025-01-09 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:15:03] Production.INFO: count ==21
[2025-01-09 01:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206142') start
[2025-01-09 01:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:15:03] Production.INFO: Total Charge 0
[2025-01-09 01:15:03] Production.INFO: CreateAllLog End
[2025-01-09 01:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206142') end
[2025-01-09 01:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:15:03] Production.INFO: 1
[2025-01-09 01:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:15:03] Production.INFO: ==4507== Releasing lock...
[2025-01-09 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:15:03] Production.INFO: ==4498== Releasing lock...
[2025-01-09 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:15:04] Production.INFO: Account Balance End.
[2025-01-09 01:15:04] Production.ERROR: done
[2025-01-09 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:15:04] Production.INFO: ==4503== Releasing lock...
[2025-01-09 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:15:04] Production.ERROR: done
[2025-01-09 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:15:05
[end_date_ymd] => 2025-01-09 01:15:05
[RateCDR] => 1
)
[2025-01-09 01:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:15:05' and `end` < '2025-01-09 01:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:15:11] Production.ERROR: CronJobId end10
[2025-01-09 01:15:11] Production.INFO: ==4500== Releasing lock...
[2025-01-09 01:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:15:14] Production.INFO: call_cost start
[2025-01-09 01:15:14] Production.INFO: call_cost end
[2025-01-09 01:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:15:15] Production.INFO: ==4496== Releasing lock...
[2025-01-09 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:15:18] Production.INFO: count ==175
[2025-01-09 01:15:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:15:05 - End Time 2025-01-09 01:15:05
[2025-01-09 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206143', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206143', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206143', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206143', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:15:18] Production.INFO: ProcessCDR(1,14206143,1,1,2)
[2025-01-09 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206143', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206143', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:15:21] Production.INFO: ==4505== Releasing lock...
[2025-01-09 01:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:15:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:16:02] Production.INFO: ==4567== Lock acquired, processing the job...
[2025-01-09 06:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:16:02] Production.INFO: neon service started
[2025-01-09 06:16:02] Production.INFO: neon service started
[2025-01-09 06:16:02] Production.INFO: ==4567== Releasing lock...
[2025-01-09 06:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:16:02] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-01-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:16:02] Production.INFO: ==4571== Releasing lock...
[2025-01-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:16:02] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-01-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:16:02] Production.INFO: ==4569== Releasing lock...
[2025-01-09 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:16:03] Production.INFO: ==4579== Lock acquired, processing the job...
[2025-01-09 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:16:03] Production.INFO: ==4583== Lock acquired, processing the job...
[2025-01-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:16:03] Production.INFO: ==4589== Lock acquired, processing the job...
[2025-01-09 01:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:16:03] Production.INFO: ==4583== Releasing lock...
[2025-01-09 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:16:04] Production.INFO: ==4585== Lock acquired, processing the job...
[2025-01-09 01:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:16:04] Production.INFO: ==4587== Lock acquired, processing the job...
[2025-01-09 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:16:04] Production.INFO: ==4591== Lock acquired, processing the job...
[2025-01-09 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:16:04] Production.INFO: Account Balance Start.
[2025-01-09 01:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:16:04] Production.INFO: 117
[2025-01-09 01:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:16:04] Production.ERROR: done
[2025-01-09 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:16:04] Production.INFO: count ==21
[2025-01-09 01:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:16:04] Production.INFO: count ==21
[2025-01-09 01:16:04] Production.ERROR: done
[2025-01-09 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206147') start
[2025-01-09 01:16:04] Production.INFO: Total Charge 0
[2025-01-09 01:16:04] Production.INFO: CreateAllLog End
[2025-01-09 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206147') end
[2025-01-09 01:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:16:04] Production.INFO: 1
[2025-01-09 01:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:16:04] Production.INFO: Account Balance End.
[2025-01-09 01:16:04] Production.INFO: ==4591== Releasing lock...
[2025-01-09 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:16:04] Production.INFO: ==4587== Releasing lock...
[2025-01-09 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:16:05
[end_date_ymd] => 2025-01-09 01:16:05
[RateCDR] => 1
)
[2025-01-09 01:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:16:05' and `end` < '2025-01-09 01:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:16:10] Production.ERROR: CronJobId end10
[2025-01-09 01:16:10] Production.INFO: ==4585== Releasing lock...
[2025-01-09 01:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:16:13] Production.INFO: call_cost start
[2025-01-09 01:16:13] Production.INFO: call_cost end
[2025-01-09 01:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:16:14] Production.INFO: ==4579== Releasing lock...
[2025-01-09 01:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:16:18] Production.INFO: count ==174
[2025-01-09 01:16:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:16:05 - End Time 2025-01-09 01:16:05
[2025-01-09 01:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206148', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206148', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206148', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206148', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:16:18] Production.INFO: ProcessCDR(1,14206148,1,1,2)
[2025-01-09 01:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206148,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206148,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206148', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206148', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:16:21] Production.INFO: ==4589== Releasing lock...
[2025-01-09 01:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:16:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:17:01] Production.INFO: ==4645== Lock acquired, processing the job...
[2025-01-09 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:17:01] Production.INFO: neon service started
[2025-01-09 06:17:01] Production.INFO: neon service started
[2025-01-09 06:17:01] Production.INFO: ==4645== Releasing lock...
[2025-01-09 06:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:17:01] Production.INFO: ==4647== Lock acquired, processing the job...
[2025-01-09 01:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:17:02] Production.INFO: ==4647== Releasing lock...
[2025-01-09 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:17:02] Production.INFO: ==4649== Lock acquired, processing the job...
[2025-01-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:17:02] Production.INFO: ==4649== Releasing lock...
[2025-01-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:17:03] Production.INFO: ==4658== Lock acquired, processing the job...
[2025-01-09 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:17:03] Production.INFO: ==4660== Lock acquired, processing the job...
[2025-01-09 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:17:03] Production.INFO: Account Balance Start.
[2025-01-09 01:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:17:03] Production.INFO: 117
[2025-01-09 01:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:17:03] Production.INFO: Total Charge 0
[2025-01-09 01:17:03] Production.INFO: CreateAllLog End
[2025-01-09 01:17:03] Production.INFO: ==4651== Lock acquired, processing the job...
[2025-01-09 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:17:03] Production.INFO: ==4656== Lock acquired, processing the job...
[2025-01-09 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:17:03] Production.INFO: ==4654== Lock acquired, processing the job...
[2025-01-09 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:17:03] Production.INFO: ==4662== Lock acquired, processing the job...
[2025-01-09 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:17:03] Production.ERROR: done
[2025-01-09 01:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:17:03] Production.INFO: Account Balance End.
[2025-01-09 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:17:03] Production.ERROR: done
[2025-01-09 01:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:17:03] Production.INFO: ==4658== Releasing lock...
[2025-01-09 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:17:03] Production.INFO: count ==21
[2025-01-09 01:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:17:03] Production.INFO: count ==21
[2025-01-09 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206152') start
[2025-01-09 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206152') end
[2025-01-09 01:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:17:03] Production.INFO: 1
[2025-01-09 01:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:17:03] Production.INFO: ==4654== Releasing lock...
[2025-01-09 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:17:03] Production.INFO: ==4662== Releasing lock...
[2025-01-09 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:17:04
[end_date_ymd] => 2025-01-09 01:17:04
[RateCDR] => 1
)
[2025-01-09 01:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:17:04' and `end` < '2025-01-09 01:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:17:09] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 01:17:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:17:09] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:17:09] Production.ERROR: CronJobId end10
[2025-01-09 01:17:09] Production.INFO: ==4656== Releasing lock...
[2025-01-09 01:17:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:17:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:17:09] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:17:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:17:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:17:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:17:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:17:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:17:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:17:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:17:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:17:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:17:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:17:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:17:10] Production.INFO: call_cost start
[2025-01-09 01:17:10] Production.INFO: call_cost end
[2025-01-09 01:17:10] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:17:10] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:17:10] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:17:10] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:17:10] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:17:10] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:17:10] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:17:10] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:17:10] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:17:10] Production.INFO: ==4651== Releasing lock...
[2025-01-09 01:17:10] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:17:10] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:17:17] Production.INFO: count ==174
[2025-01-09 01:17:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:17:04 - End Time 2025-01-09 01:17:04
[2025-01-09 01:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206153', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206153', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206153', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206153', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:17:17] Production.INFO: ProcessCDR(1,14206153,1,1,2)
[2025-01-09 01:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206153,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206153,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206153', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206153', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:17:20] Production.INFO: ==4660== Releasing lock...
[2025-01-09 01:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:17:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:18:01] Production.INFO: ==4717== Lock acquired, processing the job...
[2025-01-09 06:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:18:01] Production.INFO: neon service started
[2025-01-09 06:18:01] Production.INFO: neon service started
[2025-01-09 06:18:01] Production.INFO: ==4717== Releasing lock...
[2025-01-09 06:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:18:02] Production.INFO: ==4719== Lock acquired, processing the job...
[2025-01-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:18:02] Production.INFO: ==4719== Releasing lock...
[2025-01-09 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:18:02] Production.INFO: ==4721== Lock acquired, processing the job...
[2025-01-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:18:02] Production.INFO: ==4721== Releasing lock...
[2025-01-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:18:03] Production.INFO: ==4727== Lock acquired, processing the job...
[2025-01-09 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:18:03] Production.INFO: ==4723== Lock acquired, processing the job...
[2025-01-09 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:18:03] Production.INFO: ==4733== Lock acquired, processing the job...
[2025-01-09 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:18:03] Production.INFO: ==4725== Lock acquired, processing the job...
[2025-01-09 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:18:03] Production.INFO: ==4731== Lock acquired, processing the job...
[2025-01-09 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:18:03] Production.INFO: ==4729== Lock acquired, processing the job...
[2025-01-09 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:18:03] Production.INFO: count ==21
[2025-01-09 01:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:18:03] Production.INFO: count ==21
[2025-01-09 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206155') start
[2025-01-09 01:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206155') end
[2025-01-09 01:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:18:03] Production.INFO: 1
[2025-01-09 01:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:18:03] Production.INFO: Account Balance Start.
[2025-01-09 01:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:18:03] Production.INFO: 117
[2025-01-09 01:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:18:04] Production.INFO: ==4733== Releasing lock...
[2025-01-09 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:18:04] Production.ERROR: done
[2025-01-09 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:18:04] Production.INFO: Total Charge 0
[2025-01-09 01:18:04] Production.INFO: CreateAllLog End
[2025-01-09 01:18:04] Production.ERROR: done
[2025-01-09 01:18:04] Production.INFO: Account Balance End.
[2025-01-09 01:18:04] Production.INFO: ==4725== Releasing lock...
[2025-01-09 01:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:18:04] Production.INFO: ==4729== Releasing lock...
[2025-01-09 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:18:05
[end_date_ymd] => 2025-01-09 01:18:05
[RateCDR] => 1
)
[2025-01-09 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:18:05' and `end` < '2025-01-09 01:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:18:10] Production.ERROR: CronJobId end10
[2025-01-09 01:18:10] Production.INFO: ==4727== Releasing lock...
[2025-01-09 01:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:18:12] Production.INFO: call_cost start
[2025-01-09 01:18:12] Production.INFO: call_cost end
[2025-01-09 01:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:18:13] Production.INFO: ==4723== Releasing lock...
[2025-01-09 01:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:18:18] Production.INFO: count ==171
[2025-01-09 01:18:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:18:05 - End Time 2025-01-09 01:18:05
[2025-01-09 01:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206158', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206158', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206158', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206158', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:18:18] Production.INFO: ProcessCDR(1,14206158,1,1,2)
[2025-01-09 01:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206158,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206158,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206158', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206158', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:18:21] Production.INFO: ==4731== Releasing lock...
[2025-01-09 01:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:18:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:19:01] Production.INFO: ==4787== Lock acquired, processing the job...
[2025-01-09 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:19:01] Production.INFO: neon service started
[2025-01-09 06:19:01] Production.INFO: neon service started
[2025-01-09 06:19:01] Production.INFO: ==4787== Releasing lock...
[2025-01-09 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:19:01] Production.INFO: ==4789== Lock acquired, processing the job...
[2025-01-09 01:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:19:01] Production.INFO: ==4791== Lock acquired, processing the job...
[2025-01-09 06:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:19:02] Production.INFO: ==4789== Releasing lock...
[2025-01-09 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:19:02] Production.INFO: ==4791== Releasing lock...
[2025-01-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:19:02] Production.INFO: ==4797== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:19:02] Production.INFO: ==4801== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:19:02] Production.INFO: ==4799== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:19:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:19:02] Production.INFO: Account Balance Start.
[2025-01-09 01:19:02] Production.INFO: CreateAllLog Start
[2025-01-09 01:19:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:19:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:19:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:19:02] Production.INFO: 117
[2025-01-09 01:19:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:19:02] Production.INFO: ==4793== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:19:02] Production.INFO: Date 2025-01-08
[2025-01-09 01:19:02] Production.INFO: ==4795== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:19:02] Production.INFO: Reseller ==> 0
[2025-01-09 01:19:02] Production.INFO: ==4803== Lock acquired, processing the job...
[2025-01-09 01:19:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:19:02] Production.INFO: Date 2025-01-09
[2025-01-09 01:19:02] Production.INFO: Reseller ==> 0
[2025-01-09 01:19:03] Production.INFO: Total Charge 0
[2025-01-09 01:19:03] Production.INFO: CreateAllLog End
[2025-01-09 01:19:03] Production.ERROR: done
[2025-01-09 01:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:19:03] Production.INFO: count ==21
[2025-01-09 01:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:19:03] Production.ERROR: done
[2025-01-09 01:19:03] Production.INFO: count ==21
[2025-01-09 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206162') start
[2025-01-09 01:19:03] Production.INFO: Account Balance End.
[2025-01-09 01:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:19:03] Production.INFO: ==4799== Releasing lock...
[2025-01-09 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206162') end
[2025-01-09 01:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:19:03] Production.INFO: 1
[2025-01-09 01:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:19:03] Production.INFO: ==4795== Releasing lock...
[2025-01-09 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:19:03] Production.INFO: ==4803== Releasing lock...
[2025-01-09 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:19:04
[end_date_ymd] => 2025-01-09 01:19:04
[RateCDR] => 1
)
[2025-01-09 01:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:19:04' and `end` < '2025-01-09 01:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:19:09] Production.ERROR: CronJobId end10
[2025-01-09 01:19:09] Production.INFO: ==4797== Releasing lock...
[2025-01-09 01:19:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:19:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:19:12] Production.INFO: call_cost start
[2025-01-09 01:19:12] Production.INFO: call_cost end
[2025-01-09 01:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:19:13] Production.INFO: ==4793== Releasing lock...
[2025-01-09 01:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:19:17] Production.INFO: count ==171
[2025-01-09 01:19:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:19:04 - End Time 2025-01-09 01:19:04
[2025-01-09 01:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206163', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206163', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206163', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206163', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:19:17] Production.INFO: ProcessCDR(1,14206163,1,1,2)
[2025-01-09 01:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206163,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:19:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206163,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206163', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:19:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206163', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:19:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:19:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:19:20] Production.INFO: ==4801== Releasing lock...
[2025-01-09 01:19:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:19:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:20:01] Production.INFO: ==4896== Lock acquired, processing the job...
[2025-01-09 06:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:20:01] Production.INFO: neon service started
[2025-01-09 06:20:01] Production.INFO: neon service started
[2025-01-09 06:20:01] Production.INFO: ==4896== Releasing lock...
[2025-01-09 06:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:20:02] Production.INFO: ==4901== Lock acquired, processing the job...
[2025-01-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:20:02] Production.INFO: ==4901== Releasing lock...
[2025-01-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:20:02] Production.INFO: ==4899== Lock acquired, processing the job...
[2025-01-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:20:02] Production.INFO: ==4899== Releasing lock...
[2025-01-09 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:20:03] Production.INFO: ==4903== Lock acquired, processing the job...
[2025-01-09 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 01:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 01:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 01:20:03] Production.INFO: ==4903== Releasing lock...
[2025-01-09 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 01:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:20:03] Production.INFO: ==4909== Lock acquired, processing the job...
[2025-01-09 01:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:20:03] Production.INFO: ==4911== Lock acquired, processing the job...
[2025-01-09 01:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:20:03] Production.INFO: ==4905== Lock acquired, processing the job...
[2025-01-09 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:20:03] Production.INFO: ==4913== Lock acquired, processing the job...
[2025-01-09 01:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:20:03] Production.INFO: ==4907== Lock acquired, processing the job...
[2025-01-09 01:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:20:03] Production.INFO: Account Balance Start.
[2025-01-09 01:20:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:20:03] Production.INFO: 117
[2025-01-09 01:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:20:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:20:04] Production.INFO: Total Charge 0
[2025-01-09 01:20:04] Production.INFO: ==4915== Lock acquired, processing the job...
[2025-01-09 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 01:20:04] Production.INFO: CreateAllLog End
[2025-01-09 01:20:04] Production.INFO: ==4917== Lock acquired, processing the job...
[2025-01-09 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:20:04] Production.INFO: Account Balance End.
[2025-01-09 01:20:04] Production.INFO: count ==21
[2025-01-09 01:20:04] Production.INFO: ==4907== Releasing lock...
[2025-01-09 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:20:04] Production.INFO: ==4911== Releasing lock...
[2025-01-09 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:20:04] Production.INFO: count ==21
[2025-01-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206167') start
[2025-01-09 01:20:04] Production.ERROR: done
[2025-01-09 01:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:20:04] Production.ERROR: done
[2025-01-09 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206167') end
[2025-01-09 01:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:20:04] Production.INFO: 1
[2025-01-09 01:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 01:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206168', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 01:20:04] Production.INFO: ==4917== Releasing lock...
[2025-01-09 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:20:04] Production.ERROR: done
[2025-01-09 01:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:20:05
[end_date_ymd] => 2025-01-09 01:20:05
[RateCDR] => 1
)
[2025-01-09 01:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:20:05' and `end` < '2025-01-09 01:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206168', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 01:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 01:20:08] Production.INFO: ProcessCDR(1,14206168,1,1,2)
[2025-01-09 01:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206168,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206168,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:20:09] Production.INFO: ==4915== Releasing lock...
[2025-01-09 01:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 01:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 01:20:12] Production.ERROR: CronJobId end10
[2025-01-09 01:20:12] Production.INFO: ==4909== Releasing lock...
[2025-01-09 01:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:20:14] Production.INFO: call_cost start
[2025-01-09 01:20:14] Production.INFO: call_cost end
[2025-01-09 01:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:20:15] Production.INFO: ==4905== Releasing lock...
[2025-01-09 01:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:20:19] Production.INFO: count ==174
[2025-01-09 01:20:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:20:05 - End Time 2025-01-09 01:20:05
[2025-01-09 01:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206169', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206169', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206169', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206169', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:20:19] Production.INFO: ProcessCDR(1,14206169,1,1,2)
[2025-01-09 01:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206169', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206169', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:20:22] Production.INFO: ==4913== Releasing lock...
[2025-01-09 01:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:20:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:21:02] Production.INFO: ==4972== Lock acquired, processing the job...
[2025-01-09 06:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:21:02] Production.INFO: neon service started
[2025-01-09 06:21:02] Production.INFO: neon service started
[2025-01-09 06:21:02] Production.INFO: ==4972== Releasing lock...
[2025-01-09 06:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:21:02] Production.INFO: ==4976== Lock acquired, processing the job...
[2025-01-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:21:02] Production.INFO: ==4976== Releasing lock...
[2025-01-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:21:02] Production.INFO: ==4974== Lock acquired, processing the job...
[2025-01-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:21:02] Production.INFO: ==4974== Releasing lock...
[2025-01-09 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:21:03] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-01-09 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:21:03] Production.INFO: ==4983== Lock acquired, processing the job...
[2025-01-09 01:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:21:03] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-01-09 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:21:03] Production.INFO: ==4987== Lock acquired, processing the job...
[2025-01-09 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:21:03] Production.INFO: ==4985== Lock acquired, processing the job...
[2025-01-09 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:21:04] Production.INFO: ==4989== Lock acquired, processing the job...
[2025-01-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:21:04] Production.INFO: ==4981== Releasing lock...
[2025-01-09 01:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:21:04] Production.INFO: Account Balance Start.
[2025-01-09 01:21:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:21:04] Production.INFO: 117
[2025-01-09 01:21:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:21:04] Production.INFO: Total Charge 0
[2025-01-09 01:21:04] Production.INFO: count ==21
[2025-01-09 01:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:21:04] Production.INFO: count ==21
[2025-01-09 01:21:04] Production.ERROR: done
[2025-01-09 01:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206173') start
[2025-01-09 01:21:04] Production.INFO: CreateAllLog End
[2025-01-09 01:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206173') end
[2025-01-09 01:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:21:04] Production.INFO: 1
[2025-01-09 01:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:21:04] Production.ERROR: done
[2025-01-09 01:21:04] Production.INFO: ==4989== Releasing lock...
[2025-01-09 01:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:21:04] Production.INFO: Account Balance End.
[2025-01-09 01:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:21:04] Production.INFO: ==4985== Releasing lock...
[2025-01-09 01:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:21:05
[end_date_ymd] => 2025-01-09 01:21:05
[RateCDR] => 1
)
[2025-01-09 01:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:21:05' and `end` < '2025-01-09 01:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:21:11] Production.ERROR: CronJobId end10
[2025-01-09 01:21:11] Production.INFO: ==4983== Releasing lock...
[2025-01-09 01:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:21:13] Production.INFO: call_cost start
[2025-01-09 01:21:13] Production.INFO: call_cost end
[2025-01-09 01:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:21:14] Production.INFO: ==4979== Releasing lock...
[2025-01-09 01:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:21:19] Production.INFO: count ==174
[2025-01-09 01:21:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:21:05 - End Time 2025-01-09 01:21:05
[2025-01-09 01:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206174', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206174', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206174', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206174', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:21:19] Production.INFO: ProcessCDR(1,14206174,1,1,2)
[2025-01-09 01:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206174', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206174', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:21:22] Production.INFO: ==4987== Releasing lock...
[2025-01-09 01:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:21:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:22:01] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-01-09 06:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:22:01] Production.INFO: neon service started
[2025-01-09 06:22:01] Production.INFO: neon service started
[2025-01-09 06:22:01] Production.INFO: ==5044== Releasing lock...
[2025-01-09 06:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:22:02] Production.INFO: ==5048== Lock acquired, processing the job...
[2025-01-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:22:02] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-01-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:22:02] Production.INFO: ==5048== Releasing lock...
[2025-01-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:22:02] Production.INFO: ==5046== Releasing lock...
[2025-01-09 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:22:03] Production.INFO: ==5053== Lock acquired, processing the job...
[2025-01-09 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:22:03] Production.INFO: ==5061== Lock acquired, processing the job...
[2025-01-09 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:22:03] Production.INFO: ==5051== Lock acquired, processing the job...
[2025-01-09 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:22:03] Production.INFO: ==5053== Releasing lock...
[2025-01-09 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:22:03] Production.INFO: ==5055== Lock acquired, processing the job...
[2025-01-09 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:22:03] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-01-09 01:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:22:03] Production.INFO: count ==21
[2025-01-09 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:22:03] Production.INFO: count ==21
[2025-01-09 01:22:03] Production.INFO: ==5059== Lock acquired, processing the job...
[2025-01-09 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206176') start
[2025-01-09 01:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:22:03] Production.INFO: Account Balance Start.
[2025-01-09 01:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:22:03] Production.INFO: 117
[2025-01-09 01:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206176') end
[2025-01-09 01:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:22:03] Production.INFO: 1
[2025-01-09 01:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:22:03] Production.INFO: ==5061== Releasing lock...
[2025-01-09 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:22:04] Production.INFO: Total Charge 0
[2025-01-09 01:22:04] Production.INFO: CreateAllLog End
[2025-01-09 01:22:04] Production.ERROR: done
[2025-01-09 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:22:04] Production.INFO: Account Balance End.
[2025-01-09 01:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:22:04] Production.INFO: ==5057== Releasing lock...
[2025-01-09 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:22:04] Production.ERROR: done
[2025-01-09 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:22:05
[end_date_ymd] => 2025-01-09 01:22:05
[RateCDR] => 1
)
[2025-01-09 01:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:22:05' and `end` < '2025-01-09 01:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:22:11] Production.ERROR: CronJobId end10
[2025-01-09 01:22:11] Production.INFO: ==5055== Releasing lock...
[2025-01-09 01:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:22:12] Production.INFO: call_cost start
[2025-01-09 01:22:12] Production.INFO: call_cost end
[2025-01-09 01:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:22:13] Production.INFO: ==5051== Releasing lock...
[2025-01-09 01:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:22:18] Production.INFO: count ==174
[2025-01-09 01:22:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:22:05 - End Time 2025-01-09 01:22:05
[2025-01-09 01:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206179', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206179', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206179', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206179', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:22:18] Production.INFO: ProcessCDR(1,14206179,1,1,2)
[2025-01-09 01:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206179', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206179', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:22:21] Production.INFO: ==5059== Releasing lock...
[2025-01-09 01:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:22:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:23:02] Production.INFO: ==5118== Lock acquired, processing the job...
[2025-01-09 06:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:23:02] Production.INFO: neon service started
[2025-01-09 06:23:02] Production.INFO: neon service started
[2025-01-09 06:23:02] Production.INFO: ==5118== Releasing lock...
[2025-01-09 06:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:23:02] Production.INFO: ==5120== Lock acquired, processing the job...
[2025-01-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:23:02] Production.INFO: ==5120== Releasing lock...
[2025-01-09 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:23:02] Production.INFO: ==5122== Lock acquired, processing the job...
[2025-01-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:23:02] Production.INFO: ==5122== Releasing lock...
[2025-01-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:23:03] Production.INFO: ==5133== Lock acquired, processing the job...
[2025-01-09 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:23:03] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-01-09 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:23:03] Production.INFO: ==5135== Lock acquired, processing the job...
[2025-01-09 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:23:03] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-01-09 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:23:03] Production.INFO: ==5129== Lock acquired, processing the job...
[2025-01-09 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:23:03] Production.INFO: ==5131== Lock acquired, processing the job...
[2025-01-09 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:23:03] Production.INFO: count ==21
[2025-01-09 01:23:03] Production.INFO: Account Balance Start.
[2025-01-09 01:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:23:03] Production.INFO: 117
[2025-01-09 01:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:23:03] Production.INFO: count ==21
[2025-01-09 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206180') start
[2025-01-09 01:23:04] Production.ERROR: done
[2025-01-09 01:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:23:04] Production.INFO: Total Charge 0
[2025-01-09 01:23:04] Production.INFO: CreateAllLog End
[2025-01-09 01:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206180') end
[2025-01-09 01:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:23:04] Production.INFO: 1
[2025-01-09 01:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:23:04] Production.ERROR: done
[2025-01-09 01:23:04] Production.INFO: ==5127== Releasing lock...
[2025-01-09 01:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:23:04] Production.INFO: ==5135== Releasing lock...
[2025-01-09 01:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:23:04] Production.INFO: Account Balance End.
[2025-01-09 01:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:23:04] Production.INFO: ==5131== Releasing lock...
[2025-01-09 01:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:23:05
[end_date_ymd] => 2025-01-09 01:23:05
[RateCDR] => 1
)
[2025-01-09 01:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:23:05' and `end` < '2025-01-09 01:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:23:10] Production.ERROR: CronJobId end10
[2025-01-09 01:23:10] Production.INFO: ==5129== Releasing lock...
[2025-01-09 01:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:23:13] Production.INFO: call_cost start
[2025-01-09 01:23:13] Production.INFO: call_cost end
[2025-01-09 01:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:23:13] Production.INFO: ==5125== Releasing lock...
[2025-01-09 01:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:23:18] Production.INFO: count ==173
[2025-01-09 01:23:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:23:05 - End Time 2025-01-09 01:23:05
[2025-01-09 01:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206184', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206184', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206184', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206184', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:23:18] Production.INFO: ProcessCDR(1,14206184,1,1,2)
[2025-01-09 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206184', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206184', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:23:21] Production.INFO: ==5133== Releasing lock...
[2025-01-09 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:23:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:24:01] Production.INFO: ==5190== Lock acquired, processing the job...
[2025-01-09 06:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:24:01] Production.INFO: neon service started
[2025-01-09 06:24:01] Production.INFO: neon service started
[2025-01-09 06:24:01] Production.INFO: ==5190== Releasing lock...
[2025-01-09 06:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:24:01] Production.INFO: ==5194== Lock acquired, processing the job...
[2025-01-09 06:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:24:01] Production.INFO: ==5194== Releasing lock...
[2025-01-09 06:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:24:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:24:02] Production.INFO: ==5192== Lock acquired, processing the job...
[2025-01-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:24:02] Production.INFO: ==5192== Releasing lock...
[2025-01-09 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:24:03] Production.INFO: ==5203== Lock acquired, processing the job...
[2025-01-09 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:24:03] Production.INFO: ==5197== Lock acquired, processing the job...
[2025-01-09 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:24:03] Production.INFO: Account Balance Start.
[2025-01-09 01:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:24:03] Production.INFO: 117
[2025-01-09 01:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:24:03] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-01-09 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:24:03] Production.INFO: Total Charge 0
[2025-01-09 01:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:24:03] Production.INFO: CreateAllLog End
[2025-01-09 01:24:03] Production.INFO: ==5199== Lock acquired, processing the job...
[2025-01-09 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:24:03] Production.INFO: ==5201== Lock acquired, processing the job...
[2025-01-09 01:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:24:03] Production.INFO: ==5207== Lock acquired, processing the job...
[2025-01-09 01:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:24:03] Production.ERROR: done
[2025-01-09 01:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:24:03] Production.INFO: Account Balance End.
[2025-01-09 01:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:24:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:24:03] Production.INFO: ==5203== Releasing lock...
[2025-01-09 01:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:24:03] Production.INFO: count ==21
[2025-01-09 01:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:24:03] Production.INFO: count ==21
[2025-01-09 01:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206188') start
[2025-01-09 01:24:03] Production.ERROR: done
[2025-01-09 01:24:04] Production.INFO: ==5199== Releasing lock...
[2025-01-09 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206188') end
[2025-01-09 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:24:04] Production.INFO: 1
[2025-01-09 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:24:04] Production.INFO: ==5207== Releasing lock...
[2025-01-09 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:24:04
[end_date_ymd] => 2025-01-09 01:24:04
[RateCDR] => 1
)
[2025-01-09 01:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:24:04' and `end` < '2025-01-09 01:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:24:11] Production.ERROR: CronJobId end10
[2025-01-09 01:24:11] Production.INFO: ==5201== Releasing lock...
[2025-01-09 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:24:13] Production.INFO: call_cost start
[2025-01-09 01:24:13] Production.INFO: call_cost end
[2025-01-09 01:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:24:14] Production.INFO: ==5197== Releasing lock...
[2025-01-09 01:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:24:19] Production.INFO: count ==173
[2025-01-09 01:24:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:24:04 - End Time 2025-01-09 01:24:04
[2025-01-09 01:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206189', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206189', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206189', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206189', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:24:19] Production.INFO: ProcessCDR(1,14206189,1,1,2)
[2025-01-09 01:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206189', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206189', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:24:23] Production.INFO: ==5205== Releasing lock...
[2025-01-09 01:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:24:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:25:01] Production.INFO: ==5264== Lock acquired, processing the job...
[2025-01-09 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:25:01] Production.INFO: neon service started
[2025-01-09 06:25:01] Production.INFO: neon service started
[2025-01-09 06:25:01] Production.INFO: ==5264== Releasing lock...
[2025-01-09 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:25:02] Production.INFO: ==5266== Lock acquired, processing the job...
[2025-01-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:25:02] Production.INFO: ==5268== Lock acquired, processing the job...
[2025-01-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:25:02] Production.INFO: ==5268== Releasing lock...
[2025-01-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:25:02] Production.INFO: ==5266== Releasing lock...
[2025-01-09 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:25:03] Production.INFO: ==5271== Lock acquired, processing the job...
[2025-01-09 01:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:25:03] Production.INFO: ==5273== Lock acquired, processing the job...
[2025-01-09 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:25:03] Production.INFO: ==5275== Lock acquired, processing the job...
[2025-01-09 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:25:03] Production.INFO: ==5277== Lock acquired, processing the job...
[2025-01-09 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:25:03] Production.INFO: ==5279== Lock acquired, processing the job...
[2025-01-09 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:25:03] Production.INFO: ==5281== Lock acquired, processing the job...
[2025-01-09 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:25:04] Production.INFO: Account Balance Start.
[2025-01-09 01:25:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:25:04] Production.INFO: 117
[2025-01-09 01:25:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:25:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:25:04] Production.INFO: ==5273== Releasing lock...
[2025-01-09 01:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:25:04] Production.INFO: Total Charge 0
[2025-01-09 01:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:25:04] Production.INFO: CreateAllLog End
[2025-01-09 01:25:04] Production.INFO: count ==21
[2025-01-09 01:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:25:04] Production.INFO: count ==21
[2025-01-09 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206193') start
[2025-01-09 01:25:04] Production.ERROR: done
[2025-01-09 01:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206193') end
[2025-01-09 01:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:25:04] Production.INFO: 1
[2025-01-09 01:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:25:04] Production.INFO: Account Balance End.
[2025-01-09 01:25:04] Production.ERROR: done
[2025-01-09 01:25:04] Production.INFO: ==5281== Releasing lock...
[2025-01-09 01:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:25:04] Production.INFO: ==5277== Releasing lock...
[2025-01-09 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:25:05
[end_date_ymd] => 2025-01-09 01:25:05
[RateCDR] => 1
)
[2025-01-09 01:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:25:05' and `end` < '2025-01-09 01:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:25:12] Production.ERROR: CronJobId end10
[2025-01-09 01:25:12] Production.INFO: ==5275== Releasing lock...
[2025-01-09 01:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:25:14] Production.INFO: call_cost start
[2025-01-09 01:25:14] Production.INFO: call_cost end
[2025-01-09 01:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:25:15] Production.INFO: ==5271== Releasing lock...
[2025-01-09 01:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:25:18] Production.INFO: count ==173
[2025-01-09 01:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:25:05 - End Time 2025-01-09 01:25:05
[2025-01-09 01:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206194', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206194', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206194', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206194', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:25:18] Production.INFO: ProcessCDR(1,14206194,1,1,2)
[2025-01-09 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206194', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206194', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:25:21] Production.INFO: ==5279== Releasing lock...
[2025-01-09 01:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:25:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:26:02] Production.INFO: ==5336== Lock acquired, processing the job...
[2025-01-09 06:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:26:02] Production.INFO: neon service started
[2025-01-09 06:26:02] Production.INFO: neon service started
[2025-01-09 06:26:02] Production.INFO: ==5336== Releasing lock...
[2025-01-09 06:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:26:03] Production.INFO: ==5338== Lock acquired, processing the job...
[2025-01-09 01:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:26:03] Production.INFO: ==5340== Lock acquired, processing the job...
[2025-01-09 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:26:03] Production.INFO: ==5340== Releasing lock...
[2025-01-09 06:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:26:03] Production.INFO: ==5338== Releasing lock...
[2025-01-09 01:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:26:04] Production.INFO: ==5343== Lock acquired, processing the job...
[2025-01-09 01:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:26:04] Production.INFO: ==5347== Lock acquired, processing the job...
[2025-01-09 01:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:26:04] Production.INFO: ==5353== Lock acquired, processing the job...
[2025-01-09 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:26:04] Production.INFO: ==5345== Lock acquired, processing the job...
[2025-01-09 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:26:04] Production.INFO: count ==21
[2025-01-09 01:26:04] Production.INFO: ==5349== Lock acquired, processing the job...
[2025-01-09 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:26:04] Production.INFO: count ==21
[2025-01-09 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206196') start
[2025-01-09 01:26:04] Production.INFO: Account Balance Start.
[2025-01-09 01:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:26:04] Production.INFO: 117
[2025-01-09 01:26:04] Production.INFO: ==5351== Lock acquired, processing the job...
[2025-01-09 01:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:26:04] Production.INFO: Total Charge 0
[2025-01-09 01:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206196') end
[2025-01-09 01:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:26:04] Production.INFO: 1
[2025-01-09 01:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:26:04] Production.INFO: CreateAllLog End
[2025-01-09 01:26:04] Production.INFO: ==5353== Releasing lock...
[2025-01-09 01:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:26:04] Production.INFO: ==5345== Releasing lock...
[2025-01-09 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:26:05] Production.ERROR: done
[2025-01-09 01:26:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:26:05] Production.ERROR: done
[2025-01-09 01:26:05] Production.INFO: Account Balance End.
[2025-01-09 01:26:05] Production.ERROR: CronJobId end 12
[2025-01-09 01:26:05] Production.INFO: ==5349== Releasing lock...
[2025-01-09 01:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:26:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:26:06
[end_date_ymd] => 2025-01-09 01:26:06
[RateCDR] => 1
)
[2025-01-09 01: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-01-08 22:26:06' and `end` < '2025-01-09 01: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-01-09 01:26:12] Production.ERROR: CronJobId end10
[2025-01-09 01:26:12] Production.INFO: ==5347== Releasing lock...
[2025-01-09 01:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:26:14] Production.INFO: call_cost start
[2025-01-09 01:26:14] Production.INFO: call_cost end
[2025-01-09 01:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:26:14] Production.INFO: ==5343== Releasing lock...
[2025-01-09 01:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:26:19] Production.INFO: count ==172
[2025-01-09 01:26:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:26:06 - End Time 2025-01-09 01:26:06
[2025-01-09 01:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206199', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206199', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206199', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206199', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:26:19] Production.INFO: ProcessCDR(1,14206199,1,1,2)
[2025-01-09 01:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206199', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206199', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:26:22] Production.INFO: ==5351== Releasing lock...
[2025-01-09 01:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:26:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:27:01] Production.INFO: ==5407== Lock acquired, processing the job...
[2025-01-09 06:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:27:01] Production.INFO: neon service started
[2025-01-09 06:27:01] Production.INFO: neon service started
[2025-01-09 06:27:01] Production.INFO: ==5407== Releasing lock...
[2025-01-09 06:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:27:02] Production.INFO: ==5411== Lock acquired, processing the job...
[2025-01-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:27:02] Production.INFO: ==5411== Releasing lock...
[2025-01-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:27:02] Production.INFO: ==5409== Lock acquired, processing the job...
[2025-01-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:27:02] Production.INFO: ==5409== Releasing lock...
[2025-01-09 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:27:03] Production.INFO: ==5414== Lock acquired, processing the job...
[2025-01-09 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:27:03] Production.INFO: ==5416== Lock acquired, processing the job...
[2025-01-09 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:27:03] Production.INFO: ==5422== Lock acquired, processing the job...
[2025-01-09 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:27:03] Production.INFO: ==5418== Lock acquired, processing the job...
[2025-01-09 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:27:03] Production.INFO: ==5416== Releasing lock...
[2025-01-09 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:27:03] Production.INFO: ==5420== Lock acquired, processing the job...
[2025-01-09 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:27:03] Production.INFO: ==5424== Lock acquired, processing the job...
[2025-01-09 01:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:27:03] Production.ERROR: done
[2025-01-09 01:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:27:03] Production.INFO: Account Balance Start.
[2025-01-09 01:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:27:03] Production.INFO: 117
[2025-01-09 01:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:27:04] Production.INFO: count ==21
[2025-01-09 01:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:27:04] Production.INFO: count ==21
[2025-01-09 01:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206202') start
[2025-01-09 01:27:04] Production.ERROR: done
[2025-01-09 01:27:04] Production.INFO: Total Charge 0
[2025-01-09 01:27:04] Production.INFO: CreateAllLog End
[2025-01-09 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206202') end
[2025-01-09 01:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:27:04] Production.INFO: 1
[2025-01-09 01:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:27:04] Production.INFO: ==5424== Releasing lock...
[2025-01-09 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:27:04] Production.INFO: Account Balance End.
[2025-01-09 01:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:27:04] Production.INFO: ==5420== Releasing lock...
[2025-01-09 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:27:05
[end_date_ymd] => 2025-01-09 01:27:05
[RateCDR] => 1
)
[2025-01-09 01:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:27:05' and `end` < '2025-01-09 01:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:27:10] Production.ERROR: CronJobId end10
[2025-01-09 01:27:10] Production.INFO: ==5418== Releasing lock...
[2025-01-09 01:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:27:13] Production.INFO: call_cost start
[2025-01-09 01:27:13] Production.INFO: call_cost end
[2025-01-09 01:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:27:14] Production.INFO: ==5414== Releasing lock...
[2025-01-09 01:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:27:19] Production.INFO: count ==171
[2025-01-09 01:27:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:27:05 - End Time 2025-01-09 01:27:05
[2025-01-09 01:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206204', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206204', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206204', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206204', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:27:19] Production.INFO: ProcessCDR(1,14206204,1,1,2)
[2025-01-09 01:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206204,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206204,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206204', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206204', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:27:22] Production.INFO: ==5422== Releasing lock...
[2025-01-09 01:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:27:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:28:02] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-01-09 06:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:28:02] Production.INFO: neon service started
[2025-01-09 06:28:02] Production.INFO: neon service started
[2025-01-09 06:28:02] Production.INFO: ==5479== Releasing lock...
[2025-01-09 06:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:28:03] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-01-09 01:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:28:03] Production.INFO: ==5483== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:28:03] Production.INFO: ==5483== Releasing lock...
[2025-01-09 06:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:28:03] Production.INFO: ==5481== Releasing lock...
[2025-01-09 01:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:28:04] Production.INFO: ==5488== Lock acquired, processing the job...
[2025-01-09 01:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:28:04] Production.INFO: ==5486== Lock acquired, processing the job...
[2025-01-09 01:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:28:04] Production.INFO: ==5496== Lock acquired, processing the job...
[2025-01-09 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:28:04] Production.INFO: ==5488== Releasing lock...
[2025-01-09 01:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:28:04] Production.INFO: ==5490== Lock acquired, processing the job...
[2025-01-09 01:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:28:04] Production.INFO: ==5492== Lock acquired, processing the job...
[2025-01-09 01:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:28:04] Production.INFO: count ==21
[2025-01-09 01:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:28:04] Production.INFO: count ==21
[2025-01-09 01:28:04] Production.INFO: Account Balance Start.
[2025-01-09 01:28:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:28:04] Production.INFO: 117
[2025-01-09 01:28:04] Production.INFO: ==5494== Lock acquired, processing the job...
[2025-01-09 01:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206207') start
[2025-01-09 01:28:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206207') end
[2025-01-09 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:28:04] Production.INFO: 1
[2025-01-09 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:28:04] Production.INFO: Total Charge 0
[2025-01-09 01:28:04] Production.INFO: CreateAllLog End
[2025-01-09 01:28:04] Production.INFO: ==5496== Releasing lock...
[2025-01-09 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:28:05] Production.ERROR: done
[2025-01-09 01:28:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:28:05] Production.ERROR: done
[2025-01-09 01:28:05] Production.INFO: Account Balance End.
[2025-01-09 01:28:05] Production.ERROR: CronJobId end 12
[2025-01-09 01:28:05] Production.INFO: ==5492== Releasing lock...
[2025-01-09 01:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:28:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:28:06
[end_date_ymd] => 2025-01-09 01:28:06
[RateCDR] => 1
)
[2025-01-09 01: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-01-08 22:28:06' and `end` < '2025-01-09 01: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-01-09 01:28:12] Production.ERROR: CronJobId end10
[2025-01-09 01:28:12] Production.INFO: ==5490== Releasing lock...
[2025-01-09 01:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:28:13] Production.INFO: call_cost start
[2025-01-09 01:28:13] Production.INFO: call_cost end
[2025-01-09 01:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:28:14] Production.INFO: ==5486== Releasing lock...
[2025-01-09 01:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:28:19] Production.INFO: count ==170
[2025-01-09 01:28:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:28:06 - End Time 2025-01-09 01:28:06
[2025-01-09 01:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206209', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206209', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206209', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206209', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:28:19] Production.INFO: ProcessCDR(1,14206209,1,1,2)
[2025-01-09 01:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206209,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206209,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206209', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206209', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:28:23] Production.INFO: ==5494== Releasing lock...
[2025-01-09 01:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:28:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:29:01] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-01-09 06:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:29:01] Production.INFO: neon service started
[2025-01-09 06:29:01] Production.INFO: neon service started
[2025-01-09 06:29:01] Production.INFO: ==5551== Releasing lock...
[2025-01-09 06:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:29:02] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-01-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:29:02] Production.INFO: ==5555== Lock acquired, processing the job...
[2025-01-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:29:02] Production.INFO: ==5555== Releasing lock...
[2025-01-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:29:02] Production.INFO: ==5553== Releasing lock...
[2025-01-09 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:29:03] Production.INFO: ==5558== Lock acquired, processing the job...
[2025-01-09 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:29:03] Production.INFO: ==5560== Lock acquired, processing the job...
[2025-01-09 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:29:03] Production.INFO: ==5568== Lock acquired, processing the job...
[2025-01-09 01:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:29:03] Production.INFO: ==5560== Releasing lock...
[2025-01-09 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:29:03] Production.INFO: count ==21
[2025-01-09 01:29:03] Production.INFO: ==5562== Lock acquired, processing the job...
[2025-01-09 01:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:29:03] Production.INFO: count ==21
[2025-01-09 01:29:03] Production.INFO: ==5564== Lock acquired, processing the job...
[2025-01-09 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206212') start
[2025-01-09 01:29:03] Production.INFO: ==5566== Lock acquired, processing the job...
[2025-01-09 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206212') end
[2025-01-09 01:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:29:03] Production.INFO: 1
[2025-01-09 01:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:29:03] Production.INFO: Account Balance Start.
[2025-01-09 01:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:29:03] Production.INFO: 117
[2025-01-09 01:29:04] Production.INFO: ==5568== Releasing lock...
[2025-01-09 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:29:04] Production.INFO: Total Charge 0
[2025-01-09 01:29:04] Production.INFO: CreateAllLog End
[2025-01-09 01:29:04] Production.ERROR: done
[2025-01-09 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:29:04] Production.ERROR: done
[2025-01-09 01:29:04] Production.INFO: Account Balance End.
[2025-01-09 01:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:29:04] Production.INFO: ==5564== Releasing lock...
[2025-01-09 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:29:05
[end_date_ymd] => 2025-01-09 01:29:05
[RateCDR] => 1
)
[2025-01-09 01:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:29:05' and `end` < '2025-01-09 01:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:29:11] Production.ERROR: CronJobId end10
[2025-01-09 01:29:11] Production.INFO: ==5562== Releasing lock...
[2025-01-09 01:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:29:13] Production.INFO: call_cost start
[2025-01-09 01:29:13] Production.INFO: call_cost end
[2025-01-09 01:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:29:14] Production.INFO: ==5558== Releasing lock...
[2025-01-09 01:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:29:18] Production.INFO: count ==168
[2025-01-09 01:29:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:29:05 - End Time 2025-01-09 01:29:05
[2025-01-09 01:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206214', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206214', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206214', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206214', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:29:18] Production.INFO: ProcessCDR(1,14206214,1,1,2)
[2025-01-09 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206214,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206214,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206214', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206214', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:29:21] Production.INFO: ==5566== Releasing lock...
[2025-01-09 01:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:29:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:30:02] Production.INFO: ==5622== Lock acquired, processing the job...
[2025-01-09 06:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:30:02] Production.INFO: neon service started
[2025-01-09 06:30:02] Production.INFO: neon service started
[2025-01-09 06:30:02] Production.INFO: ==5622== Releasing lock...
[2025-01-09 06:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:30:02] Production.INFO: ==5624== Lock acquired, processing the job...
[2025-01-09 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:30:02] Production.INFO: ==5626== Lock acquired, processing the job...
[2025-01-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:30:02] Production.INFO: ==5626== Releasing lock...
[2025-01-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:30:03] Production.INFO: ==5624== Releasing lock...
[2025-01-09 01:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:30:03] Production.INFO: ==5633== Lock acquired, processing the job...
[2025-01-09 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:30:03] Production.INFO: ==5629== Lock acquired, processing the job...
[2025-01-09 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 01:30:04] Production.INFO: ==5641== Lock acquired, processing the job...
[2025-01-09 01:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 01:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 01:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 01:30:04] Production.ERROR: CronJob PID - 5633
[2025-01-09 01:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 01:30:04] Production.ERROR: CronJob ID - 7
[2025-01-09 01:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 01:30:00
[2025-01-09 01:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 01:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 01:30:04] Production.INFO: ==5631== Lock acquired, processing the job...
[2025-01-09 01:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 01:30:04] Production.INFO: ==5629== Releasing lock...
[2025-01-09 01:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 01:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:30:04] Production.INFO: ==5637== Lock acquired, processing the job...
[2025-01-09 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:30:04] Production.INFO: ==5643== Lock acquired, processing the job...
[2025-01-09 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:30:04] Production.INFO: ==5639== Lock acquired, processing the job...
[2025-01-09 01:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:30:04] Production.INFO: ==5633== Releasing lock...
[2025-01-09 01:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:30:04] Production.INFO: ==5635== Lock acquired, processing the job...
[2025-01-09 01:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:30:04] Production.INFO: Account Balance Start.
[2025-01-09 01:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:30:04] Production.INFO: 117
[2025-01-09 01:30:04] Production.ERROR: done
[2025-01-09 01:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:30:04] Production.INFO: count ==21
[2025-01-09 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206219', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 01:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:30:04] Production.INFO: count ==21
[2025-01-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206217') start
[2025-01-09 01:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:30:04] Production.ERROR: done
[2025-01-09 01:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:30:04] Production.INFO: Total Charge 0
[2025-01-09 01:30:04] Production.INFO: CreateAllLog End
[2025-01-09 01:30:04] Production.ERROR: done
[2025-01-09 01:30:04] Production.INFO: Account Balance End.
[2025-01-09 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206217') end
[2025-01-09 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:30:04] Production.INFO: 1
[2025-01-09 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:30:04] Production.INFO: ==5637== Releasing lock...
[2025-01-09 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:30:04] Production.INFO: ==5643== Releasing lock...
[2025-01-09 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:30:05
[end_date_ymd] => 2025-01-09 01:30:05
[RateCDR] => 1
)
[2025-01-09 01:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:30:05' and `end` < '2025-01-09 01:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206219', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 01:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 01:30:08] Production.INFO: ProcessCDR(1,14206219,1,1,2)
[2025-01-09 01:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206219,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206219,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:30:08] Production.INFO: ==5641== Releasing lock...
[2025-01-09 01:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 01:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 01:30:13] Production.ERROR: CronJobId end10
[2025-01-09 01:30:13] Production.INFO: ==5635== Releasing lock...
[2025-01-09 01:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:30:15] Production.INFO: call_cost start
[2025-01-09 01:30:15] Production.INFO: call_cost end
[2025-01-09 01:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:30:16] Production.INFO: ==5631== Releasing lock...
[2025-01-09 01:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:30:18] Production.INFO: count ==171
[2025-01-09 01:30:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:30:05 - End Time 2025-01-09 01:30:05
[2025-01-09 01:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206220', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206220', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206220', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206220', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:30:18] Production.INFO: ProcessCDR(1,14206220,1,1,2)
[2025-01-09 01:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206220', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206220', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:30:23] Production.INFO: ==5639== Releasing lock...
[2025-01-09 01:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:30:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:31:01] Production.INFO: ==5696== Lock acquired, processing the job...
[2025-01-09 06:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:31:01] Production.INFO: neon service started
[2025-01-09 06:31:01] Production.INFO: neon service started
[2025-01-09 06:31:01] Production.INFO: ==5696== Releasing lock...
[2025-01-09 06:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:31:02] Production.INFO: ==5698== Lock acquired, processing the job...
[2025-01-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:31:02] Production.INFO: ==5698== Releasing lock...
[2025-01-09 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:31:02] Production.INFO: ==5700== Lock acquired, processing the job...
[2025-01-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:31:02] Production.INFO: ==5700== Releasing lock...
[2025-01-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:31:03] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-01-09 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:31:03] Production.INFO: ==5707== Lock acquired, processing the job...
[2025-01-09 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:31:03] Production.INFO: ==5709== Lock acquired, processing the job...
[2025-01-09 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:31:03] Production.INFO: Account Balance Start.
[2025-01-09 01:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:31:03] Production.INFO: 117
[2025-01-09 01:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:31:03] Production.INFO: ==5705== Releasing lock...
[2025-01-09 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:31:03] Production.INFO: ==5703== Lock acquired, processing the job...
[2025-01-09 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:31:03] Production.INFO: Total Charge 0
[2025-01-09 01:31:03] Production.INFO: ==5711== Lock acquired, processing the job...
[2025-01-09 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:31:03] Production.INFO: CreateAllLog End
[2025-01-09 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:31:03] Production.INFO: ==5713== Lock acquired, processing the job...
[2025-01-09 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:31:03] Production.INFO: Account Balance End.
[2025-01-09 01:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:31:03] Production.INFO: count ==21
[2025-01-09 01:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:31:03] Production.INFO: ==5709== Releasing lock...
[2025-01-09 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:31:03] Production.INFO: count ==21
[2025-01-09 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206224') start
[2025-01-09 01:31:03] Production.ERROR: done
[2025-01-09 01:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206224') end
[2025-01-09 01:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:31:04] Production.INFO: 1
[2025-01-09 01:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:31:04] Production.INFO: ==5713== Releasing lock...
[2025-01-09 01:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:31:04] Production.ERROR: done
[2025-01-09 01:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:31:04
[end_date_ymd] => 2025-01-09 01:31:04
[RateCDR] => 1
)
[2025-01-09 01:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:31:04' and `end` < '2025-01-09 01:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:31:11] Production.ERROR: CronJobId end10
[2025-01-09 01:31:11] Production.INFO: ==5707== Releasing lock...
[2025-01-09 01:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:31:12] Production.INFO: call_cost start
[2025-01-09 01:31:12] Production.INFO: call_cost end
[2025-01-09 01:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:31:13] Production.INFO: ==5703== Releasing lock...
[2025-01-09 01:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:31:18] Production.INFO: count ==171
[2025-01-09 01:31:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:31:04 - End Time 2025-01-09 01:31:04
[2025-01-09 01:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206225', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206225', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206225', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206225', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:31:18] Production.INFO: ProcessCDR(1,14206225,1,1,2)
[2025-01-09 01:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206225', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206225', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:31:22] Production.INFO: ==5711== Releasing lock...
[2025-01-09 01:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:31:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:32:02] Production.INFO: ==5770== Lock acquired, processing the job...
[2025-01-09 06:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:32:02] Production.INFO: neon service started
[2025-01-09 06:32:02] Production.INFO: neon service started
[2025-01-09 06:32:02] Production.INFO: ==5770== Releasing lock...
[2025-01-09 06:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:32:02] Production.INFO: ==5774== Lock acquired, processing the job...
[2025-01-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:32:02] Production.INFO: ==5774== Releasing lock...
[2025-01-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:32:02] Production.INFO: ==5772== Lock acquired, processing the job...
[2025-01-09 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:32:03] Production.INFO: ==5772== Releasing lock...
[2025-01-09 01:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:32:03] Production.INFO: ==5777== Lock acquired, processing the job...
[2025-01-09 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:32:03] Production.INFO: ==5779== Lock acquired, processing the job...
[2025-01-09 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:32:04] Production.INFO: ==5785== Lock acquired, processing the job...
[2025-01-09 01:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:32:04] Production.INFO: ==5781== Lock acquired, processing the job...
[2025-01-09 01:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:32:04] Production.INFO: ==5779== Releasing lock...
[2025-01-09 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:32:04] Production.INFO: ==5783== Lock acquired, processing the job...
[2025-01-09 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:32:04] Production.INFO: ==5787== Lock acquired, processing the job...
[2025-01-09 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:32:04] Production.ERROR: done
[2025-01-09 01:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:32:04] Production.INFO: Account Balance Start.
[2025-01-09 01:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:32:04] Production.INFO: 117
[2025-01-09 01:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:32:04] Production.ERROR: done
[2025-01-09 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:32:04] Production.INFO: count ==21
[2025-01-09 01:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:32:04] Production.INFO: count ==21
[2025-01-09 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206229') start
[2025-01-09 01:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:32:04] Production.INFO: Total Charge 0
[2025-01-09 01:32:04] Production.INFO: CreateAllLog End
[2025-01-09 01:32:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206229') end
[2025-01-09 01:32:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:32:05] Production.INFO: 1
[2025-01-09 01:32:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:32:05] Production.INFO: Account Balance End.
[2025-01-09 01:32:05] Production.INFO: ==5787== Releasing lock...
[2025-01-09 01:32:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:32:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:32:05] Production.ERROR: CronJobId end 12
[2025-01-09 01:32:05] Production.INFO: ==5783== Releasing lock...
[2025-01-09 01:32:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:32:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:32:05
[end_date_ymd] => 2025-01-09 01:32:05
[RateCDR] => 1
)
[2025-01-09 01:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:32:05' and `end` < '2025-01-09 01:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:32:11] Production.ERROR: CronJobId end10
[2025-01-09 01:32:11] Production.INFO: ==5781== Releasing lock...
[2025-01-09 01:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:32:13] Production.INFO: call_cost start
[2025-01-09 01:32:13] Production.INFO: call_cost end
[2025-01-09 01:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:32:14] Production.INFO: ==5777== Releasing lock...
[2025-01-09 01:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:32:20] Production.INFO: count ==171
[2025-01-09 01:32:20] Production.ERROR: pbx CDR StartTime 2025-01-08 22:32:05 - End Time 2025-01-09 01:32:05
[2025-01-09 01:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206230', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206230', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206230', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206230', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:32:20] Production.INFO: ProcessCDR(1,14206230,1,1,2)
[2025-01-09 01:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206230', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206230', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:32:23] Production.INFO: ==5785== Releasing lock...
[2025-01-09 01:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:32:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:33:01] Production.INFO: ==5841== Lock acquired, processing the job...
[2025-01-09 06:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:33:01] Production.INFO: neon service started
[2025-01-09 06:33:01] Production.INFO: neon service started
[2025-01-09 06:33:01] Production.INFO: ==5841== Releasing lock...
[2025-01-09 06:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:33:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:33:02] Production.INFO: ==5843== Lock acquired, processing the job...
[2025-01-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:33:02] Production.INFO: ==5843== Releasing lock...
[2025-01-09 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:33:02] Production.INFO: ==5845== Lock acquired, processing the job...
[2025-01-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:33:02] Production.INFO: ==5845== Releasing lock...
[2025-01-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:33:03] Production.INFO: ==5858== Lock acquired, processing the job...
[2025-01-09 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:33:03] Production.INFO: ==5856== Lock acquired, processing the job...
[2025-01-09 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:33:03] Production.INFO: count ==21
[2025-01-09 01:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:33:03] Production.INFO: count ==21
[2025-01-09 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206231') start
[2025-01-09 01:33:03] Production.INFO: ==5848== Lock acquired, processing the job...
[2025-01-09 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:33:03] Production.INFO: ==5850== Lock acquired, processing the job...
[2025-01-09 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206231') end
[2025-01-09 01:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:33:03] Production.INFO: 1
[2025-01-09 01:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:33:03] Production.INFO: ==5852== Lock acquired, processing the job...
[2025-01-09 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:33:03] Production.INFO: ==5858== Releasing lock...
[2025-01-09 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:33:03] Production.INFO: ==5854== Lock acquired, processing the job...
[2025-01-09 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:33:03] Production.ERROR: done
[2025-01-09 01:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:33:03] Production.INFO: Account Balance Start.
[2025-01-09 01:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:33:03] Production.INFO: 117
[2025-01-09 01:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:33:04] Production.INFO: ==5850== Releasing lock...
[2025-01-09 01:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:33:04] Production.ERROR: done
[2025-01-09 01:33:04] Production.INFO: Total Charge 0
[2025-01-09 01:33:04] Production.INFO: CreateAllLog End
[2025-01-09 01:33:04] Production.INFO: Account Balance End.
[2025-01-09 01:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:33:04] Production.INFO: ==5854== Releasing lock...
[2025-01-09 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:33:04
[end_date_ymd] => 2025-01-09 01:33:04
[RateCDR] => 1
)
[2025-01-09 01:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:33:04' and `end` < '2025-01-09 01:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:33:10] Production.ERROR: CronJobId end10
[2025-01-09 01:33:10] Production.INFO: ==5852== Releasing lock...
[2025-01-09 01:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:33:13] Production.INFO: call_cost start
[2025-01-09 01:33:13] Production.INFO: call_cost end
[2025-01-09 01:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:33:14] Production.INFO: ==5848== Releasing lock...
[2025-01-09 01:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:33:18] Production.INFO: count ==171
[2025-01-09 01:33:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:33:04 - End Time 2025-01-09 01:33:04
[2025-01-09 01:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206235', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206235', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206235', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206235', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:33:18] Production.INFO: ProcessCDR(1,14206235,1,1,2)
[2025-01-09 01:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206235', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206235', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:33:21] Production.INFO: ==5856== Releasing lock...
[2025-01-09 01:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:33:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:34:02] Production.INFO: ==5913== Lock acquired, processing the job...
[2025-01-09 06:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:34:02] Production.INFO: neon service started
[2025-01-09 06:34:02] Production.INFO: neon service started
[2025-01-09 06:34:02] Production.INFO: ==5913== Releasing lock...
[2025-01-09 06:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:34:02] Production.INFO: ==5916== Lock acquired, processing the job...
[2025-01-09 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:34:03] Production.INFO: ==5916== Releasing lock...
[2025-01-09 01:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:34:03] Production.INFO: ==5918== Lock acquired, processing the job...
[2025-01-09 06:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:34:03] Production.INFO: ==5918== Releasing lock...
[2025-01-09 06:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:34:03] Production.INFO: ==5920== Lock acquired, processing the job...
[2025-01-09 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:34:03] Production.INFO: ==5924== Lock acquired, processing the job...
[2025-01-09 01:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:34:03] Production.INFO: ==5926== Lock acquired, processing the job...
[2025-01-09 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:34:04] Production.INFO: ==5922== Lock acquired, processing the job...
[2025-01-09 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:34:04] Production.INFO: Account Balance Start.
[2025-01-09 01:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:34:04] Production.INFO: 117
[2025-01-09 01:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:34:04] Production.INFO: ==5928== Lock acquired, processing the job...
[2025-01-09 01:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:34:04] Production.INFO: ==5930== Lock acquired, processing the job...
[2025-01-09 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:34:04] Production.INFO: Total Charge 0
[2025-01-09 01:34:04] Production.INFO: CreateAllLog End
[2025-01-09 01:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:34:04] Production.INFO: count ==21
[2025-01-09 01:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:34:04] Production.INFO: count ==21
[2025-01-09 01:34:04] Production.INFO: Account Balance End.
[2025-01-09 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206239') start
[2025-01-09 01:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:34:04] Production.INFO: ==5926== Releasing lock...
[2025-01-09 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:34:04] Production.INFO: ==5922== Releasing lock...
[2025-01-09 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206239') end
[2025-01-09 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:34:04] Production.INFO: 1
[2025-01-09 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:34:04] Production.INFO: ==5930== Releasing lock...
[2025-01-09 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:34:04] Production.ERROR: done
[2025-01-09 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:34:05] Production.ERROR: done
[2025-01-09 01:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:34:05
[end_date_ymd] => 2025-01-09 01:34:05
[RateCDR] => 1
)
[2025-01-09 01:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:34:05' and `end` < '2025-01-09 01:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:34:11] Production.ERROR: CronJobId end10
[2025-01-09 01:34:11] Production.INFO: ==5924== Releasing lock...
[2025-01-09 01:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:34:13] Production.INFO: call_cost start
[2025-01-09 01:34:13] Production.INFO: call_cost end
[2025-01-09 01:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:34:14] Production.INFO: ==5920== Releasing lock...
[2025-01-09 01:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:34:19] Production.INFO: count ==171
[2025-01-09 01:34:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:34:05 - End Time 2025-01-09 01:34:05
[2025-01-09 01:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206240', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206240', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206240', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206240', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:34:19] Production.INFO: ProcessCDR(1,14206240,1,1,2)
[2025-01-09 01:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206240', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206240', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:34:23] Production.INFO: ==5928== Releasing lock...
[2025-01-09 01:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:34:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:35:01] Production.INFO: ==5986== Lock acquired, processing the job...
[2025-01-09 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:35:01] Production.INFO: neon service started
[2025-01-09 06:35:01] Production.INFO: neon service started
[2025-01-09 06:35:01] Production.INFO: ==5986== Releasing lock...
[2025-01-09 06:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:35:02] Production.INFO: ==5988== Lock acquired, processing the job...
[2025-01-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:35:02] Production.INFO: ==5988== Releasing lock...
[2025-01-09 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:35:02] Production.INFO: ==5990== Lock acquired, processing the job...
[2025-01-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:35:02] Production.INFO: ==5990== Releasing lock...
[2025-01-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:35:03] Production.INFO: ==5997== Lock acquired, processing the job...
[2025-01-09 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:35:03] Production.INFO: ==6003== Lock acquired, processing the job...
[2025-01-09 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:35:03] Production.INFO: ==5993== Lock acquired, processing the job...
[2025-01-09 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:35:03] Production.INFO: ==5995== Lock acquired, processing the job...
[2025-01-09 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:35:03] Production.INFO: count ==21
[2025-01-09 01:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:35:03] Production.INFO: count ==21
[2025-01-09 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206241') start
[2025-01-09 01:35:03] Production.INFO: ==6001== Lock acquired, processing the job...
[2025-01-09 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:35:03] Production.INFO: ==5999== Lock acquired, processing the job...
[2025-01-09 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206241') end
[2025-01-09 01:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:35:03] Production.INFO: 1
[2025-01-09 01:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:35:03] Production.INFO: Account Balance Start.
[2025-01-09 01:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:35:03] Production.INFO: 117
[2025-01-09 01:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:35:03] Production.INFO: ==6003== Releasing lock...
[2025-01-09 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:35:04] Production.INFO: Total Charge 0
[2025-01-09 01:35:04] Production.INFO: CreateAllLog End
[2025-01-09 01:35:04] Production.ERROR: done
[2025-01-09 01:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:35:04] Production.INFO: ==5995== Releasing lock...
[2025-01-09 01:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:35:04] Production.INFO: Account Balance End.
[2025-01-09 01:35:04] Production.ERROR: done
[2025-01-09 01:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:35:04] Production.INFO: ==5999== Releasing lock...
[2025-01-09 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:35:05
[end_date_ymd] => 2025-01-09 01:35:05
[RateCDR] => 1
)
[2025-01-09 01:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:35:05' and `end` < '2025-01-09 01:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:35:10] Production.ERROR: CronJobId end10
[2025-01-09 01:35:10] Production.INFO: ==5997== Releasing lock...
[2025-01-09 01:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:35:13] Production.INFO: call_cost start
[2025-01-09 01:35:13] Production.INFO: call_cost end
[2025-01-09 01:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:35:14] Production.INFO: ==5993== Releasing lock...
[2025-01-09 01:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:35:18] Production.INFO: count ==171
[2025-01-09 01:35:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:35:05 - End Time 2025-01-09 01:35:05
[2025-01-09 01:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206245', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206245', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206245', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206245', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:35:18] Production.INFO: ProcessCDR(1,14206245,1,1,2)
[2025-01-09 01:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206245', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206245', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:35:21] Production.INFO: ==6001== Releasing lock...
[2025-01-09 01:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:35:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:36:02] Production.INFO: ==6096== Lock acquired, processing the job...
[2025-01-09 06:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:36:02] Production.INFO: neon service started
[2025-01-09 06:36:02] Production.INFO: neon service started
[2025-01-09 06:36:02] Production.INFO: ==6096== Releasing lock...
[2025-01-09 06:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:36:02] Production.INFO: ==6098== Lock acquired, processing the job...
[2025-01-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:36:02] Production.INFO: ==6098== Releasing lock...
[2025-01-09 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:36:02] Production.INFO: ==6100== Lock acquired, processing the job...
[2025-01-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:36:03] Production.INFO: ==6100== Releasing lock...
[2025-01-09 06:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:36:03] Production.INFO: ==6107== Lock acquired, processing the job...
[2025-01-09 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:36:03] Production.INFO: ==6103== Lock acquired, processing the job...
[2025-01-09 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:36:03] Production.INFO: ==6113== Lock acquired, processing the job...
[2025-01-09 01:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:36:03] Production.INFO: ==6105== Lock acquired, processing the job...
[2025-01-09 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:36:03] Production.INFO: ==6109== Lock acquired, processing the job...
[2025-01-09 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:36:03] Production.INFO: count ==21
[2025-01-09 01:36:03] Production.INFO: ==6111== Lock acquired, processing the job...
[2025-01-09 01:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:36:03] Production.INFO: count ==21
[2025-01-09 01:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206247') start
[2025-01-09 01:36:03] Production.INFO: Account Balance Start.
[2025-01-09 01:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:36:03] Production.INFO: 117
[2025-01-09 01:36:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206247') end
[2025-01-09 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:36:04] Production.INFO: 1
[2025-01-09 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:36:04] Production.INFO: ==6105== Releasing lock...
[2025-01-09 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:36:04] Production.INFO: ==6113== Releasing lock...
[2025-01-09 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:36:04] Production.INFO: Total Charge 0
[2025-01-09 01:36:04] Production.INFO: CreateAllLog End
[2025-01-09 01:36:04] Production.ERROR: done
[2025-01-09 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:36:04] Production.INFO: Account Balance End.
[2025-01-09 01:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:36:04] Production.INFO: ==6109== Releasing lock...
[2025-01-09 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:36:04] Production.ERROR: done
[2025-01-09 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:36:05
[end_date_ymd] => 2025-01-09 01:36:05
[RateCDR] => 1
)
[2025-01-09 01:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:36:05' and `end` < '2025-01-09 01:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:36:11] Production.ERROR: CronJobId end10
[2025-01-09 01:36:11] Production.INFO: ==6107== Releasing lock...
[2025-01-09 01:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:36:12] Production.INFO: call_cost start
[2025-01-09 01:36:12] Production.INFO: call_cost end
[2025-01-09 01:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:36:13] Production.INFO: ==6103== Releasing lock...
[2025-01-09 01:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:36:18] Production.INFO: count ==171
[2025-01-09 01:36:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:36:05 - End Time 2025-01-09 01:36:05
[2025-01-09 01:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206250', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206250', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206250', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206250', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:36:18] Production.INFO: ProcessCDR(1,14206250,1,1,2)
[2025-01-09 01:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206250', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206250', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:36:21] Production.INFO: ==6111== Releasing lock...
[2025-01-09 01:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:36:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:37:01] Production.INFO: ==6166== Lock acquired, processing the job...
[2025-01-09 06:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:37:01] Production.INFO: neon service started
[2025-01-09 06:37:01] Production.INFO: neon service started
[2025-01-09 06:37:01] Production.INFO: ==6166== Releasing lock...
[2025-01-09 06:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:37:01] Production.INFO: ==6168== Lock acquired, processing the job...
[2025-01-09 01:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:37:02] Production.INFO: ==6168== Releasing lock...
[2025-01-09 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:37:02] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-01-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:37:02] Production.INFO: ==6170== Releasing lock...
[2025-01-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:37:03] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:37:03] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:37:03] Production.INFO: ==6183== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:37:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:37:03] Production.INFO: count ==21
[2025-01-09 01:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:37:03] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:37:03] Production.INFO: count ==21
[2025-01-09 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206252') start
[2025-01-09 01:37:03] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-01-09 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:37:03] Production.INFO: Account Balance Start.
[2025-01-09 01:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:37:03] Production.INFO: 117
[2025-01-09 01:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206252') end
[2025-01-09 01:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:37:03] Production.INFO: 1
[2025-01-09 01:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:37:03] Production.INFO: ==6183== Releasing lock...
[2025-01-09 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:37:03] Production.INFO: Total Charge 0
[2025-01-09 01:37:04] Production.INFO: CreateAllLog End
[2025-01-09 01:37:04] Production.ERROR: done
[2025-01-09 01:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:37:04] Production.ERROR: done
[2025-01-09 01:37:04] Production.INFO: ==6174== Releasing lock...
[2025-01-09 01:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:37:04] Production.INFO: Account Balance End.
[2025-01-09 01:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:37:04] Production.INFO: ==6178== Releasing lock...
[2025-01-09 01:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:37:05
[end_date_ymd] => 2025-01-09 01:37:05
[RateCDR] => 1
)
[2025-01-09 01:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:37:05' and `end` < '2025-01-09 01:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:37:11] Production.ERROR: CronJobId end10
[2025-01-09 01:37:11] Production.INFO: ==6176== Releasing lock...
[2025-01-09 01:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:37:13] Production.INFO: call_cost start
[2025-01-09 01:37:13] Production.INFO: call_cost end
[2025-01-09 01:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:37:14] Production.INFO: ==6172== Releasing lock...
[2025-01-09 01:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:37:18] Production.INFO: count ==171
[2025-01-09 01:37:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:37:05 - End Time 2025-01-09 01:37:05
[2025-01-09 01:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206255', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206255', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206255', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206255', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:37:18] Production.INFO: ProcessCDR(1,14206255,1,1,2)
[2025-01-09 01:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206255,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206255,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206255', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206255', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:37:21] Production.INFO: ==6180== Releasing lock...
[2025-01-09 01:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:37:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:38:02] Production.INFO: ==6239== Lock acquired, processing the job...
[2025-01-09 06:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:38:02] Production.INFO: neon service started
[2025-01-09 06:38:02] Production.INFO: neon service started
[2025-01-09 06:38:02] Production.INFO: ==6239== Releasing lock...
[2025-01-09 06:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:38:02] Production.INFO: ==6244== Lock acquired, processing the job...
[2025-01-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:38:02] Production.INFO: ==6244== Releasing lock...
[2025-01-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:38:02] Production.INFO: ==6242== Lock acquired, processing the job...
[2025-01-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:38:02] Production.INFO: ==6242== Releasing lock...
[2025-01-09 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:38:03] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-01-09 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:38:03] Production.INFO: ==6248== Lock acquired, processing the job...
[2025-01-09 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:38:03] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-01-09 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:38:03] Production.INFO: Account Balance Start.
[2025-01-09 01:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:38:03] Production.INFO: 117
[2025-01-09 01:38:03] Production.INFO: ==6248== Releasing lock...
[2025-01-09 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:38:03] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-01-09 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:38:04] Production.INFO: ==6254== Lock acquired, processing the job...
[2025-01-09 01:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:38:04] Production.INFO: ==6256== Lock acquired, processing the job...
[2025-01-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:38:04] Production.INFO: Total Charge 0
[2025-01-09 01:38:04] Production.INFO: CreateAllLog End
[2025-01-09 01:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:38:04] Production.INFO: count ==21
[2025-01-09 01:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:38:04] Production.INFO: count ==21
[2025-01-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206259') start
[2025-01-09 01:38:04] Production.INFO: Account Balance End.
[2025-01-09 01:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:38:04] Production.INFO: ==6252== Releasing lock...
[2025-01-09 01:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:38:04] Production.ERROR: done
[2025-01-09 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206259') end
[2025-01-09 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:38:04] Production.INFO: 1
[2025-01-09 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:38:04] Production.INFO: ==6256== Releasing lock...
[2025-01-09 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:38:04] Production.ERROR: done
[2025-01-09 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:38:05
[end_date_ymd] => 2025-01-09 01:38:05
[RateCDR] => 1
)
[2025-01-09 01:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:38:05' and `end` < '2025-01-09 01:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:38:11] Production.ERROR: CronJobId end10
[2025-01-09 01:38:11] Production.INFO: ==6250== Releasing lock...
[2025-01-09 01:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:38:13] Production.INFO: call_cost start
[2025-01-09 01:38:13] Production.INFO: call_cost end
[2025-01-09 01:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:38:14] Production.INFO: ==6246== Releasing lock...
[2025-01-09 01:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:38:18] Production.INFO: count ==174
[2025-01-09 01:38:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:38:05 - End Time 2025-01-09 01:38:05
[2025-01-09 01:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206260', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206260', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206260', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206260', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:38:18] Production.INFO: ProcessCDR(1,14206260,1,1,2)
[2025-01-09 01:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206260,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206260,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206260', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206260', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:38:21] Production.INFO: ==6254== Releasing lock...
[2025-01-09 01:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:38:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:39:01] Production.INFO: ==6312== Lock acquired, processing the job...
[2025-01-09 06:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:39:01] Production.INFO: neon service started
[2025-01-09 06:39:01] Production.INFO: neon service started
[2025-01-09 06:39:01] Production.INFO: ==6312== Releasing lock...
[2025-01-09 06:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:39:02] Production.INFO: ==6314== Lock acquired, processing the job...
[2025-01-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:39:02] Production.INFO: ==6316== Lock acquired, processing the job...
[2025-01-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:39:02] Production.INFO: ==6316== Releasing lock...
[2025-01-09 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:39:02] Production.INFO: ==6314== Releasing lock...
[2025-01-09 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:39:03] Production.INFO: ==6323== Lock acquired, processing the job...
[2025-01-09 01:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:39:03] Production.INFO: ==6325== Lock acquired, processing the job...
[2025-01-09 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:39:03] Production.INFO: ==6329== Lock acquired, processing the job...
[2025-01-09 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:39:03] Production.INFO: Account Balance Start.
[2025-01-09 01:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:39:03] Production.INFO: 117
[2025-01-09 01:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:39:03] Production.INFO: ==6319== Lock acquired, processing the job...
[2025-01-09 01:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:39:03] Production.INFO: ==6321== Lock acquired, processing the job...
[2025-01-09 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:39:03] Production.INFO: count ==21
[2025-01-09 01:39:03] Production.INFO: Total Charge 0
[2025-01-09 01:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:39:03] Production.INFO: count ==21
[2025-01-09 01:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:39:03] Production.INFO: ==6327== Lock acquired, processing the job...
[2025-01-09 01:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:39:03] Production.INFO: CreateAllLog End
[2025-01-09 01:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206262') start
[2025-01-09 01:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206262') end
[2025-01-09 01:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:39:03] Production.INFO: 1
[2025-01-09 01:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:39:03] Production.INFO: ==6321== Releasing lock...
[2025-01-09 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:39:03] Production.INFO: ==6329== Releasing lock...
[2025-01-09 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:39:03] Production.ERROR: done
[2025-01-09 01:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:39:04] Production.INFO: Account Balance End.
[2025-01-09 01:39:04] Production.ERROR: done
[2025-01-09 01:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:39:04] Production.INFO: ==6325== Releasing lock...
[2025-01-09 01:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:39:05
[end_date_ymd] => 2025-01-09 01:39:05
[RateCDR] => 1
)
[2025-01-09 01:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:39:05' and `end` < '2025-01-09 01:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:39:11] Production.ERROR: CronJobId end10
[2025-01-09 01:39:11] Production.INFO: ==6323== Releasing lock...
[2025-01-09 01:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:39:13] Production.INFO: call_cost start
[2025-01-09 01:39:13] Production.INFO: call_cost end
[2025-01-09 01:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:39:14] Production.INFO: ==6319== Releasing lock...
[2025-01-09 01:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:39:18] Production.INFO: count ==174
[2025-01-09 01:39:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:39:05 - End Time 2025-01-09 01:39:05
[2025-01-09 01:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206265', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206265', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206265', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206265', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:39:18] Production.INFO: ProcessCDR(1,14206265,1,1,2)
[2025-01-09 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206265,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206265,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206265', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206265', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:39:21] Production.INFO: ==6327== Releasing lock...
[2025-01-09 01:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:39:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:40:01] Production.INFO: ==6392== Lock acquired, processing the job...
[2025-01-09 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:40:01] Production.INFO: neon service started
[2025-01-09 06:40:01] Production.INFO: neon service started
[2025-01-09 06:40:01] Production.INFO: ==6392== Releasing lock...
[2025-01-09 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:40:02] Production.INFO: ==6394== Lock acquired, processing the job...
[2025-01-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:40:02] Production.INFO: ==6394== Releasing lock...
[2025-01-09 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:40:02] Production.INFO: ==6396== Lock acquired, processing the job...
[2025-01-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:40:02] Production.INFO: ==6396== Releasing lock...
[2025-01-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:40:03] Production.INFO: ==6398== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 01:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 01:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 01:40:03] Production.INFO: ==6398== Releasing lock...
[2025-01-09 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 01:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:40:03] Production.INFO: ==6402== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:40:03] Production.INFO: ==6400== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:40:03] Production.INFO: ==6408== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:40:03] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:40:03] Production.INFO: ==6404== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:40:03] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-01-09 01:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 01:40:04] Production.INFO: Account Balance Start.
[2025-01-09 01:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:40:04] Production.INFO: 117
[2025-01-09 01:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:40:04] Production.INFO: ==6402== Releasing lock...
[2025-01-09 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:40:04] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-01-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:40:04] Production.INFO: Total Charge 0
[2025-01-09 01:40:04] Production.ERROR: done
[2025-01-09 01:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:40:04] Production.INFO: CreateAllLog End
[2025-01-09 01:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:40:04] Production.INFO: count ==21
[2025-01-09 01:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:40:04] Production.INFO: count ==21
[2025-01-09 01:40:04] Production.ERROR: done
[2025-01-09 01:40:04] Production.ERROR: done
[2025-01-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206269') start
[2025-01-09 01:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 01:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206270', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 01:40:04] Production.INFO: Account Balance End.
[2025-01-09 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206269') end
[2025-01-09 01:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:40:04] Production.INFO: 1
[2025-01-09 01:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:40:04] Production.INFO: ==6406== Releasing lock...
[2025-01-09 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:40:04] Production.INFO: ==6412== Releasing lock...
[2025-01-09 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:40:06
[end_date_ymd] => 2025-01-09 01:40:06
[RateCDR] => 1
)
[2025-01-09 01:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:40:06' and `end` < '2025-01-09 01:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206270', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 01:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 01:40:09] Production.INFO: ProcessCDR(1,14206270,1,1,2)
[2025-01-09 01:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206270,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206270,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:40:09] Production.INFO: ==6410== Releasing lock...
[2025-01-09 01:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 01:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 01:40:12] Production.ERROR: CronJobId end10
[2025-01-09 01:40:12] Production.INFO: ==6404== Releasing lock...
[2025-01-09 01:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:40:14] Production.INFO: call_cost start
[2025-01-09 01:40:14] Production.INFO: call_cost end
[2025-01-09 01:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:40:15] Production.INFO: ==6400== Releasing lock...
[2025-01-09 01:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:40:18] Production.INFO: count ==184
[2025-01-09 01:40:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:40:06 - End Time 2025-01-09 01:40:06
[2025-01-09 01:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206271', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206271', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206271', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206271', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:40:19] Production.INFO: ProcessCDR(1,14206271,1,1,2)
[2025-01-09 01:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206271', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206271', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:40:22] Production.INFO: ==6408== Releasing lock...
[2025-01-09 01:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:40:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:41:02] Production.INFO: ==6467== Lock acquired, processing the job...
[2025-01-09 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:41:02] Production.INFO: neon service started
[2025-01-09 06:41:02] Production.INFO: neon service started
[2025-01-09 06:41:02] Production.INFO: ==6467== Releasing lock...
[2025-01-09 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:41:02] Production.INFO: ==6469== Lock acquired, processing the job...
[2025-01-09 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:41:02] Production.INFO: ==6471== Lock acquired, processing the job...
[2025-01-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:41:03] Production.INFO: ==6469== Releasing lock...
[2025-01-09 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:41:03] Production.INFO: ==6471== Releasing lock...
[2025-01-09 06:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:41:03] Production.INFO: ==6478== Lock acquired, processing the job...
[2025-01-09 01:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:41:03] Production.INFO: ==6474== Lock acquired, processing the job...
[2025-01-09 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:41:03] Production.INFO: ==6482== Lock acquired, processing the job...
[2025-01-09 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:41:03] Production.INFO: ==6476== Lock acquired, processing the job...
[2025-01-09 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:41:04] Production.INFO: ==6480== Lock acquired, processing the job...
[2025-01-09 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:41:04] Production.INFO: ==6484== Lock acquired, processing the job...
[2025-01-09 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:41:04] Production.ERROR: done
[2025-01-09 01:41:04] Production.INFO: Account Balance Start.
[2025-01-09 01:41:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:41:04] Production.INFO: 117
[2025-01-09 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:41:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:41:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:41:04] Production.INFO: count ==21
[2025-01-09 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:41:04] Production.INFO: count ==21
[2025-01-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206275') start
[2025-01-09 01:41:04] Production.ERROR: done
[2025-01-09 01:41:04] Production.INFO: Total Charge 0
[2025-01-09 01:41:04] Production.INFO: CreateAllLog End
[2025-01-09 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206275') end
[2025-01-09 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:41:04] Production.INFO: 1
[2025-01-09 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:41:04] Production.INFO: ==6484== Releasing lock...
[2025-01-09 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:41:04] Production.INFO: Account Balance End.
[2025-01-09 01:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:41:04] Production.INFO: ==6480== Releasing lock...
[2025-01-09 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:41:04] Production.INFO: ==6476== Releasing lock...
[2025-01-09 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:41:05
[end_date_ymd] => 2025-01-09 01:41:05
[RateCDR] => 1
)
[2025-01-09 01:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:41:05' and `end` < '2025-01-09 01:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:41:11] Production.ERROR: CronJobId end10
[2025-01-09 01:41:11] Production.INFO: ==6478== Releasing lock...
[2025-01-09 01:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:41:13] Production.INFO: call_cost start
[2025-01-09 01:41:13] Production.INFO: call_cost end
[2025-01-09 01:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:41:14] Production.INFO: ==6474== Releasing lock...
[2025-01-09 01:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:41:20] Production.INFO: count ==187
[2025-01-09 01:41:20] Production.ERROR: pbx CDR StartTime 2025-01-08 22:41:05 - End Time 2025-01-09 01:41:05
[2025-01-09 01:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206276', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206276', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206276', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206276', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:41:20] Production.INFO: ProcessCDR(1,14206276,1,1,2)
[2025-01-09 01:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206276', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206276', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:41:24] Production.INFO: ==6482== Releasing lock...
[2025-01-09 01:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:41:24] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:42:01] Production.INFO: ==6546== Lock acquired, processing the job...
[2025-01-09 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:42:01] Production.INFO: neon service started
[2025-01-09 06:42:01] Production.INFO: neon service started
[2025-01-09 06:42:01] Production.INFO: ==6546== Releasing lock...
[2025-01-09 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:42:02] Production.INFO: ==6550== Lock acquired, processing the job...
[2025-01-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:42:02] Production.INFO: ==6550== Releasing lock...
[2025-01-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:42:02] Production.INFO: ==6548== Lock acquired, processing the job...
[2025-01-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:42:02] Production.INFO: ==6548== Releasing lock...
[2025-01-09 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:42:03] Production.INFO: ==6556== Lock acquired, processing the job...
[2025-01-09 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:42:03] Production.INFO: ==6563== Lock acquired, processing the job...
[2025-01-09 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:42:03] Production.INFO: ==6552== Lock acquired, processing the job...
[2025-01-09 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:42:03] Production.INFO: count ==21
[2025-01-09 01:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:42:03] Production.INFO: count ==21
[2025-01-09 01:42:03] Production.INFO: ==6554== Lock acquired, processing the job...
[2025-01-09 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206277') start
[2025-01-09 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:42:03] Production.INFO: ==6558== Lock acquired, processing the job...
[2025-01-09 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:42:03] Production.INFO: ==6561== Lock acquired, processing the job...
[2025-01-09 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206277') end
[2025-01-09 01:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:42:03] Production.INFO: 1
[2025-01-09 01:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:42:04] Production.INFO: Account Balance Start.
[2025-01-09 01:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:42:04] Production.INFO: 117
[2025-01-09 01:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:42:04] Production.INFO: ==6563== Releasing lock...
[2025-01-09 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:42:04] Production.INFO: ==6554== Releasing lock...
[2025-01-09 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:42:04] Production.INFO: Total Charge 0
[2025-01-09 01:42:04] Production.INFO: CreateAllLog End
[2025-01-09 01:42:04] Production.ERROR: done
[2025-01-09 01:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:42:04] Production.ERROR: done
[2025-01-09 01:42:04] Production.INFO: Account Balance End.
[2025-01-09 01:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:42:04] Production.INFO: ==6558== Releasing lock...
[2025-01-09 01:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:42:05
[end_date_ymd] => 2025-01-09 01:42:05
[RateCDR] => 1
)
[2025-01-09 01:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:42:05' and `end` < '2025-01-09 01:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:42:10] Production.ERROR: CronJobId end10
[2025-01-09 01:42:10] Production.INFO: ==6556== Releasing lock...
[2025-01-09 01:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:42:13] Production.INFO: call_cost start
[2025-01-09 01:42:13] Production.INFO: call_cost end
[2025-01-09 01:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:42:13] Production.INFO: ==6552== Releasing lock...
[2025-01-09 01:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:42:19] Production.INFO: count ==187
[2025-01-09 01:42:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:42:05 - End Time 2025-01-09 01:42:05
[2025-01-09 01:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206281', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206281', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206281', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206281', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:42:19] Production.INFO: ProcessCDR(1,14206281,1,1,2)
[2025-01-09 01:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206281', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206281', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:42:22] Production.INFO: ==6561== Releasing lock...
[2025-01-09 01:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:42:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:43:02] Production.INFO: ==6627== Lock acquired, processing the job...
[2025-01-09 06:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:43:02] Production.INFO: neon service started
[2025-01-09 06:43:02] Production.INFO: neon service started
[2025-01-09 06:43:02] Production.INFO: ==6627== Releasing lock...
[2025-01-09 06:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:43:02] Production.INFO: ==6631== Lock acquired, processing the job...
[2025-01-09 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:43:03] Production.INFO: ==6633== Lock acquired, processing the job...
[2025-01-09 06:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:43:03] Production.INFO: ==6633== Releasing lock...
[2025-01-09 06:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:43:03] Production.INFO: ==6631== Releasing lock...
[2025-01-09 01:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:43:03] Production.INFO: ==6638== Lock acquired, processing the job...
[2025-01-09 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:43:04] Production.INFO: ==6642== Lock acquired, processing the job...
[2025-01-09 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:43:04] Production.INFO: ==6644== Lock acquired, processing the job...
[2025-01-09 01:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:43:04] Production.INFO: Account Balance Start.
[2025-01-09 01:43:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:43:04] Production.INFO: 117
[2025-01-09 01:43:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:43:04] Production.INFO: ==6636== Lock acquired, processing the job...
[2025-01-09 01:43:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:43:04] Production.INFO: ==6640== Lock acquired, processing the job...
[2025-01-09 01:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:43:04] Production.INFO: Total Charge 0
[2025-01-09 01:43:04] Production.INFO: CreateAllLog End
[2025-01-09 01:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:43:04] Production.INFO: ==6638== Releasing lock...
[2025-01-09 01:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:43:04] Production.INFO: ==6646== Lock acquired, processing the job...
[2025-01-09 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:43:04] Production.INFO: Account Balance End.
[2025-01-09 01:43:04] Production.ERROR: done
[2025-01-09 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:43:04] Production.INFO: ==6642== Releasing lock...
[2025-01-09 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:43:04] Production.INFO: count ==21
[2025-01-09 01:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:43:04] Production.INFO: count ==21
[2025-01-09 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206285') start
[2025-01-09 01:43:04] Production.ERROR: done
[2025-01-09 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206285') end
[2025-01-09 01:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:43:04] Production.INFO: 1
[2025-01-09 01:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:43:04] Production.INFO: ==6646== Releasing lock...
[2025-01-09 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:43:05
[end_date_ymd] => 2025-01-09 01:43:05
[RateCDR] => 1
)
[2025-01-09 01:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:43:05' and `end` < '2025-01-09 01:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:43:10] Production.ERROR: CronJobId end10
[2025-01-09 01:43:10] Production.INFO: ==6640== Releasing lock...
[2025-01-09 01:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:43:13] Production.INFO: call_cost start
[2025-01-09 01:43:13] Production.INFO: call_cost end
[2025-01-09 01:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:43:14] Production.INFO: ==6636== Releasing lock...
[2025-01-09 01:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:43:18] Production.INFO: count ==187
[2025-01-09 01:43:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:43:05 - End Time 2025-01-09 01:43:05
[2025-01-09 01:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206286', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206286', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206286', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206286', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:43:18] Production.INFO: ProcessCDR(1,14206286,1,1,2)
[2025-01-09 01:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206286', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206286', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:43:21] Production.INFO: ==6644== Releasing lock...
[2025-01-09 01:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:43:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:44:01] Production.INFO: ==6707== Lock acquired, processing the job...
[2025-01-09 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:44:01] Production.INFO: neon service started
[2025-01-09 06:44:01] Production.INFO: neon service started
[2025-01-09 06:44:01] Production.INFO: ==6707== Releasing lock...
[2025-01-09 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:44:02] Production.INFO: ==6709== Lock acquired, processing the job...
[2025-01-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:44:02] Production.INFO: ==6711== Lock acquired, processing the job...
[2025-01-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:44:02] Production.INFO: ==6711== Releasing lock...
[2025-01-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:44:02] Production.INFO: ==6709== Releasing lock...
[2025-01-09 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:44:03] Production.INFO: ==6714== Lock acquired, processing the job...
[2025-01-09 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:44:03] Production.INFO: ==6718== Lock acquired, processing the job...
[2025-01-09 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:44:03] Production.INFO: ==6724== Lock acquired, processing the job...
[2025-01-09 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:44:03] Production.INFO: count ==21
[2025-01-09 01:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:44:03] Production.INFO: count ==21
[2025-01-09 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206288') start
[2025-01-09 01:44:03] Production.INFO: ==6716== Lock acquired, processing the job...
[2025-01-09 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:44:04] Production.INFO: ==6720== Lock acquired, processing the job...
[2025-01-09 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206288') end
[2025-01-09 01:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:44:04] Production.INFO: 1
[2025-01-09 01:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:44:04] Production.INFO: ==6722== Lock acquired, processing the job...
[2025-01-09 01:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:44:04] Production.INFO: ==6724== Releasing lock...
[2025-01-09 01:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:44:04] Production.INFO: Account Balance Start.
[2025-01-09 01:44:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:44:04] Production.INFO: 117
[2025-01-09 01:44:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:44:04] Production.INFO: ==6716== Releasing lock...
[2025-01-09 01:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:44:04] Production.ERROR: done
[2025-01-09 01:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:44:04] Production.INFO: Total Charge 0
[2025-01-09 01:44:04] Production.INFO: CreateAllLog End
[2025-01-09 01:44:04] Production.ERROR: done
[2025-01-09 01:44:05] Production.INFO: Account Balance End.
[2025-01-09 01:44:05] Production.ERROR: CronJobId end 12
[2025-01-09 01:44:05] Production.INFO: ==6720== Releasing lock...
[2025-01-09 01:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:44:05
[end_date_ymd] => 2025-01-09 01:44:05
[RateCDR] => 1
)
[2025-01-09 01:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:44:05' and `end` < '2025-01-09 01:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:44:10] Production.ERROR: CronJobId end10
[2025-01-09 01:44:10] Production.INFO: ==6718== Releasing lock...
[2025-01-09 01:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:44:13] Production.INFO: call_cost start
[2025-01-09 01:44:13] Production.INFO: call_cost end
[2025-01-09 01:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:44:14] Production.INFO: ==6714== Releasing lock...
[2025-01-09 01:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:44:19] Production.INFO: count ==187
[2025-01-09 01:44:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:44:05 - End Time 2025-01-09 01:44:05
[2025-01-09 01:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206291', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206291', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206291', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206291', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:44:19] Production.INFO: ProcessCDR(1,14206291,1,1,2)
[2025-01-09 01:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206291', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206291', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:44:22] Production.INFO: ==6722== Releasing lock...
[2025-01-09 01:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:44:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:45:01] Production.INFO: ==6787== Lock acquired, processing the job...
[2025-01-09 06:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:45:01] Production.INFO: neon service started
[2025-01-09 06:45:01] Production.INFO: neon service started
[2025-01-09 06:45:01] Production.INFO: ==6787== Releasing lock...
[2025-01-09 06:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:45:01] Production.INFO: ==6789== Lock acquired, processing the job...
[2025-01-09 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:45:02] Production.INFO: ==6791== Lock acquired, processing the job...
[2025-01-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:45:02] Production.INFO: ==6791== Releasing lock...
[2025-01-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:45:02] Production.INFO: ==6789== Releasing lock...
[2025-01-09 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:45:03] Production.INFO: ==6798== Lock acquired, processing the job...
[2025-01-09 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:45:03] Production.INFO: ==6794== Lock acquired, processing the job...
[2025-01-09 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:45:03] Production.INFO: ==6804== Lock acquired, processing the job...
[2025-01-09 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:45:03] Production.INFO: ==6796== Lock acquired, processing the job...
[2025-01-09 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:45:03] Production.INFO: ==6800== Lock acquired, processing the job...
[2025-01-09 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:45:03] Production.INFO: ==6802== Lock acquired, processing the job...
[2025-01-09 01:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:45:03] Production.INFO: count ==21
[2025-01-09 01:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:45:03] Production.INFO: count ==21
[2025-01-09 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206293') start
[2025-01-09 01:45:03] Production.INFO: Account Balance Start.
[2025-01-09 01:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:45:03] Production.INFO: 117
[2025-01-09 01:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:45:03] Production.INFO: Total Charge 0
[2025-01-09 01:45:03] Production.INFO: CreateAllLog End
[2025-01-09 01:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206293') end
[2025-01-09 01:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:45:03] Production.INFO: 1
[2025-01-09 01:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:45:03] Production.INFO: ==6796== Releasing lock...
[2025-01-09 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:45:03] Production.INFO: ==6804== Releasing lock...
[2025-01-09 01:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:45:03] Production.INFO: Account Balance End.
[2025-01-09 01:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:45:03] Production.INFO: ==6800== Releasing lock...
[2025-01-09 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:45:03] Production.ERROR: done
[2025-01-09 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:45:04] Production.ERROR: done
[2025-01-09 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:45:05
[end_date_ymd] => 2025-01-09 01:45:05
[RateCDR] => 1
)
[2025-01-09 01:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:45:05' and `end` < '2025-01-09 01:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:45:10] Production.ERROR: CronJobId end10
[2025-01-09 01:45:10] Production.INFO: ==6798== Releasing lock...
[2025-01-09 01:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:45:13] Production.INFO: call_cost start
[2025-01-09 01:45:13] Production.INFO: call_cost end
[2025-01-09 01:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:45:14] Production.INFO: ==6794== Releasing lock...
[2025-01-09 01:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:45:18] Production.INFO: count ==187
[2025-01-09 01:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:45:05 - End Time 2025-01-09 01:45:05
[2025-01-09 01:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206296', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206296', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206296', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206296', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:45:18] Production.INFO: ProcessCDR(1,14206296,1,1,2)
[2025-01-09 01:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206296', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206296', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:45:21] Production.INFO: ==6802== Releasing lock...
[2025-01-09 01:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:45:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:46:01] Production.INFO: ==6862== Lock acquired, processing the job...
[2025-01-09 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:46:01] Production.INFO: neon service started
[2025-01-09 06:46:01] Production.INFO: neon service started
[2025-01-09 06:46:01] Production.INFO: ==6862== Releasing lock...
[2025-01-09 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:46:02] Production.INFO: ==6865== Lock acquired, processing the job...
[2025-01-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:46:02] Production.INFO: ==6867== Lock acquired, processing the job...
[2025-01-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 01:46:02] Production.INFO: ==6865== Releasing lock...
[2025-01-09 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:46:02] Production.INFO: ==6867== Releasing lock...
[2025-01-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:46:03] Production.INFO: ==6869== Lock acquired, processing the job...
[2025-01-09 01:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:46:03] Production.INFO: ==6873== Lock acquired, processing the job...
[2025-01-09 01:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:46:03] Production.INFO: ==6875== Lock acquired, processing the job...
[2025-01-09 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:46:03] Production.INFO: ==6877== Lock acquired, processing the job...
[2025-01-09 01:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:46:03] Production.INFO: ==6871== Lock acquired, processing the job...
[2025-01-09 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:46:03] Production.INFO: Account Balance Start.
[2025-01-09 01:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:46:03] Production.INFO: ==6879== Lock acquired, processing the job...
[2025-01-09 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:46:03] Production.INFO: 117
[2025-01-09 01:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:46:03] Production.INFO: Total Charge 0
[2025-01-09 01:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:46:03] Production.INFO: CreateAllLog End
[2025-01-09 01:46:03] Production.INFO: count ==21
[2025-01-09 01:46:03] Production.ERROR: done
[2025-01-09 01:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:46:03] Production.INFO: count ==21
[2025-01-09 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206300') start
[2025-01-09 01:46:03] Production.INFO: ==6871== Releasing lock...
[2025-01-09 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:46:04] Production.ERROR: done
[2025-01-09 01:46:04] Production.INFO: Account Balance End.
[2025-01-09 01:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206300') end
[2025-01-09 01:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:46:04] Production.INFO: 1
[2025-01-09 01:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:46:04] Production.INFO: ==6875== Releasing lock...
[2025-01-09 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:46:04] Production.INFO: ==6879== Releasing lock...
[2025-01-09 01:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:46:04
[end_date_ymd] => 2025-01-09 01:46:04
[RateCDR] => 1
)
[2025-01-09 01:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:46:04' and `end` < '2025-01-09 01:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:46:11] Production.ERROR: CronJobId end10
[2025-01-09 01:46:11] Production.INFO: ==6873== Releasing lock...
[2025-01-09 01:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:46:12] Production.INFO: call_cost start
[2025-01-09 01:46:12] Production.INFO: call_cost end
[2025-01-09 01:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:46:13] Production.INFO: ==6869== Releasing lock...
[2025-01-09 01:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:46:18] Production.INFO: count ==187
[2025-01-09 01:46:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:46:04 - End Time 2025-01-09 01:46:04
[2025-01-09 01:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206301', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206301', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206301', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206301', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:46:18] Production.INFO: ProcessCDR(1,14206301,1,1,2)
[2025-01-09 01:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206301,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206301,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206301', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206301', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:46:21] Production.INFO: ==6877== Releasing lock...
[2025-01-09 01:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:46:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:47:02] Production.INFO: ==6939== Lock acquired, processing the job...
[2025-01-09 06:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:47:02] Production.INFO: neon service started
[2025-01-09 06:47:02] Production.INFO: neon service started
[2025-01-09 06:47:02] Production.INFO: ==6939== Releasing lock...
[2025-01-09 06:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:47:02] Production.INFO: ==6942== Lock acquired, processing the job...
[2025-01-09 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:47:03] Production.INFO: ==6944== Lock acquired, processing the job...
[2025-01-09 06:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:47:03] Production.INFO: ==6944== Releasing lock...
[2025-01-09 06:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:47:03] Production.INFO: ==6942== Releasing lock...
[2025-01-09 01:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:47:04] Production.INFO: ==6948== Lock acquired, processing the job...
[2025-01-09 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:47:04] Production.INFO: ==6950== Lock acquired, processing the job...
[2025-01-09 01:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:47:04] Production.INFO: ==6956== Lock acquired, processing the job...
[2025-01-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:47:04] Production.INFO: ==6948== Releasing lock...
[2025-01-09 01:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:47:04] Production.INFO: ==6952== Lock acquired, processing the job...
[2025-01-09 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:47:04] Production.INFO: ==6946== Lock acquired, processing the job...
[2025-01-09 01:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:47:04] Production.INFO: ==6954== Lock acquired, processing the job...
[2025-01-09 01:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:47:04] Production.INFO: Account Balance Start.
[2025-01-09 01:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:47:04] Production.INFO: 117
[2025-01-09 01:47:04] Production.INFO: count ==21
[2025-01-09 01:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:47:04] Production.INFO: count ==21
[2025-01-09 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206303') start
[2025-01-09 01:47:04] Production.INFO: Total Charge 0
[2025-01-09 01:47:04] Production.INFO: CreateAllLog End
[2025-01-09 01:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206303') end
[2025-01-09 01:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:47:04] Production.INFO: 1
[2025-01-09 01:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:47:04] Production.ERROR: done
[2025-01-09 01:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:47:04] Production.INFO: ==6956== Releasing lock...
[2025-01-09 01:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:47:04] Production.INFO: Account Balance End.
[2025-01-09 01:47:05] Production.ERROR: done
[2025-01-09 01:47:05] Production.ERROR: CronJobId end 12
[2025-01-09 01:47:05] Production.INFO: ==6952== Releasing lock...
[2025-01-09 01:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:47:05
[end_date_ymd] => 2025-01-09 01:47:05
[RateCDR] => 1
)
[2025-01-09 01:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:47:05' and `end` < '2025-01-09 01:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:47:11] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-09 01:47:11] Production.ERROR: CronJobId end10
[2025-01-09 01:47:11] Production.INFO: ==6950== Releasing lock...
[2025-01-09 01:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:47:14] Production.INFO: call_cost start
[2025-01-09 01:47:14] Production.INFO: call_cost end
[2025-01-09 01:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:47:15] Production.INFO: ==6946== Releasing lock...
[2025-01-09 01:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:47:19] Production.INFO: count ==187
[2025-01-09 01:47:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:47:05 - End Time 2025-01-09 01:47:05
[2025-01-09 01:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206306', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206306', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206306', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206306', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:47:19] Production.INFO: ProcessCDR(1,14206306,1,1,2)
[2025-01-09 01:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206306,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206306,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206306', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206306', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:47:22] Production.INFO: ==6954== Releasing lock...
[2025-01-09 01:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:47:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:48:01] Production.INFO: ==7018== Lock acquired, processing the job...
[2025-01-09 06:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:48:01] Production.INFO: neon service started
[2025-01-09 06:48:01] Production.INFO: neon service started
[2025-01-09 06:48:01] Production.INFO: ==7018== Releasing lock...
[2025-01-09 06:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:48:02] Production.INFO: ==7020== Lock acquired, processing the job...
[2025-01-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:48:02] Production.INFO: ==7020== Releasing lock...
[2025-01-09 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:48:02] Production.INFO: ==7022== Lock acquired, processing the job...
[2025-01-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:48:02] Production.INFO: ==7022== Releasing lock...
[2025-01-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:48:03] Production.INFO: ==7033== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:48:03] Production.INFO: ==7035== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:48:03] Production.INFO: ==7025== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:48:03] Production.INFO: ==7027== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:48:03] Production.INFO: ==7029== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:48:03] Production.INFO: ==7031== Lock acquired, processing the job...
[2025-01-09 01:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:48:03] Production.INFO: count ==21
[2025-01-09 01:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:48:03] Production.INFO: count ==21
[2025-01-09 01:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206307') start
[2025-01-09 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:48:03] Production.INFO: Account Balance Start.
[2025-01-09 01:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:48:03] Production.INFO: 117
[2025-01-09 01:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206307') end
[2025-01-09 01:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:48:03] Production.INFO: 1
[2025-01-09 01:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:48:03] Production.INFO: ==7035== Releasing lock...
[2025-01-09 01:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:48:04] Production.INFO: Total Charge 0
[2025-01-09 01:48:04] Production.ERROR: done
[2025-01-09 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:48:04] Production.INFO: CreateAllLog End
[2025-01-09 01:48:04] Production.ERROR: done
[2025-01-09 01:48:04] Production.INFO: Account Balance End.
[2025-01-09 01:48:04] Production.INFO: ==7027== Releasing lock...
[2025-01-09 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:48:04] Production.INFO: ==7031== Releasing lock...
[2025-01-09 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:48:05
[end_date_ymd] => 2025-01-09 01:48:05
[RateCDR] => 1
)
[2025-01-09 01:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:48:05' and `end` < '2025-01-09 01:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:48:11] Production.ERROR: CronJobId end10
[2025-01-09 01:48:11] Production.INFO: ==7029== Releasing lock...
[2025-01-09 01:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:48:13] Production.INFO: call_cost start
[2025-01-09 01:48:13] Production.INFO: call_cost end
[2025-01-09 01:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:48:13] Production.INFO: ==7025== Releasing lock...
[2025-01-09 01:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:48:19] Production.INFO: count ==187
[2025-01-09 01:48:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:48:05 - End Time 2025-01-09 01:48:05
[2025-01-09 01:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206311', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206311', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206311', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206311', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:48:19] Production.INFO: ProcessCDR(1,14206311,1,1,2)
[2025-01-09 01:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206311,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206311,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206311', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206311', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:48:22] Production.INFO: ==7033== Releasing lock...
[2025-01-09 01:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:48:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:49:02] Production.INFO: ==7096== Lock acquired, processing the job...
[2025-01-09 06:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:49:02] Production.INFO: neon service started
[2025-01-09 06:49:02] Production.INFO: neon service started
[2025-01-09 06:49:02] Production.INFO: ==7096== Releasing lock...
[2025-01-09 06:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:49:02] Production.INFO: ==7100== Lock acquired, processing the job...
[2025-01-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:49:02] Production.INFO: ==7100== Releasing lock...
[2025-01-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:49:02] Production.INFO: ==7098== Lock acquired, processing the job...
[2025-01-09 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:49:03] Production.INFO: ==7098== Releasing lock...
[2025-01-09 01:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:49:03] Production.INFO: ==7107== Lock acquired, processing the job...
[2025-01-09 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:49:03] Production.INFO: ==7111== Lock acquired, processing the job...
[2025-01-09 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:49:03] Production.INFO: ==7103== Lock acquired, processing the job...
[2025-01-09 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:49:04] Production.INFO: ==7105== Lock acquired, processing the job...
[2025-01-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:49:04] Production.INFO: ==7109== Lock acquired, processing the job...
[2025-01-09 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:49:04] Production.INFO: ==7113== Lock acquired, processing the job...
[2025-01-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:49:04] Production.INFO: Account Balance Start.
[2025-01-09 01:49:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:49:04] Production.INFO: 117
[2025-01-09 01:49:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:49:04] Production.INFO: Total Charge 0
[2025-01-09 01:49:04] Production.INFO: CreateAllLog End
[2025-01-09 01:49:04] Production.ERROR: done
[2025-01-09 01:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:49:04] Production.INFO: count ==21
[2025-01-09 01:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:49:04] Production.INFO: count ==21
[2025-01-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206315') start
[2025-01-09 01:49:04] Production.ERROR: done
[2025-01-09 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206315') end
[2025-01-09 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:49:04] Production.INFO: 1
[2025-01-09 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:49:04] Production.INFO: Account Balance End.
[2025-01-09 01:49:04] Production.INFO: ==7105== Releasing lock...
[2025-01-09 01:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:49:04] Production.INFO: ==7109== Releasing lock...
[2025-01-09 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:49:04] Production.INFO: ==7113== Releasing lock...
[2025-01-09 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:49:05
[end_date_ymd] => 2025-01-09 01:49:05
[RateCDR] => 1
)
[2025-01-09 01:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:49:05' and `end` < '2025-01-09 01:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:49:11] Production.ERROR: CronJobId end10
[2025-01-09 01:49:11] Production.INFO: ==7107== Releasing lock...
[2025-01-09 01:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:49:14] Production.INFO: call_cost start
[2025-01-09 01:49:14] Production.INFO: call_cost end
[2025-01-09 01:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:49:14] Production.INFO: ==7103== Releasing lock...
[2025-01-09 01:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:49:19] Production.INFO: count ==187
[2025-01-09 01:49:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:49:05 - End Time 2025-01-09 01:49:05
[2025-01-09 01:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206316', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206316', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206316', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206316', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:49:19] Production.INFO: ProcessCDR(1,14206316,1,1,2)
[2025-01-09 01:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206316,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206316,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206316', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206316', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:49:22] Production.INFO: ==7111== Releasing lock...
[2025-01-09 01:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:49:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 06:50:01] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-01-09 06:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:50:01] Production.INFO: neon service started
[2025-01-09 06:50:01] Production.INFO: neon service started
[2025-01-09 06:50:01] Production.INFO: ==7174== Releasing lock...
[2025-01-09 06:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:50:02] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-01-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:50:02] Production.INFO: ==7178== Releasing lock...
[2025-01-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:50:02] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-01-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:50:02] Production.INFO: ==7176== Releasing lock...
[2025-01-09 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:50:03] Production.INFO: ==7180== Lock acquired, processing the job...
[2025-01-09 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 01:50:03] Production.INFO: ==7180== Releasing lock...
[2025-01-09 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 01:50:03] Production.INFO: ==7186== Lock acquired, processing the job...
[2025-01-09 01:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:50:03] Production.INFO: ==7182== Lock acquired, processing the job...
[2025-01-09 01:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:50:03] Production.INFO: ==7191== Lock acquired, processing the job...
[2025-01-09 01:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:50:03] Production.INFO: ==7184== Lock acquired, processing the job...
[2025-01-09 01:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:50:03] Production.INFO: ==7188== Lock acquired, processing the job...
[2025-01-09 01:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:50:04] Production.INFO: ==7195== Lock acquired, processing the job...
[2025-01-09 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:50:04] Production.INFO: ==7193== Lock acquired, processing the job...
[2025-01-09 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 01:50:04] Production.ERROR: done
[2025-01-09 01:50:04] Production.INFO: Account Balance Start.
[2025-01-09 01:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:50:04] Production.INFO: 117
[2025-01-09 01:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:50:04] Production.INFO: count ==21
[2025-01-09 01:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:50:04] Production.INFO: count ==21
[2025-01-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206320') start
[2025-01-09 01:50:04] Production.INFO: ==7184== Releasing lock...
[2025-01-09 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:50:04] Production.ERROR: done
[2025-01-09 01:50:04] Production.INFO: Total Charge 0
[2025-01-09 01:50:04] Production.INFO: CreateAllLog End
[2025-01-09 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206320') end
[2025-01-09 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:50:04] Production.INFO: 1
[2025-01-09 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:50:04] Production.INFO: Account Balance End.
[2025-01-09 01:50:04] Production.ERROR: done
[2025-01-09 01:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:50:04] Production.INFO: ==7188== Releasing lock...
[2025-01-09 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:50:04] Production.INFO: ==7195== Releasing lock...
[2025-01-09 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206322', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 01:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:50:05
[end_date_ymd] => 2025-01-09 01:50:05
[RateCDR] => 1
)
[2025-01-09 01:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:50:05' and `end` < '2025-01-09 01:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206322', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 01:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 01:50:08] Production.INFO: ProcessCDR(1,14206322,1,1,2)
[2025-01-09 01:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206322,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206322,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:50:08] Production.INFO: ==7193== Releasing lock...
[2025-01-09 01:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 01:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 01:50:11] Production.ERROR: CronJobId end10
[2025-01-09 01:50:11] Production.INFO: ==7186== Releasing lock...
[2025-01-09 01:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:50:14] Production.INFO: call_cost start
[2025-01-09 01:50:14] Production.INFO: call_cost end
[2025-01-09 01:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:50:15] Production.INFO: ==7182== Releasing lock...
[2025-01-09 01:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:50:19] Production.INFO: count ==189
[2025-01-09 01:50:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:50:05 - End Time 2025-01-09 01:50:05
[2025-01-09 01:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206321', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206321', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206321', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206321', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:50:19] Production.INFO: ProcessCDR(1,14206321,1,1,2)
[2025-01-09 01:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206321,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206321,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206321', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206321', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:50:22] Production.INFO: ==7191== Releasing lock...
[2025-01-09 01:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:50:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:51:02] Production.INFO: ==7292== Lock acquired, processing the job...
[2025-01-09 06:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:51:02] Production.INFO: neon service started
[2025-01-09 06:51:02] Production.INFO: neon service started
[2025-01-09 06:51:02] Production.INFO: ==7292== Releasing lock...
[2025-01-09 06:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:51:02] Production.INFO: ==7294== Lock acquired, processing the job...
[2025-01-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:51:02] Production.INFO: ==7294== Releasing lock...
[2025-01-09 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:51:02] Production.INFO: ==7296== Lock acquired, processing the job...
[2025-01-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:51:02] Production.INFO: ==7296== Releasing lock...
[2025-01-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:51:03] Production.INFO: ==7304== Lock acquired, processing the job...
[2025-01-09 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:51:03] Production.INFO: ==7300== Lock acquired, processing the job...
[2025-01-09 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:51:03] Production.INFO: ==7298== Lock acquired, processing the job...
[2025-01-09 01:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:51:03] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-01-09 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:51:03] Production.INFO: Account Balance Start.
[2025-01-09 01:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:51:03] Production.INFO: 117
[2025-01-09 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:51:03] Production.INFO: ==7302== Lock acquired, processing the job...
[2025-01-09 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:51:03] Production.INFO: Total Charge 0
[2025-01-09 01:51:03] Production.INFO: ==7308== Lock acquired, processing the job...
[2025-01-09 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:51:03] Production.INFO: CreateAllLog End
[2025-01-09 01:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:51:04] Production.ERROR: done
[2025-01-09 01:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:51:04] Production.INFO: count ==21
[2025-01-09 01:51:04] Production.INFO: ==7300== Releasing lock...
[2025-01-09 01:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:51:04] Production.ERROR: done
[2025-01-09 01:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:51:04] Production.INFO: count ==21
[2025-01-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206326') start
[2025-01-09 01:51:04] Production.INFO: Account Balance End.
[2025-01-09 01:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206326') end
[2025-01-09 01:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:51:04] Production.INFO: 1
[2025-01-09 01:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:51:04] Production.INFO: ==7304== Releasing lock...
[2025-01-09 01:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:51:04] Production.INFO: ==7308== Releasing lock...
[2025-01-09 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:51:05
[end_date_ymd] => 2025-01-09 01:51:05
[RateCDR] => 1
)
[2025-01-09 01:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:51:05' and `end` < '2025-01-09 01:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:51:11] Production.ERROR: CronJobId end10
[2025-01-09 01:51:11] Production.INFO: ==7302== Releasing lock...
[2025-01-09 01:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:51:13] Production.INFO: call_cost start
[2025-01-09 01:51:13] Production.INFO: call_cost end
[2025-01-09 01:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:51:14] Production.INFO: ==7298== Releasing lock...
[2025-01-09 01:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:51:18] Production.INFO: count ==189
[2025-01-09 01:51:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:51:05 - End Time 2025-01-09 01:51:05
[2025-01-09 01:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206327', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206327', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206327', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206327', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:51:18] Production.INFO: ProcessCDR(1,14206327,1,1,2)
[2025-01-09 01:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206327', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206327', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:51:22] Production.INFO: ==7306== Releasing lock...
[2025-01-09 01:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:51:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:52:01] Production.INFO: ==7367== Lock acquired, processing the job...
[2025-01-09 06:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:52:01] Production.INFO: neon service started
[2025-01-09 06:52:01] Production.INFO: neon service started
[2025-01-09 06:52:01] Production.INFO: ==7367== Releasing lock...
[2025-01-09 06:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:52:02] Production.INFO: ==7371== Lock acquired, processing the job...
[2025-01-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:52:02] Production.INFO: ==7371== Releasing lock...
[2025-01-09 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:52:02] Production.INFO: ==7369== Lock acquired, processing the job...
[2025-01-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:52:02] Production.INFO: ==7369== Releasing lock...
[2025-01-09 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:52:03] Production.INFO: ==7374== Lock acquired, processing the job...
[2025-01-09 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:52:03] Production.INFO: ==7378== Lock acquired, processing the job...
[2025-01-09 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:52:03] Production.INFO: ==7376== Lock acquired, processing the job...
[2025-01-09 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:52:03] Production.INFO: ==7380== Lock acquired, processing the job...
[2025-01-09 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:52:03] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-01-09 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:52:03] Production.INFO: Account Balance Start.
[2025-01-09 01:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:52:03] Production.INFO: 117
[2025-01-09 01:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:52:03] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-01-09 01:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:52:03] Production.INFO: Total Charge 0
[2025-01-09 01:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:52:03] Production.INFO: ==7376== Releasing lock...
[2025-01-09 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:52:03] Production.INFO: CreateAllLog End
[2025-01-09 01:52:03] Production.INFO: count ==21
[2025-01-09 01:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:52:03] Production.INFO: count ==21
[2025-01-09 01:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206331') start
[2025-01-09 01:52:03] Production.INFO: Account Balance End.
[2025-01-09 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206331') end
[2025-01-09 01:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:52:04] Production.INFO: 1
[2025-01-09 01:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:52:04] Production.ERROR: done
[2025-01-09 01:52:04] Production.INFO: ==7384== Releasing lock...
[2025-01-09 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:52:04] Production.INFO: ==7380== Releasing lock...
[2025-01-09 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:52:04] Production.ERROR: done
[2025-01-09 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:52:05
[end_date_ymd] => 2025-01-09 01:52:05
[RateCDR] => 1
)
[2025-01-09 01:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:52:05' and `end` < '2025-01-09 01:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:52:10] Production.ERROR: CronJobId end10
[2025-01-09 01:52:10] Production.INFO: ==7378== Releasing lock...
[2025-01-09 01:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:52:13] Production.INFO: call_cost start
[2025-01-09 01:52:13] Production.INFO: call_cost end
[2025-01-09 01:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:52:13] Production.INFO: ==7374== Releasing lock...
[2025-01-09 01:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:52:18] Production.INFO: count ==189
[2025-01-09 01:52:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:52:05 - End Time 2025-01-09 01:52:05
[2025-01-09 01:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206332', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206332', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206332', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206332', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:52:18] Production.INFO: ProcessCDR(1,14206332,1,1,2)
[2025-01-09 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206332', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206332', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:52:21] Production.INFO: ==7382== Releasing lock...
[2025-01-09 01:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:52:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:53:02] Production.INFO: ==7442== Lock acquired, processing the job...
[2025-01-09 06:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:53:02] Production.INFO: neon service started
[2025-01-09 06:53:02] Production.INFO: neon service started
[2025-01-09 06:53:02] Production.INFO: ==7442== Releasing lock...
[2025-01-09 06:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:53:03] Production.INFO: ==7444== Lock acquired, processing the job...
[2025-01-09 01:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:53:03] Production.INFO: ==7446== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:53:03] Production.INFO: ==7446== Releasing lock...
[2025-01-09 06:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:53:03] Production.INFO: ==7444== Releasing lock...
[2025-01-09 01:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:53:04] Production.INFO: ==7449== Lock acquired, processing the job...
[2025-01-09 01:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:53:04] Production.INFO: ==7455== Lock acquired, processing the job...
[2025-01-09 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:53:04] Production.INFO: ==7457== Lock acquired, processing the job...
[2025-01-09 01:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:53:04] Production.INFO: Account Balance Start.
[2025-01-09 01:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:53:04] Production.INFO: 117
[2025-01-09 01:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:53:04] Production.INFO: ==7451== Lock acquired, processing the job...
[2025-01-09 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:53:04] Production.INFO: ==7453== Lock acquired, processing the job...
[2025-01-09 01:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:53:04] Production.INFO: ==7459== Lock acquired, processing the job...
[2025-01-09 01:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:53:04] Production.INFO: Total Charge 0
[2025-01-09 01:53:04] Production.INFO: CreateAllLog End
[2025-01-09 01:53:04] Production.ERROR: done
[2025-01-09 01:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:53:04] Production.INFO: Account Balance End.
[2025-01-09 01:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:53:04] Production.INFO: ==7455== Releasing lock...
[2025-01-09 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:53:04] Production.INFO: count ==21
[2025-01-09 01:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:53:04] Production.INFO: count ==21
[2025-01-09 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206336') start
[2025-01-09 01:53:04] Production.INFO: ==7451== Releasing lock...
[2025-01-09 01:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:53:04] Production.ERROR: done
[2025-01-09 01:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206336') end
[2025-01-09 01:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:53:04] Production.INFO: 1
[2025-01-09 01:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:53:05] Production.INFO: ==7459== Releasing lock...
[2025-01-09 01:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:53:05
[end_date_ymd] => 2025-01-09 01:53:05
[RateCDR] => 1
)
[2025-01-09 01:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:53:05' and `end` < '2025-01-09 01:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:53:11] Production.ERROR: CronJobId end10
[2025-01-09 01:53:11] Production.INFO: ==7453== Releasing lock...
[2025-01-09 01:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:53:13] Production.INFO: call_cost start
[2025-01-09 01:53:13] Production.INFO: call_cost end
[2025-01-09 01:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:53:14] Production.INFO: ==7449== Releasing lock...
[2025-01-09 01:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:53:19] Production.INFO: count ==188
[2025-01-09 01:53:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:53:05 - End Time 2025-01-09 01:53:05
[2025-01-09 01:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206337', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206337', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206337', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206337', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:53:19] Production.INFO: ProcessCDR(1,14206337,1,1,2)
[2025-01-09 01:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206337', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206337', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:53:23] Production.INFO: ==7457== Releasing lock...
[2025-01-09 01:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:53:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:54:01] Production.INFO: ==7520== Lock acquired, processing the job...
[2025-01-09 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:54:01] Production.INFO: neon service started
[2025-01-09 06:54:01] Production.INFO: neon service started
[2025-01-09 06:54:01] Production.INFO: ==7520== Releasing lock...
[2025-01-09 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:54:02] Production.INFO: ==7522== Lock acquired, processing the job...
[2025-01-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:54:02] Production.INFO: ==7522== Releasing lock...
[2025-01-09 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:54:02] Production.INFO: ==7524== Lock acquired, processing the job...
[2025-01-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:54:02] Production.INFO: ==7524== Releasing lock...
[2025-01-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:54:03] Production.INFO: ==7526== Lock acquired, processing the job...
[2025-01-09 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:54:03] Production.INFO: ==7528== Lock acquired, processing the job...
[2025-01-09 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:54:03] Production.INFO: ==7532== Lock acquired, processing the job...
[2025-01-09 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:54:03] Production.INFO: Account Balance Start.
[2025-01-09 01:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:54:03] Production.INFO: 117
[2025-01-09 01:54:03] Production.INFO: ==7528== Releasing lock...
[2025-01-09 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:54:03] Production.INFO: ==7530== Lock acquired, processing the job...
[2025-01-09 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:54:03] Production.INFO: Total Charge 0
[2025-01-09 01:54:03] Production.INFO: ==7534== Lock acquired, processing the job...
[2025-01-09 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:54:03] Production.INFO: ==7537== Lock acquired, processing the job...
[2025-01-09 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:54:03] Production.INFO: CreateAllLog End
[2025-01-09 01:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:54:03] Production.INFO: Account Balance End.
[2025-01-09 01:54:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:54:03] Production.INFO: ==7532== Releasing lock...
[2025-01-09 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:54:04] Production.INFO: count ==21
[2025-01-09 01:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:54:04] Production.INFO: count ==21
[2025-01-09 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206341') start
[2025-01-09 01:54:04] Production.ERROR: done
[2025-01-09 01:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:54:04] Production.ERROR: done
[2025-01-09 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206341') end
[2025-01-09 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:54:04] Production.INFO: 1
[2025-01-09 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:54:04] Production.INFO: ==7537== Releasing lock...
[2025-01-09 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:54:05
[end_date_ymd] => 2025-01-09 01:54:05
[RateCDR] => 1
)
[2025-01-09 01:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:54:05' and `end` < '2025-01-09 01:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:54:11] Production.ERROR: CronJobId end10
[2025-01-09 01:54:11] Production.INFO: ==7530== Releasing lock...
[2025-01-09 01:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:54:13] Production.INFO: call_cost start
[2025-01-09 01:54:13] Production.INFO: call_cost end
[2025-01-09 01:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:54:14] Production.INFO: ==7526== Releasing lock...
[2025-01-09 01:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:54:18] Production.INFO: count ==187
[2025-01-09 01:54:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:54:05 - End Time 2025-01-09 01:54:05
[2025-01-09 01:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206342', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206342', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206342', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206342', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:54:18] Production.INFO: ProcessCDR(1,14206342,1,1,2)
[2025-01-09 01:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206342', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206342', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:54:21] Production.INFO: ==7534== Releasing lock...
[2025-01-09 01:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:54:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:55:01] Production.INFO: ==7594== Lock acquired, processing the job...
[2025-01-09 06:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:55:01] Production.INFO: neon service started
[2025-01-09 06:55:01] Production.INFO: neon service started
[2025-01-09 06:55:01] Production.INFO: ==7594== Releasing lock...
[2025-01-09 06:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:55:01] Production.INFO: ==7598== Lock acquired, processing the job...
[2025-01-09 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:55:01] Production.INFO: ==7598== Releasing lock...
[2025-01-09 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:55:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:55:01] Production.INFO: ==7596== Lock acquired, processing the job...
[2025-01-09 01:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:55:02] Production.INFO: ==7596== Releasing lock...
[2025-01-09 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:55:02] Production.INFO: ==7601== Lock acquired, processing the job...
[2025-01-09 01:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:55:03] Production.INFO: ==7607== Lock acquired, processing the job...
[2025-01-09 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:55:03] Production.INFO: ==7603== Lock acquired, processing the job...
[2025-01-09 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:55:03] Production.INFO: ==7609== Lock acquired, processing the job...
[2025-01-09 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:55:03] Production.INFO: ==7605== Lock acquired, processing the job...
[2025-01-09 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:55:03] Production.INFO: Account Balance Start.
[2025-01-09 01:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:55:03] Production.INFO: 117
[2025-01-09 01:55:03] Production.INFO: ==7611== Lock acquired, processing the job...
[2025-01-09 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:55:03] Production.INFO: Total Charge 0
[2025-01-09 01:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:55:03] Production.INFO: CreateAllLog End
[2025-01-09 01:55:03] Production.INFO: count ==21
[2025-01-09 01:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:55:03] Production.INFO: count ==21
[2025-01-09 01:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206346') start
[2025-01-09 01:55:03] Production.ERROR: done
[2025-01-09 01:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:55:03] Production.INFO: ==7603== Releasing lock...
[2025-01-09 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:55:03] Production.ERROR: done
[2025-01-09 01:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206346') end
[2025-01-09 01:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:55:03] Production.INFO: 1
[2025-01-09 01:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:55:03] Production.INFO: Account Balance End.
[2025-01-09 01:55:03] Production.INFO: ==7611== Releasing lock...
[2025-01-09 01:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:55:04] Production.INFO: ==7607== Releasing lock...
[2025-01-09 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:55:04
[end_date_ymd] => 2025-01-09 01:55:04
[RateCDR] => 1
)
[2025-01-09 01:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:55:04' and `end` < '2025-01-09 01:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:55:11] Production.ERROR: CronJobId end10
[2025-01-09 01:55:11] Production.INFO: ==7605== Releasing lock...
[2025-01-09 01:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:55:12] Production.INFO: call_cost start
[2025-01-09 01:55:12] Production.INFO: call_cost end
[2025-01-09 01:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:55:13] Production.INFO: ==7601== Releasing lock...
[2025-01-09 01:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:55:17] Production.INFO: count ==187
[2025-01-09 01:55:17] Production.ERROR: pbx CDR StartTime 2025-01-08 22:55:04 - End Time 2025-01-09 01:55:04
[2025-01-09 01:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206347', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206347', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206347', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206347', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:55:17] Production.INFO: ProcessCDR(1,14206347,1,1,2)
[2025-01-09 01:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206347', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206347', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:55:21] Production.INFO: ==7609== Releasing lock...
[2025-01-09 01:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:55:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:56:01] Production.INFO: ==7673== Lock acquired, processing the job...
[2025-01-09 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:56:01] Production.INFO: neon service started
[2025-01-09 06:56:01] Production.INFO: neon service started
[2025-01-09 06:56:01] Production.INFO: ==7673== Releasing lock...
[2025-01-09 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:56:02] Production.INFO: ==7675== Lock acquired, processing the job...
[2025-01-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:56:02] Production.INFO: ==7675== Releasing lock...
[2025-01-09 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:56:02] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-01-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:56:02] Production.INFO: ==7677== Releasing lock...
[2025-01-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:56:03] Production.INFO: ==7680== Lock acquired, processing the job...
[2025-01-09 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:56:03] Production.INFO: ==7682== Lock acquired, processing the job...
[2025-01-09 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:56:03] Production.INFO: ==7690== Lock acquired, processing the job...
[2025-01-09 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:56:03] Production.INFO: ==7684== Lock acquired, processing the job...
[2025-01-09 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:56:03] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-01-09 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:56:03] Production.INFO: count ==21
[2025-01-09 01:56:03] Production.INFO: ==7688== Lock acquired, processing the job...
[2025-01-09 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:56:03] Production.INFO: count ==21
[2025-01-09 01:56:03] Production.INFO: Account Balance Start.
[2025-01-09 01:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:56:03] Production.INFO: 117
[2025-01-09 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206349') start
[2025-01-09 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206349') end
[2025-01-09 01:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:56:03] Production.INFO: 1
[2025-01-09 01:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:56:03] Production.INFO: Total Charge 0
[2025-01-09 01:56:03] Production.INFO: ==7682== Releasing lock...
[2025-01-09 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:56:04] Production.INFO: ==7690== Releasing lock...
[2025-01-09 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:56:04] Production.INFO: CreateAllLog End
[2025-01-09 01:56:04] Production.ERROR: done
[2025-01-09 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:56:04] Production.INFO: Account Balance End.
[2025-01-09 01:56:04] Production.ERROR: done
[2025-01-09 01:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:56:04] Production.INFO: ==7686== Releasing lock...
[2025-01-09 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:56:05
[end_date_ymd] => 2025-01-09 01:56:05
[RateCDR] => 1
)
[2025-01-09 01:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:56:05' and `end` < '2025-01-09 01:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:56:10] Production.ERROR: CronJobId end10
[2025-01-09 01:56:10] Production.INFO: ==7684== Releasing lock...
[2025-01-09 01:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:56:13] Production.INFO: call_cost start
[2025-01-09 01:56:13] Production.INFO: call_cost end
[2025-01-09 01:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:56:13] Production.INFO: ==7680== Releasing lock...
[2025-01-09 01:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:56:18] Production.INFO: count ==187
[2025-01-09 01:56:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:56:05 - End Time 2025-01-09 01:56:05
[2025-01-09 01:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206352', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206352', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206352', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206352', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:56:18] Production.INFO: ProcessCDR(1,14206352,1,1,2)
[2025-01-09 01:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206352,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206352,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206352', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206352', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:56:21] Production.INFO: ==7688== Releasing lock...
[2025-01-09 01:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:56:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:57:02] Production.INFO: ==7750== Lock acquired, processing the job...
[2025-01-09 06:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:57:02] Production.INFO: neon service started
[2025-01-09 06:57:02] Production.INFO: neon service started
[2025-01-09 06:57:02] Production.INFO: ==7750== Releasing lock...
[2025-01-09 06:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:57:02] Production.INFO: ==7754== Lock acquired, processing the job...
[2025-01-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:57:02] Production.INFO: ==7754== Releasing lock...
[2025-01-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:57:02] Production.INFO: ==7752== Lock acquired, processing the job...
[2025-01-09 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:57:03] Production.INFO: ==7752== Releasing lock...
[2025-01-09 01:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:57:03] Production.INFO: ==7760== Lock acquired, processing the job...
[2025-01-09 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:57:04] Production.INFO: ==7764== Lock acquired, processing the job...
[2025-01-09 01:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:57:04] Production.INFO: ==7756== Lock acquired, processing the job...
[2025-01-09 01:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:57:04] Production.INFO: ==7758== Lock acquired, processing the job...
[2025-01-09 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:57:04] Production.INFO: ==7762== Lock acquired, processing the job...
[2025-01-09 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:57:04] Production.INFO: ==7767== Lock acquired, processing the job...
[2025-01-09 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:57:04] Production.ERROR: done
[2025-01-09 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:57:04] Production.INFO: Account Balance Start.
[2025-01-09 01:57:04] Production.INFO: CreateAllLog Start
[2025-01-09 01:57:04] Production.INFO: 117
[2025-01-09 01:57:04] Production.INFO: Date 2025-01-08
[2025-01-09 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:57:04] Production.INFO: count ==21
[2025-01-09 01:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:57:04] Production.INFO: count ==21
[2025-01-09 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206356') start
[2025-01-09 01:57:04] Production.INFO: Total Charge 0
[2025-01-09 01:57:04] Production.ERROR: done
[2025-01-09 01:57:04] Production.INFO: CreateAllLog End
[2025-01-09 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206356') end
[2025-01-09 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:57:04] Production.INFO: 1
[2025-01-09 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:57:04] Production.INFO: Account Balance End.
[2025-01-09 01:57:04] Production.INFO: ==7767== Releasing lock...
[2025-01-09 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:57:04] Production.INFO: ==7758== Releasing lock...
[2025-01-09 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:57:04] Production.INFO: ==7762== Releasing lock...
[2025-01-09 01:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:57:05
[end_date_ymd] => 2025-01-09 01:57:05
[RateCDR] => 1
)
[2025-01-09 01:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:57:05' and `end` < '2025-01-09 01:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:57:11] Production.ERROR: CronJobId end10
[2025-01-09 01:57:11] Production.INFO: ==7760== Releasing lock...
[2025-01-09 01:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:57:13] Production.INFO: call_cost start
[2025-01-09 01:57:13] Production.INFO: call_cost end
[2025-01-09 01:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:57:14] Production.INFO: ==7756== Releasing lock...
[2025-01-09 01:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:57:18] Production.INFO: count ==187
[2025-01-09 01:57:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:57:05 - End Time 2025-01-09 01:57:05
[2025-01-09 01:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206357', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206357', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206357', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206357', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:57:18] Production.INFO: ProcessCDR(1,14206357,1,1,2)
[2025-01-09 01:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206357,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206357,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206357', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206357', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:57:22] Production.INFO: ==7764== Releasing lock...
[2025-01-09 01:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:57:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:58:01] Production.INFO: ==7828== Lock acquired, processing the job...
[2025-01-09 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:58:01] Production.INFO: neon service started
[2025-01-09 06:58:01] Production.INFO: neon service started
[2025-01-09 06:58:01] Production.INFO: ==7828== Releasing lock...
[2025-01-09 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:58:02] Production.INFO: ==7832== Lock acquired, processing the job...
[2025-01-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:58:02] Production.INFO: ==7832== Releasing lock...
[2025-01-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:58:02] Production.INFO: ==7830== Lock acquired, processing the job...
[2025-01-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:58:02] Production.INFO: ==7830== Releasing lock...
[2025-01-09 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 01:58:03] Production.INFO: ==7841== Lock acquired, processing the job...
[2025-01-09 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:58:03] Production.INFO: ==7845== Lock acquired, processing the job...
[2025-01-09 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:58:03] Production.INFO: Account Balance Start.
[2025-01-09 01:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:58:03] Production.INFO: 117
[2025-01-09 01:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:58:03] Production.INFO: ==7835== Lock acquired, processing the job...
[2025-01-09 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:58:03] Production.INFO: count ==21
[2025-01-09 01:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:58:03] Production.INFO: count ==21
[2025-01-09 01:58:03] Production.INFO: ==7837== Lock acquired, processing the job...
[2025-01-09 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206359') start
[2025-01-09 01:58:03] Production.INFO: ==7843== Lock acquired, processing the job...
[2025-01-09 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:58:03] Production.INFO: ==7839== Lock acquired, processing the job...
[2025-01-09 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:58:03] Production.INFO: Total Charge 0
[2025-01-09 01:58:03] Production.INFO: CreateAllLog End
[2025-01-09 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206359') end
[2025-01-09 01:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:58:03] Production.INFO: 1
[2025-01-09 01:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:58:03] Production.INFO: Account Balance End.
[2025-01-09 01:58:03] Production.INFO: ==7845== Releasing lock...
[2025-01-09 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:58:03] Production.ERROR: CronJobId end 12
[2025-01-09 01:58:03] Production.INFO: ==7841== Releasing lock...
[2025-01-09 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:58:03] Production.INFO: ==7837== Releasing lock...
[2025-01-09 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:58:04] Production.ERROR: done
[2025-01-09 01:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:58:04] Production.ERROR: done
[2025-01-09 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:58:05
[end_date_ymd] => 2025-01-09 01:58:05
[RateCDR] => 1
)
[2025-01-09 01:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:58:05' and `end` < '2025-01-09 01:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:58:11] Production.ERROR: CronJobId end10
[2025-01-09 01:58:11] Production.INFO: ==7839== Releasing lock...
[2025-01-09 01:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:58:13] Production.INFO: call_cost start
[2025-01-09 01:58:13] Production.INFO: call_cost end
[2025-01-09 01:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:58:14] Production.INFO: ==7835== Releasing lock...
[2025-01-09 01:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:58:18] Production.INFO: count ==187
[2025-01-09 01:58:18] Production.ERROR: pbx CDR StartTime 2025-01-08 22:58:05 - End Time 2025-01-09 01:58:05
[2025-01-09 01:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206362', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206362', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206362', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206362', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:58:18] Production.INFO: ProcessCDR(1,14206362,1,1,2)
[2025-01-09 01:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206362,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206362,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206362', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206362', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:58:21] Production.INFO: ==7843== Releasing lock...
[2025-01-09 01:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:58:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 06:59:02] Production.INFO: ==7909== Lock acquired, processing the job...
[2025-01-09 06:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 06:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 06:59:02] Production.INFO: neon service started
[2025-01-09 06:59:02] Production.INFO: neon service started
[2025-01-09 06:59:02] Production.INFO: ==7909== Releasing lock...
[2025-01-09 06:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 06:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 01:59:02] Production.INFO: ==7912== Lock acquired, processing the job...
[2025-01-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 01:59:02] Production.INFO: ==7912== Releasing lock...
[2025-01-09 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:59:02] Production.INFO: ==7914== Lock acquired, processing the job...
[2025-01-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:59:03] Production.INFO: ==7914== Releasing lock...
[2025-01-09 06:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 06:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 01:59:03] Production.INFO: ==7926== Lock acquired, processing the job...
[2025-01-09 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 01:59:03] Production.INFO: ==7920== Lock acquired, processing the job...
[2025-01-09 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 01:59:03] Production.INFO: ==7918== Lock acquired, processing the job...
[2025-01-09 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 01:59:03] Production.INFO: ==7916== Lock acquired, processing the job...
[2025-01-09 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 01:59:03] Production.INFO: ==7922== Lock acquired, processing the job...
[2025-01-09 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 01:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 01:59:03] Production.INFO: ==7924== Lock acquired, processing the job...
[2025-01-09 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 01:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:59:03] Production.INFO: count ==21
[2025-01-09 01:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 01:59:03] Production.INFO: Account Balance Start.
[2025-01-09 01:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 01:59:03] Production.INFO: 117
[2025-01-09 01:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 01:59:03] Production.INFO: count ==21
[2025-01-09 01:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206363') start
[2025-01-09 01:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 01:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 01:59:04] Production.INFO: Date 2025-01-09
[2025-01-09 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 01:59:04] Production.INFO: Total Charge 0
[2025-01-09 01:59:04] Production.INFO: CreateAllLog End
[2025-01-09 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206363') end
[2025-01-09 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 01:59:04] Production.INFO: 1
[2025-01-09 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 01:59:04] Production.INFO: ==7926== Releasing lock...
[2025-01-09 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 01:59:04] Production.INFO: ==7918== Releasing lock...
[2025-01-09 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 01:59:04] Production.ERROR: done
[2025-01-09 01:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 01:59:04] Production.ERROR: done
[2025-01-09 01:59:04] Production.INFO: Account Balance End.
[2025-01-09 01:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 01:59:04] Production.INFO: ==7922== Releasing lock...
[2025-01-09 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 22:59:05
[end_date_ymd] => 2025-01-09 01:59:05
[RateCDR] => 1
)
[2025-01-09 01:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 22:59:05' and `end` < '2025-01-09 01:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 01:59:11] Production.ERROR: CronJobId end10
[2025-01-09 01:59:11] Production.INFO: ==7920== Releasing lock...
[2025-01-09 01:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 01:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 01:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 01:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 01:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 01:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 01:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 01:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 01:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 01:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 01:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 01:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 01:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 01:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 01:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 01:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 01:59:13] Production.INFO: call_cost start
[2025-01-09 01:59:13] Production.INFO: call_cost end
[2025-01-09 01:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 01:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 01:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 01:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 01:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 01:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 01:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 01:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 01:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 01:59:14] Production.INFO: ==7916== Releasing lock...
[2025-01-09 01:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 01:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 01:59:19] Production.INFO: count ==187
[2025-01-09 01:59:19] Production.ERROR: pbx CDR StartTime 2025-01-08 22:59:05 - End Time 2025-01-09 01:59:05
[2025-01-09 01:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 01:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206367', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206367', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206367', 'tblTempVendorCDR_20' ) start
[2025-01-09 01:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206367', 'tblTempVendorCDR_20' ) end
[2025-01-09 01:59:19] Production.INFO: ProcessCDR(1,14206367,1,1,2)
[2025-01-09 01:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206367,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 01:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206367,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 01:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206367', 'tblTempUsageDetail_20' ) start
[2025-01-09 01:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206367', 'tblTempUsageDetail_20' ) end
[2025-01-09 01:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 01:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 01:59:22] Production.INFO: ==7924== Releasing lock...
[2025-01-09 01:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 01:59:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 07:00:01] Production.INFO: ==7986== Lock acquired, processing the job...
[2025-01-09 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:00:01] Production.INFO: neon service started
[2025-01-09 07:00:01] Production.INFO: neon service started
[2025-01-09 07:00:01] Production.INFO: ==7986== Releasing lock...
[2025-01-09 07:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:00:01] Production.INFO: ==7988== Lock acquired, processing the job...
[2025-01-09 02:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:00:02] Production.INFO: ==7988== Releasing lock...
[2025-01-09 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:00:02] Production.INFO: ==7990== Lock acquired, processing the job...
[2025-01-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:00:02] Production.INFO: ==7990== Releasing lock...
[2025-01-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:00:03] Production.INFO: ==7994== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-01-09 02:00:03] Production.INFO: ==7992== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 02:00:03] Production.INFO: ==7996== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:00:03] Production.INFO: ==8000== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:00:03] Production.INFO: ==7998== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:00:03] Production.ERROR: CronJob PID - 7994
[2025-01-09 02:00:03] Production.ERROR: CronJob Title - Server CleanUP
[2025-01-09 02:00:03] Production.ERROR: CronJob ID - 4
[2025-01-09 02:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 02:00:00
[2025-01-09 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:00:03] Production.ERROR: CronJob PID - 7996
[2025-01-09 02:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 02:00:03] Production.ERROR: CronJob ID - 5
[2025-01-09 02:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 02:00:00
[2025-01-09 02:00:03] Production.INFO: ==8005== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 02:00:03] Production.INFO: ==7992== Releasing lock...
[2025-01-09 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 02:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:00:03] Production.INFO: ==8002== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:00:03] Production.INFO: ==8009== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:00:03] Production.INFO: ==8007== Lock acquired, processing the job...
[2025-01-09 02:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:00:04] Production.INFO: Account Balance Start.
[2025-01-09 02:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:00:04] Production.INFO: 117
[2025-01-09 02:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:00:04] Production.INFO: count ==21
[2025-01-09 02:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:00:04] Production.ERROR: done
[2025-01-09 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:00:04] Production.INFO: ==7998== Releasing lock...
[2025-01-09 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:00:04] Production.INFO: count ==21
[2025-01-09 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206371') start
[2025-01-09 02:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:00:04] Production.INFO: Total Charge 0
[2025-01-09 02:00:04] Production.INFO: CreateAllLog End
[2025-01-09 02:00:04] Production.ERROR: done
[2025-01-09 02:00:04] Production.ERROR: done
[2025-01-09 02:00:04] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-09 02:00:04] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 34G 16G 68% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-09 02:00:04] Production.INFO: Delete Storage Log Start
[2025-01-09 02:00:04] Production.INFO: Front End Delete Storage Log Start
[2025-01-09 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206371') end
[2025-01-09 02:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:00:04] Production.INFO: 1
[2025-01-09 02:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:00:04] Production.INFO: Account Balance End.
[2025-01-09 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206372', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 02:00:04] Production.INFO: ==8009== Releasing lock...
[2025-01-09 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:00:04] Production.INFO: ==8002== Releasing lock...
[2025-01-09 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:00:05] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-09 02:00:05] Production.INFO: Front End Delete Storage Log End
[2025-01-09 02:00:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-01-09 02:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:00:05
[end_date_ymd] => 2025-01-09 02:00:05
[RateCDR] => 1
)
[2025-01-09 02:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:00:05' and `end` < '2025-01-09 02:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:00:06] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-09 02:00:06] Production.INFO: Back End(Service) Delete Storage Log End
[2025-01-09 02:00:06] Production.INFO: Delete Storage Log End
[2025-01-09 02:00:06] Production.INFO: Delete Temp Files Start
[2025-01-09 02:00:07] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-01-09 02:00:07] Production.INFO: Delete Temp Files End
[2025-01-09 02:00:07] Production.INFO: Delete CDR File Start
[2025-01-09 02:00:07] Production.INFO: Delete CDR File End
[2025-01-09 02:00:08] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-09 02:00:08] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.5G 13G 11% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 34G 17G 68% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-09 02:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206372', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 02:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 02:00:08] Production.INFO: ProcessCDR(1,14206372,1,1,2)
[2025-01-09 02:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206372,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:00:08] Production.ERROR: CronJobId end 4
[2025-01-09 02:00:08] Production.INFO: ==7994== Releasing lock...
[2025-01-09 02:00:08] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-01-09 02:00:08] Production.INFO: 29.5 MB #Memory Used#
[2025-01-09 02:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206372,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:00:08] Production.INFO: ==8007== Releasing lock...
[2025-01-09 02:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 02:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 02:00:15] Production.ERROR: CronJobId end10
[2025-01-09 02:00:15] Production.INFO: ==8000== Releasing lock...
[2025-01-09 02:00:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:00:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:00:15] Production.INFO: call_cost start
[2025-01-09 02:00:15] Production.INFO: call_cost end
[2025-01-09 02:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:00:16] Production.INFO: ==7996== Releasing lock...
[2025-01-09 02:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:00:18] Production.INFO: count ==190
[2025-01-09 02:00:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:00:05 - End Time 2025-01-09 02:00:05
[2025-01-09 02:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206373', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206373', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206373', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206373', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:00:18] Production.INFO: ProcessCDR(1,14206373,1,1,2)
[2025-01-09 02:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206373', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206373', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:00:22] Production.INFO: ==8005== Releasing lock...
[2025-01-09 02:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:00:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 07:01:02] Production.INFO: ==8158== Lock acquired, processing the job...
[2025-01-09 07:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:01:02] Production.INFO: neon service started
[2025-01-09 07:01:02] Production.INFO: neon service started
[2025-01-09 07:01:02] Production.INFO: ==8158== Releasing lock...
[2025-01-09 07:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:01:02] Production.INFO: ==8172== Lock acquired, processing the job...
[2025-01-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:01:02] Production.INFO: ==8172== Releasing lock...
[2025-01-09 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:01:02] Production.INFO: ==8174== Lock acquired, processing the job...
[2025-01-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:01:02] Production.INFO: ==8174== Releasing lock...
[2025-01-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:01:03] Production.INFO: ==8176== Lock acquired, processing the job...
[2025-01-09 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:01:03] Production.INFO: ==8179== Lock acquired, processing the job...
[2025-01-09 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:01:03] Production.INFO: ==8181== Lock acquired, processing the job...
[2025-01-09 02:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:01:03] Production.INFO: ==8183== Lock acquired, processing the job...
[2025-01-09 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:01:03] Production.INFO: ==8185== Lock acquired, processing the job...
[2025-01-09 02:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:01:03] Production.INFO: ==8187== Lock acquired, processing the job...
[2025-01-09 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:01:03] Production.INFO: Account Balance Start.
[2025-01-09 02:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:01:03] Production.INFO: 117
[2025-01-09 02:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:01:03] Production.INFO: Total Charge 0
[2025-01-09 02:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:01:03] Production.INFO: CreateAllLog End
[2025-01-09 02:01:03] Production.INFO: count ==21
[2025-01-09 02:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:01:04] Production.INFO: ==8179== Releasing lock...
[2025-01-09 02:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:01:04] Production.INFO: count ==21
[2025-01-09 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206377') start
[2025-01-09 02:01:04] Production.INFO: Account Balance End.
[2025-01-09 02:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:01:04] Production.INFO: ==8183== Releasing lock...
[2025-01-09 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:01:04] Production.ERROR: done
[2025-01-09 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206377') end
[2025-01-09 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:01:04] Production.INFO: 1
[2025-01-09 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:01:04] Production.INFO: ==8187== Releasing lock...
[2025-01-09 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:01:04] Production.ERROR: done
[2025-01-09 02:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:01:05
[end_date_ymd] => 2025-01-09 02:01:05
[RateCDR] => 1
)
[2025-01-09 02:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:01:05' and `end` < '2025-01-09 02:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:01:12] Production.ERROR: CronJobId end10
[2025-01-09 02:01:12] Production.INFO: ==8181== Releasing lock...
[2025-01-09 02:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:01:14] Production.INFO: call_cost start
[2025-01-09 02:01:14] Production.INFO: call_cost end
[2025-01-09 02:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:01:15] Production.INFO: ==8176== Releasing lock...
[2025-01-09 02:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:01:18] Production.INFO: count ==187
[2025-01-09 02:01:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:01:05 - End Time 2025-01-09 02:01:05
[2025-01-09 02:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206378', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206378', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206378', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206378', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:01:18] Production.INFO: ProcessCDR(1,14206378,1,1,2)
[2025-01-09 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206378', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206378', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:01:21] Production.INFO: ==8185== Releasing lock...
[2025-01-09 02:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:01:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:02:01] Production.INFO: ==8243== Lock acquired, processing the job...
[2025-01-09 07:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:02:01] Production.INFO: neon service started
[2025-01-09 07:02:01] Production.INFO: neon service started
[2025-01-09 07:02:01] Production.INFO: ==8243== Releasing lock...
[2025-01-09 07:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:02:01] Production.INFO: ==8245== Lock acquired, processing the job...
[2025-01-09 02:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:02:02] Production.INFO: ==8245== Releasing lock...
[2025-01-09 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:02:02] Production.INFO: ==8247== Lock acquired, processing the job...
[2025-01-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:02:02] Production.INFO: ==8247== Releasing lock...
[2025-01-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:02:03] Production.INFO: ==8249== Lock acquired, processing the job...
[2025-01-09 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:02:03] Production.INFO: ==8259== Lock acquired, processing the job...
[2025-01-09 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:02:03] Production.INFO: ==8251== Lock acquired, processing the job...
[2025-01-09 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:02:03] Production.INFO: ==8253== Lock acquired, processing the job...
[2025-01-09 02:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:02:03] Production.INFO: ==8257== Lock acquired, processing the job...
[2025-01-09 02:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:02:03] Production.INFO: count ==21
[2025-01-09 02:02:03] Production.INFO: ==8255== Lock acquired, processing the job...
[2025-01-09 02:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:02:03] Production.INFO: count ==21
[2025-01-09 02:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206381') start
[2025-01-09 02:02:03] Production.INFO: Account Balance Start.
[2025-01-09 02:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:02:03] Production.INFO: 117
[2025-01-09 02:02:03] Production.INFO: ==8251== Releasing lock...
[2025-01-09 02:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206381') end
[2025-01-09 02:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:02:03] Production.INFO: 1
[2025-01-09 02:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:02:03] Production.INFO: ==8259== Releasing lock...
[2025-01-09 02:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:02:03] Production.ERROR: done
[2025-01-09 02:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:02:03] Production.INFO: Total Charge 0
[2025-01-09 02:02:03] Production.INFO: CreateAllLog End
[2025-01-09 02:02:03] Production.ERROR: done
[2025-01-09 02:02:04] Production.INFO: Account Balance End.
[2025-01-09 02:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:02:04] Production.INFO: ==8255== Releasing lock...
[2025-01-09 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:02:04
[end_date_ymd] => 2025-01-09 02:02:04
[RateCDR] => 1
)
[2025-01-09 02:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:02:04' and `end` < '2025-01-09 02:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:02:09] Production.ERROR: CronJobId end10
[2025-01-09 02:02:09] Production.INFO: ==8253== Releasing lock...
[2025-01-09 02:02:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:02:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:02:13] Production.INFO: call_cost start
[2025-01-09 02:02:13] Production.INFO: call_cost end
[2025-01-09 02:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:02:13] Production.INFO: ==8249== Releasing lock...
[2025-01-09 02:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:02:18] Production.INFO: count ==186
[2025-01-09 02:02:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:02:04 - End Time 2025-01-09 02:02:04
[2025-01-09 02:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206383', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206383', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206383', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206383', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:02:18] Production.INFO: ProcessCDR(1,14206383,1,1,2)
[2025-01-09 02:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206383', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206383', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:02:22] Production.INFO: ==8257== Releasing lock...
[2025-01-09 02:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:02:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:03:01] Production.INFO: ==8326== Lock acquired, processing the job...
[2025-01-09 07:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:03:02] Production.INFO: neon service started
[2025-01-09 07:03:02] Production.INFO: neon service started
[2025-01-09 07:03:02] Production.INFO: ==8326== Releasing lock...
[2025-01-09 07:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:03:02] Production.INFO: ==8330== Lock acquired, processing the job...
[2025-01-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:03:02] Production.INFO: ==8330== Releasing lock...
[2025-01-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:03:02] Production.INFO: ==8328== Lock acquired, processing the job...
[2025-01-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:03:02] Production.INFO: ==8328== Releasing lock...
[2025-01-09 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:03:03] Production.INFO: ==8336== Lock acquired, processing the job...
[2025-01-09 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:03:03] Production.INFO: ==8340== Lock acquired, processing the job...
[2025-01-09 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:03:03] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-01-09 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:03:03] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-01-09 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:03:03] Production.INFO: ==8338== Lock acquired, processing the job...
[2025-01-09 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:03:03] Production.INFO: ==8342== Lock acquired, processing the job...
[2025-01-09 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:03:04] Production.INFO: Account Balance Start.
[2025-01-09 02:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:03:04] Production.INFO: 117
[2025-01-09 02:03:04] Production.ERROR: done
[2025-01-09 02:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:03:04] Production.INFO: Total Charge 0
[2025-01-09 02:03:04] Production.INFO: CreateAllLog End
[2025-01-09 02:03:04] Production.ERROR: done
[2025-01-09 02:03:04] Production.INFO: count ==21
[2025-01-09 02:03:04] Production.INFO: ==8334== Releasing lock...
[2025-01-09 02:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:03:04] Production.INFO: count ==21
[2025-01-09 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206387') start
[2025-01-09 02:03:04] Production.INFO: Account Balance End.
[2025-01-09 02:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:03:04] Production.INFO: ==8338== Releasing lock...
[2025-01-09 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206387') end
[2025-01-09 02:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:03:04] Production.INFO: 1
[2025-01-09 02:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:03:04] Production.INFO: ==8342== Releasing lock...
[2025-01-09 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:03:05
[end_date_ymd] => 2025-01-09 02:03:05
[RateCDR] => 1
)
[2025-01-09 02:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:03:05' and `end` < '2025-01-09 02:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:03:10] Production.ERROR: CronJobId end10
[2025-01-09 02:03:10] Production.INFO: ==8336== Releasing lock...
[2025-01-09 02:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:03:13] Production.INFO: call_cost start
[2025-01-09 02:03:13] Production.INFO: call_cost end
[2025-01-09 02:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:03:13] Production.INFO: ==8332== Releasing lock...
[2025-01-09 02:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:03:19] Production.INFO: count ==186
[2025-01-09 02:03:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:03:05 - End Time 2025-01-09 02:03:05
[2025-01-09 02:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206388', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206388', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206388', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206388', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:03:19] Production.INFO: ProcessCDR(1,14206388,1,1,2)
[2025-01-09 02:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206388', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206388', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:03:22] Production.INFO: ==8340== Releasing lock...
[2025-01-09 02:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:03:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:04:01] Production.INFO: ==8408== Lock acquired, processing the job...
[2025-01-09 07:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:04:01] Production.INFO: neon service started
[2025-01-09 07:04:01] Production.INFO: neon service started
[2025-01-09 07:04:01] Production.INFO: ==8408== Releasing lock...
[2025-01-09 07:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:04:01] Production.INFO: ==8414== Lock acquired, processing the job...
[2025-01-09 07:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:04:01] Production.INFO: ==8414== Releasing lock...
[2025-01-09 07:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:04:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:04:01] Production.INFO: ==8412== Lock acquired, processing the job...
[2025-01-09 02:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:04:02] Production.INFO: ==8412== Releasing lock...
[2025-01-09 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:04:03] Production.INFO: ==8416== Lock acquired, processing the job...
[2025-01-09 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:04:03] Production.INFO: ==8424== Lock acquired, processing the job...
[2025-01-09 02:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:04:03] Production.INFO: ==8418== Lock acquired, processing the job...
[2025-01-09 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:04:03] Production.INFO: ==8420== Lock acquired, processing the job...
[2025-01-09 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:04:03] Production.INFO: ==8422== Lock acquired, processing the job...
[2025-01-09 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:04:03] Production.INFO: Account Balance Start.
[2025-01-09 02:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:04:03] Production.INFO: 117
[2025-01-09 02:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:04:03] Production.INFO: ==8426== Lock acquired, processing the job...
[2025-01-09 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:04:03] Production.INFO: Total Charge 0
[2025-01-09 02:04:03] Production.INFO: CreateAllLog End
[2025-01-09 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:04:03] Production.ERROR: done
[2025-01-09 02:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:04:03] Production.INFO: count ==21
[2025-01-09 02:04:03] Production.ERROR: done
[2025-01-09 02:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:04:03] Production.INFO: count ==21
[2025-01-09 02:04:03] Production.INFO: ==8418== Releasing lock...
[2025-01-09 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:04:03] Production.INFO: Account Balance End.
[2025-01-09 02:04:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:04:03] Production.INFO: ==8422== Releasing lock...
[2025-01-09 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206392') start
[2025-01-09 02:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206392') end
[2025-01-09 02:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:04:03] Production.INFO: 1
[2025-01-09 02:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:04:03] Production.INFO: ==8426== Releasing lock...
[2025-01-09 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:04:04
[end_date_ymd] => 2025-01-09 02:04:04
[RateCDR] => 1
)
[2025-01-09 02:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:04:04' and `end` < '2025-01-09 02:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:04:10] Production.ERROR: CronJobId end10
[2025-01-09 02:04:10] Production.INFO: ==8420== Releasing lock...
[2025-01-09 02:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:04:12] Production.INFO: call_cost start
[2025-01-09 02:04:12] Production.INFO: call_cost end
[2025-01-09 02:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:04:13] Production.INFO: ==8416== Releasing lock...
[2025-01-09 02:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:04:17] Production.INFO: count ==186
[2025-01-09 02:04:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:04:04 - End Time 2025-01-09 02:04:04
[2025-01-09 02:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206393', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206393', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206393', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206393', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:04:17] Production.INFO: ProcessCDR(1,14206393,1,1,2)
[2025-01-09 02:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206393', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206393', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:04:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:04:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:04:20] Production.INFO: ==8424== Releasing lock...
[2025-01-09 02:04:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:04:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:05:01] Production.INFO: ==8490== Lock acquired, processing the job...
[2025-01-09 07:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:05:01] Production.INFO: neon service started
[2025-01-09 07:05:01] Production.INFO: neon service started
[2025-01-09 07:05:01] Production.INFO: ==8490== Releasing lock...
[2025-01-09 07:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:05:02] Production.INFO: ==8493== Lock acquired, processing the job...
[2025-01-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:05:02] Production.INFO: ==8495== Lock acquired, processing the job...
[2025-01-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:05:02] Production.INFO: ==8495== Releasing lock...
[2025-01-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:05:02] Production.INFO: ==8493== Releasing lock...
[2025-01-09 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:05:03] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-01-09 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:05:03] Production.INFO: ==8505== Lock acquired, processing the job...
[2025-01-09 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:05:03] Production.INFO: Account Balance Start.
[2025-01-09 02:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:05:03] Production.INFO: 117
[2025-01-09 02:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:05:03] Production.INFO: ==8497== Lock acquired, processing the job...
[2025-01-09 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:05:03] Production.INFO: Total Charge 0
[2025-01-09 02:05:03] Production.INFO: ==8499== Lock acquired, processing the job...
[2025-01-09 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:05:03] Production.INFO: CreateAllLog End
[2025-01-09 02:05:03] Production.INFO: ==8501== Lock acquired, processing the job...
[2025-01-09 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:05:03] Production.INFO: Account Balance End.
[2025-01-09 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:05:03] Production.INFO: ==8507== Lock acquired, processing the job...
[2025-01-09 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:05:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:05:03] Production.INFO: ==8503== Releasing lock...
[2025-01-09 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:05:03] Production.ERROR: done
[2025-01-09 02:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:05:04] Production.INFO: count ==21
[2025-01-09 02:05:04] Production.INFO: ==8499== Releasing lock...
[2025-01-09 02:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:05:04] Production.INFO: count ==21
[2025-01-09 02:05:04] Production.ERROR: done
[2025-01-09 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206397') start
[2025-01-09 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206397') end
[2025-01-09 02:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:05:04] Production.INFO: 1
[2025-01-09 02:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:05:04] Production.INFO: ==8507== Releasing lock...
[2025-01-09 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:05:05
[end_date_ymd] => 2025-01-09 02:05:05
[RateCDR] => 1
)
[2025-01-09 02:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:05:05' and `end` < '2025-01-09 02:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:05:10] Production.ERROR: CronJobId end10
[2025-01-09 02:05:10] Production.INFO: ==8501== Releasing lock...
[2025-01-09 02:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:05:12] Production.INFO: call_cost start
[2025-01-09 02:05:12] Production.INFO: call_cost end
[2025-01-09 02:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:05:13] Production.INFO: ==8497== Releasing lock...
[2025-01-09 02:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:05:18] Production.INFO: count ==186
[2025-01-09 02:05:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:05:05 - End Time 2025-01-09 02:05:05
[2025-01-09 02:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206398', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206398', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206398', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206398', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:05:18] Production.INFO: ProcessCDR(1,14206398,1,1,2)
[2025-01-09 02:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206398', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206398', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:05:21] Production.INFO: ==8505== Releasing lock...
[2025-01-09 02:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:05:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:06:02] Production.INFO: ==8576== Lock acquired, processing the job...
[2025-01-09 07:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:06:02] Production.INFO: neon service started
[2025-01-09 07:06:02] Production.INFO: neon service started
[2025-01-09 07:06:02] Production.INFO: ==8576== Releasing lock...
[2025-01-09 07:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:06:02] Production.INFO: ==8578== Lock acquired, processing the job...
[2025-01-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:06:02] Production.INFO: ==8580== Lock acquired, processing the job...
[2025-01-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:06:02] Production.INFO: ==8578== Releasing lock...
[2025-01-09 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:06:02] Production.INFO: ==8580== Releasing lock...
[2025-01-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:06:03] Production.INFO: ==8582== Lock acquired, processing the job...
[2025-01-09 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:06:03] Production.INFO: ==8584== Lock acquired, processing the job...
[2025-01-09 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:06:03] Production.INFO: ==8589== Lock acquired, processing the job...
[2025-01-09 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:06:03] Production.INFO: ==8586== Lock acquired, processing the job...
[2025-01-09 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:06:03] Production.INFO: ==8591== Lock acquired, processing the job...
[2025-01-09 02:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:06:03] Production.INFO: Account Balance Start.
[2025-01-09 02:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:06:03] Production.INFO: 117
[2025-01-09 02:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:06:04] Production.INFO: ==8593== Lock acquired, processing the job...
[2025-01-09 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:06:04] Production.INFO: ==8584== Releasing lock...
[2025-01-09 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:06:04] Production.INFO: Total Charge 0
[2025-01-09 02:06:04] Production.INFO: count ==21
[2025-01-09 02:06:04] Production.INFO: CreateAllLog End
[2025-01-09 02:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:06:04] Production.INFO: count ==21
[2025-01-09 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206402') start
[2025-01-09 02:06:04] Production.ERROR: done
[2025-01-09 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206402') end
[2025-01-09 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:06:04] Production.INFO: 1
[2025-01-09 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:06:04] Production.INFO: ==8593== Releasing lock...
[2025-01-09 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:06:04] Production.ERROR: done
[2025-01-09 02:06:04] Production.INFO: Account Balance End.
[2025-01-09 02:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:06:04] Production.INFO: ==8589== Releasing lock...
[2025-01-09 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:06:05
[end_date_ymd] => 2025-01-09 02:06:05
[RateCDR] => 1
)
[2025-01-09 02:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:06:05' and `end` < '2025-01-09 02:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:06:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 02:06:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:06:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:06:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:06:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:06:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:06:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:06:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:06:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:06:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:06:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:06:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:06:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:06:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:06:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:06:11] Production.INFO: call_cost start
[2025-01-09 02:06:11] Production.INFO: call_cost end
[2025-01-09 02:06:11] Production.ERROR: CronJobId end10
[2025-01-09 02:06:11] Production.INFO: ==8586== Releasing lock...
[2025-01-09 02:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:06:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:06:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:06:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:06:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:06:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:06:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:06:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:06:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:06:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:06:12] Production.INFO: ==8582== Releasing lock...
[2025-01-09 02:06:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:06:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:06:19] Production.INFO: count ==185
[2025-01-09 02:06:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:06:05 - End Time 2025-01-09 02:06:05
[2025-01-09 02:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206403', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206403', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206403', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206403', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:06:19] Production.INFO: ProcessCDR(1,14206403,1,1,2)
[2025-01-09 02:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206403,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206403,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206403', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206403', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:06:22] Production.INFO: ==8591== Releasing lock...
[2025-01-09 02:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:06:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:07:01] Production.INFO: ==8696== Lock acquired, processing the job...
[2025-01-09 07:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:07:01] Production.INFO: neon service started
[2025-01-09 07:07:01] Production.INFO: neon service started
[2025-01-09 07:07:01] Production.INFO: ==8696== Releasing lock...
[2025-01-09 07:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:07:02] Production.INFO: ==8698== Lock acquired, processing the job...
[2025-01-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:07:02] Production.INFO: ==8700== Lock acquired, processing the job...
[2025-01-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:07:02] Production.INFO: ==8700== Releasing lock...
[2025-01-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:07:02] Production.INFO: ==8698== Releasing lock...
[2025-01-09 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:07:03] Production.INFO: ==8703== Lock acquired, processing the job...
[2025-01-09 02:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:07:03] Production.INFO: ==8705== Lock acquired, processing the job...
[2025-01-09 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:07:03] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-01-09 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:07:03] Production.INFO: ==8707== Lock acquired, processing the job...
[2025-01-09 02:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:07:03] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-01-09 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:07:03] Production.INFO: ==8709== Lock acquired, processing the job...
[2025-01-09 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:07:03] Production.INFO: Account Balance Start.
[2025-01-09 02:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:07:03] Production.INFO: 117
[2025-01-09 02:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:07:03] Production.INFO: ==8705== Releasing lock...
[2025-01-09 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:07:03] Production.INFO: count ==21
[2025-01-09 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:07:03] Production.ERROR: done
[2025-01-09 02:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:07:03] Production.INFO: count ==21
[2025-01-09 02:07:03] Production.INFO: Total Charge 0
[2025-01-09 02:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206407') start
[2025-01-09 02:07:03] Production.INFO: CreateAllLog End
[2025-01-09 02:07:03] Production.ERROR: done
[2025-01-09 02:07:03] Production.INFO: Account Balance End.
[2025-01-09 02:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206407') end
[2025-01-09 02:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:07:03] Production.INFO: 1
[2025-01-09 02:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:07:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:07:03] Production.INFO: ==8709== Releasing lock...
[2025-01-09 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:07:04] Production.INFO: ==8713== Releasing lock...
[2025-01-09 02:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:07:04
[end_date_ymd] => 2025-01-09 02:07:04
[RateCDR] => 1
)
[2025-01-09 02:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:07:04' and `end` < '2025-01-09 02:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:07:10] Production.ERROR: CronJobId end10
[2025-01-09 02:07:10] Production.INFO: ==8707== Releasing lock...
[2025-01-09 02:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:07:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:07:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:07:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:07:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:07:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:07:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:07:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:07:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:07:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:07:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:07:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:07:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:07:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:07:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:07:12] Production.INFO: call_cost start
[2025-01-09 02:07:12] Production.INFO: call_cost end
[2025-01-09 02:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:07:13] Production.INFO: ==8703== Releasing lock...
[2025-01-09 02:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:07:17] Production.INFO: count ==186
[2025-01-09 02:07:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:07:04 - End Time 2025-01-09 02:07:04
[2025-01-09 02:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206408', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206408', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206408', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206408', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:07:17] Production.INFO: ProcessCDR(1,14206408,1,1,2)
[2025-01-09 02:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206408,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206408,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206408', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206408', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:07:22] Production.INFO: ==8711== Releasing lock...
[2025-01-09 02:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:07:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:08:02] Production.INFO: ==8780== Lock acquired, processing the job...
[2025-01-09 07:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:08:02] Production.INFO: neon service started
[2025-01-09 07:08:02] Production.INFO: neon service started
[2025-01-09 07:08:02] Production.INFO: ==8780== Releasing lock...
[2025-01-09 07:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:08:02] Production.INFO: ==8782== Lock acquired, processing the job...
[2025-01-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:08:02] Production.INFO: ==8782== Releasing lock...
[2025-01-09 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:08:03] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:08:03] Production.INFO: ==8784== Releasing lock...
[2025-01-09 07:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:08:03] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-01-09 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:08:03] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-01-09 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:08:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-01-09 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:08:03] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-01-09 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:08:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-01-09 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:08:03] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-01-09 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:08:03] Production.INFO: count ==21
[2025-01-09 02:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:08:03] Production.INFO: count ==21
[2025-01-09 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:08:04] Production.INFO: Account Balance Start.
[2025-01-09 02:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206409') start
[2025-01-09 02:08:04] Production.INFO: 117
[2025-01-09 02:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:08:04] Production.INFO: Total Charge 0
[2025-01-09 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206409') end
[2025-01-09 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:08:04] Production.INFO: 1
[2025-01-09 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:08:04] Production.INFO: CreateAllLog End
[2025-01-09 02:08:04] Production.INFO: ==8788== Releasing lock...
[2025-01-09 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:08:04] Production.INFO: ==8796== Releasing lock...
[2025-01-09 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:08:04] Production.ERROR: done
[2025-01-09 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:08:04] Production.ERROR: done
[2025-01-09 02:08:04] Production.INFO: Account Balance End.
[2025-01-09 02:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:08:04] Production.INFO: ==8792== Releasing lock...
[2025-01-09 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:08:05
[end_date_ymd] => 2025-01-09 02:08:05
[RateCDR] => 1
)
[2025-01-09 02:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:08:05' and `end` < '2025-01-09 02:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:08:12] Production.ERROR: CronJobId end10
[2025-01-09 02:08:12] Production.INFO: ==8790== Releasing lock...
[2025-01-09 02:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:08:14] Production.INFO: call_cost start
[2025-01-09 02:08:14] Production.INFO: call_cost end
[2025-01-09 02:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:08:14] Production.INFO: ==8786== Releasing lock...
[2025-01-09 02:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:08:18] Production.INFO: count ==187
[2025-01-09 02:08:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:08:05 - End Time 2025-01-09 02:08:05
[2025-01-09 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206413', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206413', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206413', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206413', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:08:18] Production.INFO: ProcessCDR(1,14206413,1,1,2)
[2025-01-09 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206413,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206413,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206413', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206413', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:08:22] Production.INFO: ==8794== Releasing lock...
[2025-01-09 02:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:08:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:09:01] Production.INFO: ==8866== Lock acquired, processing the job...
[2025-01-09 07:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:09:01] Production.INFO: neon service started
[2025-01-09 07:09:01] Production.INFO: neon service started
[2025-01-09 07:09:01] Production.INFO: ==8866== Releasing lock...
[2025-01-09 07:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:09:02] Production.INFO: ==8868== Lock acquired, processing the job...
[2025-01-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:09:02] Production.INFO: ==8870== Lock acquired, processing the job...
[2025-01-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:09:02] Production.INFO: ==8870== Releasing lock...
[2025-01-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:09:02] Production.INFO: ==8868== Releasing lock...
[2025-01-09 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:09:03] Production.INFO: ==8879== Lock acquired, processing the job...
[2025-01-09 02:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:09:03] Production.INFO: ==8883== Lock acquired, processing the job...
[2025-01-09 02:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:09:03] Production.INFO: ==8873== Lock acquired, processing the job...
[2025-01-09 02:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:09:03] Production.INFO: ==8876== Lock acquired, processing the job...
[2025-01-09 02:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:09:03] Production.INFO: ==8881== Lock acquired, processing the job...
[2025-01-09 02:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:09:03] Production.ERROR: done
[2025-01-09 02:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:09:03] Production.INFO: ==8885== Lock acquired, processing the job...
[2025-01-09 02:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:09:03] Production.INFO: Account Balance Start.
[2025-01-09 02:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:09:03] Production.INFO: 117
[2025-01-09 02:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:09:03] Production.INFO: Total Charge 0
[2025-01-09 02:09:03] Production.ERROR: done
[2025-01-09 02:09:03] Production.INFO: CreateAllLog End
[2025-01-09 02:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:09:04] Production.INFO: count ==21
[2025-01-09 02:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:09:04] Production.INFO: count ==21
[2025-01-09 02:09:04] Production.INFO: Account Balance End.
[2025-01-09 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206417') start
[2025-01-09 02:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:09:04] Production.INFO: ==8881== Releasing lock...
[2025-01-09 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206417') end
[2025-01-09 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:09:04] Production.INFO: 1
[2025-01-09 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:09:04] Production.INFO: ==8876== Releasing lock...
[2025-01-09 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:09:04] Production.INFO: ==8885== Releasing lock...
[2025-01-09 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:09:05
[end_date_ymd] => 2025-01-09 02:09:05
[RateCDR] => 1
)
[2025-01-09 02:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:09:05' and `end` < '2025-01-09 02:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:09:11] Production.ERROR: CronJobId end10
[2025-01-09 02:09:11] Production.INFO: ==8879== Releasing lock...
[2025-01-09 02:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:09:13] Production.INFO: call_cost start
[2025-01-09 02:09:13] Production.INFO: call_cost end
[2025-01-09 02:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:09:14] Production.INFO: ==8873== Releasing lock...
[2025-01-09 02:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:09:19] Production.INFO: count ==187
[2025-01-09 02:09:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:09:05 - End Time 2025-01-09 02:09:05
[2025-01-09 02:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206418', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206418', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206418', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206418', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:09:19] Production.INFO: ProcessCDR(1,14206418,1,1,2)
[2025-01-09 02:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206418,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206418,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206418', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206418', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:09:22] Production.INFO: ==8883== Releasing lock...
[2025-01-09 02:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:09:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:10:02] Production.INFO: ==8953== Lock acquired, processing the job...
[2025-01-09 07:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:10:02] Production.INFO: neon service started
[2025-01-09 07:10:02] Production.INFO: neon service started
[2025-01-09 07:10:02] Production.INFO: ==8953== Releasing lock...
[2025-01-09 07:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:10:02] Production.INFO: ==8957== Lock acquired, processing the job...
[2025-01-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:10:02] Production.INFO: ==8957== Releasing lock...
[2025-01-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:10:02] Production.INFO: ==8955== Lock acquired, processing the job...
[2025-01-09 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:10:03] Production.INFO: ==8955== Releasing lock...
[2025-01-09 02:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:10:03] Production.INFO: ==8960== Lock acquired, processing the job...
[2025-01-09 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 02:10:04] Production.INFO: ==8962== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 02:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:10:04] Production.ERROR: CronJob PID - 8962
[2025-01-09 02:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 02:10:04] Production.ERROR: CronJob ID - 5
[2025-01-09 02:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 02:10:00
[2025-01-09 02:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 02:10:04] Production.INFO: ==8960== Releasing lock...
[2025-01-09 02:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 02:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:10:04] Production.INFO: ==8966== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:10:04] Production.INFO: ==8964== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:10:04] Production.INFO: ==8972== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:10:04] Production.INFO: ==8968== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:10:04] Production.INFO: Account Balance Start.
[2025-01-09 02:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:10:04] Production.INFO: 117
[2025-01-09 02:10:04] Production.INFO: ==8974== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:10:04] Production.INFO: ==8970== Lock acquired, processing the job...
[2025-01-09 02:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:10:04] Production.INFO: ==8964== Releasing lock...
[2025-01-09 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:10:04] Production.INFO: Total Charge 0
[2025-01-09 02:10:04] Production.ERROR: done
[2025-01-09 02:10:04] Production.INFO: CreateAllLog End
[2025-01-09 02:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206423', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 02:10:04] Production.INFO: count ==21
[2025-01-09 02:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:10:04] Production.INFO: count ==21
[2025-01-09 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206422') start
[2025-01-09 02:10:05] Production.ERROR: done
[2025-01-09 02:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:10:05] Production.INFO: Account Balance End.
[2025-01-09 02:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206422') end
[2025-01-09 02:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:10:05] Production.INFO: 1
[2025-01-09 02:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:10:05] Production.INFO: ==8974== Releasing lock...
[2025-01-09 02:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 02:10:05] Production.INFO: ==8968== Releasing lock...
[2025-01-09 02:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:10:05] Production.ERROR: done
[2025-01-09 02:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:10:06
[end_date_ymd] => 2025-01-09 02:10:06
[RateCDR] => 1
)
[2025-01-09 02:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:10:06' and `end` < '2025-01-09 02:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206423', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 02:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 02:10:09] Production.INFO: ProcessCDR(1,14206423,1,1,2)
[2025-01-09 02:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206423,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206423,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:10:09] Production.INFO: ==8972== Releasing lock...
[2025-01-09 02:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 02:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 02:10:12] Production.ERROR: CronJobId end10
[2025-01-09 02:10:12] Production.INFO: ==8966== Releasing lock...
[2025-01-09 02:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:10:14] Production.INFO: call_cost start
[2025-01-09 02:10:14] Production.INFO: call_cost end
[2025-01-09 02:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:10:15] Production.INFO: ==8962== Releasing lock...
[2025-01-09 02:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:10:19] Production.INFO: count ==188
[2025-01-09 02:10:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:10:06 - End Time 2025-01-09 02:10:06
[2025-01-09 02:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206424', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206424', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206424', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206424', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:10:19] Production.INFO: ProcessCDR(1,14206424,1,1,2)
[2025-01-09 02:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206424', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206424', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:10:22] Production.INFO: ==8970== Releasing lock...
[2025-01-09 02:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:10:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:11:01] Production.INFO: ==9041== Lock acquired, processing the job...
[2025-01-09 07:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:11:01] Production.INFO: neon service started
[2025-01-09 07:11:01] Production.INFO: neon service started
[2025-01-09 07:11:01] Production.INFO: ==9041== Releasing lock...
[2025-01-09 07:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:11:02] Production.INFO: ==9045== Lock acquired, processing the job...
[2025-01-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:11:02] Production.INFO: ==9045== Releasing lock...
[2025-01-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:11:02] Production.INFO: ==9043== Lock acquired, processing the job...
[2025-01-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:11:02] Production.INFO: ==9043== Releasing lock...
[2025-01-09 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:11:03] Production.INFO: ==9048== Lock acquired, processing the job...
[2025-01-09 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:11:03] Production.INFO: ==9050== Lock acquired, processing the job...
[2025-01-09 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:11:03] Production.INFO: ==9055== Lock acquired, processing the job...
[2025-01-09 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:11:03] Production.INFO: Account Balance Start.
[2025-01-09 02:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:11:03] Production.INFO: 117
[2025-01-09 02:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:11:03] Production.INFO: Total Charge 0
[2025-01-09 02:11:03] Production.INFO: ==9052== Lock acquired, processing the job...
[2025-01-09 02:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:11:03] Production.INFO: CreateAllLog End
[2025-01-09 02:11:03] Production.INFO: ==9057== Lock acquired, processing the job...
[2025-01-09 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:11:03] Production.INFO: ==9059== Lock acquired, processing the job...
[2025-01-09 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:11:03] Production.INFO: ==9050== Releasing lock...
[2025-01-09 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:11:03] Production.INFO: Account Balance End.
[2025-01-09 02:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:11:03] Production.INFO: ==9055== Releasing lock...
[2025-01-09 02:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:11:03] Production.INFO: count ==21
[2025-01-09 02:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:11:03] Production.INFO: count ==21
[2025-01-09 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206428') start
[2025-01-09 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206428') end
[2025-01-09 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:11:04] Production.INFO: 1
[2025-01-09 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:11:04] Production.ERROR: done
[2025-01-09 02:11:04] Production.INFO: ==9059== Releasing lock...
[2025-01-09 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:11:04] Production.ERROR: done
[2025-01-09 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:11:05
[end_date_ymd] => 2025-01-09 02:11:05
[RateCDR] => 1
)
[2025-01-09 02:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:11:05' and `end` < '2025-01-09 02:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:11:11] Production.ERROR: CronJobId end10
[2025-01-09 02:11:11] Production.INFO: ==9052== Releasing lock...
[2025-01-09 02:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:11:13] Production.INFO: call_cost start
[2025-01-09 02:11:13] Production.INFO: call_cost end
[2025-01-09 02:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:11:13] Production.INFO: ==9048== Releasing lock...
[2025-01-09 02:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:11:18] Production.INFO: count ==188
[2025-01-09 02:11:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:11:05 - End Time 2025-01-09 02:11:05
[2025-01-09 02:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206429', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206429', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206429', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206429', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:11:18] Production.INFO: ProcessCDR(1,14206429,1,1,2)
[2025-01-09 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206429', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206429', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:11:21] Production.INFO: ==9057== Releasing lock...
[2025-01-09 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:11:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:12:02] Production.INFO: ==9128== Lock acquired, processing the job...
[2025-01-09 07:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:12:02] Production.INFO: neon service started
[2025-01-09 07:12:02] Production.INFO: neon service started
[2025-01-09 07:12:02] Production.INFO: ==9128== Releasing lock...
[2025-01-09 07:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:12:02] Production.INFO: ==9131== Lock acquired, processing the job...
[2025-01-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:12:02] Production.INFO: ==9131== Releasing lock...
[2025-01-09 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:12:02] Production.INFO: ==9133== Lock acquired, processing the job...
[2025-01-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:12:02] Production.INFO: ==9133== Releasing lock...
[2025-01-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:12:03] Production.INFO: ==9135== Lock acquired, processing the job...
[2025-01-09 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:12:03] Production.INFO: ==9137== Lock acquired, processing the job...
[2025-01-09 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:12:03] Production.INFO: ==9139== Lock acquired, processing the job...
[2025-01-09 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:12:03] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-01-09 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:12:03] Production.INFO: ==9137== Releasing lock...
[2025-01-09 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:12:03] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-01-09 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:12:04] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-01-09 02:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:12:04] Production.INFO: Account Balance Start.
[2025-01-09 02:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:12:04] Production.INFO: 117
[2025-01-09 02:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 02:12:04] Production.INFO: count ==21
[2025-01-09 02:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:12:04] Production.INFO: count ==21
[2025-01-09 02:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206433') start
[2025-01-09 02:12:04] Production.ERROR: done
[2025-01-09 02:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:12:04] Production.INFO: Total Charge 0
[2025-01-09 02:12:04] Production.INFO: CreateAllLog End
[2025-01-09 02:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206433') end
[2025-01-09 02:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:12:04] Production.INFO: 1
[2025-01-09 02:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:12:04] Production.ERROR: done
[2025-01-09 02:12:04] Production.INFO: ==9145== Releasing lock...
[2025-01-09 02:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:12:04] Production.INFO: Account Balance End.
[2025-01-09 02:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:12:04] Production.INFO: ==9141== Releasing lock...
[2025-01-09 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:12:05
[end_date_ymd] => 2025-01-09 02:12:05
[RateCDR] => 1
)
[2025-01-09 02:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:12:05' and `end` < '2025-01-09 02:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:12:11] Production.ERROR: CronJobId end10
[2025-01-09 02:12:11] Production.INFO: ==9139== Releasing lock...
[2025-01-09 02:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:12:13] Production.INFO: call_cost start
[2025-01-09 02:12:13] Production.INFO: call_cost end
[2025-01-09 02:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:12:14] Production.INFO: ==9135== Releasing lock...
[2025-01-09 02:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:12:18] Production.INFO: count ==188
[2025-01-09 02:12:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:12:05 - End Time 2025-01-09 02:12:05
[2025-01-09 02:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206434', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206434', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206434', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206434', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:12:18] Production.INFO: ProcessCDR(1,14206434,1,1,2)
[2025-01-09 02:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206434', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206434', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:12:22] Production.INFO: ==9143== Releasing lock...
[2025-01-09 02:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:12:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:13:01] Production.INFO: ==9215== Lock acquired, processing the job...
[2025-01-09 07:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:13:01] Production.INFO: neon service started
[2025-01-09 07:13:01] Production.INFO: neon service started
[2025-01-09 07:13:01] Production.INFO: ==9215== Releasing lock...
[2025-01-09 07:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:13:01] Production.INFO: ==9217== Lock acquired, processing the job...
[2025-01-09 02:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:13:02] Production.INFO: ==9217== Releasing lock...
[2025-01-09 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:13:02] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-01-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:13:02] Production.INFO: ==9219== Releasing lock...
[2025-01-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:13:02] Production.INFO: ==9225== Lock acquired, processing the job...
[2025-01-09 02:13:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:13:03] Production.INFO: ==9221== Lock acquired, processing the job...
[2025-01-09 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:13:03] Production.INFO: ==9231== Lock acquired, processing the job...
[2025-01-09 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:13:03] Production.INFO: ==9223== Lock acquired, processing the job...
[2025-01-09 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:13:03] Production.INFO: count ==21
[2025-01-09 02:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:13:03] Production.INFO: ==9227== Lock acquired, processing the job...
[2025-01-09 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:13:03] Production.INFO: count ==21
[2025-01-09 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206435') start
[2025-01-09 02:13:03] Production.INFO: ==9229== Lock acquired, processing the job...
[2025-01-09 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:13:03] Production.INFO: Account Balance Start.
[2025-01-09 02:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:13:03] Production.INFO: 117
[2025-01-09 02:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206435') end
[2025-01-09 02:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:13:03] Production.INFO: 1
[2025-01-09 02:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:13:03] Production.INFO: Total Charge 0
[2025-01-09 02:13:03] Production.INFO: ==9223== Releasing lock...
[2025-01-09 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:13:03] Production.INFO: ==9231== Releasing lock...
[2025-01-09 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:13:03] Production.INFO: CreateAllLog End
[2025-01-09 02:13:03] Production.ERROR: done
[2025-01-09 02:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:13:03] Production.ERROR: done
[2025-01-09 02:13:03] Production.INFO: Account Balance End.
[2025-01-09 02:13:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:13:03] Production.INFO: ==9227== Releasing lock...
[2025-01-09 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:13:04
[end_date_ymd] => 2025-01-09 02:13:04
[RateCDR] => 1
)
[2025-01-09 02:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:13:04' and `end` < '2025-01-09 02:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:13:12] Production.ERROR: CronJobId end10
[2025-01-09 02:13:12] Production.INFO: ==9225== Releasing lock...
[2025-01-09 02:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:13:13] Production.INFO: call_cost start
[2025-01-09 02:13:13] Production.INFO: call_cost end
[2025-01-09 02:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:13:14] Production.INFO: ==9221== Releasing lock...
[2025-01-09 02:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:13:17] Production.INFO: count ==188
[2025-01-09 02:13:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:13:04 - End Time 2025-01-09 02:13:04
[2025-01-09 02:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206439', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206439', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206439', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206439', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:13:17] Production.INFO: ProcessCDR(1,14206439,1,1,2)
[2025-01-09 02:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:13:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206439', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:13:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206439', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:13:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:13:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:13:20] Production.INFO: ==9229== Releasing lock...
[2025-01-09 02:13:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:13:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:14:02] Production.INFO: ==9300== Lock acquired, processing the job...
[2025-01-09 07:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:14:02] Production.INFO: neon service started
[2025-01-09 07:14:02] Production.INFO: neon service started
[2025-01-09 07:14:02] Production.INFO: ==9300== Releasing lock...
[2025-01-09 07:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:14:02] Production.INFO: ==9302== Lock acquired, processing the job...
[2025-01-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:14:02] Production.INFO: ==9302== Releasing lock...
[2025-01-09 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:14:02] Production.INFO: ==9304== Lock acquired, processing the job...
[2025-01-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:14:02] Production.INFO: ==9304== Releasing lock...
[2025-01-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:14:03] Production.INFO: ==9307== Lock acquired, processing the job...
[2025-01-09 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:14:03] Production.INFO: ==9309== Lock acquired, processing the job...
[2025-01-09 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:14:03] Production.INFO: ==9313== Lock acquired, processing the job...
[2025-01-09 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:14:03] Production.INFO: Account Balance Start.
[2025-01-09 02:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:14:03] Production.INFO: 117
[2025-01-09 02:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:14:03] Production.INFO: ==9311== Lock acquired, processing the job...
[2025-01-09 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:14:03] Production.INFO: Total Charge 0
[2025-01-09 02:14:03] Production.INFO: CreateAllLog End
[2025-01-09 02:14:03] Production.INFO: ==9315== Lock acquired, processing the job...
[2025-01-09 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:14:03] Production.INFO: ==9309== Releasing lock...
[2025-01-09 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:14:04] Production.INFO: ==9317== Lock acquired, processing the job...
[2025-01-09 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:14:04] Production.INFO: Account Balance End.
[2025-01-09 02:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:14:04] Production.INFO: ==9313== Releasing lock...
[2025-01-09 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:14:04] Production.INFO: count ==21
[2025-01-09 02:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:14:04] Production.INFO: count ==21
[2025-01-09 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206443') start
[2025-01-09 02:14:04] Production.ERROR: done
[2025-01-09 02:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206443') end
[2025-01-09 02:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:14:04] Production.INFO: 1
[2025-01-09 02:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:14:04] Production.INFO: ==9317== Releasing lock...
[2025-01-09 02:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:14:04] Production.ERROR: done
[2025-01-09 02:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:14:05
[end_date_ymd] => 2025-01-09 02:14:05
[RateCDR] => 1
)
[2025-01-09 02:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:14:05' and `end` < '2025-01-09 02:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:14:12] Production.ERROR: CronJobId end10
[2025-01-09 02:14:12] Production.INFO: ==9311== Releasing lock...
[2025-01-09 02:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:14:14] Production.INFO: call_cost start
[2025-01-09 02:14:14] Production.INFO: call_cost end
[2025-01-09 02:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:14:15] Production.INFO: ==9307== Releasing lock...
[2025-01-09 02:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:14:19] Production.INFO: count ==188
[2025-01-09 02:14:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:14:05 - End Time 2025-01-09 02:14:05
[2025-01-09 02:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206444', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206444', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206444', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206444', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:14:19] Production.INFO: ProcessCDR(1,14206444,1,1,2)
[2025-01-09 02:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206444', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206444', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:14:22] Production.INFO: ==9315== Releasing lock...
[2025-01-09 02:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:14:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:15:01] Production.INFO: ==9379== Lock acquired, processing the job...
[2025-01-09 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:15:01] Production.INFO: neon service started
[2025-01-09 07:15:01] Production.INFO: neon service started
[2025-01-09 07:15:01] Production.INFO: ==9379== Releasing lock...
[2025-01-09 07:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:15:01] Production.INFO: ==9381== Lock acquired, processing the job...
[2025-01-09 02:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:15:02] Production.INFO: ==9381== Releasing lock...
[2025-01-09 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:15:02] Production.INFO: ==9384== Lock acquired, processing the job...
[2025-01-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:15:02] Production.INFO: ==9384== Releasing lock...
[2025-01-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:15:02] Production.INFO: ==9388== Lock acquired, processing the job...
[2025-01-09 02:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:15:02] Production.INFO: ==9390== Lock acquired, processing the job...
[2025-01-09 02:15:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:15:03] Production.INFO: ==9392== Lock acquired, processing the job...
[2025-01-09 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:15:03] Production.INFO: Account Balance Start.
[2025-01-09 02:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:15:03] Production.INFO: 117
[2025-01-09 02:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:15:03] Production.INFO: ==9388== Releasing lock...
[2025-01-09 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:15:03] Production.INFO: ==9386== Lock acquired, processing the job...
[2025-01-09 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:15:03] Production.INFO: Total Charge 0
[2025-01-09 02:15:03] Production.INFO: CreateAllLog End
[2025-01-09 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:15:03] Production.INFO: ==9394== Lock acquired, processing the job...
[2025-01-09 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:15:03] Production.INFO: Account Balance End.
[2025-01-09 02:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:15:03] Production.INFO: ==9392== Releasing lock...
[2025-01-09 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:15:03] Production.INFO: ==9396== Lock acquired, processing the job...
[2025-01-09 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:15:03] Production.INFO: count ==21
[2025-01-09 02:15:03] Production.ERROR: done
[2025-01-09 02:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:15:03] Production.INFO: count ==21
[2025-01-09 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206448') start
[2025-01-09 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206448') end
[2025-01-09 02:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:15:03] Production.INFO: 1
[2025-01-09 02:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:15:04] Production.ERROR: done
[2025-01-09 02:15:04] Production.INFO: ==9396== Releasing lock...
[2025-01-09 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:15:05
[end_date_ymd] => 2025-01-09 02:15:05
[RateCDR] => 1
)
[2025-01-09 02:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:15:05' and `end` < '2025-01-09 02:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:15:11] Production.ERROR: CronJobId end10
[2025-01-09 02:15:11] Production.INFO: ==9390== Releasing lock...
[2025-01-09 02:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:15:13] Production.INFO: call_cost start
[2025-01-09 02:15:13] Production.INFO: call_cost end
[2025-01-09 02:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:15:14] Production.INFO: ==9386== Releasing lock...
[2025-01-09 02:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:15:19] Production.INFO: count ==188
[2025-01-09 02:15:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:15:05 - End Time 2025-01-09 02:15:05
[2025-01-09 02:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206449', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206449', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206449', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206449', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:15:19] Production.INFO: ProcessCDR(1,14206449,1,1,2)
[2025-01-09 02:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206449,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206449,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206449', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206449', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:15:22] Production.INFO: ==9394== Releasing lock...
[2025-01-09 02:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:15:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:16:02] Production.INFO: ==9465== Lock acquired, processing the job...
[2025-01-09 07:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:16:02] Production.INFO: neon service started
[2025-01-09 07:16:02] Production.INFO: neon service started
[2025-01-09 07:16:02] Production.INFO: ==9465== Releasing lock...
[2025-01-09 07:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:16:02] Production.INFO: ==9469== Lock acquired, processing the job...
[2025-01-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:16:02] Production.INFO: ==9469== Releasing lock...
[2025-01-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:16:02] Production.INFO: ==9467== Lock acquired, processing the job...
[2025-01-09 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:16:03] Production.INFO: ==9467== Releasing lock...
[2025-01-09 02:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:16:03] Production.INFO: ==9472== Lock acquired, processing the job...
[2025-01-09 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:16:03] Production.INFO: ==9474== Lock acquired, processing the job...
[2025-01-09 02:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:16:04] Production.INFO: ==9480== Lock acquired, processing the job...
[2025-01-09 02:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:16:04] Production.INFO: ==9478== Lock acquired, processing the job...
[2025-01-09 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:16:04] Production.INFO: ==9476== Lock acquired, processing the job...
[2025-01-09 02:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:16:04] Production.INFO: ==9474== Releasing lock...
[2025-01-09 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:16:04] Production.INFO: Account Balance Start.
[2025-01-09 02:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:16:04] Production.INFO: 117
[2025-01-09 02:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:16:04] Production.INFO: ==9482== Lock acquired, processing the job...
[2025-01-09 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:16:04] Production.ERROR: done
[2025-01-09 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:16:04] Production.INFO: Total Charge 0
[2025-01-09 02:16:04] Production.INFO: CreateAllLog End
[2025-01-09 02:16:04] Production.INFO: count ==21
[2025-01-09 02:16:04] Production.ERROR: done
[2025-01-09 02:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:16:04] Production.INFO: count ==21
[2025-01-09 02:16:04] Production.INFO: Account Balance End.
[2025-01-09 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206453') start
[2025-01-09 02:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:16:04] Production.INFO: ==9478== Releasing lock...
[2025-01-09 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206453') end
[2025-01-09 02:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:16:04] Production.INFO: 1
[2025-01-09 02:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:16:04] Production.INFO: ==9482== Releasing lock...
[2025-01-09 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:16:05
[end_date_ymd] => 2025-01-09 02:16:05
[RateCDR] => 1
)
[2025-01-09 02:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:16:05' and `end` < '2025-01-09 02:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:16: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-01-09 02:16:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:16:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:16:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:16:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:16:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:16:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:16:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:16:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:16:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:16:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:16:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:16:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:16:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:16:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:16:10] Production.INFO: call_cost start
[2025-01-09 02:16:10] Production.INFO: call_cost end
[2025-01-09 02:16:11] Production.ERROR: CronJobId end10
[2025-01-09 02:16:11] Production.INFO: ==9476== Releasing lock...
[2025-01-09 02:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:16:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:16:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:16:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:16:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:16:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:16:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:16:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:16:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:16:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:16:11] Production.INFO: ==9472== Releasing lock...
[2025-01-09 02:16:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:16:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:16:19] Production.INFO: count ==188
[2025-01-09 02:16:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:16:05 - End Time 2025-01-09 02:16:05
[2025-01-09 02:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206454', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206454', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206454', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206454', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:16:19] Production.INFO: ProcessCDR(1,14206454,1,1,2)
[2025-01-09 02:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206454,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206454,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206454', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206454', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:16:22] Production.INFO: ==9480== Releasing lock...
[2025-01-09 02:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:16:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:17:01] Production.INFO: ==9548== Lock acquired, processing the job...
[2025-01-09 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:17:01] Production.INFO: neon service started
[2025-01-09 07:17:01] Production.INFO: neon service started
[2025-01-09 07:17:01] Production.INFO: ==9548== Releasing lock...
[2025-01-09 07:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:17:01] Production.INFO: ==9550== Lock acquired, processing the job...
[2025-01-09 02:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:17:02] Production.INFO: ==9550== Releasing lock...
[2025-01-09 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:17:02] Production.INFO: ==9552== Lock acquired, processing the job...
[2025-01-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:17:02] Production.INFO: ==9552== Releasing lock...
[2025-01-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:17:02] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-01-09 02:17:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:17:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:17:03] Production.ERROR: done
[2025-01-09 02:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:17:03] Production.INFO: ==9554== Lock acquired, processing the job...
[2025-01-09 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:17:03] Production.ERROR: done
[2025-01-09 02:17:03] Production.INFO: ==9556== Lock acquired, processing the job...
[2025-01-09 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:17:03] Production.INFO: ==9564== Lock acquired, processing the job...
[2025-01-09 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:17:03] Production.INFO: ==9558== Lock acquired, processing the job...
[2025-01-09 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:17:03] Production.INFO: ==9560== Lock acquired, processing the job...
[2025-01-09 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 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-01-09 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:17:03] Production.INFO: count ==21
[2025-01-09 02:17:03] Production.INFO: Account Balance Start.
[2025-01-09 02:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:17:03] Production.INFO: 117
[2025-01-09 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-01-09 02:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:17:03] Production.INFO: count ==21
[2025-01-09 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206458') start
[2025-01-09 02:17:03] Production.INFO: ==9556== Releasing lock...
[2025-01-09 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:17:03] Production.INFO: Total Charge 0
[2025-01-09 02:17:03] Production.INFO: CreateAllLog End
[2025-01-09 02:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206458') end
[2025-01-09 02:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:17:03] Production.INFO: 1
[2025-01-09 02:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:17:03] Production.INFO: Account Balance End.
[2025-01-09 02:17:03] Production.INFO: ==9564== Releasing lock...
[2025-01-09 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:17:03] Production.INFO: ==9560== Releasing lock...
[2025-01-09 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:17:04
[end_date_ymd] => 2025-01-09 02:17:04
[RateCDR] => 1
)
[2025-01-09 02:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:17:04' and `end` < '2025-01-09 02:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:17:10] Production.ERROR: CronJobId end10
[2025-01-09 02:17:10] Production.INFO: ==9558== Releasing lock...
[2025-01-09 02:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:17:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:17:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:17:11] Production.INFO: call_cost start
[2025-01-09 02:17:11] Production.INFO: call_cost end
[2025-01-09 02:17:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:17:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:17:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:17:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:17:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:17:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:17:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:17:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:17:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:17:12] Production.INFO: ==9554== Releasing lock...
[2025-01-09 02:17:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:17:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:17:17] Production.INFO: count ==188
[2025-01-09 02:17:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:17:04 - End Time 2025-01-09 02:17:04
[2025-01-09 02:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206456', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206456', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206456', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206456', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:17:17] Production.INFO: ProcessCDR(1,14206456,1,1,2)
[2025-01-09 02:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206456', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206456', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:17:20] Production.INFO: ==9562== Releasing lock...
[2025-01-09 02:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:17:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:18:01] Production.INFO: ==9631== Lock acquired, processing the job...
[2025-01-09 07:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:18:01] Production.INFO: neon service started
[2025-01-09 07:18:01] Production.INFO: neon service started
[2025-01-09 07:18:01] Production.INFO: ==9631== Releasing lock...
[2025-01-09 07:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:18:02] Production.INFO: ==9633== Lock acquired, processing the job...
[2025-01-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:18:02] Production.INFO: ==9635== Lock acquired, processing the job...
[2025-01-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:18:02] Production.INFO: ==9635== Releasing lock...
[2025-01-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:18:02] Production.INFO: ==9633== Releasing lock...
[2025-01-09 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:18:03] Production.INFO: ==9644== Lock acquired, processing the job...
[2025-01-09 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:18:03] Production.INFO: ==9648== Lock acquired, processing the job...
[2025-01-09 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:18:03] Production.INFO: Account Balance Start.
[2025-01-09 02:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:18:03] Production.INFO: 117
[2025-01-09 02:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:18:03] Production.INFO: ==9638== Lock acquired, processing the job...
[2025-01-09 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:18:04] Production.INFO: count ==21
[2025-01-09 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-01-09 02:18:04] Production.INFO: count ==21
[2025-01-09 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206461') start
[2025-01-09 02:18:04] Production.INFO: ==9640== Lock acquired, processing the job...
[2025-01-09 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:18:04] Production.INFO: Total Charge 0
[2025-01-09 02:18:04] Production.INFO: ==9642== Lock acquired, processing the job...
[2025-01-09 02:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:18:04] Production.INFO: CreateAllLog End
[2025-01-09 02:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206461') end
[2025-01-09 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:18:04] Production.INFO: 1
[2025-01-09 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:18:04] Production.INFO: ==9646== Lock acquired, processing the job...
[2025-01-09 02:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:18:04] Production.INFO: ==9648== Releasing lock...
[2025-01-09 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:18:04] Production.INFO: Account Balance End.
[2025-01-09 02:18:04] Production.INFO: ==9640== Releasing lock...
[2025-01-09 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:18:04] Production.INFO: ==9644== Releasing lock...
[2025-01-09 02:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:18:04] Production.ERROR: done
[2025-01-09 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:18:04] Production.ERROR: done
[2025-01-09 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:18:05
[end_date_ymd] => 2025-01-09 02:18:05
[RateCDR] => 1
)
[2025-01-09 02:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:18:05' and `end` < '2025-01-09 02:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:18:11] Production.ERROR: CronJobId end10
[2025-01-09 02:18:11] Production.INFO: ==9642== Releasing lock...
[2025-01-09 02:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:18:13] Production.INFO: call_cost start
[2025-01-09 02:18:13] Production.INFO: call_cost end
[2025-01-09 02:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:18:14] Production.INFO: ==9638== Releasing lock...
[2025-01-09 02:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:18:19] Production.INFO: count ==187
[2025-01-09 02:18:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:18:05 - End Time 2025-01-09 02:18:05
[2025-01-09 02:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206464', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206464', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206464', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206464', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:18:19] Production.INFO: ProcessCDR(1,14206464,1,1,2)
[2025-01-09 02:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206464,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206464,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206464', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206464', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:18:22] Production.INFO: ==9646== Releasing lock...
[2025-01-09 02:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:18:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:19:02] Production.INFO: ==9729== Lock acquired, processing the job...
[2025-01-09 07:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:19:02] Production.INFO: neon service started
[2025-01-09 07:19:02] Production.INFO: neon service started
[2025-01-09 07:19:02] Production.INFO: ==9729== Releasing lock...
[2025-01-09 07:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:19:02] Production.INFO: ==9731== Lock acquired, processing the job...
[2025-01-09 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:19:02] Production.INFO: ==9733== Lock acquired, processing the job...
[2025-01-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:19:02] Production.INFO: ==9733== Releasing lock...
[2025-01-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:19:03] Production.INFO: ==9731== Releasing lock...
[2025-01-09 02:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:19:04] Production.INFO: ==9738== Lock acquired, processing the job...
[2025-01-09 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:19:04] Production.INFO: ==9744== Lock acquired, processing the job...
[2025-01-09 02:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:19:04] Production.INFO: ==9740== Lock acquired, processing the job...
[2025-01-09 02:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:19:04] Production.INFO: ==9736== Lock acquired, processing the job...
[2025-01-09 02:19:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:19:04] Production.INFO: ==9742== Lock acquired, processing the job...
[2025-01-09 02:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:19:04] Production.INFO: ==9746== Lock acquired, processing the job...
[2025-01-09 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:19:04] Production.INFO: Account Balance Start.
[2025-01-09 02:19:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:19:04] Production.INFO: 117
[2025-01-09 02:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:19:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:19:04] Production.INFO: count ==21
[2025-01-09 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:19:04] Production.INFO: count ==21
[2025-01-09 02:19:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:19:04] Production.INFO: ==9738== Releasing lock...
[2025-01-09 02:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206468') start
[2025-01-09 02:19:04] Production.ERROR: done
[2025-01-09 02:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:19:04] Production.INFO: Total Charge 0
[2025-01-09 02:19:04] Production.INFO: CreateAllLog End
[2025-01-09 02:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206468') end
[2025-01-09 02:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:19:04] Production.INFO: 1
[2025-01-09 02:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:19:04] Production.ERROR: done
[2025-01-09 02:19:04] Production.INFO: ==9746== Releasing lock...
[2025-01-09 02:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:19:04] Production.INFO: Account Balance End.
[2025-01-09 02:19:05] Production.ERROR: CronJobId end 12
[2025-01-09 02:19:05] Production.INFO: ==9742== Releasing lock...
[2025-01-09 02:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:19:05
[end_date_ymd] => 2025-01-09 02:19:05
[RateCDR] => 1
)
[2025-01-09 02:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:19:05' and `end` < '2025-01-09 02:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:19:10] Production.ERROR: CronJobId end10
[2025-01-09 02:19:10] Production.INFO: ==9740== Releasing lock...
[2025-01-09 02:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:19:14] Production.INFO: call_cost start
[2025-01-09 02:19:14] Production.INFO: call_cost end
[2025-01-09 02:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:19:15] Production.INFO: ==9736== Releasing lock...
[2025-01-09 02:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:19:18] Production.INFO: count ==187
[2025-01-09 02:19:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:19:05 - End Time 2025-01-09 02:19:05
[2025-01-09 02:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206469', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206469', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206469', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206469', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:19:18] Production.INFO: ProcessCDR(1,14206469,1,1,2)
[2025-01-09 02:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206469,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206469,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206469', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206469', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:19:21] Production.INFO: ==9744== Releasing lock...
[2025-01-09 02:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:19:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:20:01] Production.INFO: ==9840== Lock acquired, processing the job...
[2025-01-09 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:20:01] Production.INFO: neon service started
[2025-01-09 07:20:01] Production.INFO: neon service started
[2025-01-09 07:20:01] Production.INFO: ==9840== Releasing lock...
[2025-01-09 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:20:02] Production.INFO: ==9844== Lock acquired, processing the job...
[2025-01-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:20:02] Production.INFO: ==9844== Releasing lock...
[2025-01-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:20:02] Production.INFO: ==9842== Lock acquired, processing the job...
[2025-01-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:20:02] Production.INFO: ==9842== Releasing lock...
[2025-01-09 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:20:03] Production.INFO: ==9853== Lock acquired, processing the job...
[2025-01-09 02:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:20:03] Production.INFO: ==9855== Lock acquired, processing the job...
[2025-01-09 02:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:20:03] Production.INFO: ==9847== Lock acquired, processing the job...
[2025-01-09 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 02:20:03] Production.INFO: Account Balance Start.
[2025-01-09 02:20:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:20:03] Production.INFO: 117
[2025-01-09 02:20:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:20:03] Production.INFO: ==9849== Lock acquired, processing the job...
[2025-01-09 02:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 02:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:20:03] Production.ERROR: CronJob PID - 9853
[2025-01-09 02:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 02:20:03] Production.ERROR: CronJob ID - 10
[2025-01-09 02:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 02:20:00
[2025-01-09 02:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:20:03] Production.ERROR: CronJob PID - 9855
[2025-01-09 02:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 02:20:03] Production.ERROR: CronJob ID - 12
[2025-01-09 02:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 02:20:00
[2025-01-09 02:20:03] Production.INFO: ==9861== Lock acquired, processing the job...
[2025-01-09 02:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:20:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:20:03] Production.INFO: ==9851== Lock acquired, processing the job...
[2025-01-09 02:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 02:20:03] Production.INFO: ==9847== Releasing lock...
[2025-01-09 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 02:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:20:04] Production.INFO: Total Charge 0
[2025-01-09 02:20:04] Production.INFO: CreateAllLog End
[2025-01-09 02:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:20:04] Production.INFO: ==9857== Lock acquired, processing the job...
[2025-01-09 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:20:04] Production.INFO: Account Balance End.
[2025-01-09 02:20:04] Production.INFO: ==9859== Lock acquired, processing the job...
[2025-01-09 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 02:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:20:04] Production.INFO: ==9855== Releasing lock...
[2025-01-09 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:20:04] Production.INFO: count ==21
[2025-01-09 02:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:20:04] Production.INFO: count ==21
[2025-01-09 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206472') start
[2025-01-09 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206472') end
[2025-01-09 02:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:20:04] Production.INFO: 1
[2025-01-09 02:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:20:04] Production.INFO: ==9861== Releasing lock...
[2025-01-09 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:20:04] Production.ERROR: done
[2025-01-09 02:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:20:04] Production.INFO: ==9851== Releasing lock...
[2025-01-09 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:20:04] Production.ERROR: done
[2025-01-09 02:20:04] Production.ERROR: done
[2025-01-09 02:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 02:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206474', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 02:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:20:05
[end_date_ymd] => 2025-01-09 02:20:05
[RateCDR] => 1
)
[2025-01-09 02:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:20:05' and `end` < '2025-01-09 02:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206474', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 02:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 02:20:09] Production.INFO: ProcessCDR(1,14206474,1,1,2)
[2025-01-09 02:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206474,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206474,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:20:09] Production.INFO: ==9859== Releasing lock...
[2025-01-09 02:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 02:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 02:20:12] Production.ERROR: CronJobId end10
[2025-01-09 02:20:12] Production.INFO: ==9853== Releasing lock...
[2025-01-09 02:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:20:14] Production.INFO: call_cost start
[2025-01-09 02:20:14] Production.INFO: call_cost end
[2025-01-09 02:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:20:15] Production.INFO: ==9849== Releasing lock...
[2025-01-09 02:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:20:18] Production.INFO: count ==188
[2025-01-09 02:20:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:20:05 - End Time 2025-01-09 02:20:05
[2025-01-09 02:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206475', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206475', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206475', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206475', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:20:18] Production.INFO: ProcessCDR(1,14206475,1,1,2)
[2025-01-09 02:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206475', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206475', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:20:22] Production.INFO: ==9857== Releasing lock...
[2025-01-09 02:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:20:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:21:02] Production.INFO: ==9948== Lock acquired, processing the job...
[2025-01-09 07:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:21:02] Production.INFO: neon service started
[2025-01-09 07:21:02] Production.INFO: neon service started
[2025-01-09 07:21:02] Production.INFO: ==9948== Releasing lock...
[2025-01-09 07:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:21:02] Production.INFO: ==9952== Lock acquired, processing the job...
[2025-01-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:21:02] Production.INFO: ==9952== Releasing lock...
[2025-01-09 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:21:03] Production.INFO: ==9954== Lock acquired, processing the job...
[2025-01-09 07:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:21:03] Production.INFO: ==9954== Releasing lock...
[2025-01-09 07:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:21:03] Production.INFO: ==9966== Lock acquired, processing the job...
[2025-01-09 02:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:21:03] Production.INFO: ==9964== Lock acquired, processing the job...
[2025-01-09 02:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 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-01-09 02:21:03] Production.INFO: count ==21
[2025-01-09 02:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:21:04] Production.INFO: count ==21
[2025-01-09 02:21:04] Production.INFO: ==9958== Lock acquired, processing the job...
[2025-01-09 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206476') start
[2025-01-09 02:21:04] Production.INFO: ==9960== Lock acquired, processing the job...
[2025-01-09 02:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:21:04] Production.INFO: ==9956== Lock acquired, processing the job...
[2025-01-09 02:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:21:04] Production.INFO: ==9962== Lock acquired, processing the job...
[2025-01-09 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206476') end
[2025-01-09 02:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:21:04] Production.INFO: 1
[2025-01-09 02:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:21:04] Production.INFO: Account Balance Start.
[2025-01-09 02:21:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:21:04] Production.INFO: 117
[2025-01-09 02:21:04] Production.INFO: ==9966== Releasing lock...
[2025-01-09 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:21:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:21:04] Production.ERROR: done
[2025-01-09 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:21:04] Production.INFO: Total Charge 0
[2025-01-09 02:21:04] Production.INFO: CreateAllLog End
[2025-01-09 02:21:04] Production.ERROR: done
[2025-01-09 02:21:04] Production.INFO: Account Balance End.
[2025-01-09 02:21:04] Production.INFO: ==9958== Releasing lock...
[2025-01-09 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:21:04] Production.INFO: ==9962== Releasing lock...
[2025-01-09 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:21:05
[end_date_ymd] => 2025-01-09 02:21:05
[RateCDR] => 1
)
[2025-01-09 02:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:21:05' and `end` < '2025-01-09 02:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:21:11] Production.ERROR: CronJobId end10
[2025-01-09 02:21:11] Production.INFO: ==9960== Releasing lock...
[2025-01-09 02:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:21:14] Production.INFO: call_cost start
[2025-01-09 02:21:14] Production.INFO: call_cost end
[2025-01-09 02:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:21:14] Production.INFO: ==9956== Releasing lock...
[2025-01-09 02:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:21:19] Production.INFO: count ==188
[2025-01-09 02:21:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:21:05 - End Time 2025-01-09 02:21:05
[2025-01-09 02:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206480', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206480', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206480', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206480', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:21:19] Production.INFO: ProcessCDR(1,14206480,1,1,2)
[2025-01-09 02:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206480', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206480', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:21:22] Production.INFO: ==9964== Releasing lock...
[2025-01-09 02:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:21:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:22:01] Production.INFO: ==10095== Lock acquired, processing the job...
[2025-01-09 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:22:01] Production.INFO: neon service started
[2025-01-09 07:22:01] Production.INFO: neon service started
[2025-01-09 07:22:01] Production.INFO: ==10095== Releasing lock...
[2025-01-09 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:22:02] Production.INFO: ==10101== Lock acquired, processing the job...
[2025-01-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:22:02] Production.INFO: ==10101== Releasing lock...
[2025-01-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:22:02] Production.INFO: ==10099== Lock acquired, processing the job...
[2025-01-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:22:02] Production.INFO: ==10099== Releasing lock...
[2025-01-09 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:22:03] Production.INFO: ==10105== Lock acquired, processing the job...
[2025-01-09 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:22:03] Production.INFO: ==10107== Lock acquired, processing the job...
[2025-01-09 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:22:03] Production.INFO: ==10103== Lock acquired, processing the job...
[2025-01-09 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:22:03] Production.INFO: ==10105== Releasing lock...
[2025-01-09 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:22:03] Production.INFO: ==10109== Lock acquired, processing the job...
[2025-01-09 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:22:03] Production.INFO: ==10113== Lock acquired, processing the job...
[2025-01-09 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:22:03] Production.INFO: ==10111== Lock acquired, processing the job...
[2025-01-09 02:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:22:03] Production.INFO: Account Balance Start.
[2025-01-09 02:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:22:03] Production.INFO: 117
[2025-01-09 02:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:22:03] Production.INFO: count ==21
[2025-01-09 02:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:22:04] Production.INFO: count ==21
[2025-01-09 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206484') start
[2025-01-09 02:22:04] Production.INFO: Total Charge 0
[2025-01-09 02:22:04] Production.INFO: CreateAllLog End
[2025-01-09 02:22:04] Production.ERROR: done
[2025-01-09 02:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206484') end
[2025-01-09 02:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:22:04] Production.INFO: 1
[2025-01-09 02:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:22:04] Production.ERROR: done
[2025-01-09 02:22:04] Production.INFO: ==10113== Releasing lock...
[2025-01-09 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:22:04] Production.INFO: Account Balance End.
[2025-01-09 02:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:22:04] Production.INFO: ==10109== Releasing lock...
[2025-01-09 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:22:05
[end_date_ymd] => 2025-01-09 02:22:05
[RateCDR] => 1
)
[2025-01-09 02:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:22:05' and `end` < '2025-01-09 02:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:22:10] Production.ERROR: CronJobId end10
[2025-01-09 02:22:10] Production.INFO: ==10107== Releasing lock...
[2025-01-09 02:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:22:13] Production.INFO: call_cost start
[2025-01-09 02:22:13] Production.INFO: call_cost end
[2025-01-09 02:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:22:14] Production.INFO: ==10103== Releasing lock...
[2025-01-09 02:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:22:19] Production.INFO: count ==188
[2025-01-09 02:22:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:22:05 - End Time 2025-01-09 02:22:05
[2025-01-09 02:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206485', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206485', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206485', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206485', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:22:19] Production.INFO: ProcessCDR(1,14206485,1,1,2)
[2025-01-09 02:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206485', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206485', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:22:22] Production.INFO: ==10111== Releasing lock...
[2025-01-09 02:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:22:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:23:02] Production.INFO: ==10178== Lock acquired, processing the job...
[2025-01-09 07:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:23:02] Production.INFO: neon service started
[2025-01-09 07:23:02] Production.INFO: neon service started
[2025-01-09 07:23:02] Production.INFO: ==10178== Releasing lock...
[2025-01-09 07:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:23:02] Production.INFO: ==10180== Lock acquired, processing the job...
[2025-01-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:23:02] Production.INFO: ==10180== Releasing lock...
[2025-01-09 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:23:02] Production.INFO: ==10182== Lock acquired, processing the job...
[2025-01-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:23:02] Production.INFO: ==10182== Releasing lock...
[2025-01-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:23:03] Production.INFO: ==10185== Lock acquired, processing the job...
[2025-01-09 02:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:23:03] Production.INFO: ==10187== Lock acquired, processing the job...
[2025-01-09 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:23:03] Production.INFO: ==10189== Lock acquired, processing the job...
[2025-01-09 02:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:23:03] Production.INFO: ==10191== Lock acquired, processing the job...
[2025-01-09 02:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:23:03] Production.INFO: ==10193== Lock acquired, processing the job...
[2025-01-09 02:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:23:03] Production.INFO: ==10187== Releasing lock...
[2025-01-09 02:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:23:03] Production.INFO: Account Balance Start.
[2025-01-09 02:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:23:03] Production.INFO: 117
[2025-01-09 02:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:23:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:23:04] Production.INFO: ==10195== Lock acquired, processing the job...
[2025-01-09 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:23:04] Production.INFO: Total Charge 0
[2025-01-09 02:23:04] Production.INFO: CreateAllLog End
[2025-01-09 02:23:04] Production.INFO: Account Balance End.
[2025-01-09 02:23:04] Production.ERROR: done
[2025-01-09 02:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:23:04] Production.INFO: ==10191== Releasing lock...
[2025-01-09 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:23:04] Production.INFO: count ==21
[2025-01-09 02:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:23:04] Production.INFO: count ==21
[2025-01-09 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206489') start
[2025-01-09 02:23:04] Production.ERROR: done
[2025-01-09 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206489') end
[2025-01-09 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:23:04] Production.INFO: 1
[2025-01-09 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:23:04] Production.INFO: ==10195== Releasing lock...
[2025-01-09 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:23:05
[end_date_ymd] => 2025-01-09 02:23:05
[RateCDR] => 1
)
[2025-01-09 02:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:23:05' and `end` < '2025-01-09 02:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:23:12] Production.ERROR: CronJobId end10
[2025-01-09 02:23:12] Production.INFO: ==10189== Releasing lock...
[2025-01-09 02:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:23:13] Production.INFO: call_cost start
[2025-01-09 02:23:13] Production.INFO: call_cost end
[2025-01-09 02:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:23:14] Production.INFO: ==10185== Releasing lock...
[2025-01-09 02:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:23:18] Production.INFO: count ==188
[2025-01-09 02:23:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:23:05 - End Time 2025-01-09 02:23:05
[2025-01-09 02:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206490', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206490', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206490', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206490', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:23:18] Production.INFO: ProcessCDR(1,14206490,1,1,2)
[2025-01-09 02:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206490', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206490', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:23:21] Production.INFO: ==10193== Releasing lock...
[2025-01-09 02:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:23:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:24:01] Production.INFO: ==10261== Lock acquired, processing the job...
[2025-01-09 07:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:24:01] Production.INFO: neon service started
[2025-01-09 07:24:01] Production.INFO: neon service started
[2025-01-09 07:24:01] Production.INFO: ==10261== Releasing lock...
[2025-01-09 07:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:24:01] Production.INFO: ==10263== Lock acquired, processing the job...
[2025-01-09 02:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:24:02] Production.INFO: ==10265== Lock acquired, processing the job...
[2025-01-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:24:02] Production.INFO: ==10263== Releasing lock...
[2025-01-09 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:24:02] Production.INFO: ==10265== Releasing lock...
[2025-01-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:24:03] Production.INFO: ==10267== Lock acquired, processing the job...
[2025-01-09 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:24:03] Production.INFO: ==10273== Lock acquired, processing the job...
[2025-01-09 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:24:03] Production.INFO: Account Balance Start.
[2025-01-09 02:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:24:03] Production.INFO: 117
[2025-01-09 02:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:24:03] Production.INFO: ==10276== Lock acquired, processing the job...
[2025-01-09 02:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:24:03] Production.INFO: ==10269== Lock acquired, processing the job...
[2025-01-09 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:24:03] Production.INFO: Total Charge 0
[2025-01-09 02:24:03] Production.INFO: ==10271== Lock acquired, processing the job...
[2025-01-09 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:24:03] Production.INFO: CreateAllLog End
[2025-01-09 02:24:03] Production.INFO: ==10278== Lock acquired, processing the job...
[2025-01-09 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:24:03] Production.ERROR: done
[2025-01-09 02:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:24:03] Production.INFO: ==10269== Releasing lock...
[2025-01-09 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:24:03] Production.INFO: count ==21
[2025-01-09 02:24:03] Production.INFO: Account Balance End.
[2025-01-09 02:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:24:03] Production.ERROR: done
[2025-01-09 02:24:03] Production.INFO: count ==21
[2025-01-09 02:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206494') start
[2025-01-09 02:24:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:24:03] Production.INFO: ==10273== Releasing lock...
[2025-01-09 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206494') end
[2025-01-09 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:24:04] Production.INFO: 1
[2025-01-09 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:24:04] Production.INFO: ==10278== Releasing lock...
[2025-01-09 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:24:04
[end_date_ymd] => 2025-01-09 02:24:04
[RateCDR] => 1
)
[2025-01-09 02:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:24:04' and `end` < '2025-01-09 02:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:24:11] Production.ERROR: CronJobId end10
[2025-01-09 02:24:11] Production.INFO: ==10271== Releasing lock...
[2025-01-09 02:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:24:13] Production.INFO: call_cost start
[2025-01-09 02:24:13] Production.INFO: call_cost end
[2025-01-09 02:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:24:14] Production.INFO: ==10267== Releasing lock...
[2025-01-09 02:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:24:17] Production.INFO: count ==188
[2025-01-09 02:24:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:24:04 - End Time 2025-01-09 02:24:04
[2025-01-09 02:24:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206495', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206495', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206495', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:24:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206495', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:24:17] Production.INFO: ProcessCDR(1,14206495,1,1,2)
[2025-01-09 02:24:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:24:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:24:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206495', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206495', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:24:21] Production.INFO: ==10276== Releasing lock...
[2025-01-09 02:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:24:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:25:01] Production.INFO: ==10346== Lock acquired, processing the job...
[2025-01-09 07:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:25:01] Production.INFO: neon service started
[2025-01-09 07:25:02] Production.INFO: neon service started
[2025-01-09 07:25:02] Production.INFO: ==10346== Releasing lock...
[2025-01-09 07:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:25:02] Production.INFO: ==10348== Lock acquired, processing the job...
[2025-01-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:25:02] Production.INFO: ==10348== Releasing lock...
[2025-01-09 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:25:02] Production.INFO: ==10350== Lock acquired, processing the job...
[2025-01-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:25:02] Production.INFO: ==10350== Releasing lock...
[2025-01-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:25:03] Production.INFO: ==10358== Lock acquired, processing the job...
[2025-01-09 02:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:25:03] Production.INFO: ==10352== Lock acquired, processing the job...
[2025-01-09 02:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:25:03] Production.INFO: ==10362== Lock acquired, processing the job...
[2025-01-09 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:25:03] Production.INFO: ==10354== Lock acquired, processing the job...
[2025-01-09 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:25:03] Production.INFO: Account Balance Start.
[2025-01-09 02:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:25:03] Production.INFO: 117
[2025-01-09 02:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:25:03] Production.INFO: ==10356== Lock acquired, processing the job...
[2025-01-09 02:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:25:03] Production.INFO: count ==21
[2025-01-09 02:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:25:03] Production.INFO: count ==21
[2025-01-09 02:25:03] Production.INFO: Total Charge 0
[2025-01-09 02:25:03] Production.INFO: ==10360== Lock acquired, processing the job...
[2025-01-09 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:25:03] Production.INFO: CreateAllLog End
[2025-01-09 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206498') start
[2025-01-09 02:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206498') end
[2025-01-09 02:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:25:03] Production.INFO: 1
[2025-01-09 02:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:25:03] Production.INFO: Account Balance End.
[2025-01-09 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:25:03] Production.INFO: ==10354== Releasing lock...
[2025-01-09 02:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:25:04] Production.INFO: ==10358== Releasing lock...
[2025-01-09 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:25:04] Production.INFO: ==10362== Releasing lock...
[2025-01-09 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:25:04] Production.ERROR: done
[2025-01-09 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:25:04] Production.ERROR: done
[2025-01-09 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:25:05
[end_date_ymd] => 2025-01-09 02:25:05
[RateCDR] => 1
)
[2025-01-09 02:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:25:05' and `end` < '2025-01-09 02:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:25:11] Production.ERROR: CronJobId end10
[2025-01-09 02:25:11] Production.INFO: ==10356== Releasing lock...
[2025-01-09 02:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:25:13] Production.INFO: call_cost start
[2025-01-09 02:25:13] Production.INFO: call_cost end
[2025-01-09 02:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:25:14] Production.INFO: ==10352== Releasing lock...
[2025-01-09 02:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:25:18] Production.INFO: count ==188
[2025-01-09 02:25:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:25:05 - End Time 2025-01-09 02:25:05
[2025-01-09 02:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206500', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206500', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206500', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206500', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:25:18] Production.INFO: ProcessCDR(1,14206500,1,1,2)
[2025-01-09 02:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206500', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206500', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:25:21] Production.INFO: ==10360== Releasing lock...
[2025-01-09 02:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:25:21] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:26:01] Production.INFO: ==10428== Lock acquired, processing the job...
[2025-01-09 07:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:26:01] Production.INFO: neon service started
[2025-01-09 07:26:01] Production.INFO: neon service started
[2025-01-09 07:26:01] Production.INFO: ==10428== Releasing lock...
[2025-01-09 07:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:26:01] Production.INFO: ==10432== Lock acquired, processing the job...
[2025-01-09 07:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:26:01] Production.INFO: ==10432== Releasing lock...
[2025-01-09 07:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:26:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:26:02] Production.INFO: ==10430== Lock acquired, processing the job...
[2025-01-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:26:02] Production.INFO: ==10430== Releasing lock...
[2025-01-09 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:26:03] Production.INFO: ==10435== Lock acquired, processing the job...
[2025-01-09 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:26:03] Production.INFO: ==10437== Lock acquired, processing the job...
[2025-01-09 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:26:03] Production.INFO: ==10439== Lock acquired, processing the job...
[2025-01-09 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:26:03] Production.INFO: ==10441== Lock acquired, processing the job...
[2025-01-09 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:26:03] Production.INFO: ==10445== Lock acquired, processing the job...
[2025-01-09 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:26:03] Production.INFO: ==10437== Releasing lock...
[2025-01-09 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:26:03] Production.INFO: Account Balance Start.
[2025-01-09 02:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:26:03] Production.INFO: 117
[2025-01-09 02:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:26:03] Production.INFO: ==10443== Lock acquired, processing the job...
[2025-01-09 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:26:03] Production.INFO: Total Charge 0
[2025-01-09 02:26:03] Production.INFO: CreateAllLog End
[2025-01-09 02:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:26:03] Production.INFO: count ==21
[2025-01-09 02:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:26:03] Production.INFO: count ==21
[2025-01-09 02:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206504') start
[2025-01-09 02:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206504') end
[2025-01-09 02:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:26:04] Production.INFO: 1
[2025-01-09 02:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:26:04] Production.INFO: Account Balance End.
[2025-01-09 02:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:26:04] Production.INFO: ==10441== Releasing lock...
[2025-01-09 02:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:26:04] Production.INFO: ==10445== Releasing lock...
[2025-01-09 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:26:04] Production.ERROR: done
[2025-01-09 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:26:04] Production.ERROR: done
[2025-01-09 02:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:26:05
[end_date_ymd] => 2025-01-09 02:26:05
[RateCDR] => 1
)
[2025-01-09 02:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:26:05' and `end` < '2025-01-09 02:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:26:11] Production.ERROR: CronJobId end10
[2025-01-09 02:26:11] Production.INFO: ==10439== Releasing lock...
[2025-01-09 02:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:26:13] Production.INFO: call_cost start
[2025-01-09 02:26:13] Production.INFO: call_cost end
[2025-01-09 02:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:26:14] Production.INFO: ==10435== Releasing lock...
[2025-01-09 02:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:26:20] Production.INFO: count ==188
[2025-01-09 02:26:20] Production.ERROR: pbx CDR StartTime 2025-01-08 23:26:05 - End Time 2025-01-09 02:26:05
[2025-01-09 02:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206505', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206505', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206505', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206505', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:26:20] Production.INFO: ProcessCDR(1,14206505,1,1,2)
[2025-01-09 02:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206505,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206505,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206505', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206505', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:26:23] Production.INFO: ==10443== Releasing lock...
[2025-01-09 02:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:26:23] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:27:01] Production.INFO: ==10514== Lock acquired, processing the job...
[2025-01-09 07:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:27:02] Production.INFO: neon service started
[2025-01-09 07:27:02] Production.INFO: neon service started
[2025-01-09 07:27:02] Production.INFO: ==10514== Releasing lock...
[2025-01-09 07:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:27:02] Production.INFO: ==10518== Lock acquired, processing the job...
[2025-01-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:27:02] Production.INFO: ==10518== Releasing lock...
[2025-01-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:27:02] Production.INFO: ==10516== Lock acquired, processing the job...
[2025-01-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:27:02] Production.INFO: ==10516== Releasing lock...
[2025-01-09 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:27:03] Production.INFO: ==10521== Lock acquired, processing the job...
[2025-01-09 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:27:03] Production.INFO: ==10525== Lock acquired, processing the job...
[2025-01-09 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:27:03] Production.INFO: ==10523== Lock acquired, processing the job...
[2025-01-09 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:27:03] Production.INFO: ==10527== Lock acquired, processing the job...
[2025-01-09 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:27:03] Production.INFO: ==10529== Lock acquired, processing the job...
[2025-01-09 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:27:03] Production.INFO: ==10531== Lock acquired, processing the job...
[2025-01-09 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:27:03] Production.INFO: Account Balance Start.
[2025-01-09 02:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:27:03] Production.INFO: 117
[2025-01-09 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:27:04] Production.INFO: ==10523== Releasing lock...
[2025-01-09 02:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:27:04] Production.INFO: Total Charge 0
[2025-01-09 02:27:04] Production.INFO: CreateAllLog End
[2025-01-09 02:27:04] Production.INFO: count ==21
[2025-01-09 02:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:27:04] Production.INFO: count ==21
[2025-01-09 02:27:04] Production.ERROR: done
[2025-01-09 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206509') start
[2025-01-09 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206509') end
[2025-01-09 02:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:27:04] Production.INFO: 1
[2025-01-09 02:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:27:04] Production.ERROR: done
[2025-01-09 02:27:04] Production.INFO: ==10531== Releasing lock...
[2025-01-09 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:27:04] Production.INFO: Account Balance End.
[2025-01-09 02:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:27:04] Production.INFO: ==10527== Releasing lock...
[2025-01-09 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:27:05
[end_date_ymd] => 2025-01-09 02:27:05
[RateCDR] => 1
)
[2025-01-09 02:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:27:05' and `end` < '2025-01-09 02:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:27:11] Production.ERROR: CronJobId end10
[2025-01-09 02:27:11] Production.INFO: ==10525== Releasing lock...
[2025-01-09 02:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:27:14] Production.INFO: call_cost start
[2025-01-09 02:27:14] Production.INFO: call_cost end
[2025-01-09 02:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:27:14] Production.INFO: ==10521== Releasing lock...
[2025-01-09 02:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:27:19] Production.INFO: count ==188
[2025-01-09 02:27:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:27:05 - End Time 2025-01-09 02:27:05
[2025-01-09 02:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206510', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206510', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206510', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206510', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:27:19] Production.INFO: ProcessCDR(1,14206510,1,1,2)
[2025-01-09 02:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206510,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206510,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206510', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206510', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:27:22] Production.INFO: ==10529== Releasing lock...
[2025-01-09 02:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:27:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:28:01] Production.INFO: ==10599== Lock acquired, processing the job...
[2025-01-09 07:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:28:01] Production.INFO: neon service started
[2025-01-09 07:28:01] Production.INFO: neon service started
[2025-01-09 07:28:01] Production.INFO: ==10599== Releasing lock...
[2025-01-09 07:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:28:01] Production.INFO: ==10601== Lock acquired, processing the job...
[2025-01-09 02:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:28:02] Production.INFO: ==10601== Releasing lock...
[2025-01-09 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:28:02] Production.INFO: ==10603== Lock acquired, processing the job...
[2025-01-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:28:02] Production.INFO: ==10603== Releasing lock...
[2025-01-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:28:02] Production.INFO: ==10615== Lock acquired, processing the job...
[2025-01-09 02:28:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:28:03] Production.INFO: ==10618== Lock acquired, processing the job...
[2025-01-09 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:28:03] Production.INFO: ==10606== Lock acquired, processing the job...
[2025-01-09 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:28:03] Production.INFO: ==10608== Lock acquired, processing the job...
[2025-01-09 02:28:03] Production.INFO: count ==21
[2025-01-09 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:28:03] Production.INFO: count ==21
[2025-01-09 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206511') start
[2025-01-09 02:28:03] Production.INFO: ==10613== Lock acquired, processing the job...
[2025-01-09 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:28:03] Production.ERROR: done
[2025-01-09 02:28:03] Production.INFO: ==10611== Lock acquired, processing the job...
[2025-01-09 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206511') end
[2025-01-09 02:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:28:03] Production.INFO: 1
[2025-01-09 02:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:28:03] Production.INFO: ==10618== Releasing lock...
[2025-01-09 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:28:03] Production.INFO: Account Balance Start.
[2025-01-09 02:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:28:03] Production.ERROR: done
[2025-01-09 02:28:03] Production.INFO: 117
[2025-01-09 02:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:28:03] Production.INFO: ==10608== Releasing lock...
[2025-01-09 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:28:03] Production.INFO: Total Charge 0
[2025-01-09 02:28:03] Production.INFO: CreateAllLog End
[2025-01-09 02:28:03] Production.INFO: Account Balance End.
[2025-01-09 02:28:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:28:03] Production.INFO: ==10613== Releasing lock...
[2025-01-09 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:28:04
[end_date_ymd] => 2025-01-09 02:28:04
[RateCDR] => 1
)
[2025-01-09 02:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:28:04' and `end` < '2025-01-09 02:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:28:10] Production.ERROR: CronJobId end10
[2025-01-09 02:28:10] Production.INFO: ==10611== Releasing lock...
[2025-01-09 02:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:28:13] Production.INFO: call_cost start
[2025-01-09 02:28:13] Production.INFO: call_cost end
[2025-01-09 02:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:28:14] Production.INFO: ==10606== Releasing lock...
[2025-01-09 02:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:28:17] Production.INFO: count ==188
[2025-01-09 02:28:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:28:04 - End Time 2025-01-09 02:28:04
[2025-01-09 02:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206515', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206515', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206515', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206515', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:28:17] Production.INFO: ProcessCDR(1,14206515,1,1,2)
[2025-01-09 02:28:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:28:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206515,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:28:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:28:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206515,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206515', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:28:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206515', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:28:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:28:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:28:20] Production.INFO: ==10615== Releasing lock...
[2025-01-09 02:28:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:28:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:29:01] Production.INFO: ==10682== Lock acquired, processing the job...
[2025-01-09 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:29:01] Production.INFO: neon service started
[2025-01-09 07:29:01] Production.INFO: neon service started
[2025-01-09 07:29:01] Production.INFO: ==10682== Releasing lock...
[2025-01-09 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:29:02] Production.INFO: ==10684== Lock acquired, processing the job...
[2025-01-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:29:02] Production.INFO: ==10684== Releasing lock...
[2025-01-09 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:29:02] Production.INFO: ==10686== Lock acquired, processing the job...
[2025-01-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:29:02] Production.INFO: ==10686== Releasing lock...
[2025-01-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:29:03] Production.INFO: ==10690== Lock acquired, processing the job...
[2025-01-09 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:29:03] Production.INFO: ==10688== Lock acquired, processing the job...
[2025-01-09 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:29:03] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-01-09 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:29:03] Production.INFO: Account Balance Start.
[2025-01-09 02:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:29:03] Production.INFO: 117
[2025-01-09 02:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:29:03] Production.INFO: ==10692== Lock acquired, processing the job...
[2025-01-09 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:29:03] Production.INFO: ==10696== Lock acquired, processing the job...
[2025-01-09 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:29:03] Production.INFO: Total Charge 0
[2025-01-09 02:29:03] Production.INFO: ==10690== Releasing lock...
[2025-01-09 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:29:03] Production.INFO: CreateAllLog End
[2025-01-09 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:29:03] Production.INFO: ==10698== Lock acquired, processing the job...
[2025-01-09 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:29:03] Production.INFO: count ==21
[2025-01-09 02:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:29:03] Production.INFO: count ==21
[2025-01-09 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206519') start
[2025-01-09 02:29:03] Production.ERROR: done
[2025-01-09 02:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:29:03] Production.INFO: Account Balance End.
[2025-01-09 02:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206519') end
[2025-01-09 02:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:29:04] Production.INFO: 1
[2025-01-09 02:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:29:04] Production.ERROR: done
[2025-01-09 02:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:29:04] Production.INFO: ==10694== Releasing lock...
[2025-01-09 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:29:04] Production.INFO: ==10698== Releasing lock...
[2025-01-09 02:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:29:04
[end_date_ymd] => 2025-01-09 02:29:04
[RateCDR] => 1
)
[2025-01-09 02:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:29:04' and `end` < '2025-01-09 02:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:29:11] Production.ERROR: CronJobId end10
[2025-01-09 02:29:11] Production.INFO: ==10692== Releasing lock...
[2025-01-09 02:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:29:13] Production.INFO: call_cost start
[2025-01-09 02:29:13] Production.INFO: call_cost end
[2025-01-09 02:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:29:14] Production.INFO: ==10688== Releasing lock...
[2025-01-09 02:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:29:17] Production.INFO: count ==186
[2025-01-09 02:29:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:29:04 - End Time 2025-01-09 02:29:04
[2025-01-09 02:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206520', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206520', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206520', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206520', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:29:17] Production.INFO: ProcessCDR(1,14206520,1,1,2)
[2025-01-09 02:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206520,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206520,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206520', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206520', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:29:20] Production.INFO: ==10696== Releasing lock...
[2025-01-09 02:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:29:20] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:30:02] Production.INFO: ==10767== Lock acquired, processing the job...
[2025-01-09 07:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:30:02] Production.INFO: neon service started
[2025-01-09 07:30:02] Production.INFO: neon service started
[2025-01-09 07:30:02] Production.INFO: ==10767== Releasing lock...
[2025-01-09 07:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:30:02] Production.INFO: ==10771== Lock acquired, processing the job...
[2025-01-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:30:02] Production.INFO: ==10771== Releasing lock...
[2025-01-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:30:02] Production.INFO: ==10769== Lock acquired, processing the job...
[2025-01-09 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:30:03] Production.INFO: ==10769== Releasing lock...
[2025-01-09 02:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:30:04] Production.INFO: ==10780== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:30:04] Production.INFO: ==10784== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:30:04] Production.INFO: ==10788== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:30:04] Production.INFO: ==10774== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 02:30:04] Production.INFO: ==10776== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:30:04] Production.INFO: ==10778== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:30:04] Production.ERROR: CronJob PID - 10776
[2025-01-09 02:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 02:30:04] Production.ERROR: CronJob ID - 5
[2025-01-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 02:30:00
[2025-01-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:30:04] Production.ERROR: CronJob PID - 10780
[2025-01-09 02:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 02:30:04] Production.ERROR: CronJob ID - 10
[2025-01-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 02:30:00
[2025-01-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:30:04] Production.ERROR: CronJob PID - 10784
[2025-01-09 02:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 02:30:04] Production.ERROR: CronJob ID - 16
[2025-01-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 02:30:00
[2025-01-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:30:04] Production.ERROR: CronJob PID - 10788
[2025-01-09 02:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 02:30:04] Production.ERROR: CronJob ID - 19
[2025-01-09 02:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 02:30:00
[2025-01-09 02:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:30:04] Production.INFO: ==10782== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:30:04] Production.INFO: count ==21
[2025-01-09 02:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 02:30:04] Production.INFO: ==10774== Releasing lock...
[2025-01-09 02:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 02:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:30:04] Production.INFO: ==10786== Lock acquired, processing the job...
[2025-01-09 02:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 02:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:30:04] Production.INFO: count ==21
[2025-01-09 02:30:04] Production.ERROR: done
[2025-01-09 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206521') start
[2025-01-09 02:30:04] Production.INFO: Account Balance Start.
[2025-01-09 02:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:30:04] Production.INFO: 117
[2025-01-09 02:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206521') end
[2025-01-09 02:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:30:05] Production.INFO: 1
[2025-01-09 02:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:30:05] Production.ERROR: done
[2025-01-09 02:30:05] Production.INFO: ==10788== Releasing lock...
[2025-01-09 02:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:30:05] Production.INFO: Total Charge 0
[2025-01-09 02:30:05] Production.INFO: CreateAllLog End
[2025-01-09 02:30:05] Production.ERROR: done
[2025-01-09 02:30:05] Production.INFO: ==10778== Releasing lock...
[2025-01-09 02:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 02:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206526', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 02:30:05] Production.INFO: Account Balance End.
[2025-01-09 02:30:05] Production.ERROR: CronJobId end 12
[2025-01-09 02:30:05] Production.INFO: ==10782== Releasing lock...
[2025-01-09 02:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:30:06
[end_date_ymd] => 2025-01-09 02:30:06
[RateCDR] => 1
)
[2025-01-09 02:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:30:06' and `end` < '2025-01-09 02:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206526', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 02:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 02:30:09] Production.INFO: ProcessCDR(1,14206526,1,1,2)
[2025-01-09 02:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206526,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206526,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:30:09] Production.INFO: ==10786== Releasing lock...
[2025-01-09 02:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 02:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 02:30:13] Production.ERROR: CronJobId end10
[2025-01-09 02:30:13] Production.INFO: ==10780== Releasing lock...
[2025-01-09 02:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:30:15] Production.INFO: call_cost start
[2025-01-09 02:30:15] Production.INFO: call_cost end
[2025-01-09 02:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:30:16] Production.INFO: ==10776== Releasing lock...
[2025-01-09 02:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:30:19] Production.INFO: count ==187
[2025-01-09 02:30:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:30:06 - End Time 2025-01-09 02:30:06
[2025-01-09 02:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206525', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206525', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206525', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206525', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:30:19] Production.INFO: ProcessCDR(1,14206525,1,1,2)
[2025-01-09 02:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206525,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206525,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206525', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206525', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:30:22] Production.INFO: ==10784== Releasing lock...
[2025-01-09 02:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:30:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:31:01] Production.INFO: ==10853== Lock acquired, processing the job...
[2025-01-09 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:31:01] Production.INFO: neon service started
[2025-01-09 07:31:01] Production.INFO: neon service started
[2025-01-09 07:31:01] Production.INFO: ==10853== Releasing lock...
[2025-01-09 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:31:02] Production.INFO: ==10855== Lock acquired, processing the job...
[2025-01-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:31:02] Production.INFO: ==10857== Lock acquired, processing the job...
[2025-01-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:31:02] Production.INFO: ==10857== Releasing lock...
[2025-01-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:31:02] Production.INFO: ==10855== Releasing lock...
[2025-01-09 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:31:03] Production.INFO: ==10860== Lock acquired, processing the job...
[2025-01-09 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:31:03] Production.INFO: ==10866== Lock acquired, processing the job...
[2025-01-09 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:31:03] Production.INFO: ==10870== Lock acquired, processing the job...
[2025-01-09 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:31:03] Production.INFO: Account Balance Start.
[2025-01-09 02:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:31:03] Production.INFO: 117
[2025-01-09 02:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:31:03] Production.INFO: ==10862== Lock acquired, processing the job...
[2025-01-09 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:31:03] Production.INFO: ==10864== Lock acquired, processing the job...
[2025-01-09 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:31:03] Production.INFO: count ==21
[2025-01-09 02:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:31:03] Production.INFO: count ==21
[2025-01-09 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206529') start
[2025-01-09 02:31:03] Production.INFO: ==10868== Lock acquired, processing the job...
[2025-01-09 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:31:03] Production.INFO: Total Charge 0
[2025-01-09 02:31:03] Production.INFO: CreateAllLog End
[2025-01-09 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206529') end
[2025-01-09 02:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:31:03] Production.INFO: 1
[2025-01-09 02:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:31:03] Production.INFO: ==10870== Releasing lock...
[2025-01-09 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:31:04] Production.INFO: ==10862== Releasing lock...
[2025-01-09 02:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:31:04] Production.INFO: Account Balance End.
[2025-01-09 02:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:31:04] Production.INFO: ==10866== Releasing lock...
[2025-01-09 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:31:04] Production.ERROR: done
[2025-01-09 02:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:31:04] Production.ERROR: done
[2025-01-09 02:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:31:05
[end_date_ymd] => 2025-01-09 02:31:05
[RateCDR] => 1
)
[2025-01-09 02:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:31:05' and `end` < '2025-01-09 02:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:31:11] Production.ERROR: CronJobId end10
[2025-01-09 02:31:11] Production.INFO: ==10864== Releasing lock...
[2025-01-09 02:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:31:13] Production.INFO: call_cost start
[2025-01-09 02:31:13] Production.INFO: call_cost end
[2025-01-09 02:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:31:13] Production.INFO: ==10860== Releasing lock...
[2025-01-09 02:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:31:19] Production.INFO: count ==186
[2025-01-09 02:31:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:31:05 - End Time 2025-01-09 02:31:05
[2025-01-09 02:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206531', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206531', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206531', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206531', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:31:19] Production.INFO: ProcessCDR(1,14206531,1,1,2)
[2025-01-09 02:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206531', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206531', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:31:22] Production.INFO: ==10868== Releasing lock...
[2025-01-09 02:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:31:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:32:02] Production.INFO: ==10936== Lock acquired, processing the job...
[2025-01-09 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:32:02] Production.INFO: neon service started
[2025-01-09 07:32:02] Production.INFO: neon service started
[2025-01-09 07:32:02] Production.INFO: ==10936== Releasing lock...
[2025-01-09 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:32:02] Production.INFO: ==10940== Lock acquired, processing the job...
[2025-01-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:32:02] Production.INFO: ==10940== Releasing lock...
[2025-01-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:32:02] Production.INFO: ==10938== Lock acquired, processing the job...
[2025-01-09 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:32:03] Production.INFO: ==10938== Releasing lock...
[2025-01-09 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:32:03] Production.INFO: ==10944== Lock acquired, processing the job...
[2025-01-09 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:32:03] Production.INFO: ==10948== Lock acquired, processing the job...
[2025-01-09 02:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:32:03] Production.INFO: Account Balance Start.
[2025-01-09 02:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:32:03] Production.INFO: ==10950== Lock acquired, processing the job...
[2025-01-09 02:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:32:03] Production.INFO: 117
[2025-01-09 02:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:32:04] Production.INFO: ==10942== Lock acquired, processing the job...
[2025-01-09 02:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:32:04] Production.INFO: ==10952== Lock acquired, processing the job...
[2025-01-09 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:32:04] Production.INFO: ==10946== Lock acquired, processing the job...
[2025-01-09 02:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:32:04] Production.INFO: Total Charge 0
[2025-01-09 02:32:04] Production.INFO: CreateAllLog End
[2025-01-09 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:32:04] Production.INFO: ==10944== Releasing lock...
[2025-01-09 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:32:04] Production.INFO: Account Balance End.
[2025-01-09 02:32:04] Production.INFO: count ==21
[2025-01-09 02:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:32:04] Production.INFO: count ==21
[2025-01-09 02:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:32:04] Production.INFO: ==10948== Releasing lock...
[2025-01-09 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206535') start
[2025-01-09 02:32:04] Production.ERROR: done
[2025-01-09 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206535') end
[2025-01-09 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:32:04] Production.INFO: 1
[2025-01-09 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:32:04] Production.INFO: ==10952== Releasing lock...
[2025-01-09 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:32:04] Production.ERROR: done
[2025-01-09 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:32:05
[end_date_ymd] => 2025-01-09 02:32:05
[RateCDR] => 1
)
[2025-01-09 02:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:32:05' and `end` < '2025-01-09 02:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:32:11] Production.ERROR: CronJobId end10
[2025-01-09 02:32:11] Production.INFO: ==10946== Releasing lock...
[2025-01-09 02:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:32:13] Production.INFO: call_cost start
[2025-01-09 02:32:13] Production.INFO: call_cost end
[2025-01-09 02:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:32:14] Production.INFO: ==10942== Releasing lock...
[2025-01-09 02:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:32:19] Production.INFO: count ==183
[2025-01-09 02:32:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:32:05 - End Time 2025-01-09 02:32:05
[2025-01-09 02:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206536', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206536', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206536', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206536', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:32:19] Production.INFO: ProcessCDR(1,14206536,1,1,2)
[2025-01-09 02:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206536', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206536', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:32:22] Production.INFO: ==10950== Releasing lock...
[2025-01-09 02:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:32:22] Production.INFO: 29 MB #Memory Used#
[2025-01-09 07:33:01] Production.INFO: ==11017== Lock acquired, processing the job...
[2025-01-09 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:33:01] Production.INFO: neon service started
[2025-01-09 07:33:01] Production.INFO: neon service started
[2025-01-09 07:33:01] Production.INFO: ==11017== Releasing lock...
[2025-01-09 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:33:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:33:02] Production.INFO: ==11019== Lock acquired, processing the job...
[2025-01-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:33:02] Production.INFO: ==11019== Releasing lock...
[2025-01-09 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:33:02] Production.INFO: ==11021== Lock acquired, processing the job...
[2025-01-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:33:02] Production.INFO: ==11021== Releasing lock...
[2025-01-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:33:03] Production.INFO: ==11023== Lock acquired, processing the job...
[2025-01-09 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:33:03] Production.INFO: ==11027== Lock acquired, processing the job...
[2025-01-09 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:33:03] Production.INFO: ==11025== Lock acquired, processing the job...
[2025-01-09 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:33:03] Production.INFO: ==11029== Lock acquired, processing the job...
[2025-01-09 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:33:03] Production.INFO: ==11032== Lock acquired, processing the job...
[2025-01-09 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:33:03] Production.INFO: Account Balance Start.
[2025-01-09 02:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:33:03] Production.INFO: ==11034== Lock acquired, processing the job...
[2025-01-09 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:33:03] Production.INFO: 117
[2025-01-09 02:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:33:03] Production.INFO: ==11025== Releasing lock...
[2025-01-09 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:33:04] Production.INFO: Total Charge 0
[2025-01-09 02:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:33:04] Production.INFO: CreateAllLog End
[2025-01-09 02:33:04] Production.INFO: count ==21
[2025-01-09 02:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:33:04] Production.ERROR: done
[2025-01-09 02:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:33:04] Production.INFO: count ==21
[2025-01-09 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206540') start
[2025-01-09 02:33:04] Production.INFO: Account Balance End.
[2025-01-09 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206540') end
[2025-01-09 02:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:33:04] Production.INFO: 1
[2025-01-09 02:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:33:04] Production.INFO: ==11029== Releasing lock...
[2025-01-09 02:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:33:04] Production.ERROR: done
[2025-01-09 02:33:04] Production.INFO: ==11034== Releasing lock...
[2025-01-09 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:33:05
[end_date_ymd] => 2025-01-09 02:33:05
[RateCDR] => 1
)
[2025-01-09 02:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:33:05' and `end` < '2025-01-09 02:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:33:11] Production.ERROR: CronJobId end10
[2025-01-09 02:33:11] Production.INFO: ==11027== Releasing lock...
[2025-01-09 02:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:33:13] Production.INFO: call_cost start
[2025-01-09 02:33:13] Production.INFO: call_cost end
[2025-01-09 02:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:33:14] Production.INFO: ==11023== Releasing lock...
[2025-01-09 02:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:33:18] Production.INFO: count ==183
[2025-01-09 02:33:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:33:05 - End Time 2025-01-09 02:33:05
[2025-01-09 02:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206541', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206541', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206541', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206541', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:33:18] Production.INFO: ProcessCDR(1,14206541,1,1,2)
[2025-01-09 02:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206541', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206541', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:33:21] Production.INFO: ==11032== Releasing lock...
[2025-01-09 02:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:33:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:34:02] Production.INFO: ==11100== Lock acquired, processing the job...
[2025-01-09 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:34:02] Production.INFO: neon service started
[2025-01-09 07:34:02] Production.INFO: neon service started
[2025-01-09 07:34:02] Production.INFO: ==11100== Releasing lock...
[2025-01-09 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:34:02] Production.INFO: ==11102== Lock acquired, processing the job...
[2025-01-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:34:02] Production.INFO: ==11102== Releasing lock...
[2025-01-09 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:34:02] Production.INFO: ==11104== Lock acquired, processing the job...
[2025-01-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:34:03] Production.INFO: ==11104== Releasing lock...
[2025-01-09 07:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:34:03] Production.INFO: ==11109== Lock acquired, processing the job...
[2025-01-09 02:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:34:03] Production.INFO: ==11117== Lock acquired, processing the job...
[2025-01-09 02:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:34:03] Production.INFO: ==11107== Lock acquired, processing the job...
[2025-01-09 02:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:34:04] Production.INFO: ==11111== Lock acquired, processing the job...
[2025-01-09 02:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:34:04] Production.INFO: count ==21
[2025-01-09 02:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:34:04] Production.INFO: count ==21
[2025-01-09 02:34:04] Production.INFO: ==11115== Lock acquired, processing the job...
[2025-01-09 02:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:34:04] Production.INFO: ==11109== Releasing lock...
[2025-01-09 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:34:04] Production.INFO: ==11113== Lock acquired, processing the job...
[2025-01-09 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206542') start
[2025-01-09 02:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:34:04] Production.INFO: Account Balance Start.
[2025-01-09 02:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:34:04] Production.INFO: 117
[2025-01-09 02:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206542') end
[2025-01-09 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:34:04] Production.INFO: 1
[2025-01-09 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:34:04] Production.INFO: ==11117== Releasing lock...
[2025-01-09 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:34:04] Production.INFO: Total Charge 0
[2025-01-09 02:34:04] Production.INFO: CreateAllLog End
[2025-01-09 02:34:04] Production.ERROR: done
[2025-01-09 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:34:04] Production.INFO: Account Balance End.
[2025-01-09 02:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:34:04] Production.INFO: ==11113== Releasing lock...
[2025-01-09 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:34:04] Production.ERROR: done
[2025-01-09 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:34:05
[end_date_ymd] => 2025-01-09 02:34:05
[RateCDR] => 1
)
[2025-01-09 02:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:34:05' and `end` < '2025-01-09 02:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:34:12] Production.ERROR: CronJobId end10
[2025-01-09 02:34:12] Production.INFO: ==11111== Releasing lock...
[2025-01-09 02:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:34:13] Production.INFO: call_cost start
[2025-01-09 02:34:13] Production.INFO: call_cost end
[2025-01-09 02:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:34:14] Production.INFO: ==11107== Releasing lock...
[2025-01-09 02:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:34:18] Production.INFO: count ==183
[2025-01-09 02:34:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:34:05 - End Time 2025-01-09 02:34:05
[2025-01-09 02:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206546', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206546', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206546', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206546', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:34:18] Production.INFO: ProcessCDR(1,14206546,1,1,2)
[2025-01-09 02:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206546', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206546', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:34:21] Production.INFO: ==11115== Releasing lock...
[2025-01-09 02:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:34:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:35:01] Production.INFO: ==11184== Lock acquired, processing the job...
[2025-01-09 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:35:01] Production.INFO: neon service started
[2025-01-09 07:35:01] Production.INFO: neon service started
[2025-01-09 07:35:01] Production.INFO: ==11184== Releasing lock...
[2025-01-09 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:35:01] Production.INFO: ==11188== Lock acquired, processing the job...
[2025-01-09 07:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:35:01] Production.INFO: ==11188== Releasing lock...
[2025-01-09 07:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:35:02] Production.INFO: ==11186== Lock acquired, processing the job...
[2025-01-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:35:02] Production.INFO: ==11186== Releasing lock...
[2025-01-09 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:35:03] Production.INFO: ==11194== Lock acquired, processing the job...
[2025-01-09 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:35:03] Production.INFO: ==11190== Lock acquired, processing the job...
[2025-01-09 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:35:03] Production.INFO: ==11192== Lock acquired, processing the job...
[2025-01-09 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:35:03] Production.INFO: ==11198== Lock acquired, processing the job...
[2025-01-09 02:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:35:03] Production.INFO: ==11196== Lock acquired, processing the job...
[2025-01-09 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:35:03] Production.INFO: ==11200== Lock acquired, processing the job...
[2025-01-09 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:35:03] Production.INFO: Account Balance Start.
[2025-01-09 02:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:35:03] Production.INFO: 117
[2025-01-09 02:35:03] Production.INFO: ==11192== Releasing lock...
[2025-01-09 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:35:03] Production.INFO: count ==21
[2025-01-09 02:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:35:03] Production.INFO: count ==21
[2025-01-09 02:35:03] Production.ERROR: done
[2025-01-09 02:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206549') start
[2025-01-09 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206549') end
[2025-01-09 02:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:35:04] Production.INFO: 1
[2025-01-09 02:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:35:04] Production.INFO: Total Charge 0
[2025-01-09 02:35:04] Production.INFO: CreateAllLog End
[2025-01-09 02:35:04] Production.ERROR: done
[2025-01-09 02:35:04] Production.INFO: ==11200== Releasing lock...
[2025-01-09 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:35:04] Production.INFO: Account Balance End.
[2025-01-09 02:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:35:04] Production.INFO: ==11196== Releasing lock...
[2025-01-09 02:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:35:04
[end_date_ymd] => 2025-01-09 02:35:04
[RateCDR] => 1
)
[2025-01-09 02:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:35:04' and `end` < '2025-01-09 02:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:35:10] Production.ERROR: CronJobId end10
[2025-01-09 02:35:10] Production.INFO: ==11194== Releasing lock...
[2025-01-09 02:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:35:13] Production.INFO: call_cost start
[2025-01-09 02:35:13] Production.INFO: call_cost end
[2025-01-09 02:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:35:13] Production.INFO: ==11190== Releasing lock...
[2025-01-09 02:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:35:17] Production.INFO: count ==181
[2025-01-09 02:35:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:35:04 - End Time 2025-01-09 02:35:04
[2025-01-09 02:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206551', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206551', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206551', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206551', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:35:17] Production.INFO: ProcessCDR(1,14206551,1,1,2)
[2025-01-09 02:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206551', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206551', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:35:21] Production.INFO: ==11198== Releasing lock...
[2025-01-09 02:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:35:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:36:02] Production.INFO: ==11268== Lock acquired, processing the job...
[2025-01-09 07:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:36:02] Production.INFO: neon service started
[2025-01-09 07:36:02] Production.INFO: neon service started
[2025-01-09 07:36:02] Production.INFO: ==11268== Releasing lock...
[2025-01-09 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:36:02] Production.INFO: ==11272== Lock acquired, processing the job...
[2025-01-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:36:02] Production.INFO: ==11272== Releasing lock...
[2025-01-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:36:02] Production.INFO: ==11270== Lock acquired, processing the job...
[2025-01-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:36:02] Production.INFO: ==11270== Releasing lock...
[2025-01-09 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:36:03] Production.INFO: ==11277== Lock acquired, processing the job...
[2025-01-09 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:36:03] Production.INFO: ==11283== Lock acquired, processing the job...
[2025-01-09 02:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:36:03] Production.INFO: ==11274== Lock acquired, processing the job...
[2025-01-09 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:36:04] Production.INFO: ==11279== Lock acquired, processing the job...
[2025-01-09 02:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:36:04] Production.INFO: ==11281== Lock acquired, processing the job...
[2025-01-09 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:36:04] Production.INFO: ==11285== Lock acquired, processing the job...
[2025-01-09 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:36:04] Production.ERROR: done
[2025-01-09 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:36:04] Production.INFO: ==11277== Releasing lock...
[2025-01-09 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:36:04] Production.ERROR: done
[2025-01-09 02:36:04] Production.INFO: Account Balance Start.
[2025-01-09 02:36:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:36:04] Production.INFO: 117
[2025-01-09 02:36:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:36:04] Production.INFO: count ==21
[2025-01-09 02:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:36:04] Production.INFO: count ==21
[2025-01-09 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206554') start
[2025-01-09 02:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:36:04] Production.INFO: Total Charge 0
[2025-01-09 02:36:04] Production.INFO: CreateAllLog End
[2025-01-09 02:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206554') end
[2025-01-09 02:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:36:04] Production.INFO: 1
[2025-01-09 02:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:36:04] Production.INFO: ==11285== Releasing lock...
[2025-01-09 02:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:36:04] Production.INFO: Account Balance End.
[2025-01-09 02:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:36:04] Production.INFO: ==11281== Releasing lock...
[2025-01-09 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:36:05
[end_date_ymd] => 2025-01-09 02:36:05
[RateCDR] => 1
)
[2025-01-09 02:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:36:05' and `end` < '2025-01-09 02:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:36:11] Production.ERROR: CronJobId end10
[2025-01-09 02:36:11] Production.INFO: ==11279== Releasing lock...
[2025-01-09 02:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:36:13] Production.INFO: call_cost start
[2025-01-09 02:36:13] Production.INFO: call_cost end
[2025-01-09 02:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:36:13] Production.INFO: ==11274== Releasing lock...
[2025-01-09 02:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:36:18] Production.INFO: count ==177
[2025-01-09 02:36:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:36:05 - End Time 2025-01-09 02:36:05
[2025-01-09 02:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206556', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206556', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206556', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206556', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:36:18] Production.INFO: ProcessCDR(1,14206556,1,1,2)
[2025-01-09 02:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206556,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206556,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206556', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206556', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:36:21] Production.INFO: ==11283== Releasing lock...
[2025-01-09 02:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:36:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:37:01] Production.INFO: ==11347== Lock acquired, processing the job...
[2025-01-09 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:37:01] Production.INFO: neon service started
[2025-01-09 07:37:01] Production.INFO: neon service started
[2025-01-09 07:37:01] Production.INFO: ==11347== Releasing lock...
[2025-01-09 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:37:01] Production.INFO: ==11349== Lock acquired, processing the job...
[2025-01-09 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:37:02] Production.INFO: ==11349== Releasing lock...
[2025-01-09 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:37:02] Production.INFO: ==11351== Lock acquired, processing the job...
[2025-01-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:37:02] Production.INFO: ==11351== Releasing lock...
[2025-01-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:37:03] Production.INFO: ==11359== Lock acquired, processing the job...
[2025-01-09 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:37:03] Production.INFO: ==11353== Lock acquired, processing the job...
[2025-01-09 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:37:03] Production.INFO: Account Balance Start.
[2025-01-09 02:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:37:03] Production.INFO: ==11355== Lock acquired, processing the job...
[2025-01-09 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:37:03] Production.INFO: 117
[2025-01-09 02:37:03] Production.INFO: ==11357== Lock acquired, processing the job...
[2025-01-09 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:37:03] Production.INFO: Total Charge 0
[2025-01-09 02:37:03] Production.INFO: CreateAllLog End
[2025-01-09 02:37:03] Production.INFO: ==11364== Lock acquired, processing the job...
[2025-01-09 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:37:03] Production.INFO: ==11361== Lock acquired, processing the job...
[2025-01-09 02:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:37:03] Production.INFO: count ==21
[2025-01-09 02:37:03] Production.INFO: Account Balance End.
[2025-01-09 02:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:37:03] Production.INFO: count ==21
[2025-01-09 02:37:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:37:03] Production.INFO: ==11359== Releasing lock...
[2025-01-09 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206560') start
[2025-01-09 02:37:03] Production.INFO: ==11355== Releasing lock...
[2025-01-09 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:37:03] Production.ERROR: done
[2025-01-09 02:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206560') end
[2025-01-09 02:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:37:03] Production.INFO: 1
[2025-01-09 02:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:37:03] Production.INFO: ==11364== Releasing lock...
[2025-01-09 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:37:04] Production.ERROR: done
[2025-01-09 02:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:37:04
[end_date_ymd] => 2025-01-09 02:37:04
[RateCDR] => 1
)
[2025-01-09 02:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:37:04' and `end` < '2025-01-09 02:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:37:11] Production.ERROR: CronJobId end10
[2025-01-09 02:37:11] Production.INFO: ==11357== Releasing lock...
[2025-01-09 02:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:37:13] Production.INFO: call_cost start
[2025-01-09 02:37:13] Production.INFO: call_cost end
[2025-01-09 02:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:37:14] Production.INFO: ==11353== Releasing lock...
[2025-01-09 02:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:37:18] Production.INFO: count ==174
[2025-01-09 02:37:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:37:04 - End Time 2025-01-09 02:37:04
[2025-01-09 02:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206561', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206561', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206561', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206561', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:37:18] Production.INFO: ProcessCDR(1,14206561,1,1,2)
[2025-01-09 02:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206561,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206561,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206561', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206561', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:37:22] Production.INFO: ==11361== Releasing lock...
[2025-01-09 02:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:37:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:38:02] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-01-09 07:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:38:02] Production.INFO: neon service started
[2025-01-09 07:38:02] Production.INFO: neon service started
[2025-01-09 07:38:02] Production.INFO: ==11473== Releasing lock...
[2025-01-09 07:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:38:02] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-01-09 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:38:02] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:38:02] Production.INFO: ==11477== Releasing lock...
[2025-01-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:38:03] Production.INFO: ==11475== Releasing lock...
[2025-01-09 02:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:38:03] Production.INFO: ==11486== Lock acquired, processing the job...
[2025-01-09 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:38:03] Production.INFO: ==11490== Lock acquired, processing the job...
[2025-01-09 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:38:04] Production.INFO: Account Balance Start.
[2025-01-09 02:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:38:04] Production.INFO: ==11480== Lock acquired, processing the job...
[2025-01-09 02:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:38:04] Production.INFO: 117
[2025-01-09 02:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:38:04] Production.INFO: count ==21
[2025-01-09 02:38:04] Production.INFO: ==11482== Lock acquired, processing the job...
[2025-01-09 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:38:04] Production.INFO: count ==21
[2025-01-09 02:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206563') start
[2025-01-09 02:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:38:04] Production.INFO: ==11484== Lock acquired, processing the job...
[2025-01-09 02:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:38:04] Production.INFO: Total Charge 0
[2025-01-09 02:38:04] Production.INFO: CreateAllLog End
[2025-01-09 02:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206563') end
[2025-01-09 02:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:38:04] Production.INFO: 1
[2025-01-09 02:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:38:04] Production.INFO: ==11488== Lock acquired, processing the job...
[2025-01-09 02:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:38:04] Production.INFO: ==11490== Releasing lock...
[2025-01-09 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:38:04] Production.INFO: Account Balance End.
[2025-01-09 02:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:38:04] Production.INFO: ==11486== Releasing lock...
[2025-01-09 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:38:04] Production.INFO: ==11482== Releasing lock...
[2025-01-09 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:38:04] Production.ERROR: done
[2025-01-09 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:38:05] Production.ERROR: done
[2025-01-09 02:38:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:38:06
[end_date_ymd] => 2025-01-09 02:38:06
[RateCDR] => 1
)
[2025-01-09 02:38:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:38:06' and `end` < '2025-01-09 02:38:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:38:11] Production.ERROR: CronJobId end10
[2025-01-09 02:38:11] Production.INFO: ==11484== Releasing lock...
[2025-01-09 02:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:38:13] Production.INFO: call_cost start
[2025-01-09 02:38:13] Production.INFO: call_cost end
[2025-01-09 02:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:38:14] Production.INFO: ==11480== Releasing lock...
[2025-01-09 02:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:38:19] Production.INFO: count ==174
[2025-01-09 02:38:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:38:06 - End Time 2025-01-09 02:38:06
[2025-01-09 02:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206566', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206566', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206566', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206566', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:38:19] Production.INFO: ProcessCDR(1,14206566,1,1,2)
[2025-01-09 02:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206566,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206566,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206566', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206566', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:38:22] Production.INFO: ==11488== Releasing lock...
[2025-01-09 02:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:38:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:39:01] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-01-09 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:39:01] Production.INFO: neon service started
[2025-01-09 07:39:01] Production.INFO: neon service started
[2025-01-09 07:39:01] Production.INFO: ==11557== Releasing lock...
[2025-01-09 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:39:01] Production.INFO: ==11559== Lock acquired, processing the job...
[2025-01-09 02:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:39:02] Production.INFO: ==11559== Releasing lock...
[2025-01-09 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:39:02] Production.INFO: ==11561== Lock acquired, processing the job...
[2025-01-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:39:02] Production.INFO: ==11561== Releasing lock...
[2025-01-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:39:02] Production.INFO: ==11563== Lock acquired, processing the job...
[2025-01-09 02:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:39:02] Production.INFO: ==11565== Lock acquired, processing the job...
[2025-01-09 02:39:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:39:03] Production.INFO: ==11573== Lock acquired, processing the job...
[2025-01-09 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:39:03] Production.INFO: ==11567== Lock acquired, processing the job...
[2025-01-09 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:39:03] Production.INFO: ==11569== Lock acquired, processing the job...
[2025-01-09 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:39:03] Production.INFO: ==11571== Lock acquired, processing the job...
[2025-01-09 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:39:03] Production.INFO: count ==21
[2025-01-09 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:39:03] Production.INFO: count ==21
[2025-01-09 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206569') start
[2025-01-09 02:39:03] Production.INFO: Account Balance Start.
[2025-01-09 02:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:39:03] Production.INFO: 117
[2025-01-09 02:39:03] Production.INFO: ==11565== Releasing lock...
[2025-01-09 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:39:03] Production.INFO: Total Charge 0
[2025-01-09 02:39:03] Production.INFO: CreateAllLog End
[2025-01-09 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206569') end
[2025-01-09 02:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:39:03] Production.INFO: 1
[2025-01-09 02:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:39:03] Production.INFO: ==11573== Releasing lock...
[2025-01-09 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:39:03] Production.ERROR: done
[2025-01-09 02:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:39:03] Production.INFO: Account Balance End.
[2025-01-09 02:39:03] Production.ERROR: done
[2025-01-09 02:39:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:39:03] Production.INFO: ==11569== Releasing lock...
[2025-01-09 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:39:04
[end_date_ymd] => 2025-01-09 02:39:04
[RateCDR] => 1
)
[2025-01-09 02:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:39:04' and `end` < '2025-01-09 02:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:39:10] Production.ERROR: CronJobId end10
[2025-01-09 02:39:10] Production.INFO: ==11567== Releasing lock...
[2025-01-09 02:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:39:12] Production.INFO: call_cost start
[2025-01-09 02:39:12] Production.INFO: call_cost end
[2025-01-09 02:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:39:13] Production.INFO: ==11563== Releasing lock...
[2025-01-09 02:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:39:18] Production.INFO: count ==174
[2025-01-09 02:39:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:39:04 - End Time 2025-01-09 02:39:04
[2025-01-09 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206571', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206571', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206571', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206571', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:39:18] Production.INFO: ProcessCDR(1,14206571,1,1,2)
[2025-01-09 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206571,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206571,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206571', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206571', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:39:21] Production.INFO: ==11571== Releasing lock...
[2025-01-09 02:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:40:01] Production.INFO: ==11639== Lock acquired, processing the job...
[2025-01-09 07:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:40:01] Production.INFO: neon service started
[2025-01-09 07:40:01] Production.INFO: neon service started
[2025-01-09 07:40:01] Production.INFO: ==11639== Releasing lock...
[2025-01-09 07:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:40:02] Production.INFO: ==11643== Lock acquired, processing the job...
[2025-01-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:40:02] Production.INFO: ==11643== Releasing lock...
[2025-01-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:40:02] Production.INFO: ==11641== Lock acquired, processing the job...
[2025-01-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:40:02] Production.INFO: ==11641== Releasing lock...
[2025-01-09 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:40:03] Production.INFO: ==11645== Lock acquired, processing the job...
[2025-01-09 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 02:40:03] Production.INFO: ==11648== Lock acquired, processing the job...
[2025-01-09 02:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 02:40:03] Production.INFO: ==11650== Lock acquired, processing the job...
[2025-01-09 02:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 02:40:03] Production.INFO: ==11645== Releasing lock...
[2025-01-09 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 02:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:40:03] Production.INFO: ==11652== Lock acquired, processing the job...
[2025-01-09 02:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:40:04] Production.INFO: ==11654== Lock acquired, processing the job...
[2025-01-09 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:40:04] Production.INFO: ==11656== Lock acquired, processing the job...
[2025-01-09 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:40:04] Production.INFO: ==11650== Releasing lock...
[2025-01-09 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:40:04] Production.INFO: Account Balance Start.
[2025-01-09 02:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:40:04] Production.INFO: 117
[2025-01-09 02:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:40:04] Production.INFO: ==11660== Lock acquired, processing the job...
[2025-01-09 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:40:04] Production.INFO: ==11658== Lock acquired, processing the job...
[2025-01-09 02:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 02:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:40:04] Production.INFO: Total Charge 0
[2025-01-09 02:40:04] Production.INFO: CreateAllLog End
[2025-01-09 02:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:40:04] Production.INFO: count ==21
[2025-01-09 02:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:40:04] Production.INFO: count ==21
[2025-01-09 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206575') start
[2025-01-09 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206575') end
[2025-01-09 02:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:40:04] Production.INFO: 1
[2025-01-09 02:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:40:04] Production.ERROR: done
[2025-01-09 02:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:40:04] Production.INFO: ==11660== Releasing lock...
[2025-01-09 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:40:04] Production.INFO: Account Balance End.
[2025-01-09 02:40:04] Production.ERROR: done
[2025-01-09 02:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:40:04] Production.INFO: ==11654== Releasing lock...
[2025-01-09 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:40:05] Production.ERROR: done
[2025-01-09 02:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 02:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206576', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 02:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:40:06
[end_date_ymd] => 2025-01-09 02:40:06
[RateCDR] => 1
)
[2025-01-09 02:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:40:06' and `end` < '2025-01-09 02:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206576', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 02:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 02:40:08] Production.INFO: ProcessCDR(1,14206576,1,1,2)
[2025-01-09 02:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206576,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206576,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:40:08] Production.INFO: ==11658== Releasing lock...
[2025-01-09 02:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 02:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 02:40:12] Production.ERROR: CronJobId end10
[2025-01-09 02:40:12] Production.INFO: ==11652== Releasing lock...
[2025-01-09 02:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:40:15] Production.INFO: call_cost start
[2025-01-09 02:40:15] Production.INFO: call_cost end
[2025-01-09 02:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:40:15] Production.INFO: ==11648== Releasing lock...
[2025-01-09 02:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:40:19] Production.INFO: count ==174
[2025-01-09 02:40:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:40:06 - End Time 2025-01-09 02:40:06
[2025-01-09 02:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206577', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206577', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206577', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206577', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:40:19] Production.INFO: ProcessCDR(1,14206577,1,1,2)
[2025-01-09 02:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206577', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206577', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:40:22] Production.INFO: ==11656== Releasing lock...
[2025-01-09 02:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:40:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:41:02] Production.INFO: ==11726== Lock acquired, processing the job...
[2025-01-09 07:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:41:02] Production.INFO: neon service started
[2025-01-09 07:41:02] Production.INFO: neon service started
[2025-01-09 07:41:02] Production.INFO: ==11726== Releasing lock...
[2025-01-09 07:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:41:02] Production.INFO: ==11728== Lock acquired, processing the job...
[2025-01-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:41:02] Production.INFO: ==11728== Releasing lock...
[2025-01-09 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:41:02] Production.INFO: ==11730== Lock acquired, processing the job...
[2025-01-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:41:03] Production.INFO: ==11730== Releasing lock...
[2025-01-09 07:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:41:03] Production.INFO: ==11732== Lock acquired, processing the job...
[2025-01-09 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:41:03] Production.INFO: ==11734== Lock acquired, processing the job...
[2025-01-09 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:41:03] Production.INFO: ==11736== Lock acquired, processing the job...
[2025-01-09 02:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:41:03] Production.INFO: ==11738== Lock acquired, processing the job...
[2025-01-09 02:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:41:03] Production.INFO: ==11740== Lock acquired, processing the job...
[2025-01-09 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:41:03] Production.INFO: ==11742== Lock acquired, processing the job...
[2025-01-09 02:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 02:41:03] Production.INFO: Account Balance Start.
[2025-01-09 02:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:41:04] Production.INFO: count ==21
[2025-01-09 02:41:04] Production.INFO: 117
[2025-01-09 02:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:41:04] Production.INFO: count ==21
[2025-01-09 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206580') start
[2025-01-09 02:41:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:41:04] Production.INFO: ==11734== Releasing lock...
[2025-01-09 02:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:41:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:41:04] Production.INFO: Total Charge 0
[2025-01-09 02:41:04] Production.INFO: CreateAllLog End
[2025-01-09 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206580') end
[2025-01-09 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:41:04] Production.INFO: 1
[2025-01-09 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:41:04] Production.ERROR: done
[2025-01-09 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:41:04] Production.INFO: ==11742== Releasing lock...
[2025-01-09 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:41:04] Production.ERROR: done
[2025-01-09 02:41:04] Production.INFO: Account Balance End.
[2025-01-09 02:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:41:04] Production.INFO: ==11738== Releasing lock...
[2025-01-09 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:41:05
[end_date_ymd] => 2025-01-09 02:41:05
[RateCDR] => 1
)
[2025-01-09 02:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:41:05' and `end` < '2025-01-09 02:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:41:11] Production.ERROR: CronJobId end10
[2025-01-09 02:41:11] Production.INFO: ==11736== Releasing lock...
[2025-01-09 02:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:41:13] Production.INFO: call_cost start
[2025-01-09 02:41:13] Production.INFO: call_cost end
[2025-01-09 02:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:41:14] Production.INFO: ==11732== Releasing lock...
[2025-01-09 02:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:41:19] Production.INFO: count ==174
[2025-01-09 02:41:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:41:05 - End Time 2025-01-09 02:41:05
[2025-01-09 02:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206582', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206582', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206582', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206582', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:41:19] Production.INFO: ProcessCDR(1,14206582,1,1,2)
[2025-01-09 02:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206582', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206582', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:41:22] Production.INFO: ==11740== Releasing lock...
[2025-01-09 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:41:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:42:01] Production.INFO: ==11814== Lock acquired, processing the job...
[2025-01-09 07:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:42:01] Production.INFO: neon service started
[2025-01-09 07:42:01] Production.INFO: neon service started
[2025-01-09 07:42:01] Production.INFO: ==11814== Releasing lock...
[2025-01-09 07:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:42:02] Production.INFO: ==11818== Lock acquired, processing the job...
[2025-01-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:42:02] Production.INFO: ==11816== Lock acquired, processing the job...
[2025-01-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:42:02] Production.INFO: ==11818== Releasing lock...
[2025-01-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:42:02] Production.INFO: ==11816== Releasing lock...
[2025-01-09 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:42:03] Production.INFO: ==11821== Lock acquired, processing the job...
[2025-01-09 02:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:42:03] Production.INFO: ==11827== Lock acquired, processing the job...
[2025-01-09 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:42:03] Production.INFO: ==11825== Lock acquired, processing the job...
[2025-01-09 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:42:03] Production.INFO: Account Balance Start.
[2025-01-09 02:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:42:03] Production.INFO: 117
[2025-01-09 02:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:42:03] Production.INFO: ==11831== Lock acquired, processing the job...
[2025-01-09 02:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:42:03] Production.INFO: ==11823== Lock acquired, processing the job...
[2025-01-09 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:42:03] Production.INFO: Total Charge 0
[2025-01-09 02:42:03] Production.INFO: ==11829== Lock acquired, processing the job...
[2025-01-09 02:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:42:03] Production.INFO: CreateAllLog End
[2025-01-09 02:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:42:03] Production.INFO: count ==21
[2025-01-09 02:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:42:03] Production.INFO: count ==21
[2025-01-09 02:42:03] Production.INFO: Account Balance End.
[2025-01-09 02:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206586') start
[2025-01-09 02:42:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:42:03] Production.INFO: ==11827== Releasing lock...
[2025-01-09 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:42:03] Production.INFO: ==11823== Releasing lock...
[2025-01-09 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:42:04] Production.ERROR: done
[2025-01-09 02:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206586') end
[2025-01-09 02:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:42:04] Production.INFO: 1
[2025-01-09 02:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:42:04] Production.ERROR: done
[2025-01-09 02:42:04] Production.INFO: ==11831== Releasing lock...
[2025-01-09 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:42:05
[end_date_ymd] => 2025-01-09 02:42:05
[RateCDR] => 1
)
[2025-01-09 02:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:42:05' and `end` < '2025-01-09 02:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:42:12] Production.ERROR: CronJobId end10
[2025-01-09 02:42:12] Production.INFO: ==11825== Releasing lock...
[2025-01-09 02:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:42:14] Production.INFO: call_cost start
[2025-01-09 02:42:14] Production.INFO: call_cost end
[2025-01-09 02:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:42:15] Production.INFO: ==11821== Releasing lock...
[2025-01-09 02:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:42:18] Production.INFO: count ==174
[2025-01-09 02:42:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:42:05 - End Time 2025-01-09 02:42:05
[2025-01-09 02:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206587', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206587', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206587', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206587', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:42:18] Production.INFO: ProcessCDR(1,14206587,1,1,2)
[2025-01-09 02:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206587', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206587', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:42:21] Production.INFO: ==11829== Releasing lock...
[2025-01-09 02:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:42:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:43:02] Production.INFO: ==11898== Lock acquired, processing the job...
[2025-01-09 07:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:43:02] Production.INFO: neon service started
[2025-01-09 07:43:02] Production.INFO: neon service started
[2025-01-09 07:43:02] Production.INFO: ==11898== Releasing lock...
[2025-01-09 07:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:43:02] Production.INFO: ==11902== Lock acquired, processing the job...
[2025-01-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 02:43:02] Production.INFO: ==11900== Lock acquired, processing the job...
[2025-01-09 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:43:02] Production.INFO: ==11902== Releasing lock...
[2025-01-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:43:03] Production.INFO: ==11900== Releasing lock...
[2025-01-09 02:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:43:03] Production.INFO: ==11905== Lock acquired, processing the job...
[2025-01-09 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:43:03] Production.INFO: ==11909== Lock acquired, processing the job...
[2025-01-09 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:43:04] Production.INFO: ==11915== Lock acquired, processing the job...
[2025-01-09 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:43:04] Production.INFO: ==11907== Lock acquired, processing the job...
[2025-01-09 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:43:04] Production.INFO: ==11911== Lock acquired, processing the job...
[2025-01-09 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:43:04] Production.INFO: ==11913== Lock acquired, processing the job...
[2025-01-09 02:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:43:04] Production.INFO: count ==21
[2025-01-09 02:43:04] Production.INFO: Account Balance Start.
[2025-01-09 02:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:43:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:43:04] Production.INFO: count ==21
[2025-01-09 02:43:04] Production.INFO: 117
[2025-01-09 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206589') start
[2025-01-09 02:43:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206589') end
[2025-01-09 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:43:04] Production.INFO: 1
[2025-01-09 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:43:04] Production.INFO: ==11907== Releasing lock...
[2025-01-09 02:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:43:04] Production.INFO: ==11915== Releasing lock...
[2025-01-09 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:43:04] Production.INFO: Total Charge 0
[2025-01-09 02:43:04] Production.ERROR: done
[2025-01-09 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:43:04] Production.INFO: CreateAllLog End
[2025-01-09 02:43:04] Production.ERROR: done
[2025-01-09 02:43:04] Production.INFO: Account Balance End.
[2025-01-09 02:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:43:04] Production.INFO: ==11911== Releasing lock...
[2025-01-09 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:43:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:43:06
[end_date_ymd] => 2025-01-09 02:43:06
[RateCDR] => 1
)
[2025-01-09 02:43:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:43:06' and `end` < '2025-01-09 02:43:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:43:11] Production.ERROR: CronJobId end10
[2025-01-09 02:43:11] Production.INFO: ==11909== Releasing lock...
[2025-01-09 02:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:43:13] Production.INFO: call_cost start
[2025-01-09 02:43:13] Production.INFO: call_cost end
[2025-01-09 02:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:43:14] Production.INFO: ==11905== Releasing lock...
[2025-01-09 02:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:43:19] Production.INFO: count ==177
[2025-01-09 02:43:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:43:06 - End Time 2025-01-09 02:43:06
[2025-01-09 02:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206592', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206592', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206592', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206592', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:43:19] Production.INFO: ProcessCDR(1,14206592,1,1,2)
[2025-01-09 02:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206592', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206592', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:43:22] Production.INFO: ==11913== Releasing lock...
[2025-01-09 02:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:43:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:44:01] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-01-09 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:44:01] Production.INFO: neon service started
[2025-01-09 07:44:01] Production.INFO: neon service started
[2025-01-09 07:44:01] Production.INFO: ==11979== Releasing lock...
[2025-01-09 07:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:44:02] Production.INFO: ==11982== Lock acquired, processing the job...
[2025-01-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:44:02] Production.INFO: ==11984== Lock acquired, processing the job...
[2025-01-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:44:02] Production.INFO: ==11984== Releasing lock...
[2025-01-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:44:02] Production.INFO: ==11982== Releasing lock...
[2025-01-09 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:44:03] Production.INFO: ==11986== Lock acquired, processing the job...
[2025-01-09 02:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:44:03] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-01-09 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:44:03] Production.INFO: ==11988== Lock acquired, processing the job...
[2025-01-09 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:44:03] Production.INFO: ==11996== Lock acquired, processing the job...
[2025-01-09 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:44:03] Production.INFO: Account Balance Start.
[2025-01-09 02:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:44:03] Production.INFO: 117
[2025-01-09 02:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:44:03] Production.INFO: ==11994== Lock acquired, processing the job...
[2025-01-09 02:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:44:03] Production.INFO: ==11990== Lock acquired, processing the job...
[2025-01-09 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:44:03] Production.INFO: Total Charge 0
[2025-01-09 02:44:03] Production.INFO: CreateAllLog End
[2025-01-09 02:44:03] Production.INFO: count ==21
[2025-01-09 02:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:44:03] Production.INFO: count ==21
[2025-01-09 02:44:03] Production.INFO: ==11988== Releasing lock...
[2025-01-09 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206596') start
[2025-01-09 02:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:44:04] Production.ERROR: done
[2025-01-09 02:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:44:04] Production.INFO: Account Balance End.
[2025-01-09 02:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206596') end
[2025-01-09 02:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:44:04] Production.INFO: 1
[2025-01-09 02:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:44:04] Production.INFO: ==11992== Releasing lock...
[2025-01-09 02:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:44:04] Production.ERROR: done
[2025-01-09 02:44:04] Production.INFO: ==11996== Releasing lock...
[2025-01-09 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:44:05
[end_date_ymd] => 2025-01-09 02:44:05
[RateCDR] => 1
)
[2025-01-09 02:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:44:05' and `end` < '2025-01-09 02:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:44:10] Production.ERROR: CronJobId end10
[2025-01-09 02:44:10] Production.INFO: ==11990== Releasing lock...
[2025-01-09 02:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:44:12] Production.INFO: call_cost start
[2025-01-09 02:44:12] Production.INFO: call_cost end
[2025-01-09 02:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:44:13] Production.INFO: ==11986== Releasing lock...
[2025-01-09 02:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:44:19] Production.INFO: count ==175
[2025-01-09 02:44:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:44:05 - End Time 2025-01-09 02:44:05
[2025-01-09 02:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206597', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206597', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206597', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206597', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:44:19] Production.INFO: ProcessCDR(1,14206597,1,1,2)
[2025-01-09 02:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206597', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206597', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:44:22] Production.INFO: ==11994== Releasing lock...
[2025-01-09 02:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:44:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:45:02] Production.INFO: ==12062== Lock acquired, processing the job...
[2025-01-09 07:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:45:02] Production.INFO: neon service started
[2025-01-09 07:45:02] Production.INFO: neon service started
[2025-01-09 07:45:02] Production.INFO: ==12062== Releasing lock...
[2025-01-09 07:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:45:02] Production.INFO: ==12066== Lock acquired, processing the job...
[2025-01-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:45:02] Production.INFO: ==12066== Releasing lock...
[2025-01-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:45:02] Production.INFO: ==12064== Lock acquired, processing the job...
[2025-01-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:45:02] Production.INFO: ==12064== Releasing lock...
[2025-01-09 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:45:03] Production.INFO: ==12071== Lock acquired, processing the job...
[2025-01-09 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:45:03] Production.INFO: ==12079== Lock acquired, processing the job...
[2025-01-09 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:45:03] Production.INFO: ==12071== Releasing lock...
[2025-01-09 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:45:03] Production.INFO: ==12069== Lock acquired, processing the job...
[2025-01-09 02:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:45:04] Production.INFO: ==12073== Lock acquired, processing the job...
[2025-01-09 02:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:45:04] Production.INFO: count ==21
[2025-01-09 02:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:45:04] Production.INFO: count ==21
[2025-01-09 02:45:04] Production.INFO: ==12075== Lock acquired, processing the job...
[2025-01-09 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:45:04] Production.INFO: ==12077== Lock acquired, processing the job...
[2025-01-09 02:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206599') start
[2025-01-09 02:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:45:04] Production.INFO: Account Balance Start.
[2025-01-09 02:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:45:04] Production.INFO: 117
[2025-01-09 02:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206599') end
[2025-01-09 02:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:45:04] Production.INFO: 1
[2025-01-09 02:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:45:04] Production.INFO: Total Charge 0
[2025-01-09 02:45:04] Production.INFO: CreateAllLog End
[2025-01-09 02:45:04] Production.INFO: ==12079== Releasing lock...
[2025-01-09 02:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:45:04] Production.INFO: Account Balance End.
[2025-01-09 02:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:45:04] Production.INFO: ==12075== Releasing lock...
[2025-01-09 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:45:04] Production.ERROR: done
[2025-01-09 02:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:45:04] Production.ERROR: done
[2025-01-09 02:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:45:05
[end_date_ymd] => 2025-01-09 02:45:05
[RateCDR] => 1
)
[2025-01-09 02:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:45:05' and `end` < '2025-01-09 02:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:45:11] Production.ERROR: CronJobId end10
[2025-01-09 02:45:11] Production.INFO: ==12073== Releasing lock...
[2025-01-09 02:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:45:13] Production.INFO: call_cost start
[2025-01-09 02:45:13] Production.INFO: call_cost end
[2025-01-09 02:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:45:14] Production.INFO: ==12069== Releasing lock...
[2025-01-09 02:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:45:18] Production.INFO: count ==179
[2025-01-09 02:45:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:45:05 - End Time 2025-01-09 02:45:05
[2025-01-09 02:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206602', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206602', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206602', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206602', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:45:18] Production.INFO: ProcessCDR(1,14206602,1,1,2)
[2025-01-09 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206602', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206602', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:45:21] Production.INFO: ==12077== Releasing lock...
[2025-01-09 02:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:45:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:46:01] Production.INFO: ==12147== Lock acquired, processing the job...
[2025-01-09 07:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:46:01] Production.INFO: neon service started
[2025-01-09 07:46:01] Production.INFO: neon service started
[2025-01-09 07:46:01] Production.INFO: ==12147== Releasing lock...
[2025-01-09 07:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:46:01] Production.INFO: ==12149== Lock acquired, processing the job...
[2025-01-09 02:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:46:01] Production.INFO: ==12151== Lock acquired, processing the job...
[2025-01-09 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:46:02] Production.INFO: ==12151== Releasing lock...
[2025-01-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:46:02] Production.INFO: ==12149== Releasing lock...
[2025-01-09 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:46:03] Production.INFO: ==12162== Lock acquired, processing the job...
[2025-01-09 02:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:46:03] Production.INFO: ==12160== Lock acquired, processing the job...
[2025-01-09 02:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:46:03] Production.INFO: ==12154== Lock acquired, processing the job...
[2025-01-09 02:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:46:03] Production.INFO: ==12156== Lock acquired, processing the job...
[2025-01-09 02:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:46:03] Production.INFO: Account Balance Start.
[2025-01-09 02:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:46:03] Production.INFO: 117
[2025-01-09 02:46:03] Production.INFO: ==12158== Lock acquired, processing the job...
[2025-01-09 02:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:46:03] Production.INFO: ==12164== Lock acquired, processing the job...
[2025-01-09 02:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:46:03] Production.ERROR: done
[2025-01-09 02:46:03] Production.INFO: count ==21
[2025-01-09 02:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:46:03] Production.INFO: count ==21
[2025-01-09 02:46:03] Production.INFO: Total Charge 0
[2025-01-09 02:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206606') start
[2025-01-09 02:46:03] Production.INFO: CreateAllLog End
[2025-01-09 02:46:03] Production.INFO: ==12156== Releasing lock...
[2025-01-09 02:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:46:03] Production.ERROR: done
[2025-01-09 02:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206606') end
[2025-01-09 02:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:46:03] Production.INFO: 1
[2025-01-09 02:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:46:03] Production.INFO: Account Balance End.
[2025-01-09 02:46:03] Production.INFO: ==12164== Releasing lock...
[2025-01-09 02:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:46:04] Production.INFO: ==12160== Releasing lock...
[2025-01-09 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:46:04
[end_date_ymd] => 2025-01-09 02:46:04
[RateCDR] => 1
)
[2025-01-09 02:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:46:04' and `end` < '2025-01-09 02:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:46:11] Production.ERROR: CronJobId end10
[2025-01-09 02:46:11] Production.INFO: ==12158== Releasing lock...
[2025-01-09 02:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:46:13] Production.INFO: call_cost start
[2025-01-09 02:46:13] Production.INFO: call_cost end
[2025-01-09 02:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:46:14] Production.INFO: ==12154== Releasing lock...
[2025-01-09 02:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:46:17] Production.INFO: count ==178
[2025-01-09 02:46:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:46:04 - End Time 2025-01-09 02:46:04
[2025-01-09 02:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206607', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206607', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206607', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206607', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:46:17] Production.INFO: ProcessCDR(1,14206607,1,1,2)
[2025-01-09 02:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206607,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:46:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206607,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206607', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:46:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206607', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:46:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:46:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:46:20] Production.INFO: ==12162== Releasing lock...
[2025-01-09 02:46:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:46:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:47:02] Production.INFO: ==12230== Lock acquired, processing the job...
[2025-01-09 07:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:47:02] Production.INFO: neon service started
[2025-01-09 07:47:02] Production.INFO: neon service started
[2025-01-09 07:47:02] Production.INFO: ==12230== Releasing lock...
[2025-01-09 07:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:47:02] Production.INFO: ==12233== Lock acquired, processing the job...
[2025-01-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:47:02] Production.INFO: ==12235== Lock acquired, processing the job...
[2025-01-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:47:02] Production.INFO: ==12235== Releasing lock...
[2025-01-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:47:02] Production.INFO: ==12233== Releasing lock...
[2025-01-09 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:47:03] Production.INFO: ==12241== Lock acquired, processing the job...
[2025-01-09 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:47:03] Production.INFO: ==12243== Lock acquired, processing the job...
[2025-01-09 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:47:03] Production.INFO: ==12237== Lock acquired, processing the job...
[2025-01-09 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:47:03] Production.INFO: Account Balance Start.
[2025-01-09 02:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:47:03] Production.INFO: 117
[2025-01-09 02:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:47:03] Production.INFO: ==12239== Lock acquired, processing the job...
[2025-01-09 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:47:03] Production.INFO: Total Charge 0
[2025-01-09 02:47:03] Production.INFO: CreateAllLog End
[2025-01-09 02:47:03] Production.INFO: ==12245== Lock acquired, processing the job...
[2025-01-09 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:47:03] Production.INFO: ==12247== Lock acquired, processing the job...
[2025-01-09 02:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:47:04] Production.INFO: count ==21
[2025-01-09 02:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:47:04] Production.INFO: count ==21
[2025-01-09 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206611') start
[2025-01-09 02:47:04] Production.INFO: Account Balance End.
[2025-01-09 02:47:04] Production.INFO: ==12239== Releasing lock...
[2025-01-09 02:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206611') end
[2025-01-09 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:47:04] Production.INFO: 1
[2025-01-09 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:47:04] Production.ERROR: done
[2025-01-09 02:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:47:04] Production.INFO: ==12243== Releasing lock...
[2025-01-09 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:47:04] Production.INFO: ==12247== Releasing lock...
[2025-01-09 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:47:04] Production.ERROR: done
[2025-01-09 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:47:05
[end_date_ymd] => 2025-01-09 02:47:05
[RateCDR] => 1
)
[2025-01-09 02:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:47:05' and `end` < '2025-01-09 02:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:47:10] Production.ERROR: CronJobId end10
[2025-01-09 02:47:10] Production.INFO: ==12241== Releasing lock...
[2025-01-09 02:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:47:13] Production.INFO: call_cost start
[2025-01-09 02:47:13] Production.INFO: call_cost end
[2025-01-09 02:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:47:14] Production.INFO: ==12237== Releasing lock...
[2025-01-09 02:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:47:19] Production.INFO: count ==178
[2025-01-09 02:47:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:47:05 - End Time 2025-01-09 02:47:05
[2025-01-09 02:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206612', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206612', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206612', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206612', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:47:19] Production.INFO: ProcessCDR(1,14206612,1,1,2)
[2025-01-09 02:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206612,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206612,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206612', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206612', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:47:22] Production.INFO: ==12245== Releasing lock...
[2025-01-09 02:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:47:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:48:01] Production.INFO: ==12313== Lock acquired, processing the job...
[2025-01-09 07:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:48:01] Production.INFO: neon service started
[2025-01-09 07:48:01] Production.INFO: neon service started
[2025-01-09 07:48:01] Production.INFO: ==12313== Releasing lock...
[2025-01-09 07:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:48:02] Production.INFO: ==12316== Lock acquired, processing the job...
[2025-01-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:48:02] Production.INFO: ==12318== Lock acquired, processing the job...
[2025-01-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:48:02] Production.INFO: ==12318== Releasing lock...
[2025-01-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:48:02] Production.INFO: ==12316== Releasing lock...
[2025-01-09 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:48:03] Production.INFO: ==12322== Lock acquired, processing the job...
[2025-01-09 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:48:03] Production.INFO: ==12328== Lock acquired, processing the job...
[2025-01-09 02:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:48:03] Production.INFO: ==12320== Lock acquired, processing the job...
[2025-01-09 02:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:48:03] Production.INFO: ==12324== Lock acquired, processing the job...
[2025-01-09 02:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:48:03] Production.INFO: ==12326== Lock acquired, processing the job...
[2025-01-09 02:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:48:03] Production.ERROR: done
[2025-01-09 02:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:48:03] Production.INFO: ==12330== Lock acquired, processing the job...
[2025-01-09 02:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:48:03] Production.ERROR: done
[2025-01-09 02:48:03] Production.INFO: Account Balance Start.
[2025-01-09 02:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:48:03] Production.INFO: 117
[2025-01-09 02:48:03] Production.INFO: ==12322== Releasing lock...
[2025-01-09 02:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:48:04] Production.INFO: Total Charge 0
[2025-01-09 02:48:04] Production.INFO: CreateAllLog End
[2025-01-09 02:48:04] Production.INFO: count ==21
[2025-01-09 02:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:48:04] Production.INFO: count ==21
[2025-01-09 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206615') start
[2025-01-09 02:48:04] Production.INFO: Account Balance End.
[2025-01-09 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206615') end
[2025-01-09 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:48:04] Production.INFO: 1
[2025-01-09 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:48:04] Production.INFO: ==12326== Releasing lock...
[2025-01-09 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:48:04] Production.INFO: ==12330== Releasing lock...
[2025-01-09 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:48:05
[end_date_ymd] => 2025-01-09 02:48:05
[RateCDR] => 1
)
[2025-01-09 02:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:48:05' and `end` < '2025-01-09 02:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:48:11] Production.ERROR: CronJobId end10
[2025-01-09 02:48:11] Production.INFO: ==12324== Releasing lock...
[2025-01-09 02:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:48:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:48:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:48:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:48:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:48:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:48:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:48:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:48:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:48:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:48:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:48:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:48:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:48:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:48:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:48:12] Production.INFO: call_cost start
[2025-01-09 02:48:12] Production.INFO: call_cost end
[2025-01-09 02:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:48:13] Production.INFO: ==12320== Releasing lock...
[2025-01-09 02:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:48:19] Production.INFO: count ==178
[2025-01-09 02:48:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:48:05 - End Time 2025-01-09 02:48:05
[2025-01-09 02:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206617', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206617', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206617', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206617', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:48:19] Production.INFO: ProcessCDR(1,14206617,1,1,2)
[2025-01-09 02:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206617,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206617,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206617', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206617', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:48:22] Production.INFO: ==12328== Releasing lock...
[2025-01-09 02:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:48:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:49:02] Production.INFO: ==12396== Lock acquired, processing the job...
[2025-01-09 07:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:49:02] Production.INFO: neon service started
[2025-01-09 07:49:02] Production.INFO: neon service started
[2025-01-09 07:49:02] Production.INFO: ==12396== Releasing lock...
[2025-01-09 07:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:49:02] Production.INFO: ==12399== Lock acquired, processing the job...
[2025-01-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:49:02] Production.INFO: ==12399== Releasing lock...
[2025-01-09 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:49:02] Production.INFO: ==12401== Lock acquired, processing the job...
[2025-01-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:49:02] Production.INFO: ==12401== Releasing lock...
[2025-01-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:49:03] Production.INFO: ==12405== Lock acquired, processing the job...
[2025-01-09 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:49:03] Production.INFO: ==12405== Releasing lock...
[2025-01-09 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:49:03] Production.INFO: ==12403== Lock acquired, processing the job...
[2025-01-09 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:49:03] Production.INFO: ==12413== Lock acquired, processing the job...
[2025-01-09 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:49:03] Production.INFO: ==12407== Lock acquired, processing the job...
[2025-01-09 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:49:03] Production.INFO: ==12409== Lock acquired, processing the job...
[2025-01-09 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:49:03] Production.INFO: ==12411== Lock acquired, processing the job...
[2025-01-09 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:49:03] Production.INFO: count ==21
[2025-01-09 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:49:03] Production.INFO: count ==21
[2025-01-09 02:49:03] Production.INFO: Account Balance Start.
[2025-01-09 02:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:49:03] Production.INFO: 117
[2025-01-09 02:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206619') start
[2025-01-09 02:49:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206619') end
[2025-01-09 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:49:04] Production.INFO: 1
[2025-01-09 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:49:04] Production.INFO: ==12413== Releasing lock...
[2025-01-09 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:49:04] Production.ERROR: done
[2025-01-09 02:49:04] Production.INFO: Total Charge 0
[2025-01-09 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:49:04] Production.INFO: CreateAllLog End
[2025-01-09 02:49:04] Production.ERROR: done
[2025-01-09 02:49:04] Production.INFO: Account Balance End.
[2025-01-09 02:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:49:04] Production.INFO: ==12409== Releasing lock...
[2025-01-09 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:49:05
[end_date_ymd] => 2025-01-09 02:49:05
[RateCDR] => 1
)
[2025-01-09 02:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:49:05' and `end` < '2025-01-09 02:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:49:11] Production.ERROR: CronJobId end10
[2025-01-09 02:49:11] Production.INFO: ==12407== Releasing lock...
[2025-01-09 02:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:49:13] Production.INFO: call_cost start
[2025-01-09 02:49:13] Production.INFO: call_cost end
[2025-01-09 02:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:49:14] Production.INFO: ==12403== Releasing lock...
[2025-01-09 02:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:49:18] Production.INFO: count ==178
[2025-01-09 02:49:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:49:05 - End Time 2025-01-09 02:49:05
[2025-01-09 02:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206622', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206622', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206622', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206622', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:49:18] Production.INFO: ProcessCDR(1,14206622,1,1,2)
[2025-01-09 02:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206622,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206622,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206622', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206622', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:49:22] Production.INFO: ==12411== Releasing lock...
[2025-01-09 02:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:49:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:50:01] Production.INFO: ==12477== Lock acquired, processing the job...
[2025-01-09 07:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:50:01] Production.INFO: neon service started
[2025-01-09 07:50:01] Production.INFO: neon service started
[2025-01-09 07:50:01] Production.INFO: ==12477== Releasing lock...
[2025-01-09 07:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:50:01] Production.INFO: ==12479== Lock acquired, processing the job...
[2025-01-09 02:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:50:02] Production.INFO: ==12481== Lock acquired, processing the job...
[2025-01-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:50:02] Production.INFO: ==12481== Releasing lock...
[2025-01-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:50:02] Production.INFO: ==12479== Releasing lock...
[2025-01-09 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:50:03] Production.INFO: ==12484== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 02:50:03] Production.INFO: ==12492== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:50:03] Production.INFO: ==12494== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 02:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:50:03] Production.ERROR: CronJob PID - 12492
[2025-01-09 02:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 02:50:03] Production.ERROR: CronJob ID - 12
[2025-01-09 02:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 02:50:00
[2025-01-09 02:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 02:50:03] Production.ERROR: CronJob PID - 12494
[2025-01-09 02:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 02:50:03] Production.ERROR: CronJob ID - 16
[2025-01-09 02:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 02:50:00
[2025-01-09 02:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 02:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 02:50:03] Production.INFO: ==12486== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 02:50:03] Production.INFO: ==12484== Releasing lock...
[2025-01-09 02:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 02:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 02:50:03] Production.INFO: ==12488== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:50:03] Production.INFO: ==12498== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:50:03] Production.INFO: Account Balance Start.
[2025-01-09 02:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:50:03] Production.INFO: 117
[2025-01-09 02:50:03] Production.INFO: ==12490== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:50:03] Production.INFO: ==12496== Lock acquired, processing the job...
[2025-01-09 02:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 02:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:50:03] Production.INFO: count ==21
[2025-01-09 02:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:50:03] Production.INFO: count ==21
[2025-01-09 02:50:03] Production.ERROR: done
[2025-01-09 02:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206624') start
[2025-01-09 02:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:50:04] Production.INFO: Total Charge 0
[2025-01-09 02:50:04] Production.INFO: CreateAllLog End
[2025-01-09 02:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206624') end
[2025-01-09 02:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:50:04] Production.INFO: 1
[2025-01-09 02:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:50:04] Production.INFO: ==12498== Releasing lock...
[2025-01-09 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:50:04] Production.INFO: ==12488== Releasing lock...
[2025-01-09 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:50:04] Production.ERROR: done
[2025-01-09 02:50:04] Production.ERROR: done
[2025-01-09 02:50:04] Production.INFO: Account Balance End.
[2025-01-09 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206628', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 02:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:50:04] Production.INFO: ==12492== Releasing lock...
[2025-01-09 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:50:05
[end_date_ymd] => 2025-01-09 02:50:05
[RateCDR] => 1
)
[2025-01-09 02:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:50:05' and `end` < '2025-01-09 02:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206628', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 02:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 02:50:08] Production.INFO: ProcessCDR(1,14206628,1,1,2)
[2025-01-09 02:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:50:08] Production.INFO: ==12496== Releasing lock...
[2025-01-09 02:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 02:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 02:50:12] Production.ERROR: CronJobId end10
[2025-01-09 02:50:12] Production.INFO: ==12490== Releasing lock...
[2025-01-09 02:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:50:15] Production.INFO: call_cost start
[2025-01-09 02:50:15] Production.INFO: call_cost end
[2025-01-09 02:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:50:16] Production.INFO: ==12486== Releasing lock...
[2025-01-09 02:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:50:19] Production.INFO: count ==183
[2025-01-09 02:50:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:50:05 - End Time 2025-01-09 02:50:05
[2025-01-09 02:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206627', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206627', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206627', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206627', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:50:19] Production.INFO: ProcessCDR(1,14206627,1,1,2)
[2025-01-09 02:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206627,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206627,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206627', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206627', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:50:22] Production.INFO: ==12494== Releasing lock...
[2025-01-09 02:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:50:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:51:01] Production.INFO: ==12564== Lock acquired, processing the job...
[2025-01-09 07:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:51:01] Production.INFO: neon service started
[2025-01-09 07:51:01] Production.INFO: neon service started
[2025-01-09 07:51:01] Production.INFO: ==12564== Releasing lock...
[2025-01-09 07:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:51:02] Production.INFO: ==12566== Lock acquired, processing the job...
[2025-01-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:51:02] Production.INFO: ==12568== Lock acquired, processing the job...
[2025-01-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:51:02] Production.INFO: ==12568== Releasing lock...
[2025-01-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:51:02] Production.INFO: ==12566== Releasing lock...
[2025-01-09 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:51:03] Production.INFO: ==12571== Lock acquired, processing the job...
[2025-01-09 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:51:03] Production.INFO: ==12573== Lock acquired, processing the job...
[2025-01-09 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:51:03] Production.INFO: ==12579== Lock acquired, processing the job...
[2025-01-09 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:51:03] Production.INFO: ==12575== Lock acquired, processing the job...
[2025-01-09 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:51:03] Production.INFO: ==12577== Lock acquired, processing the job...
[2025-01-09 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:51:03] Production.INFO: ==12573== Releasing lock...
[2025-01-09 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:51:03] Production.INFO: ==12581== Lock acquired, processing the job...
[2025-01-09 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:51:04] Production.ERROR: done
[2025-01-09 02:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:51:04] Production.INFO: Account Balance Start.
[2025-01-09 02:51:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:51:04] Production.INFO: 117
[2025-01-09 02:51:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:51:04] Production.INFO: count ==21
[2025-01-09 02:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:51:04] Production.ERROR: done
[2025-01-09 02:51:04] Production.INFO: Total Charge 0
[2025-01-09 02:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:51:04] Production.INFO: count ==21
[2025-01-09 02:51:04] Production.INFO: CreateAllLog End
[2025-01-09 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206632') start
[2025-01-09 02:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206632') end
[2025-01-09 02:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:51:04] Production.INFO: 1
[2025-01-09 02:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:51:04] Production.INFO: ==12581== Releasing lock...
[2025-01-09 02:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:51:04] Production.INFO: Account Balance End.
[2025-01-09 02:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:51:04] Production.INFO: ==12577== Releasing lock...
[2025-01-09 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:51:05
[end_date_ymd] => 2025-01-09 02:51:05
[RateCDR] => 1
)
[2025-01-09 02:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:51:05' and `end` < '2025-01-09 02:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:51:11] Production.ERROR: CronJobId end10
[2025-01-09 02:51:11] Production.INFO: ==12575== Releasing lock...
[2025-01-09 02:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:51:13] Production.INFO: call_cost start
[2025-01-09 02:51:13] Production.INFO: call_cost end
[2025-01-09 02:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:51:14] Production.INFO: ==12571== Releasing lock...
[2025-01-09 02:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:51:19] Production.INFO: count ==189
[2025-01-09 02:51:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:51:05 - End Time 2025-01-09 02:51:05
[2025-01-09 02:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206633', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206633', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206633', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206633', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:51:19] Production.INFO: ProcessCDR(1,14206633,1,1,2)
[2025-01-09 02:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206633', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206633', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:51:22] Production.INFO: ==12579== Releasing lock...
[2025-01-09 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:51:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:52:01] Production.INFO: ==12646== Lock acquired, processing the job...
[2025-01-09 07:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:52:01] Production.INFO: neon service started
[2025-01-09 07:52:01] Production.INFO: neon service started
[2025-01-09 07:52:01] Production.INFO: ==12646== Releasing lock...
[2025-01-09 07:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:52:01] Production.INFO: ==12648== Lock acquired, processing the job...
[2025-01-09 02:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:52:02] Production.INFO: ==12648== Releasing lock...
[2025-01-09 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:52:02] Production.INFO: ==12650== Lock acquired, processing the job...
[2025-01-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:52:02] Production.INFO: ==12650== Releasing lock...
[2025-01-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:52:02] Production.INFO: ==12654== Lock acquired, processing the job...
[2025-01-09 02:52:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:52:02] Production.INFO: ==12662== Lock acquired, processing the job...
[2025-01-09 02:52:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:52:03] Production.INFO: ==12652== Lock acquired, processing the job...
[2025-01-09 02:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:52:03] Production.INFO: count ==21
[2025-01-09 02:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:52:03] Production.INFO: count ==21
[2025-01-09 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206634') start
[2025-01-09 02:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:52:03] Production.INFO: ==12656== Lock acquired, processing the job...
[2025-01-09 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206634') end
[2025-01-09 02:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:52:03] Production.INFO: ==12658== Lock acquired, processing the job...
[2025-01-09 02:52:03] Production.INFO: 1
[2025-01-09 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:52:03] Production.INFO: ==12660== Lock acquired, processing the job...
[2025-01-09 02:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:52:03] Production.INFO: ==12662== Releasing lock...
[2025-01-09 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:52:03] Production.INFO: Account Balance Start.
[2025-01-09 02:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:52:03] Production.INFO: 117
[2025-01-09 02:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:52:03] Production.INFO: Total Charge 0
[2025-01-09 02:52:03] Production.INFO: CreateAllLog End
[2025-01-09 02:52:03] Production.INFO: ==12654== Releasing lock...
[2025-01-09 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:52:03] Production.INFO: Account Balance End.
[2025-01-09 02:52:03] Production.ERROR: done
[2025-01-09 02:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:52:03] Production.ERROR: CronJobId end 12
[2025-01-09 02:52:03] Production.INFO: ==12658== Releasing lock...
[2025-01-09 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:52:03] Production.ERROR: done
[2025-01-09 02:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:52:04
[end_date_ymd] => 2025-01-09 02:52:04
[RateCDR] => 1
)
[2025-01-09 02:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:52:04' and `end` < '2025-01-09 02:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:52:10] Production.ERROR: CronJobId end10
[2025-01-09 02:52:10] Production.INFO: ==12656== Releasing lock...
[2025-01-09 02:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:52:12] Production.INFO: call_cost start
[2025-01-09 02:52:12] Production.INFO: call_cost end
[2025-01-09 02:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:52:13] Production.INFO: ==12652== Releasing lock...
[2025-01-09 02:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:52:17] Production.INFO: count ==189
[2025-01-09 02:52:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:52:04 - End Time 2025-01-09 02:52:04
[2025-01-09 02:52:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206638', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206638', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206638', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:52:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206638', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:52:17] Production.INFO: ProcessCDR(1,14206638,1,1,2)
[2025-01-09 02:52:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:52:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:52:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:52:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206638', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:52:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206638', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:52:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:52:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:52:20] Production.INFO: ==12660== Releasing lock...
[2025-01-09 02:52:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:52:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:53:01] Production.INFO: ==12730== Lock acquired, processing the job...
[2025-01-09 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:53:01] Production.INFO: neon service started
[2025-01-09 07:53:01] Production.INFO: neon service started
[2025-01-09 07:53:01] Production.INFO: ==12730== Releasing lock...
[2025-01-09 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:53:02] Production.INFO: ==12734== Lock acquired, processing the job...
[2025-01-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:53:02] Production.INFO: ==12734== Releasing lock...
[2025-01-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:53:02] Production.INFO: ==12732== Lock acquired, processing the job...
[2025-01-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:53:02] Production.INFO: ==12732== Releasing lock...
[2025-01-09 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:53:03] Production.INFO: ==12740== Lock acquired, processing the job...
[2025-01-09 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:53:03] Production.INFO: ==12742== Lock acquired, processing the job...
[2025-01-09 02:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:53:03] Production.INFO: ==12747== Lock acquired, processing the job...
[2025-01-09 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:53:03] Production.INFO: Account Balance Start.
[2025-01-09 02:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:53:03] Production.INFO: 117
[2025-01-09 02:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:53:03] Production.INFO: count ==21
[2025-01-09 02:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:53:03] Production.INFO: count ==21
[2025-01-09 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206640') start
[2025-01-09 02:53:03] Production.INFO: ==12736== Lock acquired, processing the job...
[2025-01-09 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:53:03] Production.INFO: ==12738== Lock acquired, processing the job...
[2025-01-09 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:53:03] Production.INFO: Total Charge 0
[2025-01-09 02:53:03] Production.INFO: ==12745== Lock acquired, processing the job...
[2025-01-09 02:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206640') end
[2025-01-09 02:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:53:03] Production.INFO: 1
[2025-01-09 02:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:53:03] Production.INFO: CreateAllLog End
[2025-01-09 02:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:53:03] Production.INFO: ==12747== Releasing lock...
[2025-01-09 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:53:03] Production.INFO: Account Balance End.
[2025-01-09 02:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:53:04] Production.INFO: ==12742== Releasing lock...
[2025-01-09 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:53:04] Production.ERROR: done
[2025-01-09 02:53:04] Production.INFO: ==12738== Releasing lock...
[2025-01-09 02:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:53:04] Production.ERROR: done
[2025-01-09 02:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:53:05
[end_date_ymd] => 2025-01-09 02:53:05
[RateCDR] => 1
)
[2025-01-09 02:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:53:05' and `end` < '2025-01-09 02:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:53:10] Production.ERROR: CronJobId end10
[2025-01-09 02:53:10] Production.INFO: ==12740== Releasing lock...
[2025-01-09 02:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:53:13] Production.INFO: call_cost start
[2025-01-09 02:53:13] Production.INFO: call_cost end
[2025-01-09 02:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:53:14] Production.INFO: ==12736== Releasing lock...
[2025-01-09 02:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:53:20] Production.INFO: count ==188
[2025-01-09 02:53:20] Production.ERROR: pbx CDR StartTime 2025-01-08 23:53:05 - End Time 2025-01-09 02:53:05
[2025-01-09 02:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206643', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206643', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206643', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206643', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:53:20] Production.INFO: ProcessCDR(1,14206643,1,1,2)
[2025-01-09 02:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206643', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206643', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:53:23] Production.INFO: ==12745== Releasing lock...
[2025-01-09 02:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:53:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:54:02] Production.INFO: ==12852== Lock acquired, processing the job...
[2025-01-09 07:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:54:02] Production.INFO: neon service started
[2025-01-09 07:54:02] Production.INFO: neon service started
[2025-01-09 07:54:02] Production.INFO: ==12852== Releasing lock...
[2025-01-09 07:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:54:02] Production.INFO: ==12854== Lock acquired, processing the job...
[2025-01-09 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:54:02] Production.INFO: ==12856== Lock acquired, processing the job...
[2025-01-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:54:02] Production.INFO: ==12856== Releasing lock...
[2025-01-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:54:03] Production.INFO: ==12854== Releasing lock...
[2025-01-09 02:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:54:03] Production.INFO: ==12859== Lock acquired, processing the job...
[2025-01-09 02:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:54:03] Production.INFO: ==12861== Lock acquired, processing the job...
[2025-01-09 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:54:03] Production.INFO: ==12863== Lock acquired, processing the job...
[2025-01-09 02:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:54:04] Production.INFO: ==12865== Lock acquired, processing the job...
[2025-01-09 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:54:04] Production.INFO: ==12861== Releasing lock...
[2025-01-09 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:54:04] Production.INFO: ==12869== Lock acquired, processing the job...
[2025-01-09 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:54:04] Production.INFO: ==12867== Lock acquired, processing the job...
[2025-01-09 02:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:54:04] Production.INFO: Account Balance Start.
[2025-01-09 02:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:54:04] Production.INFO: 117
[2025-01-09 02:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:54:04] Production.INFO: Total Charge 0
[2025-01-09 02:54:04] Production.INFO: CreateAllLog End
[2025-01-09 02:54:04] Production.INFO: count ==21
[2025-01-09 02:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:54:04] Production.INFO: count ==21
[2025-01-09 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206647') start
[2025-01-09 02:54:04] Production.ERROR: done
[2025-01-09 02:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:54:04] Production.INFO: Account Balance End.
[2025-01-09 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206647') end
[2025-01-09 02:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:54:04] Production.INFO: 1
[2025-01-09 02:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:54:04] Production.INFO: ==12869== Releasing lock...
[2025-01-09 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:54:04] Production.ERROR: done
[2025-01-09 02:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:54:04] Production.INFO: ==12865== Releasing lock...
[2025-01-09 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:54:05
[end_date_ymd] => 2025-01-09 02:54:05
[RateCDR] => 1
)
[2025-01-09 02:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:54:05' and `end` < '2025-01-09 02:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:54:11] Production.ERROR: CronJobId end10
[2025-01-09 02:54:11] Production.INFO: ==12863== Releasing lock...
[2025-01-09 02:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:54:13] Production.INFO: call_cost start
[2025-01-09 02:54:13] Production.INFO: call_cost end
[2025-01-09 02:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:54:14] Production.INFO: ==12859== Releasing lock...
[2025-01-09 02:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:54:19] Production.INFO: count ==188
[2025-01-09 02:54:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:54:05 - End Time 2025-01-09 02:54:05
[2025-01-09 02:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206648', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206648', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206648', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206648', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:54:19] Production.INFO: ProcessCDR(1,14206648,1,1,2)
[2025-01-09 02:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206648', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206648', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:54:22] Production.INFO: ==12867== Releasing lock...
[2025-01-09 02:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:54:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:55:01] Production.INFO: ==12934== Lock acquired, processing the job...
[2025-01-09 07:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:55:01] Production.INFO: neon service started
[2025-01-09 07:55:01] Production.INFO: neon service started
[2025-01-09 07:55:01] Production.INFO: ==12934== Releasing lock...
[2025-01-09 07:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:55:01] Production.INFO: ==12936== Lock acquired, processing the job...
[2025-01-09 02:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:55:02] Production.INFO: ==12936== Releasing lock...
[2025-01-09 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:55:02] Production.INFO: ==12938== Lock acquired, processing the job...
[2025-01-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:55:02] Production.INFO: ==12938== Releasing lock...
[2025-01-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:55:03] Production.INFO: ==12940== Lock acquired, processing the job...
[2025-01-09 02:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:55:03] Production.INFO: ==12944== Lock acquired, processing the job...
[2025-01-09 02:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:55:03] Production.INFO: ==12942== Lock acquired, processing the job...
[2025-01-09 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:55:03] Production.INFO: ==12950== Lock acquired, processing the job...
[2025-01-09 02:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:55:03] Production.INFO: ==12946== Lock acquired, processing the job...
[2025-01-09 02:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:55:03] Production.INFO: ==12948== Lock acquired, processing the job...
[2025-01-09 02:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:55:03] Production.INFO: count ==21
[2025-01-09 02:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:55:03] Production.INFO: count ==21
[2025-01-09 02:55:03] Production.INFO: Account Balance Start.
[2025-01-09 02:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:55:03] Production.INFO: 117
[2025-01-09 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206651') start
[2025-01-09 02:55:03] Production.INFO: ==12942== Releasing lock...
[2025-01-09 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:55:03] Production.ERROR: done
[2025-01-09 02:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:55:03] Production.INFO: Total Charge 0
[2025-01-09 02:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206651') end
[2025-01-09 02:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:55:03] Production.INFO: 1
[2025-01-09 02:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:55:04] Production.INFO: CreateAllLog End
[2025-01-09 02:55:04] Production.ERROR: done
[2025-01-09 02:55:04] Production.INFO: ==12950== Releasing lock...
[2025-01-09 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:55:04] Production.INFO: Account Balance End.
[2025-01-09 02:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:55:04] Production.INFO: ==12946== Releasing lock...
[2025-01-09 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:55:05
[end_date_ymd] => 2025-01-09 02:55:05
[RateCDR] => 1
)
[2025-01-09 02:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:55:05' and `end` < '2025-01-09 02:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:55:11] Production.ERROR: CronJobId end10
[2025-01-09 02:55:11] Production.INFO: ==12944== Releasing lock...
[2025-01-09 02:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:55:13] Production.INFO: call_cost start
[2025-01-09 02:55:13] Production.INFO: call_cost end
[2025-01-09 02:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:55:14] Production.INFO: ==12940== Releasing lock...
[2025-01-09 02:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:55:18] Production.INFO: count ==188
[2025-01-09 02:55:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:55:05 - End Time 2025-01-09 02:55:05
[2025-01-09 02:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206653', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206653', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206653', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206653', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:55:18] Production.INFO: ProcessCDR(1,14206653,1,1,2)
[2025-01-09 02:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206653', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206653', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:55:21] Production.INFO: ==12948== Releasing lock...
[2025-01-09 02:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:55:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:56:02] Production.INFO: ==13020== Lock acquired, processing the job...
[2025-01-09 07:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:56:02] Production.INFO: neon service started
[2025-01-09 07:56:02] Production.INFO: neon service started
[2025-01-09 07:56:02] Production.INFO: ==13020== Releasing lock...
[2025-01-09 07:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:56:02] Production.INFO: ==13022== Lock acquired, processing the job...
[2025-01-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:56:02] Production.INFO: ==13022== Releasing lock...
[2025-01-09 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:56:03] Production.INFO: ==13024== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:56:03] Production.INFO: ==13024== Releasing lock...
[2025-01-09 07:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:56:03] Production.INFO: ==13026== Lock acquired, processing the job...
[2025-01-09 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:56:04] Production.INFO: ==13037== Lock acquired, processing the job...
[2025-01-09 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:56:04] Production.INFO: ==13030== Lock acquired, processing the job...
[2025-01-09 02:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:56:04] Production.INFO: ==13028== Lock acquired, processing the job...
[2025-01-09 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:56:04] Production.INFO: count ==21
[2025-01-09 02:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:56:04] Production.INFO: count ==21
[2025-01-09 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206655') start
[2025-01-09 02:56:04] Production.INFO: ==13032== Lock acquired, processing the job...
[2025-01-09 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:56:04] Production.INFO: ==13034== Lock acquired, processing the job...
[2025-01-09 02:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206655') end
[2025-01-09 02:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:56:04] Production.INFO: 1
[2025-01-09 02:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:56:04] Production.INFO: Account Balance Start.
[2025-01-09 02:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:56:04] Production.INFO: 117
[2025-01-09 02:56:04] Production.INFO: ==13037== Releasing lock...
[2025-01-09 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:56:04] Production.INFO: Total Charge 0
[2025-01-09 02:56:04] Production.INFO: CreateAllLog End
[2025-01-09 02:56:04] Production.INFO: ==13028== Releasing lock...
[2025-01-09 02:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:56:04] Production.INFO: Account Balance End.
[2025-01-09 02:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:56:04] Production.INFO: ==13032== Releasing lock...
[2025-01-09 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:56:04] Production.ERROR: done
[2025-01-09 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:56:05] Production.ERROR: done
[2025-01-09 02:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:56:05
[end_date_ymd] => 2025-01-09 02:56:05
[RateCDR] => 1
)
[2025-01-09 02:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:56:05' and `end` < '2025-01-09 02:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:56:11] Production.ERROR: CronJobId end10
[2025-01-09 02:56:11] Production.INFO: ==13030== Releasing lock...
[2025-01-09 02:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:56:14] Production.INFO: call_cost start
[2025-01-09 02:56:14] Production.INFO: call_cost end
[2025-01-09 02:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:56:15] Production.INFO: ==13026== Releasing lock...
[2025-01-09 02:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:56:18] Production.INFO: count ==188
[2025-01-09 02:56:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:56:05 - End Time 2025-01-09 02:56:05
[2025-01-09 02:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206658', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206658', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206658', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206658', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:56:18] Production.INFO: ProcessCDR(1,14206658,1,1,2)
[2025-01-09 02:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206658', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206658', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:56:21] Production.INFO: ==13034== Releasing lock...
[2025-01-09 02:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:57:01] Production.INFO: ==13103== Lock acquired, processing the job...
[2025-01-09 07:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:57:01] Production.INFO: neon service started
[2025-01-09 07:57:01] Production.INFO: neon service started
[2025-01-09 07:57:01] Production.INFO: ==13103== Releasing lock...
[2025-01-09 07:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:57:02] Production.INFO: ==13107== Lock acquired, processing the job...
[2025-01-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:57:02] Production.INFO: ==13107== Releasing lock...
[2025-01-09 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:57:02] Production.INFO: ==13105== Lock acquired, processing the job...
[2025-01-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:57:02] Production.INFO: ==13105== Releasing lock...
[2025-01-09 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:57:03] Production.INFO: ==13110== Lock acquired, processing the job...
[2025-01-09 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:57:03] Production.INFO: ==13112== Lock acquired, processing the job...
[2025-01-09 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:57:03] Production.INFO: ==13118== Lock acquired, processing the job...
[2025-01-09 02:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:57:03] Production.INFO: ==13114== Lock acquired, processing the job...
[2025-01-09 02:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:57:03] Production.INFO: ==13116== Lock acquired, processing the job...
[2025-01-09 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:57:03] Production.INFO: ==13112== Releasing lock...
[2025-01-09 02:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:57:03] Production.INFO: ==13120== Lock acquired, processing the job...
[2025-01-09 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:57:04] Production.ERROR: done
[2025-01-09 02:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:57:04] Production.INFO: Account Balance Start.
[2025-01-09 02:57:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:57:04] Production.INFO: 117
[2025-01-09 02:57:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 02:57:04] Production.INFO: count ==21
[2025-01-09 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-01-09 02:57:04] Production.ERROR: done
[2025-01-09 02:57:04] Production.INFO: count ==21
[2025-01-09 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206662') start
[2025-01-09 02:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:57:04] Production.INFO: Total Charge 0
[2025-01-09 02:57:04] Production.INFO: CreateAllLog End
[2025-01-09 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206662') end
[2025-01-09 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:57:04] Production.INFO: 1
[2025-01-09 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:57:04] Production.INFO: ==13120== Releasing lock...
[2025-01-09 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:57:04] Production.INFO: Account Balance End.
[2025-01-09 02:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:57:04] Production.INFO: ==13116== Releasing lock...
[2025-01-09 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:57:05
[end_date_ymd] => 2025-01-09 02:57:05
[RateCDR] => 1
)
[2025-01-09 02:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:57:05' and `end` < '2025-01-09 02:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:57:11] Production.ERROR: CronJobId end10
[2025-01-09 02:57:11] Production.INFO: ==13114== Releasing lock...
[2025-01-09 02:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:57:13] Production.INFO: call_cost start
[2025-01-09 02:57:13] Production.INFO: call_cost end
[2025-01-09 02:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:57:14] Production.INFO: ==13110== Releasing lock...
[2025-01-09 02:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:57:17] Production.INFO: count ==187
[2025-01-09 02:57:17] Production.ERROR: pbx CDR StartTime 2025-01-08 23:57:05 - End Time 2025-01-09 02:57:05
[2025-01-09 02:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206663', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206663', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206663', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206663', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:57:17] Production.INFO: ProcessCDR(1,14206663,1,1,2)
[2025-01-09 02:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206663,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206663,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206663', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206663', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:57:21] Production.INFO: ==13118== Releasing lock...
[2025-01-09 02:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:57:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:58:02] Production.INFO: ==13187== Lock acquired, processing the job...
[2025-01-09 07:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:58:02] Production.INFO: neon service started
[2025-01-09 07:58:02] Production.INFO: neon service started
[2025-01-09 07:58:02] Production.INFO: ==13187== Releasing lock...
[2025-01-09 07:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:58:03] Production.INFO: ==13190== Lock acquired, processing the job...
[2025-01-09 02:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:58:03] Production.INFO: ==13192== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:58:03] Production.INFO: ==13192== Releasing lock...
[2025-01-09 07:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:58:03] Production.INFO: ==13190== Releasing lock...
[2025-01-09 02:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 02:58:04] Production.INFO: ==13197== Lock acquired, processing the job...
[2025-01-09 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:58:04] Production.INFO: ==13200== Lock acquired, processing the job...
[2025-01-09 02:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:58:04] Production.INFO: ==13204== Lock acquired, processing the job...
[2025-01-09 02:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:58:04] Production.INFO: ==13197== Releasing lock...
[2025-01-09 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:58:04] Production.INFO: ==13195== Lock acquired, processing the job...
[2025-01-09 02:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:58:04] Production.INFO: ==13202== Lock acquired, processing the job...
[2025-01-09 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:58:04] Production.INFO: ==13206== Lock acquired, processing the job...
[2025-01-09 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:58:04] Production.INFO: Account Balance Start.
[2025-01-09 02:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 02:58:04] Production.INFO: 117
[2025-01-09 02:58:04] Production.ERROR: done
[2025-01-09 02:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 02:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 02:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:58:04] Production.INFO: Total Charge 0
[2025-01-09 02:58:04] Production.INFO: CreateAllLog End
[2025-01-09 02:58:04] Production.INFO: count ==21
[2025-01-09 02:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:58:04] Production.ERROR: done
[2025-01-09 02:58:04] Production.INFO: count ==21
[2025-01-09 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206667') start
[2025-01-09 02:58:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206667') end
[2025-01-09 02:58:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:58:05] Production.INFO: 1
[2025-01-09 02:58:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:58:05] Production.INFO: Account Balance End.
[2025-01-09 02:58:05] Production.ERROR: CronJobId end 12
[2025-01-09 02:58:05] Production.INFO: ==13202== Releasing lock...
[2025-01-09 02:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:58:05] Production.INFO: ==13206== Releasing lock...
[2025-01-09 02:58:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:58:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:58:05
[end_date_ymd] => 2025-01-09 02:58:05
[RateCDR] => 1
)
[2025-01-09 02:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:58:05' and `end` < '2025-01-09 02:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:58:10] Production.ERROR: CronJobId end10
[2025-01-09 02:58:10] Production.INFO: ==13200== Releasing lock...
[2025-01-09 02:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:58:13] Production.INFO: call_cost start
[2025-01-09 02:58:13] Production.INFO: call_cost end
[2025-01-09 02:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:58:14] Production.INFO: ==13195== Releasing lock...
[2025-01-09 02:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:58:19] Production.INFO: count ==187
[2025-01-09 02:58:19] Production.ERROR: pbx CDR StartTime 2025-01-08 23:58:05 - End Time 2025-01-09 02:58:05
[2025-01-09 02:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206668', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206668', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206668', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206668', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:58:19] Production.INFO: ProcessCDR(1,14206668,1,1,2)
[2025-01-09 02:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206668,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206668,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206668', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206668', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:58:22] Production.INFO: ==13204== Releasing lock...
[2025-01-09 02:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:58:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 07:59:01] Production.INFO: ==13271== Lock acquired, processing the job...
[2025-01-09 07:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 07:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 07:59:01] Production.INFO: neon service started
[2025-01-09 07:59:01] Production.INFO: neon service started
[2025-01-09 07:59:01] Production.INFO: ==13271== Releasing lock...
[2025-01-09 07:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 07:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 02:59:02] Production.INFO: ==13274== Lock acquired, processing the job...
[2025-01-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 02:59:02] Production.INFO: ==13274== Releasing lock...
[2025-01-09 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:59:02] Production.INFO: ==13276== Lock acquired, processing the job...
[2025-01-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:59:02] Production.INFO: ==13276== Releasing lock...
[2025-01-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 02:59:03] Production.INFO: ==13278== Lock acquired, processing the job...
[2025-01-09 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 02:59:03] Production.INFO: ==13284== Lock acquired, processing the job...
[2025-01-09 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 02:59:03] Production.INFO: ==13286== Lock acquired, processing the job...
[2025-01-09 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 02:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 02:59:03] Production.INFO: ==13280== Lock acquired, processing the job...
[2025-01-09 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 02:59:03] Production.INFO: ==13282== Lock acquired, processing the job...
[2025-01-09 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 02:59:03] Production.INFO: Account Balance Start.
[2025-01-09 02:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 02:59:03] Production.INFO: 117
[2025-01-09 02:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 02:59:03] Production.INFO: ==13288== Lock acquired, processing the job...
[2025-01-09 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 02:59:03] Production.ERROR: done
[2025-01-09 02:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 02:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 02:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:59:03] Production.INFO: count ==21
[2025-01-09 02:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 02:59:04] Production.INFO: count ==21
[2025-01-09 02:59:04] Production.INFO: Total Charge 0
[2025-01-09 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206672') start
[2025-01-09 02:59:04] Production.INFO: CreateAllLog End
[2025-01-09 02:59:04] Production.INFO: ==13280== Releasing lock...
[2025-01-09 02:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 02:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 02:59:04] Production.ERROR: done
[2025-01-09 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206672') end
[2025-01-09 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 02:59:04] Production.INFO: 1
[2025-01-09 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 02:59:04] Production.INFO: Account Balance End.
[2025-01-09 02:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 02:59:04] Production.INFO: ==13284== Releasing lock...
[2025-01-09 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 02:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 02:59:04] Production.INFO: ==13288== Releasing lock...
[2025-01-09 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-08 23:59:05
[end_date_ymd] => 2025-01-09 02:59:05
[RateCDR] => 1
)
[2025-01-09 02:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-08 23:59:05' and `end` < '2025-01-09 02:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 02:59:10] Production.ERROR: CronJobId end10
[2025-01-09 02:59:10] Production.INFO: ==13282== Releasing lock...
[2025-01-09 02:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 02:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 02:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 02:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 02:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 02:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 02:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 02:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 02:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 02:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 02:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 02:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 02:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 02:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 02:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 02:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 02:59:12] Production.INFO: call_cost start
[2025-01-09 02:59:12] Production.INFO: call_cost end
[2025-01-09 02:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 02:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 02:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 02:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 02:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 02:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 02:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 02:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 02:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 02:59:13] Production.INFO: ==13278== Releasing lock...
[2025-01-09 02:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 02:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 02:59:18] Production.INFO: count ==187
[2025-01-09 02:59:18] Production.ERROR: pbx CDR StartTime 2025-01-08 23:59:05 - End Time 2025-01-09 02:59:05
[2025-01-09 02:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206673', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206673', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206673', 'tblTempVendorCDR_20' ) start
[2025-01-09 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206673', 'tblTempVendorCDR_20' ) end
[2025-01-09 02:59:18] Production.INFO: ProcessCDR(1,14206673,1,1,2)
[2025-01-09 02:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206673,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206673,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 02:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206673', 'tblTempUsageDetail_20' ) start
[2025-01-09 02:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206673', 'tblTempUsageDetail_20' ) end
[2025-01-09 02:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 02:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 02:59:21] Production.INFO: ==13286== Releasing lock...
[2025-01-09 02:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 02:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:00:02] Production.INFO: ==13351== Lock acquired, processing the job...
[2025-01-09 08:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:00:02] Production.INFO: neon service started
[2025-01-09 08:00:02] Production.INFO: neon service started
[2025-01-09 08:00:02] Production.INFO: ==13351== Releasing lock...
[2025-01-09 08:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:00:02] Production.INFO: ==13354== Lock acquired, processing the job...
[2025-01-09 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:00:02] Production.INFO: ==13356== Lock acquired, processing the job...
[2025-01-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:00:03] Production.INFO: ==13356== Releasing lock...
[2025-01-09 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:00:03] Production.INFO: ==13354== Releasing lock...
[2025-01-09 03:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:00:04] Production.INFO: ==13360== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 03:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 03:00:04] Production.INFO: ==13364== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 03:00:04] Production.INFO: ==13360== Releasing lock...
[2025-01-09 03:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 03:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 03:00:04] Production.INFO: ==13362== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:00:04] Production.INFO: ==13366== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:00:04] Production.INFO: ==13368== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:00:04] Production.INFO: Account Balance Start.
[2025-01-09 03:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:00:04] Production.INFO: 117
[2025-01-09 03:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:00:04] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:00:04] Production.INFO: Total Charge 0
[2025-01-09 03:00:04] Production.INFO: CreateAllLog End
[2025-01-09 03:00:04] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:00:04] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-01-09 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:00:04] Production.INFO: ==13364== Releasing lock...
[2025-01-09 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:00:05] Production.INFO: Account Balance End.
[2025-01-09 03: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-01-09 03:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 03:00:05] Production.INFO: ==13368== Releasing lock...
[2025-01-09 03:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:00:05] Production.INFO: count ==21
[2025-01-09 03:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:00:05] Production.INFO: count ==21
[2025-01-09 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206677') start
[2025-01-09 03:00:05] Production.ERROR: done
[2025-01-09 03:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:00:05] Production.ERROR: done
[2025-01-09 03:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14206677') end
[2025-01-09 03:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:00:05] Production.INFO: 1
[2025-01-09 03:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:00:05] Production.INFO: ==13374== Releasing lock...
[2025-01-09 03:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 03:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206678', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 03:00:05] Production.ERROR: done
[2025-01-09 03:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:00:06
[end_date_ymd] => 2025-01-09 03:00:06
[RateCDR] => 1
)
[2025-01-09 03:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:00:06' and `end` < '2025-01-09 03:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206678', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 03:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 03:00:09] Production.INFO: ProcessCDR(1,14206678,1,1,2)
[2025-01-09 03:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206678,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206678,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:00:09] Production.INFO: ==13372== Releasing lock...
[2025-01-09 03:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 03:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 03:00:14] Production.ERROR: CronJobId end10
[2025-01-09 03:00:14] Production.INFO: ==13366== Releasing lock...
[2025-01-09 03:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:00:16] Production.INFO: call_cost start
[2025-01-09 03:00:16] Production.INFO: call_cost end
[2025-01-09 03:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:00:17] Production.INFO: ==13362== Releasing lock...
[2025-01-09 03:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:00:19] Production.INFO: count ==196
[2025-01-09 03:00:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:00:06 - End Time 2025-01-09 03:00:06
[2025-01-09 03:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206679', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206679', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206679', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206679', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:00:19] Production.INFO: ProcessCDR(1,14206679,1,1,2)
[2025-01-09 03:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206679', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206679', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:00:23] Production.INFO: ==13370== Releasing lock...
[2025-01-09 03:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:00:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:01:01] Production.INFO: ==13439== Lock acquired, processing the job...
[2025-01-09 08:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:01:01] Production.INFO: neon service started
[2025-01-09 08:01:01] Production.INFO: neon service started
[2025-01-09 08:01:01] Production.INFO: ==13439== Releasing lock...
[2025-01-09 08:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:01:02] Production.INFO: ==13454== Lock acquired, processing the job...
[2025-01-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:01:02] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-01-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:01:02] Production.INFO: ==13454== Releasing lock...
[2025-01-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:01:02] Production.INFO: ==13452== Releasing lock...
[2025-01-09 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:01:03] Production.INFO: ==13457== Lock acquired, processing the job...
[2025-01-09 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:01:03] Production.INFO: ==13465== Lock acquired, processing the job...
[2025-01-09 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:01:03] Production.INFO: ==13459== Lock acquired, processing the job...
[2025-01-09 03:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:01:03] Production.INFO: ==13461== Lock acquired, processing the job...
[2025-01-09 03:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:01:03] Production.INFO: ==13463== Lock acquired, processing the job...
[2025-01-09 03:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:01:03] Production.ERROR: done
[2025-01-09 03:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:01:03] Production.INFO: ==13467== Lock acquired, processing the job...
[2025-01-09 03:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:01:03] Production.ERROR: done
[2025-01-09 03:01:04] Production.INFO: Account Balance Start.
[2025-01-09 03:01:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:01:04] Production.INFO: 117
[2025-01-09 03:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:01:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:01:04] Production.INFO: ==13459== Releasing lock...
[2025-01-09 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:01:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:01:04] Production.INFO: count ==21
[2025-01-09 03:01:04] Production.INFO: Total Charge 0
[2025-01-09 03:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:01:04] Production.INFO: count ==21
[2025-01-09 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206684') start
[2025-01-09 03:01:04] Production.INFO: CreateAllLog End
[2025-01-09 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206684') end
[2025-01-09 03:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:01:04] Production.INFO: 1
[2025-01-09 03:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:01:04] Production.INFO: ==13467== Releasing lock...
[2025-01-09 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:01:04] Production.INFO: Account Balance End.
[2025-01-09 03:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:01:04] Production.INFO: ==13463== Releasing lock...
[2025-01-09 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:01:04
[end_date_ymd] => 2025-01-09 03:01:04
[RateCDR] => 1
)
[2025-01-09 03:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:01:04' and `end` < '2025-01-09 03:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:01:13] Production.ERROR: CronJobId end10
[2025-01-09 03:01:13] Production.INFO: ==13461== Releasing lock...
[2025-01-09 03:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:01:14] Production.INFO: call_cost start
[2025-01-09 03:01:14] Production.INFO: call_cost end
[2025-01-09 03:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:01:15] Production.INFO: ==13457== Releasing lock...
[2025-01-09 03:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:01:20] Production.INFO: count ==199
[2025-01-09 03:01:20] Production.ERROR: pbx CDR StartTime 2025-01-09 00:01:04 - End Time 2025-01-09 03:01:04
[2025-01-09 03:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206683', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206683', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206683', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206683', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:01:20] Production.INFO: ProcessCDR(1,14206683,1,1,2)
[2025-01-09 03:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206683,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206683,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206683', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206683', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:01:24] Production.INFO: ==13465== Releasing lock...
[2025-01-09 03:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:01:24] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:02:02] Production.INFO: ==13607== Lock acquired, processing the job...
[2025-01-09 08:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:02:02] Production.INFO: neon service started
[2025-01-09 08:02:02] Production.INFO: neon service started
[2025-01-09 08:02:02] Production.INFO: ==13607== Releasing lock...
[2025-01-09 08:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:02:02] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-01-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:02:02] Production.INFO: ==13612== Releasing lock...
[2025-01-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:02:02] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-01-09 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:02:03] Production.INFO: ==13610== Releasing lock...
[2025-01-09 03:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:02:03] Production.INFO: ==13620== Lock acquired, processing the job...
[2025-01-09 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:02:04] Production.INFO: ==13622== Lock acquired, processing the job...
[2025-01-09 03:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:02:04] Production.INFO: ==13618== Lock acquired, processing the job...
[2025-01-09 03:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:02:04] Production.INFO: Account Balance Start.
[2025-01-09 03:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:02:04] Production.INFO: 117
[2025-01-09 03:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:02:04] Production.INFO: ==13614== Lock acquired, processing the job...
[2025-01-09 03:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:02:04] Production.INFO: Total Charge 0
[2025-01-09 03:02:04] Production.INFO: ==13616== Lock acquired, processing the job...
[2025-01-09 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:02:04] Production.INFO: CreateAllLog End
[2025-01-09 03:02:04] Production.INFO: ==13624== Lock acquired, processing the job...
[2025-01-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:02:04] Production.INFO: Account Balance End.
[2025-01-09 03:02:04] Production.INFO: count ==21
[2025-01-09 03:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:02:04] Production.INFO: count ==21
[2025-01-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206688') start
[2025-01-09 03:02:04] Production.ERROR: done
[2025-01-09 03:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:02:04] Production.INFO: ==13620== Releasing lock...
[2025-01-09 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:02:04] Production.INFO: ==13616== Releasing lock...
[2025-01-09 03:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206688') end
[2025-01-09 03:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:02:04] Production.INFO: 1
[2025-01-09 03:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:02:04] Production.INFO: ==13624== Releasing lock...
[2025-01-09 03:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:02:04] Production.ERROR: done
[2025-01-09 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:02:05
[end_date_ymd] => 2025-01-09 03:02:05
[RateCDR] => 1
)
[2025-01-09 03:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:02:05' and `end` < '2025-01-09 03:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:02:11] Production.ERROR: CronJobId end10
[2025-01-09 03:02:11] Production.INFO: ==13618== Releasing lock...
[2025-01-09 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:02:13] Production.INFO: call_cost start
[2025-01-09 03:02:13] Production.INFO: call_cost end
[2025-01-09 03:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:02:14] Production.INFO: ==13614== Releasing lock...
[2025-01-09 03:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:02:19] Production.INFO: count ==199
[2025-01-09 03:02:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:02:05 - End Time 2025-01-09 03:02:05
[2025-01-09 03:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206689', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206689', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206689', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206689', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:02:19] Production.INFO: ProcessCDR(1,14206689,1,1,2)
[2025-01-09 03:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206689', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206689', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:02:23] Production.INFO: ==13622== Releasing lock...
[2025-01-09 03:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:02:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:03:01] Production.INFO: ==13684== Lock acquired, processing the job...
[2025-01-09 08:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:03:01] Production.INFO: neon service started
[2025-01-09 08:03:01] Production.INFO: neon service started
[2025-01-09 08:03:01] Production.INFO: ==13684== Releasing lock...
[2025-01-09 08:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:03:02] Production.INFO: ==13686== Lock acquired, processing the job...
[2025-01-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:03:02] Production.INFO: ==13686== Releasing lock...
[2025-01-09 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:03:02] Production.INFO: ==13688== Lock acquired, processing the job...
[2025-01-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:03:02] Production.INFO: ==13688== Releasing lock...
[2025-01-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:03:03] Production.INFO: ==13690== Lock acquired, processing the job...
[2025-01-09 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:03:03] Production.INFO: ==13700== Lock acquired, processing the job...
[2025-01-09 03:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:03:03] Production.INFO: ==13692== Lock acquired, processing the job...
[2025-01-09 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:03:03] Production.INFO: ==13694== Lock acquired, processing the job...
[2025-01-09 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:03:03] Production.INFO: ==13696== Lock acquired, processing the job...
[2025-01-09 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:03:03] Production.INFO: ==13698== Lock acquired, processing the job...
[2025-01-09 03:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:03:03] Production.INFO: count ==21
[2025-01-09 03:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:03:03] Production.INFO: count ==21
[2025-01-09 03:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:03:03] Production.INFO: Account Balance Start.
[2025-01-09 03:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:03:03] Production.INFO: 117
[2025-01-09 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206691') start
[2025-01-09 03:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:03:03] Production.INFO: Total Charge 0
[2025-01-09 03:03:03] Production.INFO: CreateAllLog End
[2025-01-09 03:03:03] Production.INFO: ==13692== Releasing lock...
[2025-01-09 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206691') end
[2025-01-09 03:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:03:03] Production.INFO: 1
[2025-01-09 03:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:03:04] Production.INFO: ==13700== Releasing lock...
[2025-01-09 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:03:04] Production.ERROR: done
[2025-01-09 03:03:04] Production.INFO: Account Balance End.
[2025-01-09 03:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:03:04] Production.INFO: ==13696== Releasing lock...
[2025-01-09 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:03:04] Production.ERROR: done
[2025-01-09 03:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:03:05
[end_date_ymd] => 2025-01-09 03:03:05
[RateCDR] => 1
)
[2025-01-09 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:03:05' and `end` < '2025-01-09 03:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:03:12] Production.ERROR: CronJobId end10
[2025-01-09 03:03:12] Production.INFO: ==13694== Releasing lock...
[2025-01-09 03:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:03:13] Production.INFO: call_cost start
[2025-01-09 03:03:13] Production.INFO: call_cost end
[2025-01-09 03:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:03:14] Production.INFO: ==13690== Releasing lock...
[2025-01-09 03:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:03:19] Production.INFO: count ==199
[2025-01-09 03:03:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:03:05 - End Time 2025-01-09 03:03:05
[2025-01-09 03:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206694', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206694', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206694', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206694', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:03:19] Production.INFO: ProcessCDR(1,14206694,1,1,2)
[2025-01-09 03:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206694', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206694', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:03:23] Production.INFO: ==13698== Releasing lock...
[2025-01-09 03:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:03:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:04:02] Production.INFO: ==13766== Lock acquired, processing the job...
[2025-01-09 08:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:04:02] Production.INFO: neon service started
[2025-01-09 08:04:02] Production.INFO: neon service started
[2025-01-09 08:04:02] Production.INFO: ==13766== Releasing lock...
[2025-01-09 08:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:04:02] Production.INFO: ==13768== Lock acquired, processing the job...
[2025-01-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:04:02] Production.INFO: ==13768== Releasing lock...
[2025-01-09 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:04:03] Production.INFO: ==13770== Lock acquired, processing the job...
[2025-01-09 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:04:03] Production.INFO: ==13770== Releasing lock...
[2025-01-09 08:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:04:03] Production.INFO: ==13772== Lock acquired, processing the job...
[2025-01-09 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:04:03] Production.INFO: ==13774== Lock acquired, processing the job...
[2025-01-09 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:04:03] Production.INFO: ==13776== Lock acquired, processing the job...
[2025-01-09 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:04:03] Production.INFO: ==13778== Lock acquired, processing the job...
[2025-01-09 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:04:03] Production.INFO: ==13782== Lock acquired, processing the job...
[2025-01-09 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:04:03] Production.INFO: ==13780== Lock acquired, processing the job...
[2025-01-09 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:04:04] Production.INFO: Account Balance Start.
[2025-01-09 03:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:04:04] Production.INFO: 117
[2025-01-09 03:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:04:04] Production.INFO: count ==21
[2025-01-09 03:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:04:04] Production.INFO: ==13774== Releasing lock...
[2025-01-09 03:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:04:04] Production.INFO: count ==21
[2025-01-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206698') start
[2025-01-09 03:04:04] Production.INFO: Total Charge 0
[2025-01-09 03:04:04] Production.INFO: CreateAllLog End
[2025-01-09 03:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206698') end
[2025-01-09 03:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:04:04] Production.INFO: 1
[2025-01-09 03:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:04:04] Production.ERROR: done
[2025-01-09 03:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:04:04] Production.INFO: ==13782== Releasing lock...
[2025-01-09 03:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:04:04] Production.INFO: Account Balance End.
[2025-01-09 03:04:04] Production.ERROR: done
[2025-01-09 03:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:04:04] Production.INFO: ==13778== Releasing lock...
[2025-01-09 03:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:04:05
[end_date_ymd] => 2025-01-09 03:04:05
[RateCDR] => 1
)
[2025-01-09 03:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:04:05' and `end` < '2025-01-09 03:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:04:11] Production.ERROR: CronJobId end10
[2025-01-09 03:04:11] Production.INFO: ==13776== Releasing lock...
[2025-01-09 03:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:04:13] Production.INFO: call_cost start
[2025-01-09 03:04:13] Production.INFO: call_cost end
[2025-01-09 03:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:04:13] Production.INFO: ==13772== Releasing lock...
[2025-01-09 03:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:04:18] Production.INFO: count ==199
[2025-01-09 03:04:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:04:05 - End Time 2025-01-09 03:04:05
[2025-01-09 03:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206699', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206699', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206699', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206699', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:04:18] Production.INFO: ProcessCDR(1,14206699,1,1,2)
[2025-01-09 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206699', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206699', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:04:22] Production.INFO: ==13780== Releasing lock...
[2025-01-09 03:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:04:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:05:01] Production.INFO: ==13850== Lock acquired, processing the job...
[2025-01-09 08:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:05:01] Production.INFO: neon service started
[2025-01-09 08:05:01] Production.INFO: neon service started
[2025-01-09 08:05:01] Production.INFO: ==13850== Releasing lock...
[2025-01-09 08:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:05:01] Production.INFO: ==13855== Lock acquired, processing the job...
[2025-01-09 08:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:05:01] Production.INFO: ==13855== Releasing lock...
[2025-01-09 08:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:05:02] Production.INFO: ==13852== Lock acquired, processing the job...
[2025-01-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:05:02] Production.INFO: ==13852== Releasing lock...
[2025-01-09 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:05:03] Production.INFO: ==13899== Lock acquired, processing the job...
[2025-01-09 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:05:03] Production.INFO: ==13906== Lock acquired, processing the job...
[2025-01-09 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:05:03] Production.INFO: ==13897== Lock acquired, processing the job...
[2025-01-09 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:05:03] Production.INFO: ==13895== Lock acquired, processing the job...
[2025-01-09 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:05:03] Production.INFO: ==13902== Lock acquired, processing the job...
[2025-01-09 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:05:03] Production.INFO: ==13904== Lock acquired, processing the job...
[2025-01-09 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:05:03] Production.INFO: count ==21
[2025-01-09 03:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:05:03] Production.INFO: count ==21
[2025-01-09 03:05:03] Production.INFO: Account Balance Start.
[2025-01-09 03:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206700') start
[2025-01-09 03:05:03] Production.INFO: 117
[2025-01-09 03:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:05:03] Production.INFO: Total Charge 0
[2025-01-09 03:05:03] Production.INFO: CreateAllLog End
[2025-01-09 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206700') end
[2025-01-09 03:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:05:03] Production.INFO: 1
[2025-01-09 03:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:05:03] Production.INFO: ==13906== Releasing lock...
[2025-01-09 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:05:04] Production.INFO: Account Balance End.
[2025-01-09 03:05:04] Production.INFO: ==13897== Releasing lock...
[2025-01-09 03:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:05:04] Production.ERROR: done
[2025-01-09 03:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:05:04] Production.INFO: ==13902== Releasing lock...
[2025-01-09 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:05:04] Production.ERROR: done
[2025-01-09 03:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:05:05
[end_date_ymd] => 2025-01-09 03:05:05
[RateCDR] => 1
)
[2025-01-09 03:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:05:05' and `end` < '2025-01-09 03:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:05:11] Production.ERROR: CronJobId end10
[2025-01-09 03:05:11] Production.INFO: ==13899== Releasing lock...
[2025-01-09 03:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:05:13] Production.INFO: call_cost start
[2025-01-09 03:05:13] Production.INFO: call_cost end
[2025-01-09 03:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:05:14] Production.INFO: ==13895== Releasing lock...
[2025-01-09 03:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:05:18] Production.INFO: count ==199
[2025-01-09 03:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:05:05 - End Time 2025-01-09 03:05:05
[2025-01-09 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206704', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206704', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206704', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206704', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:05:18] Production.INFO: ProcessCDR(1,14206704,1,1,2)
[2025-01-09 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206704', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206704', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:05:21] Production.INFO: ==13904== Releasing lock...
[2025-01-09 03:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:05:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:06:01] Production.INFO: ==14008== Lock acquired, processing the job...
[2025-01-09 08:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:06:02] Production.INFO: neon service started
[2025-01-09 08:06:02] Production.INFO: neon service started
[2025-01-09 08:06:02] Production.INFO: ==14008== Releasing lock...
[2025-01-09 08:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:06:02] Production.INFO: ==14014== Lock acquired, processing the job...
[2025-01-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:06:02] Production.INFO: ==14014== Releasing lock...
[2025-01-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:06:02] Production.INFO: ==14012== Lock acquired, processing the job...
[2025-01-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:06:02] Production.INFO: ==14012== Releasing lock...
[2025-01-09 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:06:03] Production.INFO: ==14016== Lock acquired, processing the job...
[2025-01-09 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:06:03] Production.INFO: ==14020== Lock acquired, processing the job...
[2025-01-09 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:06:03] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-01-09 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:06:03] Production.INFO: ==14018== Lock acquired, processing the job...
[2025-01-09 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:06:03] Production.INFO: ==14022== Lock acquired, processing the job...
[2025-01-09 03:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:06:03] Production.INFO: ==14027== Lock acquired, processing the job...
[2025-01-09 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:06:04] Production.ERROR: done
[2025-01-09 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:06:04] Production.INFO: Account Balance Start.
[2025-01-09 03:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:06:04] Production.INFO: 117
[2025-01-09 03:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:06:04] Production.INFO: count ==21
[2025-01-09 03:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:06:04] Production.INFO: count ==21
[2025-01-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206708') start
[2025-01-09 03:06:04] Production.ERROR: done
[2025-01-09 03:06:04] Production.INFO: Total Charge 0
[2025-01-09 03:06:04] Production.INFO: CreateAllLog End
[2025-01-09 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206708') end
[2025-01-09 03:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:06:04] Production.INFO: 1
[2025-01-09 03:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:06:04] Production.INFO: ==14027== Releasing lock...
[2025-01-09 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:06:04] Production.INFO: ==14018== Releasing lock...
[2025-01-09 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:06:04] Production.INFO: Account Balance End.
[2025-01-09 03:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:06:04] Production.INFO: ==14022== Releasing lock...
[2025-01-09 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:06:05
[end_date_ymd] => 2025-01-09 03:06:05
[RateCDR] => 1
)
[2025-01-09 03:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:06:05' and `end` < '2025-01-09 03:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:06:10] Production.ERROR: CronJobId end10
[2025-01-09 03:06:10] Production.INFO: ==14020== Releasing lock...
[2025-01-09 03:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:06:12] Production.INFO: call_cost start
[2025-01-09 03:06:12] Production.INFO: call_cost end
[2025-01-09 03:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:06:13] Production.INFO: ==14016== Releasing lock...
[2025-01-09 03:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:06:20] Production.INFO: count ==198
[2025-01-09 03:06:20] Production.ERROR: pbx CDR StartTime 2025-01-09 00:06:05 - End Time 2025-01-09 03:06:05
[2025-01-09 03:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206709', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206709', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206709', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206709', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:06:20] Production.INFO: ProcessCDR(1,14206709,1,1,2)
[2025-01-09 03:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206709,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206709,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206709', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206709', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:06:23] Production.INFO: ==14025== Releasing lock...
[2025-01-09 03:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:06:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:07:01] Production.INFO: ==14088== Lock acquired, processing the job...
[2025-01-09 08:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:07:01] Production.INFO: neon service started
[2025-01-09 08:07:01] Production.INFO: neon service started
[2025-01-09 08:07:01] Production.INFO: ==14088== Releasing lock...
[2025-01-09 08:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:07:02] Production.INFO: ==14090== Lock acquired, processing the job...
[2025-01-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:07:02] Production.INFO: ==14092== Lock acquired, processing the job...
[2025-01-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:07:02] Production.INFO: ==14092== Releasing lock...
[2025-01-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:07:02] Production.INFO: ==14090== Releasing lock...
[2025-01-09 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:07:03] Production.INFO: ==14097== Lock acquired, processing the job...
[2025-01-09 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:07:03] Production.INFO: ==14099== Lock acquired, processing the job...
[2025-01-09 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:07:03] Production.INFO: ==14095== Lock acquired, processing the job...
[2025-01-09 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:07:03] Production.INFO: ==14101== Lock acquired, processing the job...
[2025-01-09 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:07:03] Production.INFO: ==14103== Lock acquired, processing the job...
[2025-01-09 03:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:07:03] Production.INFO: ==14105== Lock acquired, processing the job...
[2025-01-09 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:07:03] Production.INFO: Account Balance Start.
[2025-01-09 03:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:07:03] Production.INFO: 117
[2025-01-09 03:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:07:03] Production.INFO: ==14097== Releasing lock...
[2025-01-09 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:07:03] Production.INFO: Total Charge 0
[2025-01-09 03:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:07:03] Production.INFO: CreateAllLog End
[2025-01-09 03:07:03] Production.INFO: count ==21
[2025-01-09 03:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:07:03] Production.INFO: count ==21
[2025-01-09 03:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206713') start
[2025-01-09 03:07:04] Production.ERROR: done
[2025-01-09 03:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206713') end
[2025-01-09 03:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:07:04] Production.INFO: 1
[2025-01-09 03:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:07:04] Production.INFO: Account Balance End.
[2025-01-09 03:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:07:04] Production.INFO: ==14105== Releasing lock...
[2025-01-09 03:07:04] Production.INFO: ==14101== Releasing lock...
[2025-01-09 03:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:07:04] Production.ERROR: done
[2025-01-09 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:07:05
[end_date_ymd] => 2025-01-09 03:07:05
[RateCDR] => 1
)
[2025-01-09 03:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:07:05' and `end` < '2025-01-09 03:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:07:10] Production.ERROR: CronJobId end10
[2025-01-09 03:07:10] Production.INFO: ==14099== Releasing lock...
[2025-01-09 03:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:07:12] Production.INFO: call_cost start
[2025-01-09 03:07:12] Production.INFO: call_cost end
[2025-01-09 03:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:07:13] Production.INFO: ==14095== Releasing lock...
[2025-01-09 03:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:07:18] Production.INFO: count ==198
[2025-01-09 03:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:07:05 - End Time 2025-01-09 03:07:05
[2025-01-09 03:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206714', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206714', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206714', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206714', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:07:18] Production.INFO: ProcessCDR(1,14206714,1,1,2)
[2025-01-09 03:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206714,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206714,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206714', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206714', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:07:21] Production.INFO: ==14103== Releasing lock...
[2025-01-09 03:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:07:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:08:01] Production.INFO: ==14172== Lock acquired, processing the job...
[2025-01-09 08:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:08:01] Production.INFO: neon service started
[2025-01-09 08:08:01] Production.INFO: neon service started
[2025-01-09 08:08:01] Production.INFO: ==14172== Releasing lock...
[2025-01-09 08:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:08:02] Production.INFO: ==14176== Lock acquired, processing the job...
[2025-01-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:08:02] Production.INFO: ==14176== Releasing lock...
[2025-01-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:08:02] Production.INFO: ==14174== Lock acquired, processing the job...
[2025-01-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:08:02] Production.INFO: ==14174== Releasing lock...
[2025-01-09 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:08:03] Production.INFO: ==14178== Lock acquired, processing the job...
[2025-01-09 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:08:03] Production.INFO: ==14181== Lock acquired, processing the job...
[2025-01-09 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:08:03] Production.INFO: ==14183== Lock acquired, processing the job...
[2025-01-09 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:08:03] Production.INFO: ==14185== Lock acquired, processing the job...
[2025-01-09 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:08:03] Production.INFO: ==14187== Lock acquired, processing the job...
[2025-01-09 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:08:03] Production.INFO: Account Balance Start.
[2025-01-09 03:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:08:03] Production.INFO: 117
[2025-01-09 03:08:03] Production.INFO: ==14189== Lock acquired, processing the job...
[2025-01-09 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:08:03] Production.INFO: ==14181== Releasing lock...
[2025-01-09 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:08:03] Production.INFO: Total Charge 0
[2025-01-09 03:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:08:03] Production.INFO: CreateAllLog End
[2025-01-09 03:08:04] Production.INFO: count ==21
[2025-01-09 03:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:08:04] Production.INFO: count ==21
[2025-01-09 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206718') start
[2025-01-09 03:08:04] Production.INFO: Account Balance End.
[2025-01-09 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206718') end
[2025-01-09 03:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:08:04] Production.INFO: 1
[2025-01-09 03:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:08:04] Production.INFO: ==14185== Releasing lock...
[2025-01-09 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:08:04] Production.ERROR: done
[2025-01-09 03:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:08:04] Production.INFO: ==14189== Releasing lock...
[2025-01-09 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:08:04] Production.ERROR: done
[2025-01-09 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:08:05
[end_date_ymd] => 2025-01-09 03:08:05
[RateCDR] => 1
)
[2025-01-09 03:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:08:05' and `end` < '2025-01-09 03:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:08:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,12))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 03:08:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:08:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:08:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:08:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:08:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:08:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:08:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:08:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:08:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:08:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:08:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:08:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:08:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:08:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:08:10] Production.ERROR: CronJobId end10
[2025-01-09 03:08:10] Production.INFO: ==14183== Releasing lock...
[2025-01-09 03:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:08:11] Production.INFO: call_cost start
[2025-01-09 03:08:11] Production.INFO: call_cost end
[2025-01-09 03:08:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:08:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:08:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:08:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:08:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:08:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:08:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:08:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:08:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:08:11] Production.INFO: ==14178== Releasing lock...
[2025-01-09 03:08:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:08:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:08:18] Production.INFO: count ==198
[2025-01-09 03:08:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:08:05 - End Time 2025-01-09 03:08:05
[2025-01-09 03:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206719', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206719', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206719', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206719', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:08:18] Production.INFO: ProcessCDR(1,14206719,1,1,2)
[2025-01-09 03:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206719,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206719,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206719', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206719', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:08:21] Production.INFO: ==14187== Releasing lock...
[2025-01-09 03:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:08:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:09:02] Production.INFO: ==14370== Lock acquired, processing the job...
[2025-01-09 08:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:09:02] Production.INFO: neon service started
[2025-01-09 08:09:02] Production.INFO: neon service started
[2025-01-09 08:09:02] Production.INFO: ==14370== Releasing lock...
[2025-01-09 08:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:09:02] Production.INFO: ==14372== Lock acquired, processing the job...
[2025-01-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:09:02] Production.INFO: ==14372== Releasing lock...
[2025-01-09 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:09:03] Production.INFO: ==14374== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:09:03] Production.INFO: ==14374== Releasing lock...
[2025-01-09 08:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:09:03] Production.INFO: ==14380== Lock acquired, processing the job...
[2025-01-09 03:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:09:03] Production.INFO: ==14376== Lock acquired, processing the job...
[2025-01-09 03:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:09:03] Production.INFO: ==14384== Lock acquired, processing the job...
[2025-01-09 03:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:09:04] Production.ERROR: done
[2025-01-09 03:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:09:04] Production.ERROR: done
[2025-01-09 03:09:04] Production.INFO: ==14378== Lock acquired, processing the job...
[2025-01-09 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:09:04] Production.INFO: ==14382== Lock acquired, processing the job...
[2025-01-09 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:09:04] Production.INFO: ==14386== Lock acquired, processing the job...
[2025-01-09 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:09:04] Production.INFO: Account Balance Start.
[2025-01-09 03:09:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:09:04] Production.INFO: 117
[2025-01-09 03:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 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-01-09 03:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:09:04] Production.INFO: Total Charge 0
[2025-01-09 03:09:04] Production.INFO: CreateAllLog End
[2025-01-09 03:09:04] Production.INFO: count ==21
[2025-01-09 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-01-09 03:09:04] Production.INFO: count ==21
[2025-01-09 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206724') start
[2025-01-09 03:09:04] Production.INFO: ==14378== Releasing lock...
[2025-01-09 03:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206724') end
[2025-01-09 03:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:09:04] Production.INFO: 1
[2025-01-09 03:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:09:04] Production.INFO: Account Balance End.
[2025-01-09 03:09:04] Production.INFO: ==14386== Releasing lock...
[2025-01-09 03:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:09:04] Production.INFO: ==14382== Releasing lock...
[2025-01-09 03:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:09:05
[end_date_ymd] => 2025-01-09 03:09:05
[RateCDR] => 1
)
[2025-01-09 03:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:09:05' and `end` < '2025-01-09 03:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:09:11] Production.ERROR: CronJobId end10
[2025-01-09 03:09:11] Production.INFO: ==14380== Releasing lock...
[2025-01-09 03:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:09:14] Production.INFO: call_cost start
[2025-01-09 03:09:14] Production.INFO: call_cost end
[2025-01-09 03:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:09:14] Production.INFO: ==14376== Releasing lock...
[2025-01-09 03:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:09:20] Production.INFO: count ==198
[2025-01-09 03:09:20] Production.ERROR: pbx CDR StartTime 2025-01-09 00:09:05 - End Time 2025-01-09 03:09:05
[2025-01-09 03:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206721', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206721', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206721', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206721', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:09:20] Production.INFO: ProcessCDR(1,14206721,1,1,2)
[2025-01-09 03:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206721', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206721', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:09:23] Production.INFO: ==14384== Releasing lock...
[2025-01-09 03:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:09:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:10:01] Production.INFO: ==14450== Lock acquired, processing the job...
[2025-01-09 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:10:01] Production.INFO: neon service started
[2025-01-09 08:10:01] Production.INFO: neon service started
[2025-01-09 08:10:01] Production.INFO: ==14450== Releasing lock...
[2025-01-09 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:10:01] Production.INFO: ==14454== Lock acquired, processing the job...
[2025-01-09 08:10:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:10:02] Production.INFO: ==14454== Releasing lock...
[2025-01-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:10:02] Production.INFO: ==14452== Lock acquired, processing the job...
[2025-01-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:10:02] Production.INFO: ==14452== Releasing lock...
[2025-01-09 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:10:03] Production.INFO: ==14463== Lock acquired, processing the job...
[2025-01-09 03:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:10:03] Production.INFO: ==14469== Lock acquired, processing the job...
[2025-01-09 03:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:10:03] Production.INFO: ==14459== Lock acquired, processing the job...
[2025-01-09 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 03:10:03] Production.INFO: ==14473== Lock acquired, processing the job...
[2025-01-09 03:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:10:03] Production.INFO: ==14461== Lock acquired, processing the job...
[2025-01-09 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:10:04] Production.ERROR: CronJob PID - 14461
[2025-01-09 03:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 03:10:04] Production.ERROR: CronJob ID - 5
[2025-01-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 03:10:00
[2025-01-09 03:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:10:04] Production.ERROR: CronJob PID - 14463
[2025-01-09 03:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 03:10:04] Production.ERROR: CronJob ID - 7
[2025-01-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 03:10:00
[2025-01-09 03:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:10:04] Production.ERROR: CronJob PID - 14469
[2025-01-09 03:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 03:10:04] Production.ERROR: CronJob ID - 16
[2025-01-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 03:10:00
[2025-01-09 03:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:10:04] Production.ERROR: CronJob PID - 14473
[2025-01-09 03:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 03:10:04] Production.ERROR: CronJob ID - 19
[2025-01-09 03:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 03:10:00
[2025-01-09 03:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:10:04] Production.INFO: ==14465== Lock acquired, processing the job...
[2025-01-09 03:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:10:04] Production.INFO: ==14467== Lock acquired, processing the job...
[2025-01-09 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 03:10:04] Production.INFO: ==14459== Releasing lock...
[2025-01-09 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 03:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 03:10:04] Production.ERROR: done
[2025-01-09 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:10:04] Production.INFO: count ==21
[2025-01-09 03:10:04] Production.INFO: ==14471== Lock acquired, processing the job...
[2025-01-09 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 03:10:04] Production.INFO: ==14463== Releasing lock...
[2025-01-09 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:10:04] Production.INFO: count ==21
[2025-01-09 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206726') start
[2025-01-09 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:10:04] Production.INFO: Account Balance Start.
[2025-01-09 03:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:10:04] Production.INFO: 117
[2025-01-09 03:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:10:04] Production.ERROR: done
[2025-01-09 03:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206726') end
[2025-01-09 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:10:04] Production.INFO: 1
[2025-01-09 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:10:04] Production.INFO: Total Charge 0
[2025-01-09 03:10:04] Production.INFO: CreateAllLog End
[2025-01-09 03:10:04] Production.INFO: ==14473== Releasing lock...
[2025-01-09 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:10:04] Production.INFO: Account Balance End.
[2025-01-09 03:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:10:04] Production.INFO: ==14467== Releasing lock...
[2025-01-09 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:10:04] Production.ERROR: done
[2025-01-09 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206730', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 03:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:10:05
[end_date_ymd] => 2025-01-09 03:10:05
[RateCDR] => 1
)
[2025-01-09 03:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:10:05' and `end` < '2025-01-09 03:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206730', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 03:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 03:10:09] Production.INFO: ProcessCDR(1,14206730,1,1,2)
[2025-01-09 03:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206730,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206730,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:10:09] Production.INFO: ==14471== Releasing lock...
[2025-01-09 03:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 03:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 03:10:12] Production.ERROR: CronJobId end10
[2025-01-09 03:10:12] Production.INFO: ==14465== Releasing lock...
[2025-01-09 03:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:10:14] Production.INFO: call_cost start
[2025-01-09 03:10:14] Production.INFO: call_cost end
[2025-01-09 03:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:10:15] Production.INFO: ==14461== Releasing lock...
[2025-01-09 03:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:10:18] Production.INFO: count ==196
[2025-01-09 03:10:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:10:05 - End Time 2025-01-09 03:10:05
[2025-01-09 03:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206729', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206729', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206729', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206729', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:10:18] Production.INFO: ProcessCDR(1,14206729,1,1,2)
[2025-01-09 03:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206729,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206729,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206729', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206729', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:10:22] Production.INFO: ==14469== Releasing lock...
[2025-01-09 03:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:10:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:11:02] Production.INFO: ==14542== Lock acquired, processing the job...
[2025-01-09 08:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:11:02] Production.INFO: neon service started
[2025-01-09 08:11:02] Production.INFO: neon service started
[2025-01-09 08:11:02] Production.INFO: ==14542== Releasing lock...
[2025-01-09 08:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:11:02] Production.INFO: ==14544== Lock acquired, processing the job...
[2025-01-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:11:02] Production.INFO: ==14546== Lock acquired, processing the job...
[2025-01-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:11:02] Production.INFO: ==14544== Releasing lock...
[2025-01-09 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:11:02] Production.INFO: ==14546== Releasing lock...
[2025-01-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:11:03] Production.INFO: ==14549== Lock acquired, processing the job...
[2025-01-09 03:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:11:03] Production.INFO: ==14551== Lock acquired, processing the job...
[2025-01-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:11:03] Production.INFO: ==14553== Lock acquired, processing the job...
[2025-01-09 03:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:11:03] Production.INFO: ==14555== Lock acquired, processing the job...
[2025-01-09 03:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:11:03] Production.INFO: ==14557== Lock acquired, processing the job...
[2025-01-09 03:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:11:03] Production.INFO: ==14559== Lock acquired, processing the job...
[2025-01-09 03:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:11:03] Production.INFO: Account Balance Start.
[2025-01-09 03:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:11:03] Production.INFO: 117
[2025-01-09 03:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:11:03] Production.INFO: ==14551== Releasing lock...
[2025-01-09 03:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:11:04] Production.INFO: Total Charge 0
[2025-01-09 03:11:04] Production.INFO: CreateAllLog End
[2025-01-09 03:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:11:04] Production.ERROR: done
[2025-01-09 03:11:04] Production.INFO: count ==21
[2025-01-09 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:11:04] Production.INFO: count ==21
[2025-01-09 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206734') start
[2025-01-09 03:11:04] Production.INFO: Account Balance End.
[2025-01-09 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206734') end
[2025-01-09 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:11:04] Production.INFO: 1
[2025-01-09 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:11:04] Production.ERROR: done
[2025-01-09 03:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:11:04] Production.INFO: ==14555== Releasing lock...
[2025-01-09 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:11:04] Production.INFO: ==14559== Releasing lock...
[2025-01-09 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:11:05
[end_date_ymd] => 2025-01-09 03:11:05
[RateCDR] => 1
)
[2025-01-09 03:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:11:05' and `end` < '2025-01-09 03:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:11:11] Production.ERROR: CronJobId end10
[2025-01-09 03:11:11] Production.INFO: ==14553== Releasing lock...
[2025-01-09 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:11:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:11:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:11:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:11:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:11:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:11:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:11:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:11:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:11:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:11:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:11:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:11:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:11:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:11:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:11:12] Production.INFO: call_cost start
[2025-01-09 03:11:12] Production.INFO: call_cost end
[2025-01-09 03:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:11:13] Production.INFO: ==14549== Releasing lock...
[2025-01-09 03:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:11:18] Production.INFO: count ==188
[2025-01-09 03:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:11:05 - End Time 2025-01-09 03:11:05
[2025-01-09 03:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206735', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206735', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206735', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206735', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:11:18] Production.INFO: ProcessCDR(1,14206735,1,1,2)
[2025-01-09 03:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206735', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206735', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:11:21] Production.INFO: ==14557== Releasing lock...
[2025-01-09 03:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:11:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:12:01] Production.INFO: ==14622== Lock acquired, processing the job...
[2025-01-09 08:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:12:01] Production.INFO: neon service started
[2025-01-09 08:12:01] Production.INFO: neon service started
[2025-01-09 08:12:01] Production.INFO: ==14622== Releasing lock...
[2025-01-09 08:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:12:01] Production.INFO: ==14626== Lock acquired, processing the job...
[2025-01-09 08:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:12:01] Production.INFO: ==14626== Releasing lock...
[2025-01-09 08:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:12:01] Production.INFO: ==14624== Lock acquired, processing the job...
[2025-01-09 03:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:12:02] Production.INFO: ==14624== Releasing lock...
[2025-01-09 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:12:02] Production.INFO: ==14629== Lock acquired, processing the job...
[2025-01-09 03:12:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:12:03] Production.INFO: ==14633== Lock acquired, processing the job...
[2025-01-09 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:12:03] Production.INFO: ==14635== Lock acquired, processing the job...
[2025-01-09 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:12:03] Production.INFO: ==14631== Lock acquired, processing the job...
[2025-01-09 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:12:03] Production.INFO: Account Balance Start.
[2025-01-09 03:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:12:03] Production.INFO: 117
[2025-01-09 03:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:12:03] Production.INFO: ==14637== Lock acquired, processing the job...
[2025-01-09 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:12:03] Production.INFO: ==14639== Lock acquired, processing the job...
[2025-01-09 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:12:03] Production.INFO: Total Charge 0
[2025-01-09 03:12:03] Production.INFO: CreateAllLog End
[2025-01-09 03:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:12:03] Production.INFO: count ==21
[2025-01-09 03:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:12:03] Production.INFO: count ==21
[2025-01-09 03:12:03] Production.INFO: ==14631== Releasing lock...
[2025-01-09 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206739') start
[2025-01-09 03:12:03] Production.INFO: Account Balance End.
[2025-01-09 03:12:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:12:03] Production.INFO: ==14635== Releasing lock...
[2025-01-09 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206739') end
[2025-01-09 03:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:12:03] Production.INFO: 1
[2025-01-09 03:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:12:04] Production.INFO: ==14639== Releasing lock...
[2025-01-09 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:12:04] Production.ERROR: done
[2025-01-09 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:12:04] Production.ERROR: done
[2025-01-09 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:12:05
[end_date_ymd] => 2025-01-09 03:12:05
[RateCDR] => 1
)
[2025-01-09 03:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:12:05' and `end` < '2025-01-09 03:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:12:10] Production.ERROR: CronJobId end10
[2025-01-09 03:12:10] Production.INFO: ==14633== Releasing lock...
[2025-01-09 03:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:12:12] Production.INFO: call_cost start
[2025-01-09 03:12:12] Production.INFO: call_cost end
[2025-01-09 03:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:12:13] Production.INFO: ==14629== Releasing lock...
[2025-01-09 03:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:12:17] Production.INFO: count ==187
[2025-01-09 03:12:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:12:05 - End Time 2025-01-09 03:12:05
[2025-01-09 03:12:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206740', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206740', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206740', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:12:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206740', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:12:17] Production.INFO: ProcessCDR(1,14206740,1,1,2)
[2025-01-09 03:12:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:12:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:12:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206740', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206740', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:12:21] Production.INFO: ==14637== Releasing lock...
[2025-01-09 03:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:12:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:13:01] Production.INFO: ==14779== Lock acquired, processing the job...
[2025-01-09 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:13:01] Production.INFO: neon service started
[2025-01-09 08:13:01] Production.INFO: neon service started
[2025-01-09 08:13:01] Production.INFO: ==14779== Releasing lock...
[2025-01-09 08:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:13:02] Production.INFO: ==14783== Lock acquired, processing the job...
[2025-01-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:13:02] Production.INFO: ==14783== Releasing lock...
[2025-01-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:13:02] Production.INFO: ==14781== Lock acquired, processing the job...
[2025-01-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:13:02] Production.INFO: ==14781== Releasing lock...
[2025-01-09 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:13:03] Production.INFO: ==14788== Lock acquired, processing the job...
[2025-01-09 03:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:13:03] Production.INFO: ==14792== Lock acquired, processing the job...
[2025-01-09 03:13:03] Production.INFO: ==14790== Lock acquired, processing the job...
[2025-01-09 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:13:03] Production.INFO: ==14794== Lock acquired, processing the job...
[2025-01-09 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:13:03] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-01-09 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:13:03] Production.INFO: Account Balance Start.
[2025-01-09 03:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:13:03] Production.INFO: 117
[2025-01-09 03:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:13:03] Production.INFO: ==14798== Lock acquired, processing the job...
[2025-01-09 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:13:03] Production.INFO: Total Charge 0
[2025-01-09 03:13:03] Production.INFO: CreateAllLog End
[2025-01-09 03:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:13:03] Production.INFO: count ==21
[2025-01-09 03:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:13:03] Production.INFO: count ==21
[2025-01-09 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206744') start
[2025-01-09 03:13:03] Production.INFO: ==14790== Releasing lock...
[2025-01-09 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:13:04] Production.INFO: Account Balance End.
[2025-01-09 03:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:13:04] Production.INFO: ==14794== Releasing lock...
[2025-01-09 03:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206744') end
[2025-01-09 03:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:13:04] Production.INFO: 1
[2025-01-09 03:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:13:04] Production.INFO: ==14798== Releasing lock...
[2025-01-09 03:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:13:04] Production.ERROR: done
[2025-01-09 03:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:13:04] Production.ERROR: done
[2025-01-09 03:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:13:05
[end_date_ymd] => 2025-01-09 03:13:05
[RateCDR] => 1
)
[2025-01-09 03:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:13:05' and `end` < '2025-01-09 03:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:13:10] Production.ERROR: CronJobId end10
[2025-01-09 03:13:10] Production.INFO: ==14792== Releasing lock...
[2025-01-09 03:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:13:13] Production.INFO: call_cost start
[2025-01-09 03:13:13] Production.INFO: call_cost end
[2025-01-09 03:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:13:14] Production.INFO: ==14788== Releasing lock...
[2025-01-09 03:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:13:18] Production.INFO: count ==188
[2025-01-09 03:13:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:13:05 - End Time 2025-01-09 03:13:05
[2025-01-09 03:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206745', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206745', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206745', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206745', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:13:18] Production.INFO: ProcessCDR(1,14206745,1,1,2)
[2025-01-09 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206745', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206745', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:13:23] Production.INFO: ==14796== Releasing lock...
[2025-01-09 03:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:13:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:14:02] Production.INFO: ==14861== Lock acquired, processing the job...
[2025-01-09 08:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:14:02] Production.INFO: neon service started
[2025-01-09 08:14:02] Production.INFO: neon service started
[2025-01-09 08:14:02] Production.INFO: ==14861== Releasing lock...
[2025-01-09 08:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:14:02] Production.INFO: ==14863== Lock acquired, processing the job...
[2025-01-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:14:02] Production.INFO: ==14863== Releasing lock...
[2025-01-09 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:14:03] Production.INFO: ==14865== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:14:03] Production.INFO: ==14865== Releasing lock...
[2025-01-09 08:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:14:03] Production.INFO: ==14868== Lock acquired, processing the job...
[2025-01-09 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:14:03] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-09 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:14:03] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-09 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:14:03] Production.INFO: ==14874== Lock acquired, processing the job...
[2025-01-09 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:14:04] Production.INFO: Account Balance Start.
[2025-01-09 03:14:04] Production.INFO: ==14876== Lock acquired, processing the job...
[2025-01-09 03:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:14:04] Production.INFO: 117
[2025-01-09 03:14:04] Production.INFO: ==14878== Lock acquired, processing the job...
[2025-01-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:14:04] Production.INFO: Total Charge 0
[2025-01-09 03:14:04] Production.INFO: CreateAllLog End
[2025-01-09 03:14:04] Production.INFO: ==14870== Releasing lock...
[2025-01-09 03:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:14:04] Production.INFO: count ==21
[2025-01-09 03:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:14:04] Production.INFO: count ==21
[2025-01-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206749') start
[2025-01-09 03:14:04] Production.INFO: Account Balance End.
[2025-01-09 03:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:14:04] Production.INFO: ==14874== Releasing lock...
[2025-01-09 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206749') end
[2025-01-09 03:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:14:04] Production.INFO: 1
[2025-01-09 03:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:14:04] Production.INFO: ==14878== Releasing lock...
[2025-01-09 03:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:14:04] Production.ERROR: done
[2025-01-09 03:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:14:04] Production.ERROR: done
[2025-01-09 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:14:05
[end_date_ymd] => 2025-01-09 03:14:05
[RateCDR] => 1
)
[2025-01-09 03:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:14:05' and `end` < '2025-01-09 03:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:14:11] Production.ERROR: CronJobId end10
[2025-01-09 03:14:11] Production.INFO: ==14872== Releasing lock...
[2025-01-09 03:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:14:13] Production.INFO: call_cost start
[2025-01-09 03:14:13] Production.INFO: call_cost end
[2025-01-09 03:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:14:14] Production.INFO: ==14868== Releasing lock...
[2025-01-09 03:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:14:18] Production.INFO: count ==188
[2025-01-09 03:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:14:05 - End Time 2025-01-09 03:14:05
[2025-01-09 03:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206750', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206750', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206750', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206750', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:14:18] Production.INFO: ProcessCDR(1,14206750,1,1,2)
[2025-01-09 03:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206750', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206750', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:14:22] Production.INFO: ==14876== Releasing lock...
[2025-01-09 03:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:14:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:15:01] Production.INFO: ==14943== Lock acquired, processing the job...
[2025-01-09 08:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:15:01] Production.INFO: neon service started
[2025-01-09 08:15:01] Production.INFO: neon service started
[2025-01-09 08:15:01] Production.INFO: ==14943== Releasing lock...
[2025-01-09 08:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:15:02] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-01-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:15:02] Production.INFO: ==14947== Lock acquired, processing the job...
[2025-01-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:15:02] Production.INFO: ==14947== Releasing lock...
[2025-01-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:15:02] Production.INFO: ==14945== Releasing lock...
[2025-01-09 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:15:03] Production.INFO: ==14950== Lock acquired, processing the job...
[2025-01-09 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:15:03] Production.INFO: ==14952== Lock acquired, processing the job...
[2025-01-09 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:15:03] Production.INFO: ==14956== Lock acquired, processing the job...
[2025-01-09 03:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:15:03] Production.INFO: Account Balance Start.
[2025-01-09 03:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:15:03] Production.INFO: 117
[2025-01-09 03:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:15:03] Production.INFO: ==14954== Lock acquired, processing the job...
[2025-01-09 03:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:15:03] Production.INFO: Total Charge 0
[2025-01-09 03:15:03] Production.INFO: CreateAllLog End
[2025-01-09 03:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:15:03] Production.INFO: ==14960== Lock acquired, processing the job...
[2025-01-09 03:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:15:03] Production.INFO: ==14958== Lock acquired, processing the job...
[2025-01-09 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:15:03] Production.INFO: ==14952== Releasing lock...
[2025-01-09 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:15:03] Production.INFO: Account Balance End.
[2025-01-09 03:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:15:04] Production.INFO: ==14956== Releasing lock...
[2025-01-09 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:15:04] Production.INFO: count ==21
[2025-01-09 03:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:15:04] Production.INFO: count ==21
[2025-01-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206754') start
[2025-01-09 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206754') end
[2025-01-09 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:15:04] Production.INFO: 1
[2025-01-09 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:15:04] Production.INFO: ==14960== Releasing lock...
[2025-01-09 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:15:04] Production.ERROR: done
[2025-01-09 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:15:04] Production.ERROR: done
[2025-01-09 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:15:05
[end_date_ymd] => 2025-01-09 03:15:05
[RateCDR] => 1
)
[2025-01-09 03:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:15:05' and `end` < '2025-01-09 03:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:15:10] Production.ERROR: CronJobId end10
[2025-01-09 03:15:10] Production.INFO: ==14954== Releasing lock...
[2025-01-09 03:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:15:13] Production.INFO: call_cost start
[2025-01-09 03:15:13] Production.INFO: call_cost end
[2025-01-09 03:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:15:13] Production.INFO: ==14950== Releasing lock...
[2025-01-09 03:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:15:18] Production.INFO: count ==188
[2025-01-09 03:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:15:05 - End Time 2025-01-09 03:15:05
[2025-01-09 03:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206755', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206755', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206755', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206755', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:15:18] Production.INFO: ProcessCDR(1,14206755,1,1,2)
[2025-01-09 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206755', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206755', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:15:21] Production.INFO: ==14958== Releasing lock...
[2025-01-09 03:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:15:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:16:02] Production.INFO: ==15025== Lock acquired, processing the job...
[2025-01-09 08:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:16:02] Production.INFO: neon service started
[2025-01-09 08:16:02] Production.INFO: neon service started
[2025-01-09 08:16:02] Production.INFO: ==15025== Releasing lock...
[2025-01-09 08:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:16:02] Production.INFO: ==15027== Lock acquired, processing the job...
[2025-01-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:16:02] Production.INFO: ==15029== Lock acquired, processing the job...
[2025-01-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:16:02] Production.INFO: ==15027== Releasing lock...
[2025-01-09 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:16:03] Production.INFO: ==15029== Releasing lock...
[2025-01-09 08:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:16:03] Production.INFO: ==15031== Lock acquired, processing the job...
[2025-01-09 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:16:03] Production.INFO: ==15042== Lock acquired, processing the job...
[2025-01-09 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:16:03] Production.INFO: ==15038== Lock acquired, processing the job...
[2025-01-09 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:16:03] Production.INFO: ==15040== Lock acquired, processing the job...
[2025-01-09 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:16:03] Production.INFO: ==15033== Lock acquired, processing the job...
[2025-01-09 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:16:03] Production.INFO: Account Balance Start.
[2025-01-09 03:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:16:03] Production.INFO: 117
[2025-01-09 03:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:16:03] Production.INFO: count ==21
[2025-01-09 03:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:16:04] Production.INFO: count ==21
[2025-01-09 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206757') start
[2025-01-09 03:16:04] Production.INFO: ==15036== Lock acquired, processing the job...
[2025-01-09 03:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206757') end
[2025-01-09 03:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:16:04] Production.INFO: 1
[2025-01-09 03:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:16:04] Production.INFO: Total Charge 0
[2025-01-09 03:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:16:04] Production.INFO: CreateAllLog End
[2025-01-09 03:16:04] Production.INFO: ==15042== Releasing lock...
[2025-01-09 03:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:16:04] Production.ERROR: done
[2025-01-09 03:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:16:04] Production.INFO: Account Balance End.
[2025-01-09 03:16:04] Production.ERROR: done
[2025-01-09 03:16:04] Production.INFO: ==15033== Releasing lock...
[2025-01-09 03:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:16:04] Production.INFO: ==15038== Releasing lock...
[2025-01-09 03:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:16:05
[end_date_ymd] => 2025-01-09 03:16:05
[RateCDR] => 1
)
[2025-01-09 03:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:16:05' and `end` < '2025-01-09 03:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:16:12] Production.ERROR: CronJobId end10
[2025-01-09 03:16:12] Production.INFO: ==15036== Releasing lock...
[2025-01-09 03:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:16:13] Production.INFO: call_cost start
[2025-01-09 03:16:13] Production.INFO: call_cost end
[2025-01-09 03:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:16:14] Production.INFO: ==15031== Releasing lock...
[2025-01-09 03:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:16:19] Production.INFO: count ==188
[2025-01-09 03:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:16:05 - End Time 2025-01-09 03:16:05
[2025-01-09 03:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206760', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206760', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206760', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206760', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:16:19] Production.INFO: ProcessCDR(1,14206760,1,1,2)
[2025-01-09 03:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206760,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206760,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206760', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206760', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:16:22] Production.INFO: ==15040== Releasing lock...
[2025-01-09 03:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:16:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:17:01] Production.INFO: ==15183== Lock acquired, processing the job...
[2025-01-09 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:17:01] Production.INFO: neon service started
[2025-01-09 08:17:01] Production.INFO: neon service started
[2025-01-09 08:17:01] Production.INFO: ==15183== Releasing lock...
[2025-01-09 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:17:01] Production.INFO: ==15185== Lock acquired, processing the job...
[2025-01-09 03:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:17:02] Production.INFO: ==15187== Lock acquired, processing the job...
[2025-01-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:17:02] Production.INFO: ==15185== Releasing lock...
[2025-01-09 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:17:02] Production.INFO: ==15187== Releasing lock...
[2025-01-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:17:03] Production.INFO: ==15197== Lock acquired, processing the job...
[2025-01-09 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:17:03] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-01-09 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:17:03] Production.INFO: ==15189== Lock acquired, processing the job...
[2025-01-09 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:17:03] Production.INFO: ==15191== Lock acquired, processing the job...
[2025-01-09 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:17:03] Production.INFO: ==15193== Lock acquired, processing the job...
[2025-01-09 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:17:03] Production.INFO: ==15195== Lock acquired, processing the job...
[2025-01-09 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:17:03] Production.INFO: count ==21
[2025-01-09 03:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:17:03] Production.INFO: count ==21
[2025-01-09 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206761') start
[2025-01-09 03:17:03] Production.INFO: Account Balance Start.
[2025-01-09 03:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:17:03] Production.INFO: 117
[2025-01-09 03:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206761') end
[2025-01-09 03:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:17:03] Production.INFO: 1
[2025-01-09 03:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:17:03] Production.ERROR: done
[2025-01-09 03:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:17:03] Production.INFO: Total Charge 0
[2025-01-09 03:17:03] Production.INFO: CreateAllLog End
[2025-01-09 03:17:03] Production.INFO: ==15200== Releasing lock...
[2025-01-09 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:17:03] Production.ERROR: done
[2025-01-09 03:17:03] Production.INFO: ==15191== Releasing lock...
[2025-01-09 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:17:03] Production.INFO: Account Balance End.
[2025-01-09 03:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:17:03] Production.INFO: ==15195== Releasing lock...
[2025-01-09 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:17:04
[end_date_ymd] => 2025-01-09 03:17:04
[RateCDR] => 1
)
[2025-01-09 03:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:17:04' and `end` < '2025-01-09 03:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:17:09] Production.ERROR: CronJobId end10
[2025-01-09 03:17:09] Production.INFO: ==15193== Releasing lock...
[2025-01-09 03:17:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:17:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:17:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:17:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:17:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:17:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:17:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:17:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:17:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:17:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:17:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:17:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:17:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:17:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:17:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:17:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:17:11] Production.INFO: call_cost start
[2025-01-09 03:17:11] Production.INFO: call_cost end
[2025-01-09 03:17:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:17:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:17:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:17:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:17:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:17:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:17:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:17:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:17:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:17:12] Production.INFO: ==15189== Releasing lock...
[2025-01-09 03:17:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:17:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:17:17] Production.INFO: count ==188
[2025-01-09 03:17:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:17:04 - End Time 2025-01-09 03:17:04
[2025-01-09 03:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206765', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206765', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206765', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206765', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:17:17] Production.INFO: ProcessCDR(1,14206765,1,1,2)
[2025-01-09 03:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:17:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206765', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:17:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206765', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:17:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:17:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:17:20] Production.INFO: ==15197== Releasing lock...
[2025-01-09 03:17:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:17:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:18:02] Production.INFO: ==15266== Lock acquired, processing the job...
[2025-01-09 08:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:18:02] Production.INFO: neon service started
[2025-01-09 08:18:02] Production.INFO: neon service started
[2025-01-09 08:18:02] Production.INFO: ==15266== Releasing lock...
[2025-01-09 08:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:18:02] Production.INFO: ==15268== Lock acquired, processing the job...
[2025-01-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:18:02] Production.INFO: ==15268== Releasing lock...
[2025-01-09 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:18:02] Production.INFO: ==15270== Lock acquired, processing the job...
[2025-01-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:18:02] Production.INFO: ==15270== Releasing lock...
[2025-01-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:18:03] Production.INFO: ==15272== Lock acquired, processing the job...
[2025-01-09 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:18:03] Production.INFO: ==15274== Lock acquired, processing the job...
[2025-01-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:18:03] Production.INFO: ==15280== Lock acquired, processing the job...
[2025-01-09 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:18:03] Production.INFO: ==15276== Lock acquired, processing the job...
[2025-01-09 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:18:03] Production.INFO: ==15278== Lock acquired, processing the job...
[2025-01-09 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:18:03] Production.INFO: ==15282== Lock acquired, processing the job...
[2025-01-09 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:18:03] Production.INFO: Account Balance Start.
[2025-01-09 03:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:18:03] Production.INFO: 117
[2025-01-09 03:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:18:03] Production.INFO: ==15274== Releasing lock...
[2025-01-09 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:18:03] Production.ERROR: done
[2025-01-09 03:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:18:03] Production.INFO: count ==21
[2025-01-09 03:18:04] Production.INFO: Total Charge 0
[2025-01-09 03:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:18:04] Production.INFO: CreateAllLog End
[2025-01-09 03:18:04] Production.INFO: count ==21
[2025-01-09 03:18:04] Production.ERROR: done
[2025-01-09 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206769') start
[2025-01-09 03:18:04] Production.INFO: Account Balance End.
[2025-01-09 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206769') end
[2025-01-09 03:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:18:04] Production.INFO: 1
[2025-01-09 03:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:18:04] Production.INFO: ==15278== Releasing lock...
[2025-01-09 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:18:04] Production.INFO: ==15282== Releasing lock...
[2025-01-09 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:18:05
[end_date_ymd] => 2025-01-09 03:18:05
[RateCDR] => 1
)
[2025-01-09 03:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:18:05' and `end` < '2025-01-09 03:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:18:09] Production.ERROR: CronJobId end10
[2025-01-09 03:18:09] Production.INFO: ==15276== Releasing lock...
[2025-01-09 03:18:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:18:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:18:13] Production.INFO: call_cost start
[2025-01-09 03:18:13] Production.INFO: call_cost end
[2025-01-09 03:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:18:14] Production.INFO: ==15272== Releasing lock...
[2025-01-09 03:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:18:19] Production.INFO: count ==188
[2025-01-09 03:18:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:18:05 - End Time 2025-01-09 03:18:05
[2025-01-09 03:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206770', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206770', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206770', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206770', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:18:19] Production.INFO: ProcessCDR(1,14206770,1,1,2)
[2025-01-09 03:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206770,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206770,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206770', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206770', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:18:22] Production.INFO: ==15280== Releasing lock...
[2025-01-09 03:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:18:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:19:01] Production.INFO: ==15348== Lock acquired, processing the job...
[2025-01-09 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:19:01] Production.INFO: neon service started
[2025-01-09 08:19:01] Production.INFO: neon service started
[2025-01-09 08:19:01] Production.INFO: ==15348== Releasing lock...
[2025-01-09 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:19:01] Production.INFO: ==15350== Lock acquired, processing the job...
[2025-01-09 03:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:19:02] Production.INFO: ==15352== Lock acquired, processing the job...
[2025-01-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:19:02] Production.INFO: ==15352== Releasing lock...
[2025-01-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:19:02] Production.INFO: ==15350== Releasing lock...
[2025-01-09 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:19:02] Production.INFO: ==15356== Lock acquired, processing the job...
[2025-01-09 03:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:19:03] Production.INFO: ==15358== Lock acquired, processing the job...
[2025-01-09 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:19:03] Production.INFO: ==15360== Lock acquired, processing the job...
[2025-01-09 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:19:03] Production.INFO: ==15366== Lock acquired, processing the job...
[2025-01-09 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:19:03] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-01-09 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:19:03] Production.INFO: ==15362== Lock acquired, processing the job...
[2025-01-09 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:19:03] Production.INFO: Account Balance Start.
[2025-01-09 03:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:19:03] Production.INFO: 117
[2025-01-09 03:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:19:03] Production.INFO: count ==21
[2025-01-09 03:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:19:03] Production.INFO: count ==21
[2025-01-09 03:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:19:03] Production.INFO: ==15358== Releasing lock...
[2025-01-09 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206773') start
[2025-01-09 03:19:03] Production.INFO: Total Charge 0
[2025-01-09 03:19:03] Production.INFO: CreateAllLog End
[2025-01-09 03:19:03] Production.ERROR: done
[2025-01-09 03:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206773') end
[2025-01-09 03:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:19:03] Production.INFO: 1
[2025-01-09 03:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:19:03] Production.ERROR: done
[2025-01-09 03:19:03] Production.INFO: ==15366== Releasing lock...
[2025-01-09 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:19:03] Production.INFO: Account Balance End.
[2025-01-09 03:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:19:03] Production.INFO: ==15362== Releasing lock...
[2025-01-09 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:19:04
[end_date_ymd] => 2025-01-09 03:19:04
[RateCDR] => 1
)
[2025-01-09 03:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:19:04' and `end` < '2025-01-09 03:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:19:10] Production.ERROR: CronJobId end10
[2025-01-09 03:19:10] Production.INFO: ==15360== Releasing lock...
[2025-01-09 03:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:19:13] Production.INFO: call_cost start
[2025-01-09 03:19:13] Production.INFO: call_cost end
[2025-01-09 03:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:19:13] Production.INFO: ==15356== Releasing lock...
[2025-01-09 03:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:19:18] Production.INFO: count ==188
[2025-01-09 03:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:19:04 - End Time 2025-01-09 03:19:04
[2025-01-09 03:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206775', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206775', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206775', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206775', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:19:18] Production.INFO: ProcessCDR(1,14206775,1,1,2)
[2025-01-09 03:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206775,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206775,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206775', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206775', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:19:21] Production.INFO: ==15364== Releasing lock...
[2025-01-09 03:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:19:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:20:02] Production.INFO: ==15430== Lock acquired, processing the job...
[2025-01-09 08:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:20:02] Production.INFO: neon service started
[2025-01-09 08:20:02] Production.INFO: neon service started
[2025-01-09 08:20:02] Production.INFO: ==15430== Releasing lock...
[2025-01-09 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:20:02] Production.INFO: ==15435== Lock acquired, processing the job...
[2025-01-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:20:02] Production.INFO: ==15435== Releasing lock...
[2025-01-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:20:02] Production.INFO: ==15433== Lock acquired, processing the job...
[2025-01-09 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:20:03] Production.INFO: ==15433== Releasing lock...
[2025-01-09 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:20:03] Production.INFO: ==15441== Lock acquired, processing the job...
[2025-01-09 03:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:20:04] Production.INFO: ==15437== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 03:20:04] Production.INFO: ==15439== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:20:04] Production.ERROR: CronJob PID - 15439
[2025-01-09 03:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 03:20:04] Production.ERROR: CronJob ID - 5
[2025-01-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 03:20:00
[2025-01-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:20:04] Production.ERROR: CronJob PID - 15441
[2025-01-09 03:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 03:20:04] Production.ERROR: CronJob ID - 7
[2025-01-09 03:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 03:20:00
[2025-01-09 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 03:20:04] Production.INFO: ==15437== Releasing lock...
[2025-01-09 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 03:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:20:04] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:20:04] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:20:04] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:20:04] Production.INFO: ==15452== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:20:04] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-01-09 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:20:04] Production.INFO: Account Balance Start.
[2025-01-09 03:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:20:04] Production.INFO: 117
[2025-01-09 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:20:04] Production.INFO: ==15441== Releasing lock...
[2025-01-09 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:20:04] Production.INFO: count ==21
[2025-01-09 03:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:20:04] Production.INFO: count ==21
[2025-01-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206779') start
[2025-01-09 03:20:04] Production.ERROR: done
[2025-01-09 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:20:04] Production.INFO: Total Charge 0
[2025-01-09 03:20:04] Production.INFO: CreateAllLog End
[2025-01-09 03:20:04] Production.ERROR: done
[2025-01-09 03:20:04] Production.ERROR: done
[2025-01-09 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206779') end
[2025-01-09 03:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:20:04] Production.INFO: 1
[2025-01-09 03:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:20:04] Production.INFO: Account Balance End.
[2025-01-09 03:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 03:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206781', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 03:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 03:20:05] Production.INFO: ==15445== Releasing lock...
[2025-01-09 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:20:05] Production.INFO: ==15452== Releasing lock...
[2025-01-09 03:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:20:06
[end_date_ymd] => 2025-01-09 03:20:06
[RateCDR] => 1
)
[2025-01-09 03:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:20:06' and `end` < '2025-01-09 03:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206781', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 03:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 03:20:08] Production.INFO: ProcessCDR(1,14206781,1,1,2)
[2025-01-09 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206781,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206781,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:20:08] Production.INFO: ==15449== Releasing lock...
[2025-01-09 03:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 03:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 03:20:13] Production.ERROR: CronJobId end10
[2025-01-09 03:20:13] Production.INFO: ==15443== Releasing lock...
[2025-01-09 03:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:20:14] Production.INFO: call_cost start
[2025-01-09 03:20:14] Production.INFO: call_cost end
[2025-01-09 03:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:20:15] Production.INFO: ==15439== Releasing lock...
[2025-01-09 03:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:20:19] Production.INFO: count ==180
[2025-01-09 03:20:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:20:06 - End Time 2025-01-09 03:20:06
[2025-01-09 03:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206780', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206780', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206780', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206780', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:20:19] Production.INFO: ProcessCDR(1,14206780,1,1,2)
[2025-01-09 03:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206780,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206780,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206780', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206780', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:20:22] Production.INFO: ==15447== Releasing lock...
[2025-01-09 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:20:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 08:21:01] Production.INFO: ==15515== Lock acquired, processing the job...
[2025-01-09 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:21:01] Production.INFO: neon service started
[2025-01-09 08:21:01] Production.INFO: neon service started
[2025-01-09 08:21:01] Production.INFO: ==15515== Releasing lock...
[2025-01-09 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:21:02] Production.INFO: ==15517== Lock acquired, processing the job...
[2025-01-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:21:02] Production.INFO: ==15519== Lock acquired, processing the job...
[2025-01-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:21:02] Production.INFO: ==15519== Releasing lock...
[2025-01-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:21:02] Production.INFO: ==15517== Releasing lock...
[2025-01-09 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:21:03] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-01-09 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:21:03] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-01-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:21:03] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-01-09 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:21:03] Production.INFO: ==15528== Lock acquired, processing the job...
[2025-01-09 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:21:03] Production.INFO: ==15532== Lock acquired, processing the job...
[2025-01-09 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:21:03] Production.INFO: ==15524== Releasing lock...
[2025-01-09 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:21:03] Production.INFO: ==15530== Lock acquired, processing the job...
[2025-01-09 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:21:03] Production.INFO: Account Balance Start.
[2025-01-09 03:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:21:03] Production.INFO: 117
[2025-01-09 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:21:03] Production.INFO: count ==21
[2025-01-09 03:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:21:03] Production.INFO: count ==21
[2025-01-09 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206784') start
[2025-01-09 03:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:21:03] Production.INFO: Total Charge 0
[2025-01-09 03:21:03] Production.INFO: CreateAllLog End
[2025-01-09 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206784') end
[2025-01-09 03:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:21:03] Production.INFO: 1
[2025-01-09 03:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:21:03] Production.ERROR: done
[2025-01-09 03:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:21:03] Production.INFO: ==15532== Releasing lock...
[2025-01-09 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:21:04] Production.INFO: Account Balance End.
[2025-01-09 03:21:04] Production.ERROR: done
[2025-01-09 03:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:21:04] Production.INFO: ==15528== Releasing lock...
[2025-01-09 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:21:04
[end_date_ymd] => 2025-01-09 03:21:04
[RateCDR] => 1
)
[2025-01-09 03:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:21:04' and `end` < '2025-01-09 03:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:21:11] Production.ERROR: CronJobId end10
[2025-01-09 03:21:11] Production.INFO: ==15526== Releasing lock...
[2025-01-09 03:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:21:13] Production.INFO: call_cost start
[2025-01-09 03:21:13] Production.INFO: call_cost end
[2025-01-09 03:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:21:14] Production.INFO: ==15522== Releasing lock...
[2025-01-09 03:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:21:17] Production.INFO: count ==166
[2025-01-09 03:21:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:21:04 - End Time 2025-01-09 03:21:04
[2025-01-09 03:21:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206786', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206786', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:21:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206786', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206786', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:21:18] Production.INFO: ProcessCDR(1,14206786,1,1,2)
[2025-01-09 03:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206786', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206786', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:21:21] Production.INFO: ==15530== Releasing lock...
[2025-01-09 03:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:21:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:22:01] Production.INFO: ==15597== Lock acquired, processing the job...
[2025-01-09 08:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:22:01] Production.INFO: neon service started
[2025-01-09 08:22:01] Production.INFO: neon service started
[2025-01-09 08:22:01] Production.INFO: ==15597== Releasing lock...
[2025-01-09 08:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:22:02] Production.INFO: ==15599== Lock acquired, processing the job...
[2025-01-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:22:02] Production.INFO: ==15601== Lock acquired, processing the job...
[2025-01-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:22:02] Production.INFO: ==15601== Releasing lock...
[2025-01-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:22:02] Production.INFO: ==15599== Releasing lock...
[2025-01-09 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:22:03] Production.INFO: ==15603== Lock acquired, processing the job...
[2025-01-09 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:22:03] Production.INFO: ==15605== Lock acquired, processing the job...
[2025-01-09 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:22:03] Production.INFO: ==15607== Lock acquired, processing the job...
[2025-01-09 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:22:03] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-01-09 03:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:22:03] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-01-09 03:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:22:03] Production.INFO: ==15614== Lock acquired, processing the job...
[2025-01-09 03:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:22:03] Production.INFO: Account Balance Start.
[2025-01-09 03:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:22:03] Production.INFO: 117
[2025-01-09 03:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:22:03] Production.INFO: ==15605== Releasing lock...
[2025-01-09 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:22:04] Production.INFO: count ==21
[2025-01-09 03:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:22:04] Production.INFO: count ==21
[2025-01-09 03:22:04] Production.ERROR: done
[2025-01-09 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206790') start
[2025-01-09 03:22:04] Production.INFO: Total Charge 0
[2025-01-09 03:22:04] Production.INFO: CreateAllLog End
[2025-01-09 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206790') end
[2025-01-09 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:22:04] Production.INFO: 1
[2025-01-09 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:22:04] Production.ERROR: done
[2025-01-09 03:22:04] Production.INFO: ==15614== Releasing lock...
[2025-01-09 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:22:04] Production.INFO: Account Balance End.
[2025-01-09 03:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:22:04] Production.INFO: ==15609== Releasing lock...
[2025-01-09 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:22:05
[end_date_ymd] => 2025-01-09 03:22:05
[RateCDR] => 1
)
[2025-01-09 03:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:22:05' and `end` < '2025-01-09 03:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:22:11] Production.ERROR: CronJobId end10
[2025-01-09 03:22:11] Production.INFO: ==15607== Releasing lock...
[2025-01-09 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:22:13] Production.INFO: call_cost start
[2025-01-09 03:22:13] Production.INFO: call_cost end
[2025-01-09 03:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:22:14] Production.INFO: ==15603== Releasing lock...
[2025-01-09 03:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:22:18] Production.INFO: count ==166
[2025-01-09 03:22:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:22:05 - End Time 2025-01-09 03:22:05
[2025-01-09 03:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206791', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206791', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206791', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206791', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:22:18] Production.INFO: ProcessCDR(1,14206791,1,1,2)
[2025-01-09 03:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206791', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206791', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:22:21] Production.INFO: ==15611== Releasing lock...
[2025-01-09 03:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:22:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:23:01] Production.INFO: ==15677== Lock acquired, processing the job...
[2025-01-09 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:23:01] Production.INFO: neon service started
[2025-01-09 08:23:01] Production.INFO: neon service started
[2025-01-09 08:23:01] Production.INFO: ==15677== Releasing lock...
[2025-01-09 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:23:01] Production.INFO: ==15679== Lock acquired, processing the job...
[2025-01-09 03:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:23:02] Production.INFO: ==15681== Lock acquired, processing the job...
[2025-01-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:23:02] Production.INFO: ==15679== Releasing lock...
[2025-01-09 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:23:02] Production.INFO: ==15681== Releasing lock...
[2025-01-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:23:02] Production.INFO: ==15686== Lock acquired, processing the job...
[2025-01-09 03:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:23:02] Production.INFO: ==15690== Lock acquired, processing the job...
[2025-01-09 03:23:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:23:03] Production.INFO: Account Balance Start.
[2025-01-09 03:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:23:03] Production.INFO: 117
[2025-01-09 03:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:23:03] Production.INFO: ==15684== Lock acquired, processing the job...
[2025-01-09 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:23:03] Production.INFO: Total Charge 0
[2025-01-09 03:23:03] Production.INFO: CreateAllLog End
[2025-01-09 03:23:03] Production.INFO: ==15688== Lock acquired, processing the job...
[2025-01-09 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:23:03] Production.INFO: ==15686== Releasing lock...
[2025-01-09 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:23:03] Production.INFO: Account Balance End.
[2025-01-09 03:23:03] Production.INFO: ==15692== Lock acquired, processing the job...
[2025-01-09 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:23:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:23:03] Production.INFO: ==15690== Releasing lock...
[2025-01-09 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:23:03] Production.INFO: ==15694== Lock acquired, processing the job...
[2025-01-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:23:03] Production.INFO: count ==21
[2025-01-09 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:23:03] Production.INFO: count ==21
[2025-01-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206795') start
[2025-01-09 03:23:03] Production.ERROR: done
[2025-01-09 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206795') end
[2025-01-09 03:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:23:03] Production.INFO: 1
[2025-01-09 03:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:23:03] Production.INFO: ==15694== Releasing lock...
[2025-01-09 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:23:03] Production.ERROR: done
[2025-01-09 03:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:23:04
[end_date_ymd] => 2025-01-09 03:23:04
[RateCDR] => 1
)
[2025-01-09 03:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:23:04' and `end` < '2025-01-09 03:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:23:10] Production.ERROR: CronJobId end10
[2025-01-09 03:23:10] Production.INFO: ==15688== Releasing lock...
[2025-01-09 03:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:23:12] Production.INFO: call_cost start
[2025-01-09 03:23:12] Production.INFO: call_cost end
[2025-01-09 03:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:23:13] Production.INFO: ==15684== Releasing lock...
[2025-01-09 03:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:23:18] Production.INFO: count ==166
[2025-01-09 03:23:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:23:04 - End Time 2025-01-09 03:23:04
[2025-01-09 03:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206796', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206796', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206796', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206796', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:23:18] Production.INFO: ProcessCDR(1,14206796,1,1,2)
[2025-01-09 03:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206796', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206796', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:23:21] Production.INFO: ==15692== Releasing lock...
[2025-01-09 03:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:23:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:24:01] Production.INFO: ==15758== Lock acquired, processing the job...
[2025-01-09 08:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:24:01] Production.INFO: neon service started
[2025-01-09 08:24:01] Production.INFO: neon service started
[2025-01-09 08:24:01] Production.INFO: ==15758== Releasing lock...
[2025-01-09 08:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:24:02] Production.INFO: ==15760== Lock acquired, processing the job...
[2025-01-09 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:24:02] Production.INFO: ==15762== Lock acquired, processing the job...
[2025-01-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:24:02] Production.INFO: ==15762== Releasing lock...
[2025-01-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:24:03] Production.INFO: ==15760== Releasing lock...
[2025-01-09 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:24:03] Production.INFO: ==15769== Lock acquired, processing the job...
[2025-01-09 03:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:24:03] Production.INFO: ==15773== Lock acquired, processing the job...
[2025-01-09 03:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:24:03] Production.INFO: ==15765== Lock acquired, processing the job...
[2025-01-09 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:24:04] Production.INFO: ==15767== Lock acquired, processing the job...
[2025-01-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:24:04] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-01-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:24:04] Production.INFO: ==15775== Lock acquired, processing the job...
[2025-01-09 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:24:04] Production.INFO: Account Balance Start.
[2025-01-09 03:24:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:24:04] Production.INFO: 117
[2025-01-09 03:24:04] Production.ERROR: done
[2025-01-09 03:24:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:24:04] Production.INFO: count ==21
[2025-01-09 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:24:04] Production.INFO: count ==21
[2025-01-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206799') start
[2025-01-09 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206799') end
[2025-01-09 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:24:04] Production.INFO: 1
[2025-01-09 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:24:04] Production.ERROR: done
[2025-01-09 03:24:04] Production.INFO: ==15775== Releasing lock...
[2025-01-09 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:24:04] Production.INFO: ==15767== Releasing lock...
[2025-01-09 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:24:04] Production.INFO: Total Charge 0
[2025-01-09 03:24:04] Production.INFO: CreateAllLog End
[2025-01-09 03:24:04] Production.INFO: Account Balance End.
[2025-01-09 03:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:24:04] Production.INFO: ==15771== Releasing lock...
[2025-01-09 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:24:05
[end_date_ymd] => 2025-01-09 03:24:05
[RateCDR] => 1
)
[2025-01-09 03:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:24:05' and `end` < '2025-01-09 03:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:24:10] Production.ERROR: CronJobId end10
[2025-01-09 03:24:10] Production.INFO: ==15769== Releasing lock...
[2025-01-09 03:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:24:13] Production.INFO: call_cost start
[2025-01-09 03:24:13] Production.INFO: call_cost end
[2025-01-09 03:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:24:14] Production.INFO: ==15765== Releasing lock...
[2025-01-09 03:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:24:19] Production.INFO: count ==166
[2025-01-09 03:24:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:24:05 - End Time 2025-01-09 03:24:05
[2025-01-09 03:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206801', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206801', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206801', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206801', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:24:19] Production.INFO: ProcessCDR(1,14206801,1,1,2)
[2025-01-09 03:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206801', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206801', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:24:22] Production.INFO: ==15773== Releasing lock...
[2025-01-09 03:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:24:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:25:01] Production.INFO: ==15843== Lock acquired, processing the job...
[2025-01-09 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:25:01] Production.INFO: neon service started
[2025-01-09 08:25:01] Production.INFO: neon service started
[2025-01-09 08:25:01] Production.INFO: ==15843== Releasing lock...
[2025-01-09 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:25:01] Production.INFO: ==15845== Lock acquired, processing the job...
[2025-01-09 03:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:25:02] Production.INFO: ==15845== Releasing lock...
[2025-01-09 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:25:02] Production.INFO: ==15847== Lock acquired, processing the job...
[2025-01-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:25:02] Production.INFO: ==15847== Releasing lock...
[2025-01-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:25:02] Production.INFO: ==15854== Lock acquired, processing the job...
[2025-01-09 03:25:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:25:03] Production.INFO: ==15858== Lock acquired, processing the job...
[2025-01-09 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:25:03] Production.INFO: ==15852== Lock acquired, processing the job...
[2025-01-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:25:03] Production.INFO: ==15856== Lock acquired, processing the job...
[2025-01-09 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:25:03] Production.INFO: ==15850== Lock acquired, processing the job...
[2025-01-09 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:25:03] Production.INFO: ==15860== Lock acquired, processing the job...
[2025-01-09 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:25:03] Production.INFO: Account Balance Start.
[2025-01-09 03:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:25:03] Production.INFO: 117
[2025-01-09 03:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:25:03] Production.ERROR: done
[2025-01-09 03:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:25:03] Production.INFO: Total Charge 0
[2025-01-09 03:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:25:03] Production.INFO: ==15852== Releasing lock...
[2025-01-09 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:25:03] Production.INFO: CreateAllLog End
[2025-01-09 03:25:03] Production.INFO: count ==21
[2025-01-09 03:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:25:03] Production.INFO: count ==21
[2025-01-09 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206804') start
[2025-01-09 03:25:03] Production.ERROR: done
[2025-01-09 03:25:03] Production.INFO: Account Balance End.
[2025-01-09 03:25:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:25:03] Production.INFO: ==15856== Releasing lock...
[2025-01-09 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206804') end
[2025-01-09 03:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:25:03] Production.INFO: 1
[2025-01-09 03:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:25:03] Production.INFO: ==15860== Releasing lock...
[2025-01-09 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:25:04
[end_date_ymd] => 2025-01-09 03:25:04
[RateCDR] => 1
)
[2025-01-09 03:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:25:04' and `end` < '2025-01-09 03:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:25:10] Production.ERROR: CronJobId end10
[2025-01-09 03:25:10] Production.INFO: ==15854== Releasing lock...
[2025-01-09 03:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:25:12] Production.INFO: call_cost start
[2025-01-09 03:25:12] Production.INFO: call_cost end
[2025-01-09 03:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:25:13] Production.INFO: ==15850== Releasing lock...
[2025-01-09 03:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:25:17] Production.INFO: count ==166
[2025-01-09 03:25:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:25:04 - End Time 2025-01-09 03:25:04
[2025-01-09 03:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206806', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206806', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206806', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206806', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:25:17] Production.INFO: ProcessCDR(1,14206806,1,1,2)
[2025-01-09 03:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206806', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206806', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:25:20] Production.INFO: ==15858== Releasing lock...
[2025-01-09 03:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:25:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:26:01] Production.INFO: ==15965== Lock acquired, processing the job...
[2025-01-09 08:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:26:01] Production.INFO: neon service started
[2025-01-09 08:26:01] Production.INFO: neon service started
[2025-01-09 08:26:01] Production.INFO: ==15965== Releasing lock...
[2025-01-09 08:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:26:02] Production.INFO: ==15967== Lock acquired, processing the job...
[2025-01-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:26:02] Production.INFO: ==15969== Lock acquired, processing the job...
[2025-01-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:26:02] Production.INFO: ==15969== Releasing lock...
[2025-01-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:26:02] Production.INFO: ==15967== Releasing lock...
[2025-01-09 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:26:03] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-01-09 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:26:03] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-01-09 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:26:03] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-01-09 03:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:26:03] Production.INFO: Account Balance Start.
[2025-01-09 03:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:26:03] Production.INFO: 117
[2025-01-09 03:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:26:03] Production.INFO: ==15975== Lock acquired, processing the job...
[2025-01-09 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:26:03] Production.INFO: Total Charge 0
[2025-01-09 03:26:03] Production.INFO: CreateAllLog End
[2025-01-09 03:26:03] Production.INFO: ==15977== Lock acquired, processing the job...
[2025-01-09 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:26:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-01-09 03:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:26:03] Production.ERROR: done
[2025-01-09 03:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:26:04] Production.ERROR: done
[2025-01-09 03:26:04] Production.INFO: count ==21
[2025-01-09 03:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:26:04] Production.INFO: count ==21
[2025-01-09 03:26:04] Production.INFO: Account Balance End.
[2025-01-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206810') start
[2025-01-09 03:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:26:04] Production.INFO: ==15980== Releasing lock...
[2025-01-09 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206810') end
[2025-01-09 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:26:04] Production.INFO: 1
[2025-01-09 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:26:04] Production.INFO: ==15975== Releasing lock...
[2025-01-09 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:26:04] Production.INFO: ==15984== Releasing lock...
[2025-01-09 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:26:04
[end_date_ymd] => 2025-01-09 03:26:04
[RateCDR] => 1
)
[2025-01-09 03:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:26:04' and `end` < '2025-01-09 03:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:26:11] Production.ERROR: CronJobId end10
[2025-01-09 03:26:11] Production.INFO: ==15977== Releasing lock...
[2025-01-09 03:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:26:13] Production.INFO: call_cost start
[2025-01-09 03:26:13] Production.INFO: call_cost end
[2025-01-09 03:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:26:14] Production.INFO: ==15973== Releasing lock...
[2025-01-09 03:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:26:18] Production.INFO: count ==166
[2025-01-09 03:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:26:04 - End Time 2025-01-09 03:26:04
[2025-01-09 03:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206811', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206811', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206811', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206811', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:26:18] Production.INFO: ProcessCDR(1,14206811,1,1,2)
[2025-01-09 03:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206811', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206811', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:26:22] Production.INFO: ==15982== Releasing lock...
[2025-01-09 03:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:26:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:27:01] Production.INFO: ==16060== Lock acquired, processing the job...
[2025-01-09 08:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:27:01] Production.INFO: neon service started
[2025-01-09 08:27:01] Production.INFO: neon service started
[2025-01-09 08:27:01] Production.INFO: ==16060== Releasing lock...
[2025-01-09 08:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:27:01] Production.INFO: ==16064== Lock acquired, processing the job...
[2025-01-09 08:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:27:01] Production.INFO: ==16064== Releasing lock...
[2025-01-09 08:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:27:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:27:01] Production.INFO: ==16062== Lock acquired, processing the job...
[2025-01-09 03:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:27:02] Production.INFO: ==16062== Releasing lock...
[2025-01-09 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:27:02] Production.INFO: ==16071== Lock acquired, processing the job...
[2025-01-09 03:27:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:27:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:27:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:27:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:27:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:27:03] Production.INFO: ==16073== Lock acquired, processing the job...
[2025-01-09 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:27:03] Production.INFO: Account Balance Start.
[2025-01-09 03:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:27:03] Production.INFO: 117
[2025-01-09 03:27:03] Production.INFO: ==16067== Lock acquired, processing the job...
[2025-01-09 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:27:03] Production.INFO: ==16069== Lock acquired, processing the job...
[2025-01-09 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:27:03] Production.INFO: Total Charge 0
[2025-01-09 03:27:03] Production.INFO: CreateAllLog End
[2025-01-09 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:27:03] Production.INFO: ==16075== Lock acquired, processing the job...
[2025-01-09 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:27:03] Production.INFO: ==16077== Lock acquired, processing the job...
[2025-01-09 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:27:03] Production.INFO: Account Balance End.
[2025-01-09 03:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:27:03] Production.INFO: ==16073== Releasing lock...
[2025-01-09 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:27:03] Production.INFO: count ==21
[2025-01-09 03:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:27:03] Production.INFO: ==16069== Releasing lock...
[2025-01-09 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:27:03] Production.INFO: count ==21
[2025-01-09 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206815') start
[2025-01-09 03:27:03] Production.ERROR: done
[2025-01-09 03:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206815') end
[2025-01-09 03:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:27:03] Production.INFO: 1
[2025-01-09 03:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:27:03] Production.ERROR: done
[2025-01-09 03:27:03] Production.INFO: ==16077== Releasing lock...
[2025-01-09 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:27:04
[end_date_ymd] => 2025-01-09 03:27:04
[RateCDR] => 1
)
[2025-01-09 03:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:27:04' and `end` < '2025-01-09 03:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:27:10] Production.ERROR: CronJobId end10
[2025-01-09 03:27:10] Production.INFO: ==16071== Releasing lock...
[2025-01-09 03:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:27:12] Production.INFO: call_cost start
[2025-01-09 03:27:12] Production.INFO: call_cost end
[2025-01-09 03:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:27:13] Production.INFO: ==16067== Releasing lock...
[2025-01-09 03:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:27:19] Production.INFO: count ==166
[2025-01-09 03:27:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:27:04 - End Time 2025-01-09 03:27:04
[2025-01-09 03:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206816', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206816', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206816', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206816', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:27:19] Production.INFO: ProcessCDR(1,14206816,1,1,2)
[2025-01-09 03:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206816,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206816,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206816', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206816', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:27:22] Production.INFO: ==16075== Releasing lock...
[2025-01-09 03:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:27:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:28:01] Production.INFO: ==16145== Lock acquired, processing the job...
[2025-01-09 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:28:01] Production.INFO: neon service started
[2025-01-09 08:28:01] Production.INFO: neon service started
[2025-01-09 08:28:01] Production.INFO: ==16145== Releasing lock...
[2025-01-09 08:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:28:02] Production.INFO: ==16147== Lock acquired, processing the job...
[2025-01-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:28:02] Production.INFO: ==16147== Releasing lock...
[2025-01-09 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:28:02] Production.INFO: ==16149== Lock acquired, processing the job...
[2025-01-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:28:02] Production.INFO: ==16149== Releasing lock...
[2025-01-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:28:03] Production.INFO: ==16152== Lock acquired, processing the job...
[2025-01-09 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:28:03] Production.INFO: ==16154== Lock acquired, processing the job...
[2025-01-09 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:28:03] Production.INFO: ==16156== Lock acquired, processing the job...
[2025-01-09 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:28:03] Production.INFO: ==16158== Lock acquired, processing the job...
[2025-01-09 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:28:03] Production.INFO: ==16162== Lock acquired, processing the job...
[2025-01-09 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:28:03] Production.INFO: ==16154== Releasing lock...
[2025-01-09 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:28:03] Production.INFO: ==16160== Lock acquired, processing the job...
[2025-01-09 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:28:03] Production.INFO: Account Balance Start.
[2025-01-09 03:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:28:03] Production.INFO: 117
[2025-01-09 03:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:28:03] Production.INFO: Total Charge 0
[2025-01-09 03:28:03] Production.INFO: CreateAllLog End
[2025-01-09 03:28:03] Production.INFO: count ==21
[2025-01-09 03:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:28:03] Production.INFO: count ==21
[2025-01-09 03:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206820') start
[2025-01-09 03:28:04] Production.INFO: Account Balance End.
[2025-01-09 03:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:28:04] Production.INFO: ==16158== Releasing lock...
[2025-01-09 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:28:04] Production.ERROR: done
[2025-01-09 03:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206820') end
[2025-01-09 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:28:04] Production.INFO: 1
[2025-01-09 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:28:04] Production.INFO: ==16162== Releasing lock...
[2025-01-09 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:28:04] Production.ERROR: done
[2025-01-09 03:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:28:05
[end_date_ymd] => 2025-01-09 03:28:05
[RateCDR] => 1
)
[2025-01-09 03:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:28:05' and `end` < '2025-01-09 03:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:28:10] Production.ERROR: CronJobId end10
[2025-01-09 03:28:10] Production.INFO: ==16156== Releasing lock...
[2025-01-09 03:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:28:12] Production.INFO: call_cost start
[2025-01-09 03:28:12] Production.INFO: call_cost end
[2025-01-09 03:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:28:13] Production.INFO: ==16152== Releasing lock...
[2025-01-09 03:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:28:17] Production.INFO: count ==166
[2025-01-09 03:28:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:28:05 - End Time 2025-01-09 03:28:05
[2025-01-09 03:28:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206821', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206821', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:28:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206821', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206821', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:28:18] Production.INFO: ProcessCDR(1,14206821,1,1,2)
[2025-01-09 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206821,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206821,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206821', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206821', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:28:21] Production.INFO: ==16160== Releasing lock...
[2025-01-09 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:28:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:29:02] Production.INFO: ==16235== Lock acquired, processing the job...
[2025-01-09 08:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:29:02] Production.INFO: neon service started
[2025-01-09 08:29:02] Production.INFO: neon service started
[2025-01-09 08:29:02] Production.INFO: ==16235== Releasing lock...
[2025-01-09 08:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:29:02] Production.INFO: ==16237== Lock acquired, processing the job...
[2025-01-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:29:02] Production.INFO: ==16237== Releasing lock...
[2025-01-09 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:29:02] Production.INFO: ==16239== Lock acquired, processing the job...
[2025-01-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:29:02] Production.INFO: ==16239== Releasing lock...
[2025-01-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:29:03] Production.INFO: ==16241== Lock acquired, processing the job...
[2025-01-09 03:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:29:03] Production.INFO: ==16247== Lock acquired, processing the job...
[2025-01-09 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:29:03] Production.INFO: ==16243== Lock acquired, processing the job...
[2025-01-09 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:29:03] Production.INFO: ==16249== Lock acquired, processing the job...
[2025-01-09 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:29:03] Production.INFO: ==16245== Lock acquired, processing the job...
[2025-01-09 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:29:03] Production.INFO: Account Balance Start.
[2025-01-09 03:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:29:03] Production.INFO: 117
[2025-01-09 03:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:29:04] Production.INFO: Total Charge 0
[2025-01-09 03:29:04] Production.INFO: CreateAllLog End
[2025-01-09 03:29:04] Production.INFO: ==16251== Lock acquired, processing the job...
[2025-01-09 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:29:04] Production.ERROR: done
[2025-01-09 03:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:29:04] Production.INFO: ==16243== Releasing lock...
[2025-01-09 03:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:29:04] Production.INFO: count ==21
[2025-01-09 03:29:04] Production.ERROR: done
[2025-01-09 03:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:29:04] Production.INFO: count ==21
[2025-01-09 03:29:04] Production.INFO: Account Balance End.
[2025-01-09 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206825') start
[2025-01-09 03:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:29:04] Production.INFO: ==16247== Releasing lock...
[2025-01-09 03:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206825') end
[2025-01-09 03:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:29:04] Production.INFO: 1
[2025-01-09 03:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:29:04] Production.INFO: ==16251== Releasing lock...
[2025-01-09 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:29:05
[end_date_ymd] => 2025-01-09 03:29:05
[RateCDR] => 1
)
[2025-01-09 03:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:29:05' and `end` < '2025-01-09 03:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:29:11] Production.ERROR: CronJobId end10
[2025-01-09 03:29:11] Production.INFO: ==16245== Releasing lock...
[2025-01-09 03:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:29:14] Production.INFO: call_cost start
[2025-01-09 03:29:14] Production.INFO: call_cost end
[2025-01-09 03:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:29:14] Production.INFO: ==16241== Releasing lock...
[2025-01-09 03:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:29:19] Production.INFO: count ==166
[2025-01-09 03:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:29:05 - End Time 2025-01-09 03:29:05
[2025-01-09 03:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206826', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206826', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206826', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206826', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:29:19] Production.INFO: ProcessCDR(1,14206826,1,1,2)
[2025-01-09 03:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206826,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206826,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206826', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206826', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:29:22] Production.INFO: ==16249== Releasing lock...
[2025-01-09 03:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:29:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:30:01] Production.INFO: ==16326== Lock acquired, processing the job...
[2025-01-09 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:30:01] Production.INFO: neon service started
[2025-01-09 08:30:01] Production.INFO: neon service started
[2025-01-09 08:30:01] Production.INFO: ==16326== Releasing lock...
[2025-01-09 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:30:02] Production.INFO: ==16328== Lock acquired, processing the job...
[2025-01-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:30:02] Production.INFO: ==16328== Releasing lock...
[2025-01-09 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:30:02] Production.INFO: ==16330== Lock acquired, processing the job...
[2025-01-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:30:02] Production.INFO: ==16330== Releasing lock...
[2025-01-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:30:03] Production.INFO: ==16334== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:30:03] Production.INFO: ==16332== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 03:30:03] Production.INFO: ==16336== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 03:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:30:03] Production.ERROR: CronJob PID - 16334
[2025-01-09 03:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 03:30:03] Production.ERROR: CronJob ID - 5
[2025-01-09 03:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 03:30:00
[2025-01-09 03:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 03:30:03] Production.INFO: ==16332== Releasing lock...
[2025-01-09 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 03:30:03] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 03:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:30:03] Production.INFO: ==16336== Releasing lock...
[2025-01-09 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:30:03] Production.INFO: ==16338== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:30:03] Production.INFO: ==16340== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:30:03] Production.ERROR: done
[2025-01-09 03:30:03] Production.INFO: ==16346== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:30:03] Production.INFO: ==16342== Lock acquired, processing the job...
[2025-01-09 03:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:30:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 03:30:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206829', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 03:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:30:03] Production.INFO: Account Balance Start.
[2025-01-09 03:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:30:03] Production.INFO: 117
[2025-01-09 03:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:30:04] Production.INFO: Total Charge 0
[2025-01-09 03:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:30:04] Production.INFO: CreateAllLog End
[2025-01-09 03:30:04] Production.INFO: count ==21
[2025-01-09 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:30:04] Production.INFO: count ==21
[2025-01-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206831') start
[2025-01-09 03:30:04] Production.INFO: Account Balance End.
[2025-01-09 03:30:04] Production.ERROR: done
[2025-01-09 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:30:04] Production.INFO: ==16340== Releasing lock...
[2025-01-09 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206831') end
[2025-01-09 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:30:04] Production.INFO: 1
[2025-01-09 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:30:04] Production.INFO: ==16346== Releasing lock...
[2025-01-09 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:30:04] Production.ERROR: done
[2025-01-09 03:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:30:06
[end_date_ymd] => 2025-01-09 03:30:06
[RateCDR] => 1
)
[2025-01-09 03:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:30:06' and `end` < '2025-01-09 03:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206829', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 03:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 03:30:07] Production.INFO: ProcessCDR(1,14206829,1,1,2)
[2025-01-09 03:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206829,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206829,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:30:07] Production.INFO: ==16344== Releasing lock...
[2025-01-09 03:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 03:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 03:30:13] Production.ERROR: CronJobId end10
[2025-01-09 03:30:13] Production.INFO: ==16338== Releasing lock...
[2025-01-09 03:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:30:14] Production.INFO: call_cost start
[2025-01-09 03:30:14] Production.INFO: call_cost end
[2025-01-09 03:30:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:30:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:30:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:30:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:30:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:30:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:30:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:30:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:30:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:30:14] Production.INFO: ==16334== Releasing lock...
[2025-01-09 03:30:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:30:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:30:19] Production.INFO: count ==166
[2025-01-09 03:30:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:30:06 - End Time 2025-01-09 03:30:06
[2025-01-09 03:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206832', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206832', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206832', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206832', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:30:19] Production.INFO: ProcessCDR(1,14206832,1,1,2)
[2025-01-09 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206832', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206832', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:30:22] Production.INFO: ==16342== Releasing lock...
[2025-01-09 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:30:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:31:02] Production.INFO: ==16417== Lock acquired, processing the job...
[2025-01-09 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:31:02] Production.INFO: neon service started
[2025-01-09 08:31:02] Production.INFO: neon service started
[2025-01-09 08:31:02] Production.INFO: ==16417== Releasing lock...
[2025-01-09 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:31:02] Production.INFO: ==16419== Lock acquired, processing the job...
[2025-01-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:31:02] Production.INFO: ==16419== Releasing lock...
[2025-01-09 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:31:02] Production.INFO: ==16421== Lock acquired, processing the job...
[2025-01-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:31:02] Production.INFO: ==16421== Releasing lock...
[2025-01-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:31:03] Production.INFO: ==16430== Lock acquired, processing the job...
[2025-01-09 03:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:31:03] Production.INFO: ==16432== Lock acquired, processing the job...
[2025-01-09 03:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:31:03] Production.INFO: Account Balance Start.
[2025-01-09 03:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:31:03] Production.INFO: 117
[2025-01-09 03:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:31:03] Production.INFO: ==16424== Lock acquired, processing the job...
[2025-01-09 03:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:31:03] Production.INFO: ==16426== Lock acquired, processing the job...
[2025-01-09 03:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:31:03] Production.INFO: Total Charge 0
[2025-01-09 03:31:03] Production.INFO: ==16428== Lock acquired, processing the job...
[2025-01-09 03:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:31:03] Production.INFO: CreateAllLog End
[2025-01-09 03:31:03] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-01-09 03:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:31:04] Production.ERROR: done
[2025-01-09 03:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:31:04] Production.INFO: Account Balance End.
[2025-01-09 03:31:04] Production.INFO: count ==21
[2025-01-09 03:31:04] Production.INFO: ==16426== Releasing lock...
[2025-01-09 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:31:04] Production.INFO: count ==21
[2025-01-09 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206836') start
[2025-01-09 03:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:31:04] Production.INFO: ==16430== Releasing lock...
[2025-01-09 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:31:04] Production.ERROR: done
[2025-01-09 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206836') end
[2025-01-09 03:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:31:04] Production.INFO: 1
[2025-01-09 03:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:31:04] Production.INFO: ==16434== Releasing lock...
[2025-01-09 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:31:05
[end_date_ymd] => 2025-01-09 03:31:05
[RateCDR] => 1
)
[2025-01-09 03:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:31:05' and `end` < '2025-01-09 03:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:31:10] Production.ERROR: CronJobId end10
[2025-01-09 03:31:10] Production.INFO: ==16428== Releasing lock...
[2025-01-09 03:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:31:13] Production.INFO: call_cost start
[2025-01-09 03:31:13] Production.INFO: call_cost end
[2025-01-09 03:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:31:13] Production.INFO: ==16424== Releasing lock...
[2025-01-09 03:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:31:18] Production.INFO: count ==166
[2025-01-09 03:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:31:05 - End Time 2025-01-09 03:31:05
[2025-01-09 03:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206837', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206837', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206837', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206837', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:31:18] Production.INFO: ProcessCDR(1,14206837,1,1,2)
[2025-01-09 03:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206837', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206837', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:31:21] Production.INFO: ==16432== Releasing lock...
[2025-01-09 03:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:31:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:32:01] Production.INFO: ==16503== Lock acquired, processing the job...
[2025-01-09 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:32:01] Production.INFO: neon service started
[2025-01-09 08:32:01] Production.INFO: neon service started
[2025-01-09 08:32:01] Production.INFO: ==16503== Releasing lock...
[2025-01-09 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:32:01] Production.INFO: ==16505== Lock acquired, processing the job...
[2025-01-09 03:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:32:02] Production.INFO: ==16505== Releasing lock...
[2025-01-09 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:32:02] Production.INFO: ==16507== Lock acquired, processing the job...
[2025-01-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:32:02] Production.INFO: ==16507== Releasing lock...
[2025-01-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:32:03] Production.INFO: ==16518== Lock acquired, processing the job...
[2025-01-09 03:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:32:03] Production.INFO: ==16520== Lock acquired, processing the job...
[2025-01-09 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:32:03] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-01-09 03:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:32:03] Production.INFO: ==16512== Lock acquired, processing the job...
[2025-01-09 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:32:03] Production.INFO: ==16516== Lock acquired, processing the job...
[2025-01-09 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:32:03] Production.INFO: ==16514== Lock acquired, processing the job...
[2025-01-09 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:32:03] Production.INFO: count ==21
[2025-01-09 03:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:32:03] Production.INFO: count ==21
[2025-01-09 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206838') start
[2025-01-09 03:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:32:03] Production.INFO: Account Balance Start.
[2025-01-09 03:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:32:03] Production.INFO: 117
[2025-01-09 03:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206838') end
[2025-01-09 03:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:32:03] Production.INFO: 1
[2025-01-09 03:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:32:03] Production.ERROR: done
[2025-01-09 03:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:32:03] Production.INFO: ==16520== Releasing lock...
[2025-01-09 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:32:03] Production.INFO: Total Charge 0
[2025-01-09 03:32:03] Production.INFO: CreateAllLog End
[2025-01-09 03:32:03] Production.ERROR: done
[2025-01-09 03:32:04] Production.INFO: ==16512== Releasing lock...
[2025-01-09 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:32:04] Production.INFO: Account Balance End.
[2025-01-09 03:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:32:04] Production.INFO: ==16516== Releasing lock...
[2025-01-09 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:32:04
[end_date_ymd] => 2025-01-09 03:32:04
[RateCDR] => 1
)
[2025-01-09 03:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:32:04' and `end` < '2025-01-09 03:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:32:11] Production.ERROR: CronJobId end10
[2025-01-09 03:32:11] Production.INFO: ==16514== Releasing lock...
[2025-01-09 03:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:32:13] Production.INFO: call_cost start
[2025-01-09 03:32:13] Production.INFO: call_cost end
[2025-01-09 03:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:32:14] Production.INFO: ==16510== Releasing lock...
[2025-01-09 03:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:32:17] Production.INFO: count ==166
[2025-01-09 03:32:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:32:04 - End Time 2025-01-09 03:32:04
[2025-01-09 03:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206842', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206842', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206842', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206842', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:32:17] Production.INFO: ProcessCDR(1,14206842,1,1,2)
[2025-01-09 03:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206842', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206842', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:32:21] Production.INFO: ==16518== Releasing lock...
[2025-01-09 03:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:32:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:33:02] Production.INFO: ==16585== Lock acquired, processing the job...
[2025-01-09 08:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:33:02] Production.INFO: neon service started
[2025-01-09 08:33:02] Production.INFO: neon service started
[2025-01-09 08:33:02] Production.INFO: ==16585== Releasing lock...
[2025-01-09 08:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:33:02] Production.INFO: ==16589== Lock acquired, processing the job...
[2025-01-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:33:02] Production.INFO: ==16587== Lock acquired, processing the job...
[2025-01-09 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:33:02] Production.INFO: ==16589== Releasing lock...
[2025-01-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:33:03] Production.INFO: ==16587== Releasing lock...
[2025-01-09 03:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:33:03] Production.INFO: ==16592== Lock acquired, processing the job...
[2025-01-09 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:33:03] Production.INFO: ==16594== Lock acquired, processing the job...
[2025-01-09 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:33:04] Production.INFO: ==16596== Lock acquired, processing the job...
[2025-01-09 03:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:33:04] Production.INFO: ==16594== Releasing lock...
[2025-01-09 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:33:04] Production.INFO: ==16598== Lock acquired, processing the job...
[2025-01-09 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:33:04] Production.INFO: ==16600== Lock acquired, processing the job...
[2025-01-09 03:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:33:04] Production.INFO: ==16602== Lock acquired, processing the job...
[2025-01-09 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:33:04] Production.INFO: Account Balance Start.
[2025-01-09 03:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:33:04] Production.INFO: 117
[2025-01-09 03:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:33:04] Production.INFO: count ==21
[2025-01-09 03:33:04] Production.INFO: Total Charge 0
[2025-01-09 03:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:33:04] Production.INFO: count ==21
[2025-01-09 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206846') start
[2025-01-09 03:33:04] Production.INFO: CreateAllLog End
[2025-01-09 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206846') end
[2025-01-09 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:33:04] Production.INFO: 1
[2025-01-09 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:33:04] Production.INFO: ==16602== Releasing lock...
[2025-01-09 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:33:04] Production.ERROR: done
[2025-01-09 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:33:04] Production.INFO: Account Balance End.
[2025-01-09 03:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:33:04] Production.INFO: ==16598== Releasing lock...
[2025-01-09 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:33:04] Production.ERROR: done
[2025-01-09 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:33:05
[end_date_ymd] => 2025-01-09 03:33:05
[RateCDR] => 1
)
[2025-01-09 03:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:33:05' and `end` < '2025-01-09 03:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:33:12] Production.ERROR: CronJobId end10
[2025-01-09 03:33:12] Production.INFO: ==16596== Releasing lock...
[2025-01-09 03:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:33:13] Production.INFO: call_cost start
[2025-01-09 03:33:13] Production.INFO: call_cost end
[2025-01-09 03:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:33:13] Production.INFO: ==16592== Releasing lock...
[2025-01-09 03:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:33:20] Production.INFO: count ==166
[2025-01-09 03:33:20] Production.ERROR: pbx CDR StartTime 2025-01-09 00:33:05 - End Time 2025-01-09 03:33:05
[2025-01-09 03:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206847', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206847', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206847', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206847', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:33:20] Production.INFO: ProcessCDR(1,14206847,1,1,2)
[2025-01-09 03:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206847,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206847,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206847', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206847', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:33:23] Production.INFO: ==16600== Releasing lock...
[2025-01-09 03:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:33:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:34:01] Production.INFO: ==16662== Lock acquired, processing the job...
[2025-01-09 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:34:01] Production.INFO: neon service started
[2025-01-09 08:34:01] Production.INFO: neon service started
[2025-01-09 08:34:01] Production.INFO: ==16662== Releasing lock...
[2025-01-09 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:34:02] Production.INFO: ==16664== Lock acquired, processing the job...
[2025-01-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:34:02] Production.INFO: ==16666== Lock acquired, processing the job...
[2025-01-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:34:02] Production.INFO: ==16666== Releasing lock...
[2025-01-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:34:02] Production.INFO: ==16664== Releasing lock...
[2025-01-09 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:34:03] Production.INFO: ==16677== Lock acquired, processing the job...
[2025-01-09 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:34:03] Production.INFO: ==16679== Lock acquired, processing the job...
[2025-01-09 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:34:03] Production.INFO: ==16669== Lock acquired, processing the job...
[2025-01-09 03:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:34:03] Production.INFO: ==16671== Lock acquired, processing the job...
[2025-01-09 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:34:03] Production.INFO: count ==21
[2025-01-09 03:34:03] Production.INFO: ==16673== Lock acquired, processing the job...
[2025-01-09 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:34:03] Production.INFO: count ==21
[2025-01-09 03:34:03] Production.INFO: ==16675== Lock acquired, processing the job...
[2025-01-09 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206848') start
[2025-01-09 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206848') end
[2025-01-09 03:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:34:03] Production.INFO: 1
[2025-01-09 03:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:34:03] Production.INFO: Account Balance Start.
[2025-01-09 03:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:34:03] Production.INFO: 117
[2025-01-09 03:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:34:03] Production.INFO: Total Charge 0
[2025-01-09 03:34:03] Production.INFO: CreateAllLog End
[2025-01-09 03:34:03] Production.INFO: ==16679== Releasing lock...
[2025-01-09 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:34:04] Production.ERROR: done
[2025-01-09 03:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:34:04] Production.INFO: ==16671== Releasing lock...
[2025-01-09 03:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:34:04] Production.ERROR: done
[2025-01-09 03:34:04] Production.INFO: Account Balance End.
[2025-01-09 03:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:34:04] Production.INFO: ==16675== Releasing lock...
[2025-01-09 03:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:34:05
[end_date_ymd] => 2025-01-09 03:34:05
[RateCDR] => 1
)
[2025-01-09 03:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:34:05' and `end` < '2025-01-09 03:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:34:10] Production.ERROR: CronJobId end10
[2025-01-09 03:34:10] Production.INFO: ==16673== Releasing lock...
[2025-01-09 03:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:34:12] Production.INFO: call_cost start
[2025-01-09 03:34:12] Production.INFO: call_cost end
[2025-01-09 03:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:34:13] Production.INFO: ==16669== Releasing lock...
[2025-01-09 03:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:34:18] Production.INFO: count ==166
[2025-01-09 03:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:34:05 - End Time 2025-01-09 03:34:05
[2025-01-09 03:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206852', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206852', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206852', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206852', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:34:18] Production.INFO: ProcessCDR(1,14206852,1,1,2)
[2025-01-09 03:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206852', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206852', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:34:22] Production.INFO: ==16677== Releasing lock...
[2025-01-09 03:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:34:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:35:01] Production.INFO: ==16737== Lock acquired, processing the job...
[2025-01-09 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:35:01] Production.INFO: neon service started
[2025-01-09 08:35:02] Production.INFO: neon service started
[2025-01-09 08:35:02] Production.INFO: ==16737== Releasing lock...
[2025-01-09 08:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:35:02] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-01-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:35:02] Production.INFO: ==16739== Releasing lock...
[2025-01-09 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:35:02] Production.INFO: ==16741== Lock acquired, processing the job...
[2025-01-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:35:02] Production.INFO: ==16741== Releasing lock...
[2025-01-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:35:03] Production.INFO: ==16753== Lock acquired, processing the job...
[2025-01-09 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:35:03] Production.INFO: ==16751== Lock acquired, processing the job...
[2025-01-09 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:35:03] Production.INFO: ==16743== Lock acquired, processing the job...
[2025-01-09 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:35:03] Production.INFO: count ==21
[2025-01-09 03:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:35:03] Production.INFO: count ==21
[2025-01-09 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206853') start
[2025-01-09 03:35:03] Production.INFO: ==16747== Lock acquired, processing the job...
[2025-01-09 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:35:03] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-01-09 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:35:03] Production.INFO: ==16749== Lock acquired, processing the job...
[2025-01-09 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206853') end
[2025-01-09 03:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:35:03] Production.INFO: 1
[2025-01-09 03:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:35:04] Production.INFO: ==16753== Releasing lock...
[2025-01-09 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:35:04] Production.INFO: Account Balance Start.
[2025-01-09 03:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:35:04] Production.INFO: 117
[2025-01-09 03:35:04] Production.ERROR: done
[2025-01-09 03:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:35:04] Production.INFO: Total Charge 0
[2025-01-09 03:35:04] Production.INFO: CreateAllLog End
[2025-01-09 03:35:04] Production.INFO: ==16745== Releasing lock...
[2025-01-09 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:35:04] Production.ERROR: done
[2025-01-09 03:35:04] Production.INFO: Account Balance End.
[2025-01-09 03:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:35:04] Production.INFO: ==16749== Releasing lock...
[2025-01-09 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:35:05
[end_date_ymd] => 2025-01-09 03:35:05
[RateCDR] => 1
)
[2025-01-09 03:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:35:05' and `end` < '2025-01-09 03:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:35:10] Production.ERROR: CronJobId end10
[2025-01-09 03:35:10] Production.INFO: ==16747== Releasing lock...
[2025-01-09 03:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:35:13] Production.INFO: call_cost start
[2025-01-09 03:35:13] Production.INFO: call_cost end
[2025-01-09 03:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:35:13] Production.INFO: ==16743== Releasing lock...
[2025-01-09 03:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:35:18] Production.INFO: count ==166
[2025-01-09 03:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:35:05 - End Time 2025-01-09 03:35:05
[2025-01-09 03:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206857', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206857', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206857', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206857', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:35:18] Production.INFO: ProcessCDR(1,14206857,1,1,2)
[2025-01-09 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206857', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206857', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:35:21] Production.INFO: ==16751== Releasing lock...
[2025-01-09 03:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:35:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:36:01] Production.INFO: ==16810== Lock acquired, processing the job...
[2025-01-09 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:36:01] Production.INFO: neon service started
[2025-01-09 08:36:01] Production.INFO: neon service started
[2025-01-09 08:36:01] Production.INFO: ==16810== Releasing lock...
[2025-01-09 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:36:02] Production.INFO: ==16819== Lock acquired, processing the job...
[2025-01-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:36:02] Production.INFO: ==16821== Lock acquired, processing the job...
[2025-01-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:36:02] Production.INFO: ==16821== Releasing lock...
[2025-01-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:36:02] Production.INFO: ==16819== Releasing lock...
[2025-01-09 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:36:03] Production.INFO: ==16834== Lock acquired, processing the job...
[2025-01-09 03:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:36:03] Production.INFO: ==16836== Lock acquired, processing the job...
[2025-01-09 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:36:03] Production.INFO: ==16840== Lock acquired, processing the job...
[2025-01-09 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:36:03] Production.INFO: Account Balance Start.
[2025-01-09 03:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:36:03] Production.INFO: 117
[2025-01-09 03:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:36:03] Production.INFO: Total Charge 0
[2025-01-09 03:36:03] Production.INFO: CreateAllLog End
[2025-01-09 03:36:03] Production.INFO: Account Balance End.
[2025-01-09 03:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:36:03] Production.INFO: ==16840== Releasing lock...
[2025-01-09 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:36:03] Production.INFO: ==16836== Releasing lock...
[2025-01-09 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:36:04] Production.INFO: ==16838== Lock acquired, processing the job...
[2025-01-09 03:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:36:04] Production.INFO: ==16842== Lock acquired, processing the job...
[2025-01-09 03:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:36:04] Production.INFO: ==16844== Lock acquired, processing the job...
[2025-01-09 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:36:04] Production.INFO: count ==21
[2025-01-09 03:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:36:04] Production.INFO: count ==21
[2025-01-09 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206861') start
[2025-01-09 03:36:04] Production.ERROR: done
[2025-01-09 03:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206861') end
[2025-01-09 03:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:36:04] Production.INFO: 1
[2025-01-09 03:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:36:04] Production.INFO: ==16844== Releasing lock...
[2025-01-09 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:36:04] Production.ERROR: done
[2025-01-09 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:36:05
[end_date_ymd] => 2025-01-09 03:36:05
[RateCDR] => 1
)
[2025-01-09 03:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:36:05' and `end` < '2025-01-09 03:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:36:12] Production.ERROR: CronJobId end10
[2025-01-09 03:36:12] Production.INFO: ==16838== Releasing lock...
[2025-01-09 03:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:36:14] Production.INFO: call_cost start
[2025-01-09 03:36:14] Production.INFO: call_cost end
[2025-01-09 03:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:36:15] Production.INFO: ==16834== Releasing lock...
[2025-01-09 03:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:36:19] Production.INFO: count ==166
[2025-01-09 03:36:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:36:05 - End Time 2025-01-09 03:36:05
[2025-01-09 03:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206862', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206862', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206862', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206862', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:36:19] Production.INFO: ProcessCDR(1,14206862,1,1,2)
[2025-01-09 03:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206862,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206862,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206862', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206862', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:36:22] Production.INFO: ==16842== Releasing lock...
[2025-01-09 03:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:36:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:37:02] Production.INFO: ==16926== Lock acquired, processing the job...
[2025-01-09 08:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:37:02] Production.INFO: neon service started
[2025-01-09 08:37:02] Production.INFO: neon service started
[2025-01-09 08:37:02] Production.INFO: ==16926== Releasing lock...
[2025-01-09 08:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:37:02] Production.INFO: ==16930== Lock acquired, processing the job...
[2025-01-09 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:37:02] Production.INFO: ==16932== Lock acquired, processing the job...
[2025-01-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:37:02] Production.INFO: ==16932== Releasing lock...
[2025-01-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:37:03] Production.INFO: ==16930== Releasing lock...
[2025-01-09 03:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:37:03] Production.INFO: ==16935== Lock acquired, processing the job...
[2025-01-09 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:37:03] Production.INFO: ==16939== Lock acquired, processing the job...
[2025-01-09 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:37:03] Production.INFO: ==16937== Lock acquired, processing the job...
[2025-01-09 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:37:04] Production.INFO: ==16941== Lock acquired, processing the job...
[2025-01-09 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:37:04] Production.INFO: ==16943== Lock acquired, processing the job...
[2025-01-09 03:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:37:04] Production.INFO: ==16945== Lock acquired, processing the job...
[2025-01-09 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:37:04] Production.INFO: Account Balance Start.
[2025-01-09 03:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:37:04] Production.INFO: 117
[2025-01-09 03:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:37:04] Production.INFO: Total Charge 0
[2025-01-09 03:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:37:04] Production.INFO: count ==21
[2025-01-09 03:37:04] Production.INFO: CreateAllLog End
[2025-01-09 03:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:37:04] Production.INFO: count ==21
[2025-01-09 03:37:04] Production.INFO: ==16937== Releasing lock...
[2025-01-09 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206866') start
[2025-01-09 03:37:04] Production.ERROR: done
[2025-01-09 03:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:37:04] Production.INFO: Account Balance End.
[2025-01-09 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206866') end
[2025-01-09 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:37:04] Production.INFO: 1
[2025-01-09 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:37:04] Production.INFO: ==16941== Releasing lock...
[2025-01-09 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:37:04] Production.INFO: ==16945== Releasing lock...
[2025-01-09 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:37:04] Production.ERROR: done
[2025-01-09 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:37:05
[end_date_ymd] => 2025-01-09 03:37:05
[RateCDR] => 1
)
[2025-01-09 03:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:37:05' and `end` < '2025-01-09 03:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:37:11] Production.ERROR: CronJobId end10
[2025-01-09 03:37:11] Production.INFO: ==16939== Releasing lock...
[2025-01-09 03:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:37:12] Production.INFO: call_cost start
[2025-01-09 03:37:12] Production.INFO: call_cost end
[2025-01-09 03:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:37:13] Production.INFO: ==16935== Releasing lock...
[2025-01-09 03:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:37:18] Production.INFO: count ==166
[2025-01-09 03:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:37:05 - End Time 2025-01-09 03:37:05
[2025-01-09 03:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206867', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206867', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206867', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206867', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:37:18] Production.INFO: ProcessCDR(1,14206867,1,1,2)
[2025-01-09 03:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206867,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206867,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206867', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206867', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:37:21] Production.INFO: ==16943== Releasing lock...
[2025-01-09 03:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:37:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:38:01] Production.INFO: ==17000== Lock acquired, processing the job...
[2025-01-09 08:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:38:01] Production.INFO: neon service started
[2025-01-09 08:38:01] Production.INFO: neon service started
[2025-01-09 08:38:01] Production.INFO: ==17000== Releasing lock...
[2025-01-09 08:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:38:02] Production.INFO: ==17002== Lock acquired, processing the job...
[2025-01-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:38:02] Production.INFO: ==17004== Lock acquired, processing the job...
[2025-01-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:38:02] Production.INFO: ==17004== Releasing lock...
[2025-01-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:38:02] Production.INFO: ==17002== Releasing lock...
[2025-01-09 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:38:03] Production.INFO: ==17011== Lock acquired, processing the job...
[2025-01-09 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:38:03] Production.INFO: ==17007== Lock acquired, processing the job...
[2025-01-09 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:38:03] Production.INFO: ==17015== Lock acquired, processing the job...
[2025-01-09 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:38:03] Production.INFO: ==17009== Lock acquired, processing the job...
[2025-01-09 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:38:03] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-01-09 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:38:03] Production.INFO: ==17017== Lock acquired, processing the job...
[2025-01-09 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:38:03] Production.ERROR: done
[2025-01-09 03:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:38:03] Production.INFO: Account Balance Start.
[2025-01-09 03:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:38:03] Production.INFO: 117
[2025-01-09 03:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:38:03] Production.INFO: ==17009== Releasing lock...
[2025-01-09 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:38:04] Production.INFO: count ==21
[2025-01-09 03:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:38:04] Production.INFO: count ==21
[2025-01-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206871') start
[2025-01-09 03:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:38:04] Production.ERROR: done
[2025-01-09 03:38:04] Production.INFO: Total Charge 0
[2025-01-09 03:38:04] Production.INFO: CreateAllLog End
[2025-01-09 03:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206871') end
[2025-01-09 03:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:38:04] Production.INFO: 1
[2025-01-09 03:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:38:04] Production.INFO: ==17017== Releasing lock...
[2025-01-09 03:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:38:04] Production.INFO: Account Balance End.
[2025-01-09 03:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:38:04] Production.INFO: ==17013== Releasing lock...
[2025-01-09 03:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:38:05
[end_date_ymd] => 2025-01-09 03:38:05
[RateCDR] => 1
)
[2025-01-09 03:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:38:05' and `end` < '2025-01-09 03:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:38:09] Production.ERROR: CronJobId end10
[2025-01-09 03:38:09] Production.INFO: ==17011== Releasing lock...
[2025-01-09 03:38:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:38:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:38:12] Production.INFO: call_cost start
[2025-01-09 03:38:12] Production.INFO: call_cost end
[2025-01-09 03:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:38:13] Production.INFO: ==17007== Releasing lock...
[2025-01-09 03:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:38:18] Production.INFO: count ==166
[2025-01-09 03:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:38:05 - End Time 2025-01-09 03:38:05
[2025-01-09 03:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206872', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206872', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206872', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206872', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:38:18] Production.INFO: ProcessCDR(1,14206872,1,1,2)
[2025-01-09 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206872,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206872,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206872', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206872', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:38:21] Production.INFO: ==17015== Releasing lock...
[2025-01-09 03:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:38:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:39:01] Production.INFO: ==17073== Lock acquired, processing the job...
[2025-01-09 08:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:39:01] Production.INFO: neon service started
[2025-01-09 08:39:01] Production.INFO: neon service started
[2025-01-09 08:39:01] Production.INFO: ==17073== Releasing lock...
[2025-01-09 08:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:39:02] Production.INFO: ==17077== Lock acquired, processing the job...
[2025-01-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:39:02] Production.INFO: ==17077== Releasing lock...
[2025-01-09 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:39:02] Production.INFO: ==17079== Lock acquired, processing the job...
[2025-01-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:39:02] Production.INFO: ==17079== Releasing lock...
[2025-01-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:39:03] Production.INFO: ==17089== Lock acquired, processing the job...
[2025-01-09 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:39:03] Production.INFO: ==17083== Lock acquired, processing the job...
[2025-01-09 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:39:03] Production.INFO: ==17081== Lock acquired, processing the job...
[2025-01-09 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:39:03] Production.INFO: ==17085== Lock acquired, processing the job...
[2025-01-09 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:39:03] Production.INFO: ==17087== Lock acquired, processing the job...
[2025-01-09 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:39:03] Production.INFO: ==17091== Lock acquired, processing the job...
[2025-01-09 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:39:03] Production.INFO: Account Balance Start.
[2025-01-09 03:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:39:03] Production.ERROR: done
[2025-01-09 03:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:39:03] Production.INFO: 117
[2025-01-09 03:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:39:03] Production.INFO: count ==21
[2025-01-09 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:39:03] Production.INFO: count ==21
[2025-01-09 03:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206875') start
[2025-01-09 03:39:04] Production.INFO: Total Charge 0
[2025-01-09 03:39:04] Production.ERROR: done
[2025-01-09 03:39:04] Production.INFO: CreateAllLog End
[2025-01-09 03:39:04] Production.INFO: ==17083== Releasing lock...
[2025-01-09 03:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206875') end
[2025-01-09 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:39:04] Production.INFO: 1
[2025-01-09 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:39:04] Production.INFO: Account Balance End.
[2025-01-09 03:39:04] Production.INFO: ==17091== Releasing lock...
[2025-01-09 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:39:04] Production.INFO: ==17087== Releasing lock...
[2025-01-09 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:39:04
[end_date_ymd] => 2025-01-09 03:39:04
[RateCDR] => 1
)
[2025-01-09 03:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:39:04' and `end` < '2025-01-09 03:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:39:11] Production.ERROR: CronJobId end10
[2025-01-09 03:39:11] Production.INFO: ==17085== Releasing lock...
[2025-01-09 03:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:39:13] Production.INFO: call_cost start
[2025-01-09 03:39:13] Production.INFO: call_cost end
[2025-01-09 03:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:39:14] Production.INFO: ==17081== Releasing lock...
[2025-01-09 03:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:39:18] Production.INFO: count ==166
[2025-01-09 03:39:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:39:04 - End Time 2025-01-09 03:39:04
[2025-01-09 03:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206877', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206877', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206877', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206877', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:39:18] Production.INFO: ProcessCDR(1,14206877,1,1,2)
[2025-01-09 03:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206877,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206877,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206877', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206877', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:39:21] Production.INFO: ==17089== Releasing lock...
[2025-01-09 03:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:39:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:40:01] Production.INFO: ==17156== Lock acquired, processing the job...
[2025-01-09 08:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:40:01] Production.INFO: neon service started
[2025-01-09 08:40:01] Production.INFO: neon service started
[2025-01-09 08:40:01] Production.INFO: ==17156== Releasing lock...
[2025-01-09 08:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:40:01] Production.INFO: ==17158== Lock acquired, processing the job...
[2025-01-09 03:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:40:02] Production.INFO: ==17160== Lock acquired, processing the job...
[2025-01-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 03:40:02] Production.INFO: ==17158== Releasing lock...
[2025-01-09 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:40:02] Production.INFO: ==17160== Releasing lock...
[2025-01-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:40:03] Production.INFO: ==17163== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 03:40:03] Production.INFO: ==17167== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 03:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 03:40:03] Production.ERROR: CronJob PID - 17167
[2025-01-09 03:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 03:40:03] Production.ERROR: CronJob ID - 7
[2025-01-09 03:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 03:40:00
[2025-01-09 03:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 03:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 03:40:03] Production.INFO: ==17173== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 03:40:03] Production.INFO: ==17163== Releasing lock...
[2025-01-09 03:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 03:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 03:40:03] Production.INFO: ==17165== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:40:03] Production.INFO: ==17175== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 03:40:03] Production.INFO: ==17169== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:40:03] Production.INFO: ==17171== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:40:03] Production.INFO: ==17177== Lock acquired, processing the job...
[2025-01-09 03:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:40:03] Production.INFO: ==17167== Releasing lock...
[2025-01-09 03:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:40:03] Production.INFO: Account Balance Start.
[2025-01-09 03:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:40:03] Production.INFO: 117
[2025-01-09 03:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:40:03] Production.INFO: count ==21
[2025-01-09 03:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:40:03] Production.INFO: count ==21
[2025-01-09 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206881') start
[2025-01-09 03:40:04] Production.ERROR: done
[2025-01-09 03:40:04] Production.ERROR: done
[2025-01-09 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:40:04] Production.INFO: Total Charge 0
[2025-01-09 03:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 03:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206882', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 03:40:04] Production.INFO: CreateAllLog End
[2025-01-09 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206881') end
[2025-01-09 03:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:40:04] Production.INFO: 1
[2025-01-09 03:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:40:04] Production.ERROR: done
[2025-01-09 03:40:04] Production.INFO: ==17177== Releasing lock...
[2025-01-09 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:40:04] Production.INFO: Account Balance End.
[2025-01-09 03:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:40:04] Production.INFO: ==17171== Releasing lock...
[2025-01-09 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:40:05
[end_date_ymd] => 2025-01-09 03:40:05
[RateCDR] => 1
)
[2025-01-09 03:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:40:05' and `end` < '2025-01-09 03:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206882', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 03:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 03:40:08] Production.INFO: ProcessCDR(1,14206882,1,1,2)
[2025-01-09 03:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206882,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206882,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:40:08] Production.INFO: ==17175== Releasing lock...
[2025-01-09 03:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 03:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 03:40:12] Production.ERROR: CronJobId end10
[2025-01-09 03:40:12] Production.INFO: ==17169== Releasing lock...
[2025-01-09 03:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:40:15] Production.INFO: call_cost start
[2025-01-09 03:40:15] Production.INFO: call_cost end
[2025-01-09 03:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:40:15] Production.INFO: ==17165== Releasing lock...
[2025-01-09 03:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:40:18] Production.INFO: count ==162
[2025-01-09 03:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:40:05 - End Time 2025-01-09 03:40:05
[2025-01-09 03:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206883', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206883', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206883', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206883', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:40:18] Production.INFO: ProcessCDR(1,14206883,1,1,2)
[2025-01-09 03:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206883', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206883', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:40:21] Production.INFO: ==17173== Releasing lock...
[2025-01-09 03:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:40:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:41:01] Production.INFO: ==17234== Lock acquired, processing the job...
[2025-01-09 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:41:01] Production.INFO: neon service started
[2025-01-09 08:41:01] Production.INFO: neon service started
[2025-01-09 08:41:01] Production.INFO: ==17234== Releasing lock...
[2025-01-09 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:41:02] Production.INFO: ==17238== Lock acquired, processing the job...
[2025-01-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:41:02] Production.INFO: ==17238== Releasing lock...
[2025-01-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:41:02] Production.INFO: ==17236== Lock acquired, processing the job...
[2025-01-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:41:02] Production.INFO: ==17236== Releasing lock...
[2025-01-09 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:41:03] Production.INFO: ==17244== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:41:03] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:41:03] Production.INFO: count ==21
[2025-01-09 03:41:03] Production.INFO: ==17244== Releasing lock...
[2025-01-09 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:41:03] Production.INFO: ==17242== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:41:03] Production.INFO: count ==21
[2025-01-09 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206885') start
[2025-01-09 03:41:03] Production.INFO: ==17246== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:41:03] Production.INFO: ==17248== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206885') end
[2025-01-09 03:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:41:03] Production.INFO: 1
[2025-01-09 03:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:41:03] Production.INFO: ==17250== Lock acquired, processing the job...
[2025-01-09 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:41:03] Production.INFO: ==17253== Releasing lock...
[2025-01-09 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:41:03] Production.INFO: Account Balance Start.
[2025-01-09 03:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:41:03] Production.INFO: 117
[2025-01-09 03:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:41:03] Production.INFO: Total Charge 0
[2025-01-09 03:41:04] Production.INFO: CreateAllLog End
[2025-01-09 03:41:04] Production.ERROR: done
[2025-01-09 03:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:41:04] Production.ERROR: done
[2025-01-09 03:41:04] Production.INFO: Account Balance End.
[2025-01-09 03:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:41:04] Production.INFO: ==17248== Releasing lock...
[2025-01-09 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:41:05
[end_date_ymd] => 2025-01-09 03:41:05
[RateCDR] => 1
)
[2025-01-09 03:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:41:05' and `end` < '2025-01-09 03:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:41:11] Production.ERROR: CronJobId end10
[2025-01-09 03:41:11] Production.INFO: ==17246== Releasing lock...
[2025-01-09 03:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:41:13] Production.INFO: call_cost start
[2025-01-09 03:41:13] Production.INFO: call_cost end
[2025-01-09 03:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:41:14] Production.INFO: ==17242== Releasing lock...
[2025-01-09 03:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:41:19] Production.INFO: count ==150
[2025-01-09 03:41:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:41:05 - End Time 2025-01-09 03:41:05
[2025-01-09 03:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206888', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206888', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206888', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206888', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:41:19] Production.INFO: ProcessCDR(1,14206888,1,1,2)
[2025-01-09 03:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206888', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206888', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:41:22] Production.INFO: ==17250== Releasing lock...
[2025-01-09 03:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:41:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:42:02] Production.INFO: ==17351== Lock acquired, processing the job...
[2025-01-09 08:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:42:02] Production.INFO: neon service started
[2025-01-09 08:42:02] Production.INFO: neon service started
[2025-01-09 08:42:02] Production.INFO: ==17351== Releasing lock...
[2025-01-09 08:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:42:02] Production.INFO: ==17355== Lock acquired, processing the job...
[2025-01-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:42:02] Production.INFO: ==17355== Releasing lock...
[2025-01-09 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:42:02] Production.INFO: ==17353== Lock acquired, processing the job...
[2025-01-09 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:42:03] Production.INFO: ==17353== Releasing lock...
[2025-01-09 03:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:42:03] Production.INFO: ==17358== Lock acquired, processing the job...
[2025-01-09 03:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:42:03] Production.INFO: ==17360== Lock acquired, processing the job...
[2025-01-09 03:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:42:03] Production.INFO: ==17364== Lock acquired, processing the job...
[2025-01-09 03:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:42:03] Production.INFO: Account Balance Start.
[2025-01-09 03:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:42:03] Production.INFO: 117
[2025-01-09 03:42:03] Production.INFO: ==17362== Lock acquired, processing the job...
[2025-01-09 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:42:04] Production.INFO: ==17366== Lock acquired, processing the job...
[2025-01-09 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:42:04] Production.INFO: Total Charge 0
[2025-01-09 03:42:04] Production.INFO: CreateAllLog End
[2025-01-09 03:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:42:04] Production.INFO: ==17360== Releasing lock...
[2025-01-09 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:42:04] Production.INFO: ==17368== Lock acquired, processing the job...
[2025-01-09 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:42:04] Production.INFO: Account Balance End.
[2025-01-09 03:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:42:04] Production.INFO: ==17364== Releasing lock...
[2025-01-09 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:42:04] Production.INFO: count ==21
[2025-01-09 03:42:04] Production.ERROR: done
[2025-01-09 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:42:04] Production.INFO: count ==21
[2025-01-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206892') start
[2025-01-09 03:42:04] Production.ERROR: done
[2025-01-09 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206892') end
[2025-01-09 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:42:04] Production.INFO: 1
[2025-01-09 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:42:04] Production.INFO: ==17368== Releasing lock...
[2025-01-09 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:42:05
[end_date_ymd] => 2025-01-09 03:42:05
[RateCDR] => 1
)
[2025-01-09 03:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:42:05' and `end` < '2025-01-09 03:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:42:11] Production.ERROR: CronJobId end10
[2025-01-09 03:42:11] Production.INFO: ==17362== Releasing lock...
[2025-01-09 03:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:42:13] Production.INFO: call_cost start
[2025-01-09 03:42:13] Production.INFO: call_cost end
[2025-01-09 03:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:42:14] Production.INFO: ==17358== Releasing lock...
[2025-01-09 03:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:42:18] Production.INFO: count ==150
[2025-01-09 03:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:42:05 - End Time 2025-01-09 03:42:05
[2025-01-09 03:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206893', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206893', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206893', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206893', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:42:18] Production.INFO: ProcessCDR(1,14206893,1,1,2)
[2025-01-09 03:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206893', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206893', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:42:22] Production.INFO: ==17366== Releasing lock...
[2025-01-09 03:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:42:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:43:01] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-01-09 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:43:01] Production.INFO: neon service started
[2025-01-09 08:43:01] Production.INFO: neon service started
[2025-01-09 08:43:01] Production.INFO: ==17430== Releasing lock...
[2025-01-09 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:43:02] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-01-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:43:02] Production.INFO: ==17434== Lock acquired, processing the job...
[2025-01-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:43:02] Production.INFO: ==17434== Releasing lock...
[2025-01-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:43:02] Production.INFO: ==17432== Releasing lock...
[2025-01-09 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:43:03] Production.INFO: ==17441== Lock acquired, processing the job...
[2025-01-09 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:43:03] Production.INFO: ==17437== Lock acquired, processing the job...
[2025-01-09 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:43:03] Production.INFO: ==17445== Lock acquired, processing the job...
[2025-01-09 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:43:03] Production.INFO: ==17439== Lock acquired, processing the job...
[2025-01-09 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:43:03] Production.INFO: ==17443== Lock acquired, processing the job...
[2025-01-09 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:43:03] Production.INFO: ==17447== Lock acquired, processing the job...
[2025-01-09 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:43:03] Production.INFO: Account Balance Start.
[2025-01-09 03:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:43:03] Production.INFO: 117
[2025-01-09 03:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:43:03] Production.INFO: count ==21
[2025-01-09 03:43:03] Production.ERROR: done
[2025-01-09 03:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:43:04] Production.INFO: ==17439== Releasing lock...
[2025-01-09 03:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:43:04] Production.INFO: count ==21
[2025-01-09 03:43:04] Production.INFO: Total Charge 0
[2025-01-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206897') start
[2025-01-09 03:43:04] Production.INFO: CreateAllLog End
[2025-01-09 03:43:04] Production.ERROR: done
[2025-01-09 03:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206897') end
[2025-01-09 03:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:43:04] Production.INFO: 1
[2025-01-09 03:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:43:04] Production.INFO: Account Balance End.
[2025-01-09 03:43:04] Production.INFO: ==17447== Releasing lock...
[2025-01-09 03:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:43:04] Production.INFO: ==17443== Releasing lock...
[2025-01-09 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:43:05
[end_date_ymd] => 2025-01-09 03:43:05
[RateCDR] => 1
)
[2025-01-09 03:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:43:05' and `end` < '2025-01-09 03:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:43:10] Production.ERROR: CronJobId end10
[2025-01-09 03:43:10] Production.INFO: ==17441== Releasing lock...
[2025-01-09 03:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:43:12] Production.INFO: call_cost start
[2025-01-09 03:43:12] Production.INFO: call_cost end
[2025-01-09 03:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:43:13] Production.INFO: ==17437== Releasing lock...
[2025-01-09 03:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:43:18] Production.INFO: count ==150
[2025-01-09 03:43:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:43:05 - End Time 2025-01-09 03:43:05
[2025-01-09 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206898', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206898', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206898', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206898', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:43:18] Production.INFO: ProcessCDR(1,14206898,1,1,2)
[2025-01-09 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206898', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206898', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:43:22] Production.INFO: ==17445== Releasing lock...
[2025-01-09 03:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:43:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:44:02] Production.INFO: ==17510== Lock acquired, processing the job...
[2025-01-09 08:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:44:02] Production.INFO: neon service started
[2025-01-09 08:44:02] Production.INFO: neon service started
[2025-01-09 08:44:02] Production.INFO: ==17510== Releasing lock...
[2025-01-09 08:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:44:02] Production.INFO: ==17512== Lock acquired, processing the job...
[2025-01-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:44:02] Production.INFO: ==17512== Releasing lock...
[2025-01-09 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:44:02] Production.INFO: ==17514== Lock acquired, processing the job...
[2025-01-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:44:02] Production.INFO: ==17514== Releasing lock...
[2025-01-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:44:03] Production.INFO: ==17516== Lock acquired, processing the job...
[2025-01-09 03:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:44:03] Production.INFO: ==17518== Lock acquired, processing the job...
[2025-01-09 03:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:44:03] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-01-09 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:44:03] Production.INFO: ==17520== Lock acquired, processing the job...
[2025-01-09 03:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:44:03] Production.INFO: count ==21
[2025-01-09 03:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:44:03] Production.INFO: count ==21
[2025-01-09 03:44:03] Production.INFO: ==17522== Lock acquired, processing the job...
[2025-01-09 03:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:44:03] Production.INFO: ==17524== Lock acquired, processing the job...
[2025-01-09 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206900') start
[2025-01-09 03:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:44:04] Production.INFO: Account Balance Start.
[2025-01-09 03:44:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:44:04] Production.INFO: 117
[2025-01-09 03:44:04] Production.INFO: ==17518== Releasing lock...
[2025-01-09 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:44:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206900') end
[2025-01-09 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:44:04] Production.INFO: 1
[2025-01-09 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:44:04] Production.INFO: ==17527== Releasing lock...
[2025-01-09 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:44:04] Production.INFO: Total Charge 0
[2025-01-09 03:44:04] Production.INFO: CreateAllLog End
[2025-01-09 03:44:04] Production.ERROR: done
[2025-01-09 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:44:04] Production.ERROR: done
[2025-01-09 03:44:04] Production.INFO: Account Balance End.
[2025-01-09 03:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:44:04] Production.INFO: ==17522== Releasing lock...
[2025-01-09 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:44:05
[end_date_ymd] => 2025-01-09 03:44:05
[RateCDR] => 1
)
[2025-01-09 03:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:44:05' and `end` < '2025-01-09 03:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:44:11] Production.ERROR: CronJobId end10
[2025-01-09 03:44:11] Production.INFO: ==17520== Releasing lock...
[2025-01-09 03:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:44:12] Production.INFO: call_cost start
[2025-01-09 03:44:12] Production.INFO: call_cost end
[2025-01-09 03:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:44:13] Production.INFO: ==17516== Releasing lock...
[2025-01-09 03:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:44:19] Production.INFO: count ==150
[2025-01-09 03:44:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:44:05 - End Time 2025-01-09 03:44:05
[2025-01-09 03:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206903', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206903', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206903', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206903', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:44:19] Production.INFO: ProcessCDR(1,14206903,1,1,2)
[2025-01-09 03:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206903', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206903', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:44:22] Production.INFO: ==17524== Releasing lock...
[2025-01-09 03:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:44:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:45:01] Production.INFO: ==17584== Lock acquired, processing the job...
[2025-01-09 08:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:45:01] Production.INFO: neon service started
[2025-01-09 08:45:01] Production.INFO: neon service started
[2025-01-09 08:45:01] Production.INFO: ==17584== Releasing lock...
[2025-01-09 08:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:45:01] Production.INFO: ==17588== Lock acquired, processing the job...
[2025-01-09 08:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:45:01] Production.INFO: ==17588== Releasing lock...
[2025-01-09 08:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:45:02] Production.INFO: ==17586== Lock acquired, processing the job...
[2025-01-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:45:02] Production.INFO: ==17586== Releasing lock...
[2025-01-09 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:45:03] Production.INFO: ==17595== Lock acquired, processing the job...
[2025-01-09 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:45:03] Production.INFO: ==17591== Lock acquired, processing the job...
[2025-01-09 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:45:03] Production.INFO: ==17593== Lock acquired, processing the job...
[2025-01-09 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:45:03] Production.INFO: ==17597== Lock acquired, processing the job...
[2025-01-09 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:45:03] Production.INFO: ==17599== Lock acquired, processing the job...
[2025-01-09 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:45:03] Production.INFO: ==17593== Releasing lock...
[2025-01-09 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:45:03] Production.INFO: ==17601== Lock acquired, processing the job...
[2025-01-09 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:45:03] Production.INFO: Account Balance Start.
[2025-01-09 03:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:45:03] Production.INFO: 117
[2025-01-09 03:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:45:03] Production.INFO: count ==21
[2025-01-09 03:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:45:03] Production.INFO: count ==21
[2025-01-09 03:45:03] Production.ERROR: done
[2025-01-09 03:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:45:03] Production.INFO: Total Charge 0
[2025-01-09 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206907') start
[2025-01-09 03:45:03] Production.INFO: CreateAllLog End
[2025-01-09 03:45:04] Production.ERROR: done
[2025-01-09 03:45:04] Production.INFO: Account Balance End.
[2025-01-09 03:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206907') end
[2025-01-09 03:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:45:04] Production.INFO: 1
[2025-01-09 03:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:45:04] Production.INFO: ==17597== Releasing lock...
[2025-01-09 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:45:04] Production.INFO: ==17601== Releasing lock...
[2025-01-09 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:45:05
[end_date_ymd] => 2025-01-09 03:45:05
[RateCDR] => 1
)
[2025-01-09 03:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:45:05' and `end` < '2025-01-09 03:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:45:10] Production.ERROR: CronJobId end10
[2025-01-09 03:45:10] Production.INFO: ==17595== Releasing lock...
[2025-01-09 03:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:45:12] Production.INFO: call_cost start
[2025-01-09 03:45:12] Production.INFO: call_cost end
[2025-01-09 03:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:45:13] Production.INFO: ==17591== Releasing lock...
[2025-01-09 03:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:45:18] Production.INFO: count ==150
[2025-01-09 03:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:45:05 - End Time 2025-01-09 03:45:05
[2025-01-09 03:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206908', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206908', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206908', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206908', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:45:18] Production.INFO: ProcessCDR(1,14206908,1,1,2)
[2025-01-09 03:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206908', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206908', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:45:21] Production.INFO: ==17599== Releasing lock...
[2025-01-09 03:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:45:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:46:02] Production.INFO: ==17668== Lock acquired, processing the job...
[2025-01-09 08:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:46:02] Production.INFO: neon service started
[2025-01-09 08:46:02] Production.INFO: neon service started
[2025-01-09 08:46:02] Production.INFO: ==17668== Releasing lock...
[2025-01-09 08:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:46:02] Production.INFO: ==17671== Lock acquired, processing the job...
[2025-01-09 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:46:02] Production.INFO: ==17673== Lock acquired, processing the job...
[2025-01-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:46:02] Production.INFO: ==17673== Releasing lock...
[2025-01-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:46:03] Production.INFO: ==17671== Releasing lock...
[2025-01-09 03:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:46:03] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-01-09 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:46:03] Production.INFO: ==17683== Lock acquired, processing the job...
[2025-01-09 03:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:46:04] Production.INFO: ==17677== Releasing lock...
[2025-01-09 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:46:04] Production.INFO: ==17675== Lock acquired, processing the job...
[2025-01-09 03:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:46:04] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-01-09 03:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:46:04] Production.INFO: ==17681== Lock acquired, processing the job...
[2025-01-09 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:46:04] Production.ERROR: done
[2025-01-09 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:46:04] Production.INFO: ==17685== Lock acquired, processing the job...
[2025-01-09 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:46:04] Production.INFO: Account Balance Start.
[2025-01-09 03:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:46:04] Production.INFO: 117
[2025-01-09 03:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:46:04] Production.INFO: count ==21
[2025-01-09 03:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:46:04] Production.INFO: count ==21
[2025-01-09 03:46:04] Production.ERROR: done
[2025-01-09 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206912') start
[2025-01-09 03:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206912') end
[2025-01-09 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:46:04] Production.INFO: 1
[2025-01-09 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:46:04] Production.INFO: Total Charge 0
[2025-01-09 03:46:04] Production.INFO: ==17685== Releasing lock...
[2025-01-09 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:46:04] Production.INFO: CreateAllLog End
[2025-01-09 03:46:04] Production.INFO: Account Balance End.
[2025-01-09 03:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:46:04] Production.INFO: ==17681== Releasing lock...
[2025-01-09 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:46:05
[end_date_ymd] => 2025-01-09 03:46:05
[RateCDR] => 1
)
[2025-01-09 03:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:46:05' and `end` < '2025-01-09 03:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:46:11] Production.ERROR: CronJobId end10
[2025-01-09 03:46:11] Production.INFO: ==17679== Releasing lock...
[2025-01-09 03:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:46:13] Production.INFO: call_cost start
[2025-01-09 03:46:13] Production.INFO: call_cost end
[2025-01-09 03:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:46:14] Production.INFO: ==17675== Releasing lock...
[2025-01-09 03:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:46:18] Production.INFO: count ==148
[2025-01-09 03:46:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:46:05 - End Time 2025-01-09 03:46:05
[2025-01-09 03:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206913', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206913', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206913', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206913', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:46:18] Production.INFO: ProcessCDR(1,14206913,1,1,2)
[2025-01-09 03:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206913,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206913,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206913', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206913', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:46:21] Production.INFO: ==17683== Releasing lock...
[2025-01-09 03:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:46:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:47:01] Production.INFO: ==17742== Lock acquired, processing the job...
[2025-01-09 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:47:01] Production.INFO: neon service started
[2025-01-09 08:47:01] Production.INFO: neon service started
[2025-01-09 08:47:01] Production.INFO: ==17742== Releasing lock...
[2025-01-09 08:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:47:02] Production.INFO: ==17746== Lock acquired, processing the job...
[2025-01-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:47:02] Production.INFO: ==17746== Releasing lock...
[2025-01-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:47:02] Production.INFO: ==17744== Lock acquired, processing the job...
[2025-01-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:47:02] Production.INFO: ==17744== Releasing lock...
[2025-01-09 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:47:03] Production.INFO: ==17751== Lock acquired, processing the job...
[2025-01-09 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:47:03] Production.INFO: ==17749== Lock acquired, processing the job...
[2025-01-09 03:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:47:03] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-01-09 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:47:03] Production.INFO: ==17753== Lock acquired, processing the job...
[2025-01-09 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:47:03] Production.INFO: ==17755== Lock acquired, processing the job...
[2025-01-09 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:47:03] Production.INFO: count ==21
[2025-01-09 03:47:03] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-01-09 03:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:47:03] Production.INFO: count ==21
[2025-01-09 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206916') start
[2025-01-09 03:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:47:03] Production.INFO: ==17751== Releasing lock...
[2025-01-09 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:47:03] Production.INFO: Account Balance Start.
[2025-01-09 03:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:47:03] Production.INFO: 117
[2025-01-09 03:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206916') end
[2025-01-09 03:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:47:03] Production.INFO: 1
[2025-01-09 03:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:47:03] Production.INFO: Total Charge 0
[2025-01-09 03:47:03] Production.INFO: CreateAllLog End
[2025-01-09 03:47:03] Production.INFO: ==17759== Releasing lock...
[2025-01-09 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:47:04] Production.ERROR: done
[2025-01-09 03:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:47:04] Production.INFO: Account Balance End.
[2025-01-09 03:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:47:04] Production.INFO: ==17755== Releasing lock...
[2025-01-09 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:47:04] Production.ERROR: done
[2025-01-09 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:47:05
[end_date_ymd] => 2025-01-09 03:47:05
[RateCDR] => 1
)
[2025-01-09 03:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:47:05' and `end` < '2025-01-09 03:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:47:10] Production.ERROR: CronJobId end10
[2025-01-09 03:47:10] Production.INFO: ==17753== Releasing lock...
[2025-01-09 03:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:47:12] Production.INFO: call_cost start
[2025-01-09 03:47:12] Production.INFO: call_cost end
[2025-01-09 03:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:47:13] Production.INFO: ==17749== Releasing lock...
[2025-01-09 03:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:47:19] Production.INFO: count ==148
[2025-01-09 03:47:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:47:05 - End Time 2025-01-09 03:47:05
[2025-01-09 03:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206918', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206918', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206918', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206918', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:47:19] Production.INFO: ProcessCDR(1,14206918,1,1,2)
[2025-01-09 03:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206918,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206918,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206918', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206918', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:47:22] Production.INFO: ==17757== Releasing lock...
[2025-01-09 03:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:47:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:48:02] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-01-09 08:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:48:02] Production.INFO: neon service started
[2025-01-09 08:48:02] Production.INFO: neon service started
[2025-01-09 08:48:02] Production.INFO: ==17825== Releasing lock...
[2025-01-09 08:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:48:02] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-01-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:48:02] Production.INFO: ==17827== Releasing lock...
[2025-01-09 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:48:02] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-01-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:48:03] Production.INFO: ==17829== Releasing lock...
[2025-01-09 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:48:03] Production.INFO: ==17839== Lock acquired, processing the job...
[2025-01-09 03:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:48:03] Production.INFO: ==17831== Lock acquired, processing the job...
[2025-01-09 03:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:48:03] Production.INFO: ==17833== Lock acquired, processing the job...
[2025-01-09 03:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:48:03] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-01-09 03:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:48:03] Production.INFO: ==17841== Lock acquired, processing the job...
[2025-01-09 03:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:48:04] Production.INFO: ==17837== Lock acquired, processing the job...
[2025-01-09 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:48:04] Production.INFO: Account Balance Start.
[2025-01-09 03:48:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:48:04] Production.INFO: 117
[2025-01-09 03:48:04] Production.INFO: count ==21
[2025-01-09 03:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:48:04] Production.INFO: count ==21
[2025-01-09 03:48:04] Production.ERROR: done
[2025-01-09 03:48:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206921') start
[2025-01-09 03:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:48:04] Production.INFO: ==17833== Releasing lock...
[2025-01-09 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:48:04] Production.INFO: Total Charge 0
[2025-01-09 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206921') end
[2025-01-09 03:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:48:04] Production.INFO: 1
[2025-01-09 03:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:48:04] Production.INFO: CreateAllLog End
[2025-01-09 03:48:04] Production.INFO: ==17841== Releasing lock...
[2025-01-09 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:48:04] Production.ERROR: done
[2025-01-09 03:48:04] Production.INFO: Account Balance End.
[2025-01-09 03:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:48:04] Production.INFO: ==17837== Releasing lock...
[2025-01-09 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:48:05
[end_date_ymd] => 2025-01-09 03:48:05
[RateCDR] => 1
)
[2025-01-09 03:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:48:05' and `end` < '2025-01-09 03:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:48:11] Production.ERROR: CronJobId end10
[2025-01-09 03:48:11] Production.INFO: ==17835== Releasing lock...
[2025-01-09 03:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:48:14] Production.INFO: call_cost start
[2025-01-09 03:48:14] Production.INFO: call_cost end
[2025-01-09 03:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:48:14] Production.INFO: ==17831== Releasing lock...
[2025-01-09 03:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:48:19] Production.INFO: count ==147
[2025-01-09 03:48:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:48:05 - End Time 2025-01-09 03:48:05
[2025-01-09 03:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206923', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206923', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206923', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206923', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:48:19] Production.INFO: ProcessCDR(1,14206923,1,1,2)
[2025-01-09 03:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206923,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206923,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206923', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206923', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:48:23] Production.INFO: ==17839== Releasing lock...
[2025-01-09 03:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:48:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:49:01] Production.INFO: ==17894== Lock acquired, processing the job...
[2025-01-09 08:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:49:01] Production.INFO: neon service started
[2025-01-09 08:49:01] Production.INFO: neon service started
[2025-01-09 08:49:01] Production.INFO: ==17894== Releasing lock...
[2025-01-09 08:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:49:02] Production.INFO: ==17896== Lock acquired, processing the job...
[2025-01-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:49:02] Production.INFO: ==17898== Lock acquired, processing the job...
[2025-01-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:49:02] Production.INFO: ==17898== Releasing lock...
[2025-01-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:49:02] Production.INFO: ==17896== Releasing lock...
[2025-01-09 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:49:03] Production.INFO: ==17901== Lock acquired, processing the job...
[2025-01-09 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:49:03] Production.INFO: ==17903== Lock acquired, processing the job...
[2025-01-09 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:49:03] Production.INFO: ==17909== Lock acquired, processing the job...
[2025-01-09 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:49:03] Production.INFO: ==17907== Lock acquired, processing the job...
[2025-01-09 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:49:03] Production.INFO: ==17905== Lock acquired, processing the job...
[2025-01-09 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:49:03] Production.INFO: ==17911== Lock acquired, processing the job...
[2025-01-09 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:49:03] Production.INFO: Account Balance Start.
[2025-01-09 03:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:49:03] Production.INFO: 117
[2025-01-09 03:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:49:03] Production.INFO: count ==21
[2025-01-09 03:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:49:03] Production.INFO: count ==21
[2025-01-09 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:49:03] Production.INFO: ==17903== Releasing lock...
[2025-01-09 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206927') start
[2025-01-09 03:49:03] Production.ERROR: done
[2025-01-09 03:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:49:03] Production.INFO: Total Charge 0
[2025-01-09 03:49:03] Production.INFO: CreateAllLog End
[2025-01-09 03:49:03] Production.ERROR: done
[2025-01-09 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206927') end
[2025-01-09 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:49:04] Production.INFO: 1
[2025-01-09 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:49:04] Production.INFO: ==17911== Releasing lock...
[2025-01-09 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:49:04] Production.INFO: Account Balance End.
[2025-01-09 03:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:49:04] Production.INFO: ==17907== Releasing lock...
[2025-01-09 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:49:04
[end_date_ymd] => 2025-01-09 03:49:04
[RateCDR] => 1
)
[2025-01-09 03:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:49:04' and `end` < '2025-01-09 03:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:49:10] Production.ERROR: CronJobId end10
[2025-01-09 03:49:10] Production.INFO: ==17905== Releasing lock...
[2025-01-09 03:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:49:12] Production.INFO: call_cost start
[2025-01-09 03:49:12] Production.INFO: call_cost end
[2025-01-09 03:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:49:13] Production.INFO: ==17901== Releasing lock...
[2025-01-09 03:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:49:17] Production.INFO: count ==145
[2025-01-09 03:49:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:49:04 - End Time 2025-01-09 03:49:04
[2025-01-09 03:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206928', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206928', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206928', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206928', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:49:17] Production.INFO: ProcessCDR(1,14206928,1,1,2)
[2025-01-09 03:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206928,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206928,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206928', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206928', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:49:20] Production.INFO: ==17909== Releasing lock...
[2025-01-09 03:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:49:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:50:02] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-01-09 08:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:50:02] Production.INFO: neon service started
[2025-01-09 08:50:02] Production.INFO: neon service started
[2025-01-09 08:50:02] Production.INFO: ==17974== Releasing lock...
[2025-01-09 08:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:50:02] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-01-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:50:02] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:50:02] Production.INFO: ==17978== Releasing lock...
[2025-01-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:50:02] Production.INFO: ==17976== Releasing lock...
[2025-01-09 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:50:03] Production.INFO: ==17981== Lock acquired, processing the job...
[2025-01-09 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 03:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 03:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 03:50:03] Production.INFO: ==17981== Releasing lock...
[2025-01-09 03:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 03:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 03:50:03] Production.INFO: ==17985== Lock acquired, processing the job...
[2025-01-09 03:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:50:03] Production.INFO: ==17991== Lock acquired, processing the job...
[2025-01-09 03:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:50:03] Production.INFO: ==17995== Lock acquired, processing the job...
[2025-01-09 03:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:50:04] Production.INFO: ==17983== Lock acquired, processing the job...
[2025-01-09 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:50:04] Production.INFO: ==17987== Lock acquired, processing the job...
[2025-01-09 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:50:04] Production.INFO: ==17985== Releasing lock...
[2025-01-09 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:50:04] Production.INFO: ==17993== Lock acquired, processing the job...
[2025-01-09 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 03:50:04] Production.INFO: ==17989== Lock acquired, processing the job...
[2025-01-09 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:50:04] Production.INFO: count ==21
[2025-01-09 03:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:50:04] Production.INFO: count ==21
[2025-01-09 03:50:04] Production.ERROR: done
[2025-01-09 03:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206930') start
[2025-01-09 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206930') end
[2025-01-09 03:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:50:04] Production.INFO: 1
[2025-01-09 03:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:50:04] Production.INFO: Account Balance Start.
[2025-01-09 03:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:50:04] Production.INFO: 117
[2025-01-09 03:50:04] Production.INFO: ==17995== Releasing lock...
[2025-01-09 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:50:04] Production.ERROR: done
[2025-01-09 03:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:50:04] Production.ERROR: done
[2025-01-09 03:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:50:04] Production.INFO: Total Charge 0
[2025-01-09 03:50:04] Production.INFO: CreateAllLog End
[2025-01-09 03:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 03:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206934', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 03:50:04] Production.INFO: Account Balance End.
[2025-01-09 03:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:50:04] Production.INFO: ==17989== Releasing lock...
[2025-01-09 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:50:05
[end_date_ymd] => 2025-01-09 03:50:05
[RateCDR] => 1
)
[2025-01-09 03:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:50:05' and `end` < '2025-01-09 03:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206934', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 03:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 03:50:08] Production.INFO: ProcessCDR(1,14206934,1,1,2)
[2025-01-09 03:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206934,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206934,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:50:08] Production.INFO: ==17993== Releasing lock...
[2025-01-09 03:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 03:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 03:50:14] Production.ERROR: CronJobId end10
[2025-01-09 03:50:14] Production.INFO: ==17987== Releasing lock...
[2025-01-09 03:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:50:15] Production.INFO: call_cost start
[2025-01-09 03:50:15] Production.INFO: call_cost end
[2025-01-09 03:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:50:16] Production.INFO: ==17983== Releasing lock...
[2025-01-09 03:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:50:19] Production.INFO: count ==143
[2025-01-09 03:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:50:05 - End Time 2025-01-09 03:50:05
[2025-01-09 03:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206933', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206933', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206933', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206933', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:50:19] Production.INFO: ProcessCDR(1,14206933,1,1,2)
[2025-01-09 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206933,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206933,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206933', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206933', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:50:22] Production.INFO: ==17991== Releasing lock...
[2025-01-09 03:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:50:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:51:01] Production.INFO: ==18055== Lock acquired, processing the job...
[2025-01-09 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:51:01] Production.INFO: neon service started
[2025-01-09 08:51:01] Production.INFO: neon service started
[2025-01-09 08:51:01] Production.INFO: ==18055== Releasing lock...
[2025-01-09 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:51:01] Production.INFO: ==18059== Lock acquired, processing the job...
[2025-01-09 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:51:01] Production.INFO: ==18059== Releasing lock...
[2025-01-09 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:51:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:51:02] Production.INFO: ==18057== Lock acquired, processing the job...
[2025-01-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:51:02] Production.INFO: ==18057== Releasing lock...
[2025-01-09 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:51:02] Production.INFO: ==18062== Lock acquired, processing the job...
[2025-01-09 03:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:51:03] Production.INFO: ==18068== Lock acquired, processing the job...
[2025-01-09 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:51:03] Production.INFO: Account Balance Start.
[2025-01-09 03:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:51:03] Production.INFO: 117
[2025-01-09 03:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:51:03] Production.INFO: ==18072== Lock acquired, processing the job...
[2025-01-09 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:51:03] Production.INFO: Total Charge 0
[2025-01-09 03:51:03] Production.INFO: CreateAllLog End
[2025-01-09 03:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:51:03] Production.INFO: count ==21
[2025-01-09 03:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:51:03] Production.INFO: count ==21
[2025-01-09 03:51:03] Production.INFO: ==18064== Lock acquired, processing the job...
[2025-01-09 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:51:03] Production.INFO: Account Balance End.
[2025-01-09 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206937') start
[2025-01-09 03:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:51:03] Production.INFO: ==18068== Releasing lock...
[2025-01-09 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:51:03] Production.INFO: ==18066== Lock acquired, processing the job...
[2025-01-09 03:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206937') end
[2025-01-09 03:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:51:03] Production.INFO: 1
[2025-01-09 03:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:51:03] Production.INFO: ==18072== Releasing lock...
[2025-01-09 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:51:03] Production.INFO: ==18070== Lock acquired, processing the job...
[2025-01-09 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:51:03] Production.INFO: ==18064== Releasing lock...
[2025-01-09 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:51:04] Production.ERROR: done
[2025-01-09 03:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:51:04] Production.ERROR: done
[2025-01-09 03:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:51:05
[end_date_ymd] => 2025-01-09 03:51:05
[RateCDR] => 1
)
[2025-01-09 03:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:51:05' and `end` < '2025-01-09 03:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:51:10] Production.ERROR: CronJobId end10
[2025-01-09 03:51:10] Production.INFO: ==18066== Releasing lock...
[2025-01-09 03:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:51:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:51:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:51:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:51:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:51:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:51:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:51:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:51:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:51:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:51:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:51:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:51:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:51:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:51:12] Production.INFO: call_cost start
[2025-01-09 03:51:12] Production.INFO: call_cost end
[2025-01-09 03:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:51:13] Production.INFO: ==18062== Releasing lock...
[2025-01-09 03:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:51:19] Production.INFO: count ==143
[2025-01-09 03:51:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:51:05 - End Time 2025-01-09 03:51:05
[2025-01-09 03:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206939', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206939', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206939', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206939', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:51:19] Production.INFO: ProcessCDR(1,14206939,1,1,2)
[2025-01-09 03:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206939', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206939', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:51:23] Production.INFO: ==18070== Releasing lock...
[2025-01-09 03:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:51:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:52:02] Production.INFO: ==18134== Lock acquired, processing the job...
[2025-01-09 08:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:52:02] Production.INFO: neon service started
[2025-01-09 08:52:02] Production.INFO: neon service started
[2025-01-09 08:52:02] Production.INFO: ==18134== Releasing lock...
[2025-01-09 08:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:52:02] Production.INFO: ==18136== Lock acquired, processing the job...
[2025-01-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:52:02] Production.INFO: ==18136== Releasing lock...
[2025-01-09 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:52:02] Production.INFO: ==18138== Lock acquired, processing the job...
[2025-01-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:52:03] Production.INFO: ==18138== Releasing lock...
[2025-01-09 08:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:52:03] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-01-09 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:52:04] Production.INFO: ==18141== Lock acquired, processing the job...
[2025-01-09 03:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:52:04] Production.INFO: ==18151== Lock acquired, processing the job...
[2025-01-09 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:52:04] Production.INFO: ==18143== Lock acquired, processing the job...
[2025-01-09 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:52:04] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-01-09 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:52:04] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-01-09 03:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:52:04] Production.INFO: count ==21
[2025-01-09 03:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:52:04] Production.INFO: count ==21
[2025-01-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206940') start
[2025-01-09 03:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:52:04] Production.INFO: Account Balance Start.
[2025-01-09 03:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:52:04] Production.INFO: 117
[2025-01-09 03:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206940') end
[2025-01-09 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:52:04] Production.INFO: 1
[2025-01-09 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:52:04] Production.INFO: ==18151== Releasing lock...
[2025-01-09 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:52:04] Production.INFO: ==18143== Releasing lock...
[2025-01-09 03:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:52:04] Production.INFO: Total Charge 0
[2025-01-09 03:52:04] Production.INFO: CreateAllLog End
[2025-01-09 03:52:04] Production.ERROR: done
[2025-01-09 03:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:52:04] Production.INFO: Account Balance End.
[2025-01-09 03:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:52:04] Production.INFO: ==18147== Releasing lock...
[2025-01-09 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:52:04] Production.ERROR: done
[2025-01-09 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:52:05
[end_date_ymd] => 2025-01-09 03:52:05
[RateCDR] => 1
)
[2025-01-09 03:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:52:05' and `end` < '2025-01-09 03:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:52:12] Production.ERROR: CronJobId end10
[2025-01-09 03:52:12] Production.INFO: ==18145== Releasing lock...
[2025-01-09 03:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:52:15] Production.INFO: call_cost start
[2025-01-09 03:52:15] Production.INFO: call_cost end
[2025-01-09 03:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:52:15] Production.INFO: ==18141== Releasing lock...
[2025-01-09 03:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:52:18] Production.INFO: count ==143
[2025-01-09 03:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:52:05 - End Time 2025-01-09 03:52:05
[2025-01-09 03:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206944', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206944', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206944', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206944', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:52:18] Production.INFO: ProcessCDR(1,14206944,1,1,2)
[2025-01-09 03:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206944', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206944', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:52:21] Production.INFO: ==18149== Releasing lock...
[2025-01-09 03:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:52:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:53:01] Production.INFO: ==18210== Lock acquired, processing the job...
[2025-01-09 08:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:53:01] Production.INFO: neon service started
[2025-01-09 08:53:01] Production.INFO: neon service started
[2025-01-09 08:53:01] Production.INFO: ==18210== Releasing lock...
[2025-01-09 08:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:53:01] Production.INFO: ==18212== Lock acquired, processing the job...
[2025-01-09 03:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:53:02] Production.INFO: ==18212== Releasing lock...
[2025-01-09 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:53:02] Production.INFO: ==18214== Lock acquired, processing the job...
[2025-01-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:53:02] Production.INFO: ==18214== Releasing lock...
[2025-01-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:53:03] Production.INFO: ==18217== Lock acquired, processing the job...
[2025-01-09 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:53:03] Production.INFO: ==18219== Lock acquired, processing the job...
[2025-01-09 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:53:03] Production.INFO: ==18221== Lock acquired, processing the job...
[2025-01-09 03:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:53:03] Production.INFO: ==18223== Lock acquired, processing the job...
[2025-01-09 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:53:03] Production.INFO: ==18225== Lock acquired, processing the job...
[2025-01-09 03:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:53:03] Production.INFO: Account Balance Start.
[2025-01-09 03:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:53:03] Production.INFO: 117
[2025-01-09 03:53:03] Production.INFO: ==18227== Lock acquired, processing the job...
[2025-01-09 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:53:03] Production.INFO: ==18219== Releasing lock...
[2025-01-09 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:53:03] Production.INFO: Total Charge 0
[2025-01-09 03:53:03] Production.INFO: count ==21
[2025-01-09 03:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:53:03] Production.INFO: count ==21
[2025-01-09 03:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206948') start
[2025-01-09 03:53:03] Production.INFO: CreateAllLog End
[2025-01-09 03:53:03] Production.ERROR: done
[2025-01-09 03:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206948') end
[2025-01-09 03:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:53:03] Production.INFO: 1
[2025-01-09 03:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:53:03] Production.INFO: Account Balance End.
[2025-01-09 03:53:03] Production.INFO: ==18227== Releasing lock...
[2025-01-09 03:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:53:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:53:03] Production.INFO: ==18223== Releasing lock...
[2025-01-09 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:53:03] Production.ERROR: done
[2025-01-09 03:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:53:04
[end_date_ymd] => 2025-01-09 03:53:04
[RateCDR] => 1
)
[2025-01-09 03:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:53:04' and `end` < '2025-01-09 03:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:53:11] Production.ERROR: CronJobId end10
[2025-01-09 03:53:11] Production.INFO: ==18221== Releasing lock...
[2025-01-09 03:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:53:12] Production.INFO: call_cost start
[2025-01-09 03:53:12] Production.INFO: call_cost end
[2025-01-09 03:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:53:13] Production.INFO: ==18217== Releasing lock...
[2025-01-09 03:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:53:18] Production.INFO: count ==143
[2025-01-09 03:53:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:53:04 - End Time 2025-01-09 03:53:04
[2025-01-09 03:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206949', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206949', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206949', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206949', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:53:18] Production.INFO: ProcessCDR(1,14206949,1,1,2)
[2025-01-09 03:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206949', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206949', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:53:21] Production.INFO: ==18225== Releasing lock...
[2025-01-09 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:53:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:54:01] Production.INFO: ==18296== Lock acquired, processing the job...
[2025-01-09 08:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:54:01] Production.INFO: neon service started
[2025-01-09 08:54:02] Production.INFO: neon service started
[2025-01-09 08:54:02] Production.INFO: ==18296== Releasing lock...
[2025-01-09 08:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:54:02] Production.INFO: ==18298== Lock acquired, processing the job...
[2025-01-09 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:54:02] Production.INFO: ==18300== Lock acquired, processing the job...
[2025-01-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:54:02] Production.INFO: ==18300== Releasing lock...
[2025-01-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:54:03] Production.INFO: ==18298== Releasing lock...
[2025-01-09 03:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:54:03] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-01-09 03:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:54:03] Production.INFO: ==18307== Lock acquired, processing the job...
[2025-01-09 03:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:54:03] Production.INFO: ==18305== Lock acquired, processing the job...
[2025-01-09 03:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:54:03] Production.INFO: ==18311== Lock acquired, processing the job...
[2025-01-09 03:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:54:03] Production.INFO: ==18309== Lock acquired, processing the job...
[2025-01-09 03:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:54:04] Production.INFO: Account Balance Start.
[2025-01-09 03:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:54:04] Production.INFO: 117
[2025-01-09 03:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:54:04] Production.INFO: ==18313== Lock acquired, processing the job...
[2025-01-09 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:54:04] Production.INFO: Total Charge 0
[2025-01-09 03:54:04] Production.INFO: CreateAllLog End
[2025-01-09 03:54:04] Production.INFO: ==18305== Releasing lock...
[2025-01-09 03:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:54:04] Production.ERROR: done
[2025-01-09 03:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:54:04] Production.INFO: count ==21
[2025-01-09 03:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:54:04] Production.INFO: Account Balance End.
[2025-01-09 03:54:04] Production.INFO: count ==21
[2025-01-09 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206953') start
[2025-01-09 03:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:54:04] Production.INFO: ==18309== Releasing lock...
[2025-01-09 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:54:04] Production.ERROR: done
[2025-01-09 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206953') end
[2025-01-09 03:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:54:04] Production.INFO: 1
[2025-01-09 03:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:54:04] Production.INFO: ==18313== Releasing lock...
[2025-01-09 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:54:05
[end_date_ymd] => 2025-01-09 03:54:05
[RateCDR] => 1
)
[2025-01-09 03:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:54:05' and `end` < '2025-01-09 03:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:54:11] Production.ERROR: CronJobId end10
[2025-01-09 03:54:11] Production.INFO: ==18307== Releasing lock...
[2025-01-09 03:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:54:13] Production.INFO: call_cost start
[2025-01-09 03:54:13] Production.INFO: call_cost end
[2025-01-09 03:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:54:14] Production.INFO: ==18303== Releasing lock...
[2025-01-09 03:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:54:19] Production.INFO: count ==143
[2025-01-09 03:54:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:54:05 - End Time 2025-01-09 03:54:05
[2025-01-09 03:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206954', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206954', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206954', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206954', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:54:19] Production.INFO: ProcessCDR(1,14206954,1,1,2)
[2025-01-09 03:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206954', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206954', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:54:22] Production.INFO: ==18311== Releasing lock...
[2025-01-09 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:54:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:55:01] Production.INFO: ==18374== Lock acquired, processing the job...
[2025-01-09 08:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:55:01] Production.INFO: neon service started
[2025-01-09 08:55:01] Production.INFO: neon service started
[2025-01-09 08:55:01] Production.INFO: ==18374== Releasing lock...
[2025-01-09 08:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:55:01] Production.INFO: ==18376== Lock acquired, processing the job...
[2025-01-09 03:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:55:02] Production.INFO: ==18376== Releasing lock...
[2025-01-09 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:55:02] Production.INFO: ==18378== Lock acquired, processing the job...
[2025-01-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:55:02] Production.INFO: ==18378== Releasing lock...
[2025-01-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:55:02] Production.INFO: ==18385== Lock acquired, processing the job...
[2025-01-09 03:55:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:55:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:55:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:55:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:55:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:55:02] Production.INFO: ==18389== Lock acquired, processing the job...
[2025-01-09 03:55:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:55:03] Production.INFO: ==18381== Lock acquired, processing the job...
[2025-01-09 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:55:03] Production.INFO: ==18383== Lock acquired, processing the job...
[2025-01-09 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:55:03] Production.INFO: ==18387== Lock acquired, processing the job...
[2025-01-09 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:55:03] Production.INFO: ==18391== Lock acquired, processing the job...
[2025-01-09 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:55:03] Production.INFO: Account Balance Start.
[2025-01-09 03:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:55:03] Production.INFO: 117
[2025-01-09 03:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:55:03] Production.INFO: Total Charge 0
[2025-01-09 03:55:03] Production.ERROR: done
[2025-01-09 03:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:55:03] Production.INFO: ==18383== Releasing lock...
[2025-01-09 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:55:03] Production.INFO: CreateAllLog End
[2025-01-09 03:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:55:03] Production.INFO: count ==21
[2025-01-09 03:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:55:03] Production.INFO: count ==21
[2025-01-09 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206958') start
[2025-01-09 03:55:03] Production.ERROR: done
[2025-01-09 03:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206958') end
[2025-01-09 03:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:55:03] Production.INFO: 1
[2025-01-09 03:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:55:03] Production.INFO: Account Balance End.
[2025-01-09 03:55:03] Production.INFO: ==18391== Releasing lock...
[2025-01-09 03:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:55:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:55:03] Production.INFO: ==18387== Releasing lock...
[2025-01-09 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:55:04
[end_date_ymd] => 2025-01-09 03:55:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 00:55:04' and `end` < '2025-01-09 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-01-09 03:55:09] Production.ERROR: CronJobId end10
[2025-01-09 03:55:09] Production.INFO: ==18385== Releasing lock...
[2025-01-09 03:55:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:55:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:55:12] Production.INFO: call_cost start
[2025-01-09 03:55:12] Production.INFO: call_cost end
[2025-01-09 03:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:55:13] Production.INFO: ==18381== Releasing lock...
[2025-01-09 03:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:55:17] Production.INFO: count ==141
[2025-01-09 03:55:17] Production.ERROR: pbx CDR StartTime 2025-01-09 00:55:04 - End Time 2025-01-09 03:55:04
[2025-01-09 03:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206959', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206959', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206959', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206959', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:55:17] Production.INFO: ProcessCDR(1,14206959,1,1,2)
[2025-01-09 03:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206959', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206959', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:55:20] Production.INFO: ==18389== Releasing lock...
[2025-01-09 03:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:55:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:56:01] Production.INFO: ==18451== Lock acquired, processing the job...
[2025-01-09 08:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:56:01] Production.INFO: neon service started
[2025-01-09 08:56:01] Production.INFO: neon service started
[2025-01-09 08:56:01] Production.INFO: ==18451== Releasing lock...
[2025-01-09 08:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:56:02] Production.INFO: ==18453== Lock acquired, processing the job...
[2025-01-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:56:02] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-01-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:56:02] Production.INFO: ==18455== Releasing lock...
[2025-01-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:56:02] Production.INFO: ==18453== Releasing lock...
[2025-01-09 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:56:03] Production.INFO: ==18458== Lock acquired, processing the job...
[2025-01-09 03:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:56:03] Production.INFO: ==18462== Lock acquired, processing the job...
[2025-01-09 03:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:56:03] Production.INFO: ==18466== Lock acquired, processing the job...
[2025-01-09 03:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:56:03] Production.INFO: ==18460== Lock acquired, processing the job...
[2025-01-09 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:56:03] Production.INFO: ==18464== Lock acquired, processing the job...
[2025-01-09 03:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:56:03] Production.INFO: ==18468== Lock acquired, processing the job...
[2025-01-09 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:56:03] Production.INFO: Account Balance Start.
[2025-01-09 03:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:56:03] Production.INFO: 117
[2025-01-09 03:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:56:04] Production.ERROR: done
[2025-01-09 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:56:04] Production.INFO: Total Charge 0
[2025-01-09 03:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:56:04] Production.INFO: CreateAllLog End
[2025-01-09 03:56:04] Production.INFO: count ==21
[2025-01-09 03:56:04] Production.ERROR: done
[2025-01-09 03:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:56:04] Production.INFO: count ==21
[2025-01-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206963') start
[2025-01-09 03:56:04] Production.INFO: Account Balance End.
[2025-01-09 03:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:56:04] Production.INFO: ==18464== Releasing lock...
[2025-01-09 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206963') end
[2025-01-09 03:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:56:04] Production.INFO: 1
[2025-01-09 03:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:56:04] Production.INFO: ==18460== Releasing lock...
[2025-01-09 03:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:56:04] Production.INFO: ==18468== Releasing lock...
[2025-01-09 03:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:56:05
[end_date_ymd] => 2025-01-09 03:56:05
[RateCDR] => 1
)
[2025-01-09 03:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:56:05' and `end` < '2025-01-09 03:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:56:12] Production.ERROR: CronJobId end10
[2025-01-09 03:56:12] Production.INFO: ==18462== Releasing lock...
[2025-01-09 03:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:56:14] Production.INFO: call_cost start
[2025-01-09 03:56:14] Production.INFO: call_cost end
[2025-01-09 03:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:56:15] Production.INFO: ==18458== Releasing lock...
[2025-01-09 03:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:56:19] Production.INFO: count ==141
[2025-01-09 03:56:19] Production.ERROR: pbx CDR StartTime 2025-01-09 00:56:05 - End Time 2025-01-09 03:56:05
[2025-01-09 03:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206964', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206964', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206964', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206964', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:56:19] Production.INFO: ProcessCDR(1,14206964,1,1,2)
[2025-01-09 03:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206964,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206964,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206964', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206964', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:56:22] Production.INFO: ==18466== Releasing lock...
[2025-01-09 03:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:56:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:57:02] Production.INFO: ==18534== Lock acquired, processing the job...
[2025-01-09 08:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:57:02] Production.INFO: neon service started
[2025-01-09 08:57:02] Production.INFO: neon service started
[2025-01-09 08:57:02] Production.INFO: ==18534== Releasing lock...
[2025-01-09 08:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:57:02] Production.INFO: ==18538== Lock acquired, processing the job...
[2025-01-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:57:02] Production.INFO: ==18538== Releasing lock...
[2025-01-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:57:02] Production.INFO: ==18536== Lock acquired, processing the job...
[2025-01-09 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:57:03] Production.INFO: ==18536== Releasing lock...
[2025-01-09 03:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:57:03] Production.INFO: ==18544== Lock acquired, processing the job...
[2025-01-09 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:57:04] Production.INFO: ==18540== Lock acquired, processing the job...
[2025-01-09 03:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:57:04] Production.INFO: ==18542== Lock acquired, processing the job...
[2025-01-09 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:57:04] Production.INFO: ==18551== Lock acquired, processing the job...
[2025-01-09 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:57:04] Production.INFO: ==18547== Lock acquired, processing the job...
[2025-01-09 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:57:04] Production.INFO: ==18549== Lock acquired, processing the job...
[2025-01-09 03:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:57:04] Production.INFO: count ==21
[2025-01-09 03:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:57:04] Production.INFO: count ==21
[2025-01-09 03:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:57:04] Production.INFO: Account Balance Start.
[2025-01-09 03:57:04] Production.INFO: CreateAllLog Start
[2025-01-09 03:57:04] Production.INFO: 117
[2025-01-09 03:57:04] Production.INFO: Date 2025-01-08
[2025-01-09 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206965') start
[2025-01-09 03:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 03:57:04] Production.INFO: Total Charge 0
[2025-01-09 03:57:04] Production.INFO: CreateAllLog End
[2025-01-09 03:57:04] Production.INFO: ==18542== Releasing lock...
[2025-01-09 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206965') end
[2025-01-09 03:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:57:04] Production.INFO: 1
[2025-01-09 03:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:57:04] Production.INFO: ==18551== Releasing lock...
[2025-01-09 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:57:04] Production.INFO: Account Balance End.
[2025-01-09 03:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:57:04] Production.INFO: ==18547== Releasing lock...
[2025-01-09 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:57:04] Production.ERROR: done
[2025-01-09 03:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:57:04] Production.ERROR: done
[2025-01-09 03:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:57:05
[end_date_ymd] => 2025-01-09 03:57:05
[RateCDR] => 1
)
[2025-01-09 03:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:57:05' and `end` < '2025-01-09 03:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:57:11] Production.ERROR: CronJobId end10
[2025-01-09 03:57:11] Production.INFO: ==18544== Releasing lock...
[2025-01-09 03:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:57:14] Production.INFO: call_cost start
[2025-01-09 03:57:14] Production.INFO: call_cost end
[2025-01-09 03:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:57:14] Production.INFO: ==18540== Releasing lock...
[2025-01-09 03:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:57:18] Production.INFO: count ==140
[2025-01-09 03:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:57:05 - End Time 2025-01-09 03:57:05
[2025-01-09 03:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206969', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206969', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206969', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206969', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:57:18] Production.INFO: ProcessCDR(1,14206969,1,1,2)
[2025-01-09 03:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206969,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206969,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206969', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206969', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:57:21] Production.INFO: ==18549== Releasing lock...
[2025-01-09 03:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:57:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:58:01] Production.INFO: ==18647== Lock acquired, processing the job...
[2025-01-09 08:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:58:01] Production.INFO: neon service started
[2025-01-09 08:58:01] Production.INFO: neon service started
[2025-01-09 08:58:01] Production.INFO: ==18647== Releasing lock...
[2025-01-09 08:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:58:02] Production.INFO: ==18651== Lock acquired, processing the job...
[2025-01-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:58:02] Production.INFO: ==18651== Releasing lock...
[2025-01-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:58:02] Production.INFO: ==18649== Lock acquired, processing the job...
[2025-01-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 03:58:02] Production.INFO: ==18649== Releasing lock...
[2025-01-09 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:58:03] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-01-09 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:58:03] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-01-09 03:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:58:03] Production.INFO: Account Balance Start.
[2025-01-09 03:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 03:58:03] Production.INFO: 117
[2025-01-09 03:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 03:58:03] Production.INFO: ==18662== Lock acquired, processing the job...
[2025-01-09 03:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 03:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 03:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:58:03] Production.INFO: Total Charge 0
[2025-01-09 03:58:03] Production.INFO: CreateAllLog End
[2025-01-09 03:58:04] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-01-09 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:58:04] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-09 03:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:58:04] Production.INFO: ==18664== Lock acquired, processing the job...
[2025-01-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:58:04] Production.ERROR: done
[2025-01-09 03:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:58:04] Production.INFO: Account Balance End.
[2025-01-09 03:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:58:04] Production.INFO: count ==21
[2025-01-09 03:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 03:58:04] Production.INFO: ==18660== Releasing lock...
[2025-01-09 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:58:04] Production.INFO: count ==21
[2025-01-09 03:58:04] Production.ERROR: done
[2025-01-09 03:58:04] Production.INFO: ==18656== Releasing lock...
[2025-01-09 03:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206973') start
[2025-01-09 03:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206973') end
[2025-01-09 03:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:58:04] Production.INFO: 1
[2025-01-09 03:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:58:04] Production.INFO: ==18664== Releasing lock...
[2025-01-09 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:58:05
[end_date_ymd] => 2025-01-09 03:58:05
[RateCDR] => 1
)
[2025-01-09 03:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:58:05' and `end` < '2025-01-09 03:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:58:12] Production.ERROR: CronJobId end10
[2025-01-09 03:58:12] Production.INFO: ==18658== Releasing lock...
[2025-01-09 03:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:58:14] Production.INFO: call_cost start
[2025-01-09 03:58:14] Production.INFO: call_cost end
[2025-01-09 03:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:58:15] Production.INFO: ==18654== Releasing lock...
[2025-01-09 03:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:58:18] Production.INFO: count ==140
[2025-01-09 03:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:58:05 - End Time 2025-01-09 03:58:05
[2025-01-09 03:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206974', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206974', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206974', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206974', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:58:18] Production.INFO: ProcessCDR(1,14206974,1,1,2)
[2025-01-09 03:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206974,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206974,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206974', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206974', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:58:21] Production.INFO: ==18662== Releasing lock...
[2025-01-09 03:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:58:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 08:59:01] Production.INFO: ==18725== Lock acquired, processing the job...
[2025-01-09 08:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 08:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 08:59:01] Production.INFO: neon service started
[2025-01-09 08:59:01] Production.INFO: neon service started
[2025-01-09 08:59:01] Production.INFO: ==18725== Releasing lock...
[2025-01-09 08:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 08:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 03:59:01] Production.INFO: ==18727== Lock acquired, processing the job...
[2025-01-09 03:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:59:01] Production.INFO: ==18729== Lock acquired, processing the job...
[2025-01-09 08:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:59:01] Production.INFO: ==18729== Releasing lock...
[2025-01-09 08:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:59:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 03:59:02] Production.INFO: ==18727== Releasing lock...
[2025-01-09 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 03:59:02] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-01-09 03:59:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 03:59:02] Production.INFO: ==18740== Lock acquired, processing the job...
[2025-01-09 03:59:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 03:59:02] Production.INFO: Account Balance Start.
[2025-01-09 03:59:02] Production.INFO: CreateAllLog Start
[2025-01-09 03:59:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 03:59:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 03:59:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 03:59:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 03:59:02] Production.INFO: 117
[2025-01-09 03:59:02] Production.INFO: Date 2025-01-08
[2025-01-09 03:59:02] Production.INFO: ==18742== Lock acquired, processing the job...
[2025-01-09 03:59:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 03:59:02] Production.INFO: Reseller ==> 0
[2025-01-09 03:59:02] Production.INFO: Date 2025-01-09
[2025-01-09 03:59:02] Production.INFO: Reseller ==> 0
[2025-01-09 03:59:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 03:59:02] Production.INFO: Total Charge 0
[2025-01-09 03:59:02] Production.INFO: CreateAllLog End
[2025-01-09 03:59:02] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-09 03:59:02] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-01-09 03:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 03:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 03:59:03] Production.INFO: ==18744== Lock acquired, processing the job...
[2025-01-09 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 03:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 03:59:03] Production.INFO: count ==21
[2025-01-09 03:59:03] Production.ERROR: done
[2025-01-09 03:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 03:59:03] Production.INFO: count ==21
[2025-01-09 03:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 03:59:03] Production.INFO: Account Balance End.
[2025-01-09 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206976') start
[2025-01-09 03:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 03:59:03] Production.INFO: ==18740== Releasing lock...
[2025-01-09 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 03:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206976') end
[2025-01-09 03:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 03:59:03] Production.INFO: 1
[2025-01-09 03:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 03:59:03] Production.INFO: ==18744== Releasing lock...
[2025-01-09 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 03:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 03:59:03] Production.INFO: ==18735== Releasing lock...
[2025-01-09 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 03:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 03:59:03] Production.ERROR: done
[2025-01-09 03:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 00:59:04
[end_date_ymd] => 2025-01-09 03:59:04
[RateCDR] => 1
)
[2025-01-09 03:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 00:59:04' and `end` < '2025-01-09 03:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 03:59:09] Production.ERROR: CronJobId end10
[2025-01-09 03:59:09] Production.INFO: ==18737== Releasing lock...
[2025-01-09 03:59:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 03:59:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 03:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 03:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 03:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 03:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 03:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 03:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 03:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 03:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 03:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 03:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 03:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 03:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 03:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 03:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 03:59:12] Production.INFO: call_cost start
[2025-01-09 03:59:12] Production.INFO: call_cost end
[2025-01-09 03:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 03:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 03:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 03:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 03:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 03:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 03:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 03:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 03:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 03:59:13] Production.INFO: ==18733== Releasing lock...
[2025-01-09 03:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 03:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 03:59:17] Production.INFO: count ==140
[2025-01-09 03:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 00:59:04 - End Time 2025-01-09 03:59:04
[2025-01-09 03:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206979', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206979', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206979', 'tblTempVendorCDR_20' ) start
[2025-01-09 03:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206979', 'tblTempVendorCDR_20' ) end
[2025-01-09 03:59:18] Production.INFO: ProcessCDR(1,14206979,1,1,2)
[2025-01-09 03:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206979,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 03:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:59:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206979,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 03:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206979', 'tblTempUsageDetail_20' ) start
[2025-01-09 03:59:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206979', 'tblTempUsageDetail_20' ) end
[2025-01-09 03:59:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 03:59:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 03:59:21] Production.INFO: ==18742== Releasing lock...
[2025-01-09 03:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 03:59:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 09:00:01] Production.INFO: ==18808== Lock acquired, processing the job...
[2025-01-09 09:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:00:01] Production.INFO: neon service started
[2025-01-09 09:00:01] Production.INFO: neon service started
[2025-01-09 09:00:01] Production.INFO: ==18808== Releasing lock...
[2025-01-09 09:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:00:02] Production.INFO: ==18810== Lock acquired, processing the job...
[2025-01-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:00:02] Production.INFO: ==18812== Lock acquired, processing the job...
[2025-01-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:00:02] Production.INFO: ==18812== Releasing lock...
[2025-01-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:00:02] Production.INFO: ==18810== Releasing lock...
[2025-01-09 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:00:03] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-01-09 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 04:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 04:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 04:00:03] Production.INFO: ==18814== Releasing lock...
[2025-01-09 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 04:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 04:00:03] Production.INFO: ==18816== Lock acquired, processing the job...
[2025-01-09 04:00:03] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-01-09 04:00:03] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-01-09 04:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:00:03] Production.INFO: DBcleanup Starts.
[2025-01-09 04:00:03] Production.INFO: Usage Download Log Start.
[2025-01-09 04:00:03] Production.INFO: Usage Download Log End.
[2025-01-09 04:00:03] Production.INFO: Cronjob History Delete Start.
[2025-01-09 04:00:03] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-10','Cronjob')
[2025-01-09 04:00:03] Production.INFO: ==18820== Lock acquired, processing the job...
[2025-01-09 04:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:00:03] Production.INFO: ==18822== Lock acquired, processing the job...
[2025-01-09 04:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:00:04] Production.INFO: ==18824== Lock acquired, processing the job...
[2025-01-09 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:00:04] Production.INFO: ==18827== Lock acquired, processing the job...
[2025-01-09 04:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:00:04] Production.INFO: ==18829== Lock acquired, processing the job...
[2025-01-09 04:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:00:04] Production.INFO: ==18831== Lock acquired, processing the job...
[2025-01-09 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:00:04] Production.INFO: Account Balance Start.
[2025-01-09 04:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:00:04] Production.INFO: 117
[2025-01-09 04:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:00:04] Production.INFO: count ==21
[2025-01-09 04:00:04] Production.ERROR: done
[2025-01-09 04:00:04] Production.ERROR: done
[2025-01-09 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:00:04] Production.INFO: ==18820== Releasing lock...
[2025-01-09 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:00:04] Production.INFO: Total Charge 0
[2025-01-09 04:00:04] Production.INFO: count ==21
[2025-01-09 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206984') start
[2025-01-09 04:00:04] Production.INFO: CreateAllLog End
[2025-01-09 04:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 04:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206985', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 04:00:04] Production.ERROR: done
[2025-01-09 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206984') end
[2025-01-09 04:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:00:04] Production.INFO: 1
[2025-01-09 04:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:00:05] Production.INFO: Account Balance End.
[2025-01-09 04:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 04:00:05] Production.INFO: ==18824== Releasing lock...
[2025-01-09 04:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:00:05] Production.INFO: ==18831== Releasing lock...
[2025-01-09 04:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:00:06
[end_date_ymd] => 2025-01-09 04:00:06
[RateCDR] => 1
)
[2025-01-09 04:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:00:06' and `end` < '2025-01-09 04:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14206985', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 04:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 04:00:08] Production.INFO: ProcessCDR(1,14206985,1,1,2)
[2025-01-09 04:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14206985,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14206985,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:00:08] Production.INFO: ==18829== Releasing lock...
[2025-01-09 04:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 04:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:00:15] Production.INFO: Cronjob History Delete End.
[2025-01-09 04:00:15] Production.INFO: Job Log Delete Start.
[2025-01-09 04:00:15] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-10','Job')
[2025-01-09 04:00:15] Production.INFO: Job Log Delete End.
[2025-01-09 04:00:15] Production.INFO: Customer RateSheet History Delete Starts.
[2025-01-09 04:00:15] Production.INFO: Customer RateSheet History Delete End.
[2025-01-09 04:00:15] Production.INFO: Vendor RateSheet History Delete Start.
[2025-01-09 04:00:15] Production.INFO: Vendor RateSheet History Delete End.
[2025-01-09 04:00:15] Production.INFO: All Old Rate Delete Start
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-01-09 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-01-09 04:00:15] Production.INFO: All Old Rate Delete End
[2025-01-09 04:00:15] Production.INFO: Customer CDR Delete Start.
[2025-01-09 04:00:15] Production.INFO: Customer CDR Delete End.
[2025-01-09 04:00:15] Production.INFO: Customer Failed Call Start.
[2025-01-09 04:00:15] Production.INFO: Customer Failed Call Delete End.
[2025-01-09 04:00:15] Production.INFO: Vendor CDR Delete Start.
[2025-01-09 04:00:15] Production.INFO: Vendor CDR Delete End.
[2025-01-09 04:00:15] Production.INFO: Vendor CDR Delete Start.
[2025-01-09 04:00:15] Production.INFO: Vendor CDR Delete End.
[2025-01-09 04:00:15] Production.INFO: RateLog Delete Start.
[2025-01-09 04:00:16] Production.INFO: RateLog Delete End.
[2025-01-09 04:00:16] Production.INFO: Archive Old Rate Delete Start.
[2025-01-09 04:00:16] Production.INFO: Archive Old Rate Delete End.
[2025-01-09 04:00:16] Production.INFO: Tickets Delete Start.
[2025-01-09 04:00:16] Production.INFO: Tickets Delete End.
[2025-01-09 04:00:16] Production.INFO: DBcleanup Done.
[2025-01-09 04:00:16] Production.ERROR: CronJobId end 3
[2025-01-09 04:00:16] Production.INFO: ==18816== Releasing lock...
[2025-01-09 04:00:16] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-01-09 04:00:16] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:00:17] Production.ERROR: CronJobId end10
[2025-01-09 04:00:17] Production.INFO: ==18822== Releasing lock...
[2025-01-09 04:00:17] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:00:17] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:00:17] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:00:17] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:00:18] Production.INFO: call_cost start
[2025-01-09 04:00:18] Production.INFO: call_cost end
[2025-01-09 04:00:18] Production.INFO: count ==134
[2025-01-09 04:00:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:00:06 - End Time 2025-01-09 04:00:06
[2025-01-09 04:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206986', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206986', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206986', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206986', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:00:19] Production.INFO: ProcessCDR(1,14206986,1,1,2)
[2025-01-09 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:00:19] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:00:19] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:00:19] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:00:19] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:00:19] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:00:19] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:00:19] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:00:19] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:00:19] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:00:19] Production.INFO: ==18818== Releasing lock...
[2025-01-09 04:00:19] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:00:19] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206986', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206986', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:00:22] Production.INFO: ==18827== Releasing lock...
[2025-01-09 04:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:00:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:01:02] Production.INFO: ==18889== Lock acquired, processing the job...
[2025-01-09 09:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:01:02] Production.INFO: neon service started
[2025-01-09 09:01:02] Production.INFO: neon service started
[2025-01-09 09:01:02] Production.INFO: ==18889== Releasing lock...
[2025-01-09 09:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:01:02] Production.INFO: ==18901== Lock acquired, processing the job...
[2025-01-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:01:02] Production.INFO: ==18901== Releasing lock...
[2025-01-09 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:01:02] Production.INFO: ==18903== Lock acquired, processing the job...
[2025-01-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:01:03] Production.INFO: ==18903== Releasing lock...
[2025-01-09 09:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:01:03] Production.INFO: ==18905== Lock acquired, processing the job...
[2025-01-09 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:01:03] Production.INFO: ==18907== Lock acquired, processing the job...
[2025-01-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:01:03] Production.INFO: ==18911== Lock acquired, processing the job...
[2025-01-09 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:01:03] Production.INFO: Account Balance Start.
[2025-01-09 04:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:01:03] Production.INFO: 117
[2025-01-09 04:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:01:03] Production.INFO: Total Charge 0
[2025-01-09 04:01:03] Production.INFO: ==18907== Releasing lock...
[2025-01-09 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:01:03] Production.INFO: CreateAllLog End
[2025-01-09 04:01:04] Production.INFO: ==18909== Lock acquired, processing the job...
[2025-01-09 04:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:01:04] Production.INFO: ==18913== Lock acquired, processing the job...
[2025-01-09 04:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:01:04] Production.INFO: Account Balance End.
[2025-01-09 04:01:04] Production.INFO: ==18915== Lock acquired, processing the job...
[2025-01-09 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:01:04] Production.INFO: ==18911== Releasing lock...
[2025-01-09 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 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-01-09 04:01:04] Production.INFO: count ==21
[2025-01-09 04:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:01:04] Production.INFO: count ==21
[2025-01-09 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206990') start
[2025-01-09 04:01:04] Production.ERROR: done
[2025-01-09 04:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14206990') end
[2025-01-09 04:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:01:04] Production.INFO: 1
[2025-01-09 04:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:01:04] Production.INFO: ==18915== Releasing lock...
[2025-01-09 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:01:04] Production.ERROR: done
[2025-01-09 04:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:01:05
[end_date_ymd] => 2025-01-09 04:01:05
[RateCDR] => 1
)
[2025-01-09 04:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:01:05' and `end` < '2025-01-09 04:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:01:12] Production.ERROR: CronJobId end10
[2025-01-09 04:01:12] Production.INFO: ==18909== Releasing lock...
[2025-01-09 04:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:01:13] Production.INFO: call_cost start
[2025-01-09 04:01:13] Production.INFO: call_cost end
[2025-01-09 04:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:01:14] Production.INFO: ==18905== Releasing lock...
[2025-01-09 04:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:01:19] Production.INFO: count ==124
[2025-01-09 04:01:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:01:05 - End Time 2025-01-09 04:01:05
[2025-01-09 04:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206991', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206991', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206991', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206991', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:01:19] Production.INFO: ProcessCDR(1,14206991,1,1,2)
[2025-01-09 04:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206991', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206991', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:01:22] Production.INFO: ==18913== Releasing lock...
[2025-01-09 04:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:01:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:02:01] Production.INFO: ==18983== Lock acquired, processing the job...
[2025-01-09 09:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:02:01] Production.INFO: neon service started
[2025-01-09 09:02:01] Production.INFO: neon service started
[2025-01-09 09:02:01] Production.INFO: ==18983== Releasing lock...
[2025-01-09 09:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:02:02] Production.INFO: ==18985== Lock acquired, processing the job...
[2025-01-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:02:02] Production.INFO: ==18985== Releasing lock...
[2025-01-09 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:02:02] Production.INFO: ==18987== Lock acquired, processing the job...
[2025-01-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:02:02] Production.INFO: ==18987== Releasing lock...
[2025-01-09 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:02:03] Production.INFO: ==18991== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:02:03] Production.INFO: ==18993== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:02:03] Production.INFO: ==18997== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:02:03] Production.INFO: ==18995== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:02:03] Production.INFO: ==18989== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:02:03] Production.INFO: Account Balance Start.
[2025-01-09 04:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:02:03] Production.INFO: 117
[2025-01-09 04:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:02:03] Production.INFO: ==18999== Lock acquired, processing the job...
[2025-01-09 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:02:03] Production.INFO: Total Charge 0
[2025-01-09 04:02:03] Production.INFO: CreateAllLog End
[2025-01-09 04:02:03] Production.INFO: ==18991== Releasing lock...
[2025-01-09 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:02:03] Production.INFO: count ==21
[2025-01-09 04:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:02:03] Production.INFO: Account Balance End.
[2025-01-09 04:02:03] Production.INFO: count ==21
[2025-01-09 04:02:03] Production.ERROR: done
[2025-01-09 04:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:02:03] Production.INFO: ==18995== Releasing lock...
[2025-01-09 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206994') start
[2025-01-09 04:02:03] Production.ERROR: done
[2025-01-09 04:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14206994') end
[2025-01-09 04:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:02:03] Production.INFO: 1
[2025-01-09 04:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:02:03] Production.INFO: ==18999== Releasing lock...
[2025-01-09 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:02:04
[end_date_ymd] => 2025-01-09 04:02:04
[RateCDR] => 1
)
[2025-01-09 04:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:02:04' and `end` < '2025-01-09 04:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:02:11] Production.ERROR: CronJobId end10
[2025-01-09 04:02:11] Production.INFO: ==18993== Releasing lock...
[2025-01-09 04:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:02:13] Production.INFO: call_cost start
[2025-01-09 04:02:13] Production.INFO: call_cost end
[2025-01-09 04:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:02:14] Production.INFO: ==18989== Releasing lock...
[2025-01-09 04:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:02:18] Production.INFO: count ==124
[2025-01-09 04:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:02:04 - End Time 2025-01-09 04:02:04
[2025-01-09 04:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206996', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14206996', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206996', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14206996', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:02:18] Production.INFO: ProcessCDR(1,14206996,1,1,2)
[2025-01-09 04:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14206996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14206996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14206996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14206996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206996', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14206996', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:02:21] Production.INFO: ==18997== Releasing lock...
[2025-01-09 04:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:02:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:03:02] Production.INFO: ==19061== Lock acquired, processing the job...
[2025-01-09 09:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:03:02] Production.INFO: neon service started
[2025-01-09 09:03:02] Production.INFO: neon service started
[2025-01-09 09:03:02] Production.INFO: ==19061== Releasing lock...
[2025-01-09 09:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:03:02] Production.INFO: ==19063== Lock acquired, processing the job...
[2025-01-09 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:03:02] Production.INFO: ==19065== Lock acquired, processing the job...
[2025-01-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:03:02] Production.INFO: ==19065== Releasing lock...
[2025-01-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:03:03] Production.INFO: ==19063== Releasing lock...
[2025-01-09 04:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:03:03] Production.INFO: ==19068== Lock acquired, processing the job...
[2025-01-09 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:03:03] Production.INFO: ==19070== Lock acquired, processing the job...
[2025-01-09 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:03:03] Production.INFO: ==19074== Lock acquired, processing the job...
[2025-01-09 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:03:03] Production.INFO: ==19072== Lock acquired, processing the job...
[2025-01-09 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:03:04] Production.INFO: ==19078== Lock acquired, processing the job...
[2025-01-09 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:03:04] Production.INFO: Account Balance Start.
[2025-01-09 04:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:03:04] Production.INFO: 117
[2025-01-09 04:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 04:03:04] Production.INFO: ==19070== Releasing lock...
[2025-01-09 04:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:03:04] Production.INFO: ==19076== Lock acquired, processing the job...
[2025-01-09 04:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:03:04] Production.INFO: Total Charge 0
[2025-01-09 04:03:04] Production.INFO: count ==21
[2025-01-09 04:03:04] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 04:03:04] Production.INFO: count ==21
[2025-01-09 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207000') start
[2025-01-09 04:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207000') end
[2025-01-09 04:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:03:04] Production.INFO: 1
[2025-01-09 04:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:03:04] Production.INFO: ==19078== Releasing lock...
[2025-01-09 04:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:03:04] Production.INFO: Account Balance End.
[2025-01-09 04:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:03:04] Production.INFO: ==19074== Releasing lock...
[2025-01-09 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:03:04] Production.ERROR: done
[2025-01-09 04:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:03:04] Production.ERROR: done
[2025-01-09 04:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:03:05
[end_date_ymd] => 2025-01-09 04:03:05
[RateCDR] => 1
)
[2025-01-09 04:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:03:05' and `end` < '2025-01-09 04:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:03:11] Production.ERROR: CronJobId end10
[2025-01-09 04:03:11] Production.INFO: ==19072== Releasing lock...
[2025-01-09 04:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:03:13] Production.INFO: call_cost start
[2025-01-09 04:03:13] Production.INFO: call_cost end
[2025-01-09 04:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:03:13] Production.INFO: ==19068== Releasing lock...
[2025-01-09 04:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:03:18] Production.INFO: count ==124
[2025-01-09 04:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:03:05 - End Time 2025-01-09 04:03:05
[2025-01-09 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207001', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207001', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207001', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207001', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:03:18] Production.INFO: ProcessCDR(1,14207001,1,1,2)
[2025-01-09 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207001', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207001', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:03:21] Production.INFO: ==19076== Releasing lock...
[2025-01-09 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:03:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:04:01] Production.INFO: ==19134== Lock acquired, processing the job...
[2025-01-09 09:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:04:01] Production.INFO: neon service started
[2025-01-09 09:04:01] Production.INFO: neon service started
[2025-01-09 09:04:01] Production.INFO: ==19134== Releasing lock...
[2025-01-09 09:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:04:01] Production.INFO: ==19136== Lock acquired, processing the job...
[2025-01-09 04:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:04:02] Production.INFO: ==19136== Releasing lock...
[2025-01-09 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:04:02] Production.INFO: ==19138== Lock acquired, processing the job...
[2025-01-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:04:02] Production.INFO: ==19138== Releasing lock...
[2025-01-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:04:03] Production.INFO: ==19144== Lock acquired, processing the job...
[2025-01-09 04:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:04:03] Production.INFO: ==19140== Lock acquired, processing the job...
[2025-01-09 04:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:04:03] Production.INFO: ==19150== Lock acquired, processing the job...
[2025-01-09 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:04:03] Production.INFO: ==19142== Lock acquired, processing the job...
[2025-01-09 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:04:03] Production.INFO: count ==21
[2025-01-09 04:04:03] Production.INFO: ==19146== Lock acquired, processing the job...
[2025-01-09 04:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:04:03] Production.INFO: count ==21
[2025-01-09 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207002') start
[2025-01-09 04:04:03] Production.INFO: ==19148== Lock acquired, processing the job...
[2025-01-09 04:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:04:03] Production.INFO: Account Balance Start.
[2025-01-09 04:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207002') end
[2025-01-09 04:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:04:03] Production.INFO: 1
[2025-01-09 04:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:04:03] Production.INFO: 117
[2025-01-09 04:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:04:03] Production.INFO: ==19150== Releasing lock...
[2025-01-09 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:04:03] Production.INFO: Total Charge 0
[2025-01-09 04:04:03] Production.INFO: CreateAllLog End
[2025-01-09 04:04:03] Production.INFO: ==19142== Releasing lock...
[2025-01-09 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:04:03] Production.ERROR: done
[2025-01-09 04:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:04:04] Production.INFO: Account Balance End.
[2025-01-09 04:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:04:04] Production.INFO: ==19146== Releasing lock...
[2025-01-09 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:04:04] Production.ERROR: done
[2025-01-09 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:04:05
[end_date_ymd] => 2025-01-09 04:04:05
[RateCDR] => 1
)
[2025-01-09 04:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:04:05' and `end` < '2025-01-09 04:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:04:09] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-01-09 04:04:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:04:09] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:04:09] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:04:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:04:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:04:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:04:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:04:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:04:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:04:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:04:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:04:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:04:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:04:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:04:10] Production.INFO: call_cost start
[2025-01-09 04:04:10] Production.INFO: call_cost end
[2025-01-09 04:04:10] Production.ERROR: CronJobId end10
[2025-01-09 04:04:10] Production.INFO: ==19144== Releasing lock...
[2025-01-09 04:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:04:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:04:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:04:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:04:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:04:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:04:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:04:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:04:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:04:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:04:11] Production.INFO: ==19140== Releasing lock...
[2025-01-09 04:04:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:04:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:04:17] Production.INFO: count ==124
[2025-01-09 04:04:17] Production.ERROR: pbx CDR StartTime 2025-01-09 01:04:05 - End Time 2025-01-09 04:04:05
[2025-01-09 04:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207006', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207006', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207006', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207006', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:04:17] Production.INFO: ProcessCDR(1,14207006,1,1,2)
[2025-01-09 04:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207006', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207006', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:04:21] Production.INFO: ==19148== Releasing lock...
[2025-01-09 04:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:04:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:05:01] Production.INFO: ==19216== Lock acquired, processing the job...
[2025-01-09 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:05:01] Production.INFO: neon service started
[2025-01-09 09:05:02] Production.INFO: neon service started
[2025-01-09 09:05:02] Production.INFO: ==19216== Releasing lock...
[2025-01-09 09:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:05:02] Production.INFO: ==19218== Lock acquired, processing the job...
[2025-01-09 09:05:02] Production.INFO: ==19220== Lock acquired, processing the job...
[2025-01-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:05:02] Production.INFO: ==19220== Releasing lock...
[2025-01-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:05:02] Production.INFO: ==19218== Releasing lock...
[2025-01-09 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:05:03] Production.INFO: ==19224== Lock acquired, processing the job...
[2025-01-09 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:05:03] Production.INFO: ==19222== Lock acquired, processing the job...
[2025-01-09 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:05:03] Production.INFO: ==19230== Lock acquired, processing the job...
[2025-01-09 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:05:03] Production.INFO: ==19226== Lock acquired, processing the job...
[2025-01-09 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:05:03] Production.INFO: ==19228== Lock acquired, processing the job...
[2025-01-09 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:05:03] Production.INFO: ==19224== Releasing lock...
[2025-01-09 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:05:03] Production.INFO: ==19233== Lock acquired, processing the job...
[2025-01-09 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:05:04] Production.ERROR: done
[2025-01-09 04:05:04] Production.INFO: count ==21
[2025-01-09 04:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:05:04] Production.INFO: count ==21
[2025-01-09 04:05:04] Production.INFO: Account Balance Start.
[2025-01-09 04:05:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:05:04] Production.INFO: 117
[2025-01-09 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207009') start
[2025-01-09 04:05:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:05:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:05:04] Production.ERROR: done
[2025-01-09 04:05:04] Production.INFO: Total Charge 0
[2025-01-09 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207009') end
[2025-01-09 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:05:04] Production.INFO: 1
[2025-01-09 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:05:04] Production.INFO: CreateAllLog End
[2025-01-09 04:05:04] Production.INFO: ==19233== Releasing lock...
[2025-01-09 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:05:04] Production.INFO: Account Balance End.
[2025-01-09 04:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:05:04] Production.INFO: ==19228== Releasing lock...
[2025-01-09 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:05:05
[end_date_ymd] => 2025-01-09 04:05:05
[RateCDR] => 1
)
[2025-01-09 04:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:05:05' and `end` < '2025-01-09 04:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:05:10] Production.ERROR: CronJobId end10
[2025-01-09 04:05:10] Production.INFO: ==19226== Releasing lock...
[2025-01-09 04:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:05:12] Production.INFO: call_cost start
[2025-01-09 04:05:12] Production.INFO: call_cost end
[2025-01-09 04:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:05:13] Production.INFO: ==19222== Releasing lock...
[2025-01-09 04:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:05:18] Production.INFO: count ==124
[2025-01-09 04:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:05:05 - End Time 2025-01-09 04:05:05
[2025-01-09 04:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207011', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207011', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207011', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207011', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:05:18] Production.INFO: ProcessCDR(1,14207011,1,1,2)
[2025-01-09 04:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207011', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207011', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:05:21] Production.INFO: ==19230== Releasing lock...
[2025-01-09 04:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:05:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:06:01] Production.INFO: ==19287== Lock acquired, processing the job...
[2025-01-09 09:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:06:01] Production.INFO: neon service started
[2025-01-09 09:06:01] Production.INFO: neon service started
[2025-01-09 09:06:01] Production.INFO: ==19287== Releasing lock...
[2025-01-09 09:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:06:01] Production.INFO: ==19291== Lock acquired, processing the job...
[2025-01-09 09:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:06:01] Production.INFO: ==19291== Releasing lock...
[2025-01-09 09:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:06:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:06:01] Production.INFO: ==19289== Lock acquired, processing the job...
[2025-01-09 04:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:06:02] Production.INFO: ==19289== Releasing lock...
[2025-01-09 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:06:02] Production.INFO: ==19293== Lock acquired, processing the job...
[2025-01-09 04:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:06:03] Production.INFO: ==19303== Lock acquired, processing the job...
[2025-01-09 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:06:03] Production.INFO: ==19295== Lock acquired, processing the job...
[2025-01-09 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:06:03] Production.INFO: ==19297== Lock acquired, processing the job...
[2025-01-09 04:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:06:03] Production.INFO: ==19299== Lock acquired, processing the job...
[2025-01-09 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:06:03] Production.INFO: ==19301== Lock acquired, processing the job...
[2025-01-09 04:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:06:03] Production.INFO: count ==21
[2025-01-09 04:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:06:03] Production.INFO: count ==21
[2025-01-09 04:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207013') start
[2025-01-09 04:06:03] Production.INFO: Account Balance Start.
[2025-01-09 04:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:06:03] Production.INFO: 117
[2025-01-09 04:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207013') end
[2025-01-09 04:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:06:03] Production.INFO: 1
[2025-01-09 04:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:06:03] Production.INFO: ==19303== Releasing lock...
[2025-01-09 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:06:03] Production.INFO: ==19295== Releasing lock...
[2025-01-09 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:06:03] Production.INFO: Total Charge 0
[2025-01-09 04:06:03] Production.INFO: CreateAllLog End
[2025-01-09 04:06:03] Production.ERROR: done
[2025-01-09 04:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:06:03] Production.INFO: Account Balance End.
[2025-01-09 04:06:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:06:03] Production.INFO: ==19299== Releasing lock...
[2025-01-09 04:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:06:04] Production.ERROR: done
[2025-01-09 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:06:05
[end_date_ymd] => 2025-01-09 04:06:05
[RateCDR] => 1
)
[2025-01-09 04:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:06:05' and `end` < '2025-01-09 04:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:06:10] Production.ERROR: CronJobId end10
[2025-01-09 04:06:10] Production.INFO: ==19297== Releasing lock...
[2025-01-09 04:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:06:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:06:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:06:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:06:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:06:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:06:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:06:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:06:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:06:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:06:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:06:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:06:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:06:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:06:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:06:12] Production.INFO: call_cost start
[2025-01-09 04:06:12] Production.INFO: call_cost end
[2025-01-09 04:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:06:13] Production.INFO: ==19293== Releasing lock...
[2025-01-09 04:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:06:18] Production.INFO: count ==124
[2025-01-09 04:06:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:06:05 - End Time 2025-01-09 04:06:05
[2025-01-09 04:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207016', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207016', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207016', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207016', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:06:18] Production.INFO: ProcessCDR(1,14207016,1,1,2)
[2025-01-09 04:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207016', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207016', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:06:22] Production.INFO: ==19301== Releasing lock...
[2025-01-09 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:06:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:07:01] Production.INFO: ==19360== Lock acquired, processing the job...
[2025-01-09 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:07:02] Production.INFO: neon service started
[2025-01-09 09:07:02] Production.INFO: neon service started
[2025-01-09 09:07:02] Production.INFO: ==19360== Releasing lock...
[2025-01-09 09:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:07:02] Production.INFO: ==19362== Lock acquired, processing the job...
[2025-01-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:07:02] Production.INFO: ==19364== Lock acquired, processing the job...
[2025-01-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:07:02] Production.INFO: ==19364== Releasing lock...
[2025-01-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:07:02] Production.INFO: ==19362== Releasing lock...
[2025-01-09 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:07:03] Production.INFO: ==19372== Lock acquired, processing the job...
[2025-01-09 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:07:03] Production.INFO: ==19366== Lock acquired, processing the job...
[2025-01-09 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:07:03] Production.INFO: ==19374== Lock acquired, processing the job...
[2025-01-09 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:07:03] Production.INFO: Account Balance Start.
[2025-01-09 04:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:07:03] Production.INFO: 117
[2025-01-09 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:07:03] Production.INFO: ==19368== Lock acquired, processing the job...
[2025-01-09 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:07:03] Production.INFO: ==19370== Lock acquired, processing the job...
[2025-01-09 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:07:03] Production.INFO: Total Charge 0
[2025-01-09 04:07:03] Production.INFO: ==19376== Lock acquired, processing the job...
[2025-01-09 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:07:03] Production.INFO: CreateAllLog End
[2025-01-09 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:07:03] Production.INFO: Account Balance End.
[2025-01-09 04:07:03] Production.INFO: count ==21
[2025-01-09 04:07:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:07:03] Production.INFO: ==19372== Releasing lock...
[2025-01-09 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:07:03] Production.INFO: count ==21
[2025-01-09 04:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207019') start
[2025-01-09 04:07:04] Production.ERROR: done
[2025-01-09 04:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207019') end
[2025-01-09 04:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:07:04] Production.INFO: 1
[2025-01-09 04:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:07:04] Production.ERROR: done
[2025-01-09 04:07:04] Production.INFO: ==19368== Releasing lock...
[2025-01-09 04:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:07:04] Production.INFO: ==19376== Releasing lock...
[2025-01-09 04:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:07:05
[end_date_ymd] => 2025-01-09 04:07:05
[RateCDR] => 1
)
[2025-01-09 04:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:07:05' and `end` < '2025-01-09 04:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:07:11] Production.ERROR: CronJobId end10
[2025-01-09 04:07:11] Production.INFO: ==19370== Releasing lock...
[2025-01-09 04:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:07:13] Production.INFO: call_cost start
[2025-01-09 04:07:13] Production.INFO: call_cost end
[2025-01-09 04:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:07:13] Production.INFO: ==19366== Releasing lock...
[2025-01-09 04:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:07:18] Production.INFO: count ==124
[2025-01-09 04:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:07:05 - End Time 2025-01-09 04:07:05
[2025-01-09 04:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207021', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207021', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207021', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207021', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:07:18] Production.INFO: ProcessCDR(1,14207021,1,1,2)
[2025-01-09 04:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207021', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207021', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:07:21] Production.INFO: ==19374== Releasing lock...
[2025-01-09 04:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:07:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:08:01] Production.INFO: ==19433== Lock acquired, processing the job...
[2025-01-09 09:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:08:01] Production.INFO: neon service started
[2025-01-09 09:08:01] Production.INFO: neon service started
[2025-01-09 09:08:01] Production.INFO: ==19433== Releasing lock...
[2025-01-09 09:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:08:02] Production.INFO: ==19437== Lock acquired, processing the job...
[2025-01-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:08:02] Production.INFO: ==19437== Releasing lock...
[2025-01-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:08:02] Production.INFO: ==19435== Lock acquired, processing the job...
[2025-01-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:08:02] Production.INFO: ==19435== Releasing lock...
[2025-01-09 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:08:03] Production.INFO: ==19440== Lock acquired, processing the job...
[2025-01-09 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:08:03] Production.INFO: ==19444== Lock acquired, processing the job...
[2025-01-09 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:08:03] Production.INFO: ==19446== Lock acquired, processing the job...
[2025-01-09 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:08:03] Production.INFO: Account Balance Start.
[2025-01-09 04:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:08:03] Production.INFO: 117
[2025-01-09 04:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:08:03] Production.INFO: Total Charge 0
[2025-01-09 04:08:03] Production.INFO: CreateAllLog End
[2025-01-09 04:08:03] Production.INFO: ==19442== Lock acquired, processing the job...
[2025-01-09 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:08:03] Production.INFO: Account Balance End.
[2025-01-09 04:08:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:08:03] Production.INFO: ==19446== Releasing lock...
[2025-01-09 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:08:03] Production.INFO: ==19448== Lock acquired, processing the job...
[2025-01-09 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:08:03] Production.INFO: ==19450== Lock acquired, processing the job...
[2025-01-09 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:08:03] Production.INFO: count ==21
[2025-01-09 04:08:03] Production.INFO: ==19442== Releasing lock...
[2025-01-09 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:08:03] Production.INFO: count ==21
[2025-01-09 04:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207025') start
[2025-01-09 04:08:04] Production.ERROR: done
[2025-01-09 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207025') end
[2025-01-09 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:08:04] Production.INFO: 1
[2025-01-09 04:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:08:04] Production.INFO: ==19450== Releasing lock...
[2025-01-09 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:08:04] Production.ERROR: done
[2025-01-09 04:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:08:04
[end_date_ymd] => 2025-01-09 04:08:04
[RateCDR] => 1
)
[2025-01-09 04:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:08:04' and `end` < '2025-01-09 04:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:08:11] Production.ERROR: CronJobId end10
[2025-01-09 04:08:11] Production.INFO: ==19444== Releasing lock...
[2025-01-09 04:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:08:12] Production.INFO: call_cost start
[2025-01-09 04:08:12] Production.INFO: call_cost end
[2025-01-09 04:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:08:13] Production.INFO: ==19440== Releasing lock...
[2025-01-09 04:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:08:17] Production.INFO: count ==124
[2025-01-09 04:08:17] Production.ERROR: pbx CDR StartTime 2025-01-09 01:08:04 - End Time 2025-01-09 04:08:04
[2025-01-09 04:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207026', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207026', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207026', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207026', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:08:17] Production.INFO: ProcessCDR(1,14207026,1,1,2)
[2025-01-09 04:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:08:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:08:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:08:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207026', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:08:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207026', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:08:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:08:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:08:20] Production.INFO: ==19448== Releasing lock...
[2025-01-09 04:08:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:08:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:09:01] Production.INFO: ==19508== Lock acquired, processing the job...
[2025-01-09 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:09:01] Production.INFO: neon service started
[2025-01-09 09:09:01] Production.INFO: neon service started
[2025-01-09 09:09:01] Production.INFO: ==19508== Releasing lock...
[2025-01-09 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:09:02] Production.INFO: ==19512== Lock acquired, processing the job...
[2025-01-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:09:02] Production.INFO: ==19512== Releasing lock...
[2025-01-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:09:02] Production.INFO: ==19510== Lock acquired, processing the job...
[2025-01-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:09:02] Production.INFO: ==19510== Releasing lock...
[2025-01-09 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:09:03] Production.INFO: ==19515== Lock acquired, processing the job...
[2025-01-09 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:09:03] Production.INFO: ==19519== Lock acquired, processing the job...
[2025-01-09 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:09:03] Production.INFO: ==19523== Lock acquired, processing the job...
[2025-01-09 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:09:03] Production.INFO: ==19517== Lock acquired, processing the job...
[2025-01-09 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:09:03] Production.INFO: ==19521== Lock acquired, processing the job...
[2025-01-09 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:09:03] Production.INFO: ==19525== Lock acquired, processing the job...
[2025-01-09 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:09:03] Production.ERROR: done
[2025-01-09 04:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:09:03] Production.INFO: Account Balance Start.
[2025-01-09 04:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:09:03] Production.INFO: 117
[2025-01-09 04:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:09:04] Production.ERROR: done
[2025-01-09 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:09:04] Production.INFO: ==19517== Releasing lock...
[2025-01-09 04:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:09:04] Production.INFO: Total Charge 0
[2025-01-09 04:09:04] Production.INFO: CreateAllLog End
[2025-01-09 04:09:04] Production.INFO: count ==21
[2025-01-09 04:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:09:04] Production.INFO: count ==21
[2025-01-09 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207030') start
[2025-01-09 04:09:04] Production.INFO: Account Balance End.
[2025-01-09 04:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:09:04] Production.INFO: ==19521== Releasing lock...
[2025-01-09 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207030') end
[2025-01-09 04:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:09:04] Production.INFO: 1
[2025-01-09 04:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:09:04] Production.INFO: ==19525== Releasing lock...
[2025-01-09 04:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:09:04
[end_date_ymd] => 2025-01-09 04:09:04
[RateCDR] => 1
)
[2025-01-09 04:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:09:04' and `end` < '2025-01-09 04:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:09:10] Production.ERROR: CronJobId end10
[2025-01-09 04:09:10] Production.INFO: ==19519== Releasing lock...
[2025-01-09 04:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:09:13] Production.INFO: call_cost start
[2025-01-09 04:09:13] Production.INFO: call_cost end
[2025-01-09 04:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:09:14] Production.INFO: ==19515== Releasing lock...
[2025-01-09 04:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:09:18] Production.INFO: count ==124
[2025-01-09 04:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:09:04 - End Time 2025-01-09 04:09:04
[2025-01-09 04:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207031', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207031', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207031', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207031', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:09:18] Production.INFO: ProcessCDR(1,14207031,1,1,2)
[2025-01-09 04:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207031', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207031', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:09:21] Production.INFO: ==19523== Releasing lock...
[2025-01-09 04:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:09:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:10:02] Production.INFO: ==19583== Lock acquired, processing the job...
[2025-01-09 09:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:10:02] Production.INFO: neon service started
[2025-01-09 09:10:02] Production.INFO: neon service started
[2025-01-09 09:10:02] Production.INFO: ==19583== Releasing lock...
[2025-01-09 09:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:10:03] Production.INFO: ==19585== Lock acquired, processing the job...
[2025-01-09 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:10:03] Production.INFO: ==19587== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:10:03] Production.INFO: ==19587== Releasing lock...
[2025-01-09 09:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:10:03] Production.INFO: ==19585== Releasing lock...
[2025-01-09 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:10:04] Production.INFO: ==19590== Lock acquired, processing the job...
[2025-01-09 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 04:10:04] Production.INFO: ==19594== Lock acquired, processing the job...
[2025-01-09 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 04:10:04] Production.INFO: ==19590== Releasing lock...
[2025-01-09 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 04:10:04] Production.INFO: ==19596== Lock acquired, processing the job...
[2025-01-09 04:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:10:04] Production.INFO: ==19602== Lock acquired, processing the job...
[2025-01-09 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:10:04] Production.INFO: ==19592== Lock acquired, processing the job...
[2025-01-09 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:10:05] Production.INFO: ==19598== Lock acquired, processing the job...
[2025-01-09 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:10:05] Production.INFO: ==19594== Releasing lock...
[2025-01-09 04:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:10:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:10:05] Production.INFO: ==19604== Lock acquired, processing the job...
[2025-01-09 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:10:05] Production.INFO: ==19600== Lock acquired, processing the job...
[2025-01-09 04:10:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:10:05] Production.ERROR: done
[2025-01-09 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207034', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 04:10:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:10:05] Production.INFO: Account Balance Start.
[2025-01-09 04:10:05] Production.INFO: CreateAllLog Start
[2025-01-09 04:10:05] Production.INFO: 117
[2025-01-09 04:10:05] Production.INFO: Date 2025-01-08
[2025-01-09 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-01-09 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-09 04:10:05] Production.INFO: count ==21
[2025-01-09 04:10:05] Production.INFO: Date 2025-01-09
[2025-01-09 04:10:05] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 04:10:05] Production.INFO: count ==21
[2025-01-09 04:10:05] Production.INFO: Total Charge 0
[2025-01-09 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207036') start
[2025-01-09 04:10:05] Production.INFO: CreateAllLog End
[2025-01-09 04:10:05] Production.ERROR: done
[2025-01-09 04:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207036') end
[2025-01-09 04:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:10:05] Production.INFO: 1
[2025-01-09 04:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:10:05] Production.INFO: Account Balance End.
[2025-01-09 04:10:05] Production.INFO: ==19604== Releasing lock...
[2025-01-09 04:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 04:10:05] Production.INFO: ==19598== Releasing lock...
[2025-01-09 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:10:05] Production.ERROR: done
[2025-01-09 04:10:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:10:07
[end_date_ymd] => 2025-01-09 04:10:07
[RateCDR] => 1
)
[2025-01-09 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-01-09 01:10:07' and `end` < '2025-01-09 04:10:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207034', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 04:10:09] Production.INFO: ProcessCDR(1,14207034,1,1,2)
[2025-01-09 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207034,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207034,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:10:09] Production.INFO: ==19602== Releasing lock...
[2025-01-09 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 04:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:10:13] Production.ERROR: CronJobId end10
[2025-01-09 04:10:13] Production.INFO: ==19596== Releasing lock...
[2025-01-09 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:10:16] Production.INFO: call_cost start
[2025-01-09 04:10:16] Production.INFO: call_cost end
[2025-01-09 04:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:10:17] Production.INFO: ==19592== Releasing lock...
[2025-01-09 04:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:10:19] Production.INFO: count ==115
[2025-01-09 04:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:10:07 - End Time 2025-01-09 04:10:07
[2025-01-09 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207037', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207037', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207037', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207037', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:10:19] Production.INFO: ProcessCDR(1,14207037,1,1,2)
[2025-01-09 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207037', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207037', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:10:23] Production.INFO: ==19600== Releasing lock...
[2025-01-09 04:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:10:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:11:01] Production.INFO: ==19657== Lock acquired, processing the job...
[2025-01-09 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:11:01] Production.INFO: neon service started
[2025-01-09 09:11:01] Production.INFO: neon service started
[2025-01-09 09:11:01] Production.INFO: ==19657== Releasing lock...
[2025-01-09 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:11:02] Production.INFO: ==19659== Lock acquired, processing the job...
[2025-01-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:11:02] Production.INFO: ==19659== Releasing lock...
[2025-01-09 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:11:02] Production.INFO: ==19661== Lock acquired, processing the job...
[2025-01-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:11:02] Production.INFO: ==19661== Releasing lock...
[2025-01-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:11:03] Production.INFO: ==19669== Lock acquired, processing the job...
[2025-01-09 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:11:03] Production.INFO: Account Balance Start.
[2025-01-09 04:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:11:03] Production.INFO: 117
[2025-01-09 04:11:03] Production.INFO: ==19673== Lock acquired, processing the job...
[2025-01-09 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:11:03] Production.INFO: ==19663== Lock acquired, processing the job...
[2025-01-09 04:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:11:03] Production.INFO: ==19665== Lock acquired, processing the job...
[2025-01-09 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:11:03] Production.INFO: Total Charge 0
[2025-01-09 04:11:03] Production.INFO: CreateAllLog End
[2025-01-09 04:11:03] Production.INFO: ==19667== Lock acquired, processing the job...
[2025-01-09 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:11:03] Production.INFO: ==19671== Lock acquired, processing the job...
[2025-01-09 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:11:03] Production.INFO: count ==21
[2025-01-09 04:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:11:03] Production.INFO: Account Balance End.
[2025-01-09 04:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:11:03] Production.INFO: count ==21
[2025-01-09 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207039') start
[2025-01-09 04:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:11:03] Production.INFO: ==19669== Releasing lock...
[2025-01-09 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207039') end
[2025-01-09 04:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:11:03] Production.INFO: 1
[2025-01-09 04:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:11:03] Production.INFO: ==19673== Releasing lock...
[2025-01-09 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:11:04] Production.INFO: ==19665== Releasing lock...
[2025-01-09 04:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:11:04] Production.ERROR: done
[2025-01-09 04:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:11:04] Production.ERROR: done
[2025-01-09 04:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:11:05
[end_date_ymd] => 2025-01-09 04:11:05
[RateCDR] => 1
)
[2025-01-09 04:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:11:05' and `end` < '2025-01-09 04:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:11:11] Production.ERROR: CronJobId end10
[2025-01-09 04:11:11] Production.INFO: ==19667== Releasing lock...
[2025-01-09 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:11:12] Production.INFO: call_cost start
[2025-01-09 04:11:12] Production.INFO: call_cost end
[2025-01-09 04:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:11:13] Production.INFO: ==19663== Releasing lock...
[2025-01-09 04:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:11:19] Production.INFO: count ==108
[2025-01-09 04:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:11:05 - End Time 2025-01-09 04:11:05
[2025-01-09 04:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207042', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207042', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207042', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207042', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:11:19] Production.INFO: ProcessCDR(1,14207042,1,1,2)
[2025-01-09 04:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207042', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207042', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:11:22] Production.INFO: ==19671== Releasing lock...
[2025-01-09 04:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:11:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:12:02] Production.INFO: ==19732== Lock acquired, processing the job...
[2025-01-09 09:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:12:02] Production.INFO: neon service started
[2025-01-09 09:12:02] Production.INFO: neon service started
[2025-01-09 09:12:02] Production.INFO: ==19732== Releasing lock...
[2025-01-09 09:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:12:03] Production.INFO: ==19736== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:12:03] Production.INFO: ==19734== Lock acquired, processing the job...
[2025-01-09 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:12:03] Production.INFO: ==19736== Releasing lock...
[2025-01-09 09:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:12:03] Production.INFO: ==19734== Releasing lock...
[2025-01-09 04:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:12:04] Production.INFO: ==19745== Lock acquired, processing the job...
[2025-01-09 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:12:04] Production.INFO: ==19743== Lock acquired, processing the job...
[2025-01-09 04:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:12:04] Production.INFO: Account Balance Start.
[2025-01-09 04:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:12:04] Production.INFO: 117
[2025-01-09 04:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:12:04] Production.INFO: Total Charge 0
[2025-01-09 04:12:04] Production.INFO: CreateAllLog End
[2025-01-09 04:12:04] Production.INFO: ==19739== Lock acquired, processing the job...
[2025-01-09 04:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:12:04] Production.INFO: ==19741== Lock acquired, processing the job...
[2025-01-09 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:12:04] Production.INFO: Account Balance End.
[2025-01-09 04:12:04] Production.INFO: ==19749== Lock acquired, processing the job...
[2025-01-09 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:12:04] Production.INFO: ==19745== Releasing lock...
[2025-01-09 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:12:04] Production.INFO: ==19747== Lock acquired, processing the job...
[2025-01-09 04:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:12:04] Production.INFO: count ==21
[2025-01-09 04:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:12:04] Production.INFO: count ==21
[2025-01-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207045') start
[2025-01-09 04:12:04] Production.INFO: ==19741== Releasing lock...
[2025-01-09 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207045') end
[2025-01-09 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:12:04] Production.INFO: 1
[2025-01-09 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:12:05] Production.INFO: ==19749== Releasing lock...
[2025-01-09 04:12:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:12:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:12:05] Production.ERROR: done
[2025-01-09 04:12:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:12:05] Production.ERROR: done
[2025-01-09 04:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:12:05
[end_date_ymd] => 2025-01-09 04:12:05
[RateCDR] => 1
)
[2025-01-09 04:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:12:05' and `end` < '2025-01-09 04:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:12:11] Production.ERROR: CronJobId end10
[2025-01-09 04:12:11] Production.INFO: ==19743== Releasing lock...
[2025-01-09 04:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:12:13] Production.INFO: call_cost start
[2025-01-09 04:12:13] Production.INFO: call_cost end
[2025-01-09 04:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:12:14] Production.INFO: ==19739== Releasing lock...
[2025-01-09 04:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:12:18] Production.INFO: count ==108
[2025-01-09 04:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:12:05 - End Time 2025-01-09 04:12:05
[2025-01-09 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207047', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207047', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207047', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207047', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:12:18] Production.INFO: ProcessCDR(1,14207047,1,1,2)
[2025-01-09 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207047', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207047', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:12:21] Production.INFO: ==19747== Releasing lock...
[2025-01-09 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:12:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:13:01] Production.INFO: ==19842== Lock acquired, processing the job...
[2025-01-09 09:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:13:01] Production.INFO: neon service started
[2025-01-09 09:13:01] Production.INFO: neon service started
[2025-01-09 09:13:01] Production.INFO: ==19842== Releasing lock...
[2025-01-09 09:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:13:02] Production.INFO: ==19844== Lock acquired, processing the job...
[2025-01-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:13:02] Production.INFO: ==19844== Releasing lock...
[2025-01-09 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:13:02] Production.INFO: ==19846== Lock acquired, processing the job...
[2025-01-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:13:02] Production.INFO: ==19846== Releasing lock...
[2025-01-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:13:03] Production.INFO: ==19852== Lock acquired, processing the job...
[2025-01-09 04:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:13:03] Production.INFO: ==19858== Lock acquired, processing the job...
[2025-01-09 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:13:03] Production.INFO: ==19848== Lock acquired, processing the job...
[2025-01-09 04:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:13:03] Production.INFO: ==19850== Lock acquired, processing the job...
[2025-01-09 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:13:03] Production.INFO: count ==21
[2025-01-09 04:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:13:03] Production.INFO: count ==21
[2025-01-09 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207048') start
[2025-01-09 04:13:03] Production.INFO: ==19854== Lock acquired, processing the job...
[2025-01-09 04:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:13:03] Production.INFO: ==19856== Lock acquired, processing the job...
[2025-01-09 04:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207048') end
[2025-01-09 04:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:13:03] Production.INFO: 1
[2025-01-09 04:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:13:03] Production.INFO: Account Balance Start.
[2025-01-09 04:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:13:03] Production.INFO: 117
[2025-01-09 04:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:13:03] Production.INFO: ==19858== Releasing lock...
[2025-01-09 04:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:13:03] Production.INFO: Total Charge 0
[2025-01-09 04:13:03] Production.INFO: CreateAllLog End
[2025-01-09 04:13:03] Production.INFO: ==19850== Releasing lock...
[2025-01-09 04:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:13:04] Production.ERROR: done
[2025-01-09 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:13:04] Production.INFO: Account Balance End.
[2025-01-09 04:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:13:04] Production.INFO: ==19854== Releasing lock...
[2025-01-09 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:13:04] Production.ERROR: done
[2025-01-09 04:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:13:05
[end_date_ymd] => 2025-01-09 04:13:05
[RateCDR] => 1
)
[2025-01-09 04:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:13:05' and `end` < '2025-01-09 04:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:13:10] Production.ERROR: CronJobId end10
[2025-01-09 04:13:10] Production.INFO: ==19852== Releasing lock...
[2025-01-09 04:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:13:13] Production.INFO: call_cost start
[2025-01-09 04:13:13] Production.INFO: call_cost end
[2025-01-09 04:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:13:14] Production.INFO: ==19848== Releasing lock...
[2025-01-09 04:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:13:19] Production.INFO: count ==108
[2025-01-09 04:13:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:13:05 - End Time 2025-01-09 04:13:05
[2025-01-09 04:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207052', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207052', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207052', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207052', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:13:19] Production.INFO: ProcessCDR(1,14207052,1,1,2)
[2025-01-09 04:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207052', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207052', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:13:22] Production.INFO: ==19856== Releasing lock...
[2025-01-09 04:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:13:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:14:02] Production.INFO: ==19912== Lock acquired, processing the job...
[2025-01-09 09:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:14:02] Production.INFO: neon service started
[2025-01-09 09:14:02] Production.INFO: neon service started
[2025-01-09 09:14:02] Production.INFO: ==19912== Releasing lock...
[2025-01-09 09:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:14:02] Production.INFO: ==19916== Lock acquired, processing the job...
[2025-01-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:14:02] Production.INFO: ==19916== Releasing lock...
[2025-01-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:14:02] Production.INFO: ==19914== Lock acquired, processing the job...
[2025-01-09 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:14:03] Production.INFO: ==19914== Releasing lock...
[2025-01-09 04:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:14:03] Production.INFO: ==19923== Lock acquired, processing the job...
[2025-01-09 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:14:04] Production.INFO: ==19927== Lock acquired, processing the job...
[2025-01-09 04:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:14:04] Production.INFO: ==19919== Lock acquired, processing the job...
[2025-01-09 04:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:14:04] Production.INFO: ==19921== Lock acquired, processing the job...
[2025-01-09 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:14:04] Production.INFO: ==19925== Lock acquired, processing the job...
[2025-01-09 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:14:04] Production.INFO: ==19929== Lock acquired, processing the job...
[2025-01-09 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:14:04] Production.INFO: Account Balance Start.
[2025-01-09 04:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:14:04] Production.INFO: 117
[2025-01-09 04:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:14:04] Production.ERROR: done
[2025-01-09 04:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:14:04] Production.INFO: Total Charge 0
[2025-01-09 04:14:04] Production.INFO: CreateAllLog End
[2025-01-09 04:14:04] Production.INFO: ==19921== Releasing lock...
[2025-01-09 04:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:14:04] Production.ERROR: done
[2025-01-09 04:14:04] Production.INFO: count ==21
[2025-01-09 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-01-09 04:14:04] Production.INFO: count ==21
[2025-01-09 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207056') start
[2025-01-09 04:14:04] Production.INFO: Account Balance End.
[2025-01-09 04:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:14:04] Production.INFO: ==19925== Releasing lock...
[2025-01-09 04:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207056') end
[2025-01-09 04:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:14:04] Production.INFO: 1
[2025-01-09 04:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:14:05] Production.INFO: ==19929== Releasing lock...
[2025-01-09 04:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:14:05
[end_date_ymd] => 2025-01-09 04:14:05
[RateCDR] => 1
)
[2025-01-09 04:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:14:05' and `end` < '2025-01-09 04:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:14:10] Production.ERROR: CronJobId end10
[2025-01-09 04:14:10] Production.INFO: ==19923== Releasing lock...
[2025-01-09 04:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:14:13] Production.INFO: call_cost start
[2025-01-09 04:14:13] Production.INFO: call_cost end
[2025-01-09 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:14:14] Production.INFO: ==19919== Releasing lock...
[2025-01-09 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:14:19] Production.INFO: count ==108
[2025-01-09 04:14:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:14:05 - End Time 2025-01-09 04:14:05
[2025-01-09 04:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207057', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207057', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207057', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207057', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:14:19] Production.INFO: ProcessCDR(1,14207057,1,1,2)
[2025-01-09 04:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207057', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207057', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:14:22] Production.INFO: ==19927== Releasing lock...
[2025-01-09 04:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:14:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:15:01] Production.INFO: ==19981== Lock acquired, processing the job...
[2025-01-09 09:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:15:01] Production.INFO: neon service started
[2025-01-09 09:15:01] Production.INFO: neon service started
[2025-01-09 09:15:01] Production.INFO: ==19981== Releasing lock...
[2025-01-09 09:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:15:02] Production.INFO: ==19985== Lock acquired, processing the job...
[2025-01-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:15:02] Production.INFO: ==19985== Releasing lock...
[2025-01-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:15:02] Production.INFO: ==19983== Lock acquired, processing the job...
[2025-01-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:15:02] Production.INFO: ==19983== Releasing lock...
[2025-01-09 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:15:03] Production.INFO: ==19988== Lock acquired, processing the job...
[2025-01-09 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:15:03] Production.INFO: ==19990== Lock acquired, processing the job...
[2025-01-09 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:15:03] Production.INFO: ==19992== Lock acquired, processing the job...
[2025-01-09 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:15:03] Production.INFO: ==19996== Lock acquired, processing the job...
[2025-01-09 04:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:15:03] Production.INFO: ==19994== Lock acquired, processing the job...
[2025-01-09 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:15:03] Production.INFO: ==19998== Lock acquired, processing the job...
[2025-01-09 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:15:03] Production.INFO: ==19990== Releasing lock...
[2025-01-09 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:15:03] Production.INFO: Account Balance Start.
[2025-01-09 04:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:15:03] Production.INFO: 117
[2025-01-09 04:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:15:03] Production.ERROR: done
[2025-01-09 04:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:15:03] Production.INFO: count ==21
[2025-01-09 04:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:15:04] Production.INFO: count ==21
[2025-01-09 04:15:04] Production.INFO: Total Charge 0
[2025-01-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207061') start
[2025-01-09 04:15:04] Production.INFO: CreateAllLog End
[2025-01-09 04:15:04] Production.ERROR: done
[2025-01-09 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207061') end
[2025-01-09 04:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:15:04] Production.INFO: 1
[2025-01-09 04:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:15:04] Production.INFO: ==19998== Releasing lock...
[2025-01-09 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:15:04] Production.INFO: Account Balance End.
[2025-01-09 04:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:15:04] Production.INFO: ==19994== Releasing lock...
[2025-01-09 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:15:05
[end_date_ymd] => 2025-01-09 04:15:05
[RateCDR] => 1
)
[2025-01-09 04:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:15:05' and `end` < '2025-01-09 04:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:15:10] Production.ERROR: CronJobId end10
[2025-01-09 04:15:10] Production.INFO: ==19992== Releasing lock...
[2025-01-09 04:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:15:12] Production.INFO: call_cost start
[2025-01-09 04:15:12] Production.INFO: call_cost end
[2025-01-09 04:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:15:13] Production.INFO: ==19988== Releasing lock...
[2025-01-09 04:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:15:17] Production.INFO: count ==108
[2025-01-09 04:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:15:05 - End Time 2025-01-09 04:15:05
[2025-01-09 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207062', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207062', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207062', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207062', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:15:18] Production.INFO: ProcessCDR(1,14207062,1,1,2)
[2025-01-09 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207062', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207062', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:15:21] Production.INFO: ==19996== Releasing lock...
[2025-01-09 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:15:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:16:02] Production.INFO: ==20052== Lock acquired, processing the job...
[2025-01-09 09:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:16:02] Production.INFO: neon service started
[2025-01-09 09:16:02] Production.INFO: neon service started
[2025-01-09 09:16:02] Production.INFO: ==20052== Releasing lock...
[2025-01-09 09:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:16:02] Production.INFO: ==20054== Lock acquired, processing the job...
[2025-01-09 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:16:02] Production.INFO: ==20056== Lock acquired, processing the job...
[2025-01-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:16:02] Production.INFO: ==20056== Releasing lock...
[2025-01-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:16:03] Production.INFO: ==20054== Releasing lock...
[2025-01-09 04:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:16:03] Production.INFO: ==20059== Lock acquired, processing the job...
[2025-01-09 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:16:03] Production.INFO: ==20063== Lock acquired, processing the job...
[2025-01-09 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:16:03] Production.INFO: ==20065== Lock acquired, processing the job...
[2025-01-09 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:16:04] Production.INFO: ==20061== Lock acquired, processing the job...
[2025-01-09 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:16:04] Production.INFO: Account Balance Start.
[2025-01-09 04:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:16:04] Production.INFO: 117
[2025-01-09 04:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:16:04] Production.INFO: Total Charge 0
[2025-01-09 04:16:04] Production.INFO: CreateAllLog End
[2025-01-09 04:16:04] Production.INFO: ==20067== Lock acquired, processing the job...
[2025-01-09 04:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:16:04] Production.INFO: ==20069== Lock acquired, processing the job...
[2025-01-09 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:16:04] Production.INFO: Account Balance End.
[2025-01-09 04:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:16:04] Production.INFO: ==20065== Releasing lock...
[2025-01-09 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:16:04] Production.INFO: ==20061== Releasing lock...
[2025-01-09 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:16:04] Production.INFO: count ==21
[2025-01-09 04:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:16:04] Production.INFO: count ==21
[2025-01-09 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207066') start
[2025-01-09 04:16:04] Production.ERROR: done
[2025-01-09 04:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207066') end
[2025-01-09 04:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:16:04] Production.INFO: 1
[2025-01-09 04:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:16:04] Production.ERROR: done
[2025-01-09 04:16:04] Production.INFO: ==20069== Releasing lock...
[2025-01-09 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:16:05
[end_date_ymd] => 2025-01-09 04:16:05
[RateCDR] => 1
)
[2025-01-09 04:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:16:05' and `end` < '2025-01-09 04:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:16:10] Production.ERROR: CronJobId end10
[2025-01-09 04:16:10] Production.INFO: ==20063== Releasing lock...
[2025-01-09 04:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:16:13] Production.INFO: call_cost start
[2025-01-09 04:16:13] Production.INFO: call_cost end
[2025-01-09 04:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:16:14] Production.INFO: ==20059== Releasing lock...
[2025-01-09 04:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:16:18] Production.INFO: count ==108
[2025-01-09 04:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:16:05 - End Time 2025-01-09 04:16:05
[2025-01-09 04:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207067', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207067', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207067', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207067', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:16:18] Production.INFO: ProcessCDR(1,14207067,1,1,2)
[2025-01-09 04:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207067', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207067', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:16:21] Production.INFO: ==20067== Releasing lock...
[2025-01-09 04:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:16:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:17:01] Production.INFO: ==20121== Lock acquired, processing the job...
[2025-01-09 09:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:17:01] Production.INFO: neon service started
[2025-01-09 09:17:01] Production.INFO: neon service started
[2025-01-09 09:17:01] Production.INFO: ==20121== Releasing lock...
[2025-01-09 09:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:17:01] Production.INFO: ==20123== Lock acquired, processing the job...
[2025-01-09 04:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:17:02] Production.INFO: ==20123== Releasing lock...
[2025-01-09 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:17:02] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-01-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:17:02] Production.INFO: ==20125== Releasing lock...
[2025-01-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:17:02] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-01-09 04:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:17:02] Production.INFO: ==20129== Lock acquired, processing the job...
[2025-01-09 04:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:17:03] Production.INFO: ==20136== Lock acquired, processing the job...
[2025-01-09 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:17:03] Production.INFO: ==20132== Lock acquired, processing the job...
[2025-01-09 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:17:03] Production.INFO: ==20134== Lock acquired, processing the job...
[2025-01-09 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:17:03] Production.INFO: ==20129== Releasing lock...
[2025-01-09 04:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:17:03] Production.INFO: ==20138== Lock acquired, processing the job...
[2025-01-09 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:17:03] Production.ERROR: done
[2025-01-09 04:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:17:03] Production.INFO: Account Balance Start.
[2025-01-09 04:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:17:03] Production.INFO: 117
[2025-01-09 04:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:17:03] Production.INFO: count ==21
[2025-01-09 04:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:17:03] Production.INFO: count ==21
[2025-01-09 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207071') start
[2025-01-09 04:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:17:03] Production.ERROR: done
[2025-01-09 04:17:03] Production.INFO: Total Charge 0
[2025-01-09 04:17:03] Production.INFO: CreateAllLog End
[2025-01-09 04:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207071') end
[2025-01-09 04:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:17:03] Production.INFO: 1
[2025-01-09 04:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:17:03] Production.INFO: ==20138== Releasing lock...
[2025-01-09 04:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:17:03] Production.INFO: Account Balance End.
[2025-01-09 04:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:17:03] Production.INFO: ==20134== Releasing lock...
[2025-01-09 04:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:17:04
[end_date_ymd] => 2025-01-09 04:17:04
[RateCDR] => 1
)
[2025-01-09 04:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:17:04' and `end` < '2025-01-09 04:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:17:11] Production.ERROR: CronJobId end10
[2025-01-09 04:17:11] Production.INFO: ==20132== Releasing lock...
[2025-01-09 04:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:17:13] Production.INFO: call_cost start
[2025-01-09 04:17:13] Production.INFO: call_cost end
[2025-01-09 04:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:17:14] Production.INFO: ==20127== Releasing lock...
[2025-01-09 04:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:17:17] Production.INFO: count ==108
[2025-01-09 04:17:17] Production.ERROR: pbx CDR StartTime 2025-01-09 01:17:04 - End Time 2025-01-09 04:17:04
[2025-01-09 04:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207072', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207072', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207072', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207072', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:17:17] Production.INFO: ProcessCDR(1,14207072,1,1,2)
[2025-01-09 04:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207072', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207072', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:17:21] Production.INFO: ==20136== Releasing lock...
[2025-01-09 04:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:17:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:18:02] Production.INFO: ==20202== Lock acquired, processing the job...
[2025-01-09 09:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:18:02] Production.INFO: neon service started
[2025-01-09 09:18:02] Production.INFO: neon service started
[2025-01-09 09:18:02] Production.INFO: ==20202== Releasing lock...
[2025-01-09 09:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:18:02] Production.INFO: ==20205== Lock acquired, processing the job...
[2025-01-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:18:02] Production.INFO: ==20207== Lock acquired, processing the job...
[2025-01-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:18:02] Production.INFO: ==20207== Releasing lock...
[2025-01-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:18:02] Production.INFO: ==20205== Releasing lock...
[2025-01-09 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:18:03] Production.INFO: ==20209== Lock acquired, processing the job...
[2025-01-09 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:18:03] Production.INFO: ==20219== Lock acquired, processing the job...
[2025-01-09 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:18:03] Production.INFO: ==20217== Lock acquired, processing the job...
[2025-01-09 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:18:03] Production.INFO: ==20211== Lock acquired, processing the job...
[2025-01-09 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:18:03] Production.INFO: count ==21
[2025-01-09 04:18:03] Production.INFO: ==20213== Lock acquired, processing the job...
[2025-01-09 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:18:03] Production.INFO: count ==21
[2025-01-09 04:18:03] Production.INFO: ==20215== Lock acquired, processing the job...
[2025-01-09 04:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207073') start
[2025-01-09 04:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207073') end
[2025-01-09 04:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:18:04] Production.INFO: 1
[2025-01-09 04:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:18:04] Production.INFO: Account Balance Start.
[2025-01-09 04:18:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:18:04] Production.INFO: 117
[2025-01-09 04:18:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:18:04] Production.INFO: Total Charge 0
[2025-01-09 04:18:04] Production.INFO: ==20219== Releasing lock...
[2025-01-09 04:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:18:04] Production.INFO: CreateAllLog End
[2025-01-09 04:18:04] Production.INFO: ==20211== Releasing lock...
[2025-01-09 04:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:18:04] Production.ERROR: done
[2025-01-09 04:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:18:04] Production.INFO: Account Balance End.
[2025-01-09 04:18:04] Production.ERROR: done
[2025-01-09 04:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:18:04] Production.INFO: ==20215== Releasing lock...
[2025-01-09 04:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:18:05
[end_date_ymd] => 2025-01-09 04:18:05
[RateCDR] => 1
)
[2025-01-09 04:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:18:05' and `end` < '2025-01-09 04:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:18:11] Production.ERROR: CronJobId end10
[2025-01-09 04:18:11] Production.INFO: ==20213== Releasing lock...
[2025-01-09 04:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:18:13] Production.INFO: call_cost start
[2025-01-09 04:18:13] Production.INFO: call_cost end
[2025-01-09 04:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:18:14] Production.INFO: ==20209== Releasing lock...
[2025-01-09 04:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:18:18] Production.INFO: count ==108
[2025-01-09 04:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:18:05 - End Time 2025-01-09 04:18:05
[2025-01-09 04:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207077', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207077', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207077', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207077', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:18:18] Production.INFO: ProcessCDR(1,14207077,1,1,2)
[2025-01-09 04:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207077', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207077', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:18:21] Production.INFO: ==20217== Releasing lock...
[2025-01-09 04:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:18:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:19:01] Production.INFO: ==20273== Lock acquired, processing the job...
[2025-01-09 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:19:01] Production.INFO: neon service started
[2025-01-09 09:19:01] Production.INFO: neon service started
[2025-01-09 09:19:01] Production.INFO: ==20273== Releasing lock...
[2025-01-09 09:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:19:02] Production.INFO: ==20278== Lock acquired, processing the job...
[2025-01-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:19:02] Production.INFO: ==20278== Releasing lock...
[2025-01-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:19:02] Production.INFO: ==20276== Lock acquired, processing the job...
[2025-01-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:19:02] Production.INFO: ==20276== Releasing lock...
[2025-01-09 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:19:03] Production.INFO: ==20286== Lock acquired, processing the job...
[2025-01-09 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:19:03] Production.INFO: ==20280== Lock acquired, processing the job...
[2025-01-09 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:19:03] Production.INFO: ==20288== Lock acquired, processing the job...
[2025-01-09 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:19:03] Production.INFO: Account Balance Start.
[2025-01-09 04:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:19:03] Production.INFO: ==20282== Lock acquired, processing the job...
[2025-01-09 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:19:03] Production.INFO: 117
[2025-01-09 04:19:03] Production.INFO: ==20284== Lock acquired, processing the job...
[2025-01-09 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:19:03] Production.INFO: ==20290== Lock acquired, processing the job...
[2025-01-09 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:19:03] Production.INFO: Total Charge 0
[2025-01-09 04:19:03] Production.INFO: CreateAllLog End
[2025-01-09 04:19:03] Production.ERROR: done
[2025-01-09 04:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:19:03] Production.INFO: Account Balance End.
[2025-01-09 04:19:03] Production.INFO: count ==21
[2025-01-09 04:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:19:03] Production.INFO: count ==21
[2025-01-09 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207081') start
[2025-01-09 04:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:19:03] Production.INFO: ==20286== Releasing lock...
[2025-01-09 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:19:04] Production.ERROR: done
[2025-01-09 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207081') end
[2025-01-09 04:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:19:04] Production.INFO: 1
[2025-01-09 04:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:19:04] Production.INFO: ==20290== Releasing lock...
[2025-01-09 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:19:04] Production.INFO: ==20282== Releasing lock...
[2025-01-09 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:19:05
[end_date_ymd] => 2025-01-09 04:19:05
[RateCDR] => 1
)
[2025-01-09 04:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:19:05' and `end` < '2025-01-09 04:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:19:12] Production.ERROR: CronJobId end10
[2025-01-09 04:19:12] Production.INFO: ==20284== Releasing lock...
[2025-01-09 04:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:19:14] Production.INFO: call_cost start
[2025-01-09 04:19:14] Production.INFO: call_cost end
[2025-01-09 04:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:19:15] Production.INFO: ==20280== Releasing lock...
[2025-01-09 04:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:19:18] Production.INFO: count ==108
[2025-01-09 04:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:19:05 - End Time 2025-01-09 04:19:05
[2025-01-09 04:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207082', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207082', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207082', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207082', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:19:18] Production.INFO: ProcessCDR(1,14207082,1,1,2)
[2025-01-09 04:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207082', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207082', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:19:22] Production.INFO: ==20288== Releasing lock...
[2025-01-09 04:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:19:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:20:02] Production.INFO: ==20345== Lock acquired, processing the job...
[2025-01-09 09:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:20:02] Production.INFO: neon service started
[2025-01-09 09:20:02] Production.INFO: neon service started
[2025-01-09 09:20:02] Production.INFO: ==20345== Releasing lock...
[2025-01-09 09:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:20:03] Production.INFO: ==20347== Lock acquired, processing the job...
[2025-01-09 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:20:03] Production.INFO: ==20349== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:20:03] Production.INFO: ==20349== Releasing lock...
[2025-01-09 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:20:03] Production.INFO: ==20347== Releasing lock...
[2025-01-09 04:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:20:04] Production.INFO: ==20352== Lock acquired, processing the job...
[2025-01-09 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 04:20:04] Production.INFO: ==20354== Lock acquired, processing the job...
[2025-01-09 04:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 04:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 04:20:04] Production.INFO: ==20352== Releasing lock...
[2025-01-09 04:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 04:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 04:20:04] Production.INFO: ==20356== Lock acquired, processing the job...
[2025-01-09 04:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:20:05] Production.INFO: ==20358== Lock acquired, processing the job...
[2025-01-09 04:20:05] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:20:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:20:05] Production.INFO: ==20360== Lock acquired, processing the job...
[2025-01-09 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:20:05] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:20:05] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:20:05] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:20:05] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:20:05] Production.INFO: ==20362== Lock acquired, processing the job...
[2025-01-09 04:20:05] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:20:05] Production.INFO: Account Balance Start.
[2025-01-09 04:20:05] Production.INFO: CreateAllLog Start
[2025-01-09 04:20:05] Production.INFO: 117
[2025-01-09 04:20:05] Production.INFO: Date 2025-01-08
[2025-01-09 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-09 04:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:20:05] Production.INFO: ==20364== Lock acquired, processing the job...
[2025-01-09 04:20:05] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 04:20:05] Production.INFO: Date 2025-01-09
[2025-01-09 04:20:05] Production.INFO: Reseller ==> 0
[2025-01-09 04:20:05] Production.INFO: Total Charge 0
[2025-01-09 04:20:05] Production.INFO: ==20366== Lock acquired, processing the job...
[2025-01-09 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:20:05] Production.INFO: CreateAllLog End
[2025-01-09 04:20:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:20:05] Production.INFO: ==20356== Releasing lock...
[2025-01-09 04:20:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:20:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:20:05] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:20:05] Production.INFO: count ==21
[2025-01-09 04:20:05] Production.ERROR: done
[2025-01-09 04:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:20:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:20:05] Production.INFO: count ==21
[2025-01-09 04:20:05] Production.INFO: Account Balance End.
[2025-01-09 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207086') start
[2025-01-09 04:20:05] Production.ERROR: done
[2025-01-09 04:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 04:20:05] Production.INFO: ==20360== Releasing lock...
[2025-01-09 04:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:20:05] Production.ERROR: done
[2025-01-09 04:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207086') end
[2025-01-09 04:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:20:05] Production.INFO: 1
[2025-01-09 04:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:20:05] Production.INFO: ==20366== Releasing lock...
[2025-01-09 04:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:20:06] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 04:20:06] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207088', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 04:20:07] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:20:07
[end_date_ymd] => 2025-01-09 04:20:07
[RateCDR] => 1
)
[2025-01-09 04:20:07] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:20:07' and `end` < '2025-01-09 04:20:07'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207088', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 04:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 04:20:09] Production.INFO: ProcessCDR(1,14207088,1,1,2)
[2025-01-09 04:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:20:09] Production.INFO: ==20364== Releasing lock...
[2025-01-09 04:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 04:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:20:14] Production.ERROR: CronJobId end10
[2025-01-09 04:20:14] Production.INFO: ==20358== Releasing lock...
[2025-01-09 04:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:20:16] Production.INFO: call_cost start
[2025-01-09 04:20:16] Production.INFO: call_cost end
[2025-01-09 04:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:20:17] Production.INFO: ==20354== Releasing lock...
[2025-01-09 04:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:20:20] Production.INFO: count ==114
[2025-01-09 04:20:20] Production.ERROR: pbx CDR StartTime 2025-01-09 01:20:07 - End Time 2025-01-09 04:20:07
[2025-01-09 04:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207087', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207087', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207087', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207087', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:20:20] Production.INFO: ProcessCDR(1,14207087,1,1,2)
[2025-01-09 04:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207087', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207087', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:20:23] Production.INFO: ==20362== Releasing lock...
[2025-01-09 04:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:20:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:21:01] Production.INFO: ==20419== Lock acquired, processing the job...
[2025-01-09 09:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:21:01] Production.INFO: neon service started
[2025-01-09 09:21:01] Production.INFO: neon service started
[2025-01-09 09:21:01] Production.INFO: ==20419== Releasing lock...
[2025-01-09 09:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:21:02] Production.INFO: ==20423== Lock acquired, processing the job...
[2025-01-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:21:02] Production.INFO: ==20423== Releasing lock...
[2025-01-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:21:02] Production.INFO: ==20421== Lock acquired, processing the job...
[2025-01-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:21:02] Production.INFO: ==20421== Releasing lock...
[2025-01-09 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:21:03] Production.INFO: ==20428== Lock acquired, processing the job...
[2025-01-09 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:21:03] Production.INFO: ==20426== Lock acquired, processing the job...
[2025-01-09 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:21:03] Production.INFO: ==20436== Lock acquired, processing the job...
[2025-01-09 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:21:03] Production.INFO: ==20430== Lock acquired, processing the job...
[2025-01-09 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:21:03] Production.INFO: count ==21
[2025-01-09 04:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:21:03] Production.INFO: count ==21
[2025-01-09 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207091') start
[2025-01-09 04:21:03] Production.INFO: ==20432== Lock acquired, processing the job...
[2025-01-09 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:21:03] Production.INFO: Account Balance Start.
[2025-01-09 04:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207091') end
[2025-01-09 04:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:21:03] Production.INFO: 1
[2025-01-09 04:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:21:03] Production.INFO: 117
[2025-01-09 04:21:03] Production.INFO: ==20428== Releasing lock...
[2025-01-09 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:21:03] Production.INFO: ==20436== Releasing lock...
[2025-01-09 04:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:21:03] Production.INFO: ==20434== Lock acquired, processing the job...
[2025-01-09 04:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:21:03] Production.INFO: Total Charge 0
[2025-01-09 04:21:03] Production.INFO: CreateAllLog End
[2025-01-09 04:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:21:03] Production.INFO: Account Balance End.
[2025-01-09 04:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:21:04] Production.INFO: ==20432== Releasing lock...
[2025-01-09 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:21:04] Production.ERROR: done
[2025-01-09 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:21:04] Production.ERROR: done
[2025-01-09 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:21:05
[end_date_ymd] => 2025-01-09 04:21:05
[RateCDR] => 1
)
[2025-01-09 04:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:21:05' and `end` < '2025-01-09 04:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:21:11] Production.ERROR: CronJobId end10
[2025-01-09 04:21:11] Production.INFO: ==20430== Releasing lock...
[2025-01-09 04:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:21:14] Production.INFO: call_cost start
[2025-01-09 04:21:14] Production.INFO: call_cost end
[2025-01-09 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:21:14] Production.INFO: ==20426== Releasing lock...
[2025-01-09 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:21:19] Production.INFO: count ==114
[2025-01-09 04:21:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:21:05 - End Time 2025-01-09 04:21:05
[2025-01-09 04:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207093', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207093', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207093', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207093', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:21:20] Production.INFO: ProcessCDR(1,14207093,1,1,2)
[2025-01-09 04:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207093', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207093', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:21:23] Production.INFO: ==20434== Releasing lock...
[2025-01-09 04:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:21:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:22:02] Production.INFO: ==20494== Lock acquired, processing the job...
[2025-01-09 09:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:22:02] Production.INFO: neon service started
[2025-01-09 09:22:02] Production.INFO: neon service started
[2025-01-09 09:22:02] Production.INFO: ==20494== Releasing lock...
[2025-01-09 09:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:22:02] Production.INFO: ==20498== Lock acquired, processing the job...
[2025-01-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:22:02] Production.INFO: ==20498== Releasing lock...
[2025-01-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:22:02] Production.INFO: ==20496== Lock acquired, processing the job...
[2025-01-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:22:02] Production.INFO: ==20496== Releasing lock...
[2025-01-09 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:22:03] Production.INFO: ==20504== Lock acquired, processing the job...
[2025-01-09 04:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:22:03] Production.INFO: ==20508== Lock acquired, processing the job...
[2025-01-09 04:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:22:03] Production.INFO: ==20500== Lock acquired, processing the job...
[2025-01-09 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:22:04] Production.INFO: ==20502== Lock acquired, processing the job...
[2025-01-09 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:22:04] Production.INFO: ==20506== Lock acquired, processing the job...
[2025-01-09 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:22:04] Production.INFO: ==20510== Lock acquired, processing the job...
[2025-01-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:22:04] Production.INFO: Account Balance Start.
[2025-01-09 04:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:22:04] Production.INFO: 117
[2025-01-09 04:22:04] Production.ERROR: done
[2025-01-09 04:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:22:04] Production.INFO: count ==21
[2025-01-09 04:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:22:04] Production.INFO: count ==21
[2025-01-09 04:22:04] Production.ERROR: done
[2025-01-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207097') start
[2025-01-09 04:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:22:04] Production.INFO: ==20502== Releasing lock...
[2025-01-09 04:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:22:04] Production.INFO: Total Charge 0
[2025-01-09 04:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207097') end
[2025-01-09 04:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:22:04] Production.INFO: 1
[2025-01-09 04:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:22:04] Production.INFO: CreateAllLog End
[2025-01-09 04:22:04] Production.INFO: ==20510== Releasing lock...
[2025-01-09 04:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:22:04] Production.INFO: Account Balance End.
[2025-01-09 04:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:22:04] Production.INFO: ==20506== Releasing lock...
[2025-01-09 04:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:22:05
[end_date_ymd] => 2025-01-09 04:22:05
[RateCDR] => 1
)
[2025-01-09 04:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:22:05' and `end` < '2025-01-09 04:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:22:10] Production.ERROR: CronJobId end10
[2025-01-09 04:22:10] Production.INFO: ==20504== Releasing lock...
[2025-01-09 04:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:22:13] Production.INFO: call_cost start
[2025-01-09 04:22:13] Production.INFO: call_cost end
[2025-01-09 04:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:22:14] Production.INFO: ==20500== Releasing lock...
[2025-01-09 04:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:22:18] Production.INFO: count ==114
[2025-01-09 04:22:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:22:05 - End Time 2025-01-09 04:22:05
[2025-01-09 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207098', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207098', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207098', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207098', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:22:18] Production.INFO: ProcessCDR(1,14207098,1,1,2)
[2025-01-09 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207098', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207098', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:22:21] Production.INFO: ==20508== Releasing lock...
[2025-01-09 04:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:22:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:23:01] Production.INFO: ==20568== Lock acquired, processing the job...
[2025-01-09 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:23:01] Production.INFO: neon service started
[2025-01-09 09:23:01] Production.INFO: neon service started
[2025-01-09 09:23:01] Production.INFO: ==20568== Releasing lock...
[2025-01-09 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:23:01] Production.INFO: ==20570== Lock acquired, processing the job...
[2025-01-09 04:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:23:02] Production.INFO: ==20570== Releasing lock...
[2025-01-09 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:23:02] Production.INFO: ==20572== Lock acquired, processing the job...
[2025-01-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:23:02] Production.INFO: ==20572== Releasing lock...
[2025-01-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:23:03] Production.INFO: ==20578== Lock acquired, processing the job...
[2025-01-09 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:23:03] Production.INFO: ==20582== Lock acquired, processing the job...
[2025-01-09 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:23:03] Production.INFO: ==20574== Lock acquired, processing the job...
[2025-01-09 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:23:03] Production.INFO: ==20576== Lock acquired, processing the job...
[2025-01-09 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:23:03] Production.INFO: ==20580== Lock acquired, processing the job...
[2025-01-09 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:23:03] Production.INFO: ==20584== Lock acquired, processing the job...
[2025-01-09 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:23:03] Production.INFO: Account Balance Start.
[2025-01-09 04:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:23:03] Production.INFO: 117
[2025-01-09 04:23:03] Production.ERROR: done
[2025-01-09 04:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:23:03] Production.INFO: count ==21
[2025-01-09 04:23:03] Production.ERROR: done
[2025-01-09 04:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:23:03] Production.INFO: count ==21
[2025-01-09 04:23:03] Production.INFO: ==20576== Releasing lock...
[2025-01-09 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207102') start
[2025-01-09 04:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:23:03] Production.INFO: Total Charge 0
[2025-01-09 04:23:03] Production.INFO: CreateAllLog End
[2025-01-09 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207102') end
[2025-01-09 04:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:23:03] Production.INFO: 1
[2025-01-09 04:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:23:04] Production.INFO: ==20584== Releasing lock...
[2025-01-09 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:23:04] Production.INFO: Account Balance End.
[2025-01-09 04:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:23:04] Production.INFO: ==20580== Releasing lock...
[2025-01-09 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:23:04
[end_date_ymd] => 2025-01-09 04:23:04
[RateCDR] => 1
)
[2025-01-09 04:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:23:04' and `end` < '2025-01-09 04:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:23:11] Production.ERROR: CronJobId end10
[2025-01-09 04:23:11] Production.INFO: ==20578== Releasing lock...
[2025-01-09 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:23:14] Production.INFO: call_cost start
[2025-01-09 04:23:14] Production.INFO: call_cost end
[2025-01-09 04:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:23:15] Production.INFO: ==20574== Releasing lock...
[2025-01-09 04:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:23:17] Production.INFO: count ==114
[2025-01-09 04:23:17] Production.ERROR: pbx CDR StartTime 2025-01-09 01:23:04 - End Time 2025-01-09 04:23:04
[2025-01-09 04:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207103', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207103', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207103', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207103', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:23:17] Production.INFO: ProcessCDR(1,14207103,1,1,2)
[2025-01-09 04:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207103', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207103', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:23:20] Production.INFO: ==20582== Releasing lock...
[2025-01-09 04:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:23:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:24:02] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-01-09 09:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:24:02] Production.INFO: neon service started
[2025-01-09 09:24:02] Production.INFO: neon service started
[2025-01-09 09:24:02] Production.INFO: ==20639== Releasing lock...
[2025-01-09 09:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:24:02] Production.INFO: ==20644== Lock acquired, processing the job...
[2025-01-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:24:02] Production.INFO: ==20644== Releasing lock...
[2025-01-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:24:02] Production.INFO: ==20642== Lock acquired, processing the job...
[2025-01-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:24:02] Production.INFO: ==20642== Releasing lock...
[2025-01-09 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:24:03] Production.INFO: ==20646== Lock acquired, processing the job...
[2025-01-09 04:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:24:03] Production.INFO: ==20652== Lock acquired, processing the job...
[2025-01-09 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:24:03] Production.INFO: ==20654== Lock acquired, processing the job...
[2025-01-09 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:24:03] Production.INFO: Account Balance Start.
[2025-01-09 04:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:24:03] Production.INFO: 117
[2025-01-09 04:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:24:03] Production.INFO: ==20648== Lock acquired, processing the job...
[2025-01-09 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:24:03] Production.INFO: ==20650== Lock acquired, processing the job...
[2025-01-09 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:24:04] Production.INFO: Total Charge 0
[2025-01-09 04:24:04] Production.INFO: ==20656== Lock acquired, processing the job...
[2025-01-09 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:24:04] Production.INFO: CreateAllLog End
[2025-01-09 04:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:24:04] Production.ERROR: done
[2025-01-09 04:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:24:04] Production.INFO: Account Balance End.
[2025-01-09 04:24:04] Production.INFO: count ==21
[2025-01-09 04:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:24:04] Production.INFO: ==20652== Releasing lock...
[2025-01-09 04:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:24:04] Production.ERROR: done
[2025-01-09 04:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:24:04] Production.INFO: count ==21
[2025-01-09 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207107') start
[2025-01-09 04:24:04] Production.INFO: ==20648== Releasing lock...
[2025-01-09 04:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207107') end
[2025-01-09 04:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:24:04] Production.INFO: 1
[2025-01-09 04:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:24:04] Production.INFO: ==20656== Releasing lock...
[2025-01-09 04:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:24:05
[end_date_ymd] => 2025-01-09 04:24:05
[RateCDR] => 1
)
[2025-01-09 04:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:24:05' and `end` < '2025-01-09 04:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:24:12] Production.ERROR: CronJobId end10
[2025-01-09 04:24:12] Production.INFO: ==20650== Releasing lock...
[2025-01-09 04:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:24:13] Production.INFO: call_cost start
[2025-01-09 04:24:13] Production.INFO: call_cost end
[2025-01-09 04:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:24:14] Production.INFO: ==20646== Releasing lock...
[2025-01-09 04:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:24:19] Production.INFO: count ==114
[2025-01-09 04:24:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:24:05 - End Time 2025-01-09 04:24:05
[2025-01-09 04:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207108', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207108', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207108', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207108', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:24:19] Production.INFO: ProcessCDR(1,14207108,1,1,2)
[2025-01-09 04:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207108', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207108', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:24:23] Production.INFO: ==20654== Releasing lock...
[2025-01-09 04:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:24:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:25:01] Production.INFO: ==20712== Lock acquired, processing the job...
[2025-01-09 09:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:25:01] Production.INFO: neon service started
[2025-01-09 09:25:01] Production.INFO: neon service started
[2025-01-09 09:25:01] Production.INFO: ==20712== Releasing lock...
[2025-01-09 09:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:25:01] Production.INFO: ==20714== Lock acquired, processing the job...
[2025-01-09 04:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:25:02] Production.INFO: ==20714== Releasing lock...
[2025-01-09 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:25:02] Production.INFO: ==20716== Lock acquired, processing the job...
[2025-01-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:25:02] Production.INFO: ==20716== Releasing lock...
[2025-01-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:25:02] Production.INFO: ==20718== Lock acquired, processing the job...
[2025-01-09 04:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:25:02] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-01-09 04:25:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:25:03] Production.INFO: ==20720== Lock acquired, processing the job...
[2025-01-09 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:25:03] Production.INFO: ==20724== Lock acquired, processing the job...
[2025-01-09 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:25:03] Production.INFO: ==20728== Lock acquired, processing the job...
[2025-01-09 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:25:03] Production.INFO: ==20726== Lock acquired, processing the job...
[2025-01-09 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:25:03] Production.INFO: Account Balance Start.
[2025-01-09 04:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:25:03] Production.INFO: 117
[2025-01-09 04:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:25:03] Production.INFO: count ==21
[2025-01-09 04:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:25:03] Production.INFO: count ==21
[2025-01-09 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:25:03] Production.INFO: ==20720== Releasing lock...
[2025-01-09 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207112') start
[2025-01-09 04:25:03] Production.INFO: Total Charge 0
[2025-01-09 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207112') end
[2025-01-09 04:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:25:03] Production.INFO: 1
[2025-01-09 04:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:25:03] Production.INFO: CreateAllLog End
[2025-01-09 04:25:03] Production.INFO: ==20728== Releasing lock...
[2025-01-09 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:25:03] Production.ERROR: done
[2025-01-09 04:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:25:04] Production.INFO: Account Balance End.
[2025-01-09 04:25:04] Production.ERROR: done
[2025-01-09 04:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:25:04] Production.INFO: ==20724== Releasing lock...
[2025-01-09 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:25:05
[end_date_ymd] => 2025-01-09 04:25:05
[RateCDR] => 1
)
[2025-01-09 04:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:25:05' and `end` < '2025-01-09 04:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:25:11] Production.ERROR: CronJobId end10
[2025-01-09 04:25:11] Production.INFO: ==20722== Releasing lock...
[2025-01-09 04:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:25:12] Production.INFO: call_cost start
[2025-01-09 04:25:12] Production.INFO: call_cost end
[2025-01-09 04:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:25:13] Production.INFO: ==20718== Releasing lock...
[2025-01-09 04:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:25:18] Production.INFO: count ==114
[2025-01-09 04:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:25:05 - End Time 2025-01-09 04:25:05
[2025-01-09 04:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207113', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207113', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207113', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207113', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:25:18] Production.INFO: ProcessCDR(1,14207113,1,1,2)
[2025-01-09 04:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207113', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207113', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:25:21] Production.INFO: ==20726== Releasing lock...
[2025-01-09 04:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:26:01] Production.INFO: ==20783== Lock acquired, processing the job...
[2025-01-09 09:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:26:01] Production.INFO: neon service started
[2025-01-09 09:26:01] Production.INFO: neon service started
[2025-01-09 09:26:01] Production.INFO: ==20783== Releasing lock...
[2025-01-09 09:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:26:02] Production.INFO: ==20785== Lock acquired, processing the job...
[2025-01-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:26:02] Production.INFO: ==20787== Lock acquired, processing the job...
[2025-01-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:26:02] Production.INFO: ==20787== Releasing lock...
[2025-01-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:26:02] Production.INFO: ==20785== Releasing lock...
[2025-01-09 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:26:03] Production.INFO: ==20800== Lock acquired, processing the job...
[2025-01-09 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:26:03] Production.INFO: ==20796== Lock acquired, processing the job...
[2025-01-09 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:26:04] Production.INFO: Account Balance Start.
[2025-01-09 04:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:26:04] Production.INFO: 117
[2025-01-09 04:26:04] Production.INFO: count ==21
[2025-01-09 04:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:26:04] Production.INFO: ==20792== Lock acquired, processing the job...
[2025-01-09 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:26:04] Production.INFO: count ==21
[2025-01-09 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207115') start
[2025-01-09 04:26:04] Production.INFO: ==20790== Lock acquired, processing the job...
[2025-01-09 04:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:26:04] Production.INFO: ==20794== Lock acquired, processing the job...
[2025-01-09 04:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:26:04] Production.INFO: Total Charge 0
[2025-01-09 04:26:04] Production.INFO: ==20798== Lock acquired, processing the job...
[2025-01-09 04:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:26:04] Production.INFO: CreateAllLog End
[2025-01-09 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207115') end
[2025-01-09 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:26:04] Production.INFO: 1
[2025-01-09 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:26:04] Production.INFO: ==20800== Releasing lock...
[2025-01-09 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:26:04] Production.INFO: Account Balance End.
[2025-01-09 04:26:04] Production.INFO: ==20792== Releasing lock...
[2025-01-09 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:26:04] Production.INFO: ==20796== Releasing lock...
[2025-01-09 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:26:04] Production.ERROR: done
[2025-01-09 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:26:04] Production.ERROR: done
[2025-01-09 04:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:26:05
[end_date_ymd] => 2025-01-09 04:26:05
[RateCDR] => 1
)
[2025-01-09 04:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:26:05' and `end` < '2025-01-09 04:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:26:11] Production.ERROR: CronJobId end10
[2025-01-09 04:26:11] Production.INFO: ==20794== Releasing lock...
[2025-01-09 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:26:13] Production.INFO: call_cost start
[2025-01-09 04:26:13] Production.INFO: call_cost end
[2025-01-09 04:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:26:14] Production.INFO: ==20790== Releasing lock...
[2025-01-09 04:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:26:19] Production.INFO: count ==114
[2025-01-09 04:26:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:26:05 - End Time 2025-01-09 04:26:05
[2025-01-09 04:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207118', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207118', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207118', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207118', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:26:19] Production.INFO: ProcessCDR(1,14207118,1,1,2)
[2025-01-09 04:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207118', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207118', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:26:22] Production.INFO: ==20798== Releasing lock...
[2025-01-09 04:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:26:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:27:01] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-01-09 09:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:27:01] Production.INFO: neon service started
[2025-01-09 09:27:01] Production.INFO: neon service started
[2025-01-09 09:27:01] Production.INFO: ==20853== Releasing lock...
[2025-01-09 09:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:27:01] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-01-09 04:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:27:02] Production.INFO: ==20855== Releasing lock...
[2025-01-09 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:27:02] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-01-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:27:02] Production.INFO: ==20857== Releasing lock...
[2025-01-09 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:27:02] Production.INFO: ==20865== Lock acquired, processing the job...
[2025-01-09 04:27:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:27:03] Production.INFO: Account Balance Start.
[2025-01-09 04:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:27:03] Production.INFO: 117
[2025-01-09 04:27:03] Production.INFO: ==20869== Lock acquired, processing the job...
[2025-01-09 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:27:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-01-09 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:27:03] Production.INFO: Total Charge 0
[2025-01-09 04:27:03] Production.INFO: ==20863== Lock acquired, processing the job...
[2025-01-09 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:27:03] Production.INFO: ==20861== Lock acquired, processing the job...
[2025-01-09 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:27:03] Production.INFO: count ==21
[2025-01-09 04:27:03] Production.INFO: CreateAllLog End
[2025-01-09 04:27:03] Production.INFO: ==20867== Lock acquired, processing the job...
[2025-01-09 04:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:27:03] Production.INFO: count ==21
[2025-01-09 04:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207120') start
[2025-01-09 04:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207120') end
[2025-01-09 04:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:27:03] Production.INFO: 1
[2025-01-09 04:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:27:03] Production.INFO: ==20869== Releasing lock...
[2025-01-09 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:27:03] Production.INFO: Account Balance End.
[2025-01-09 04:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:27:03] Production.INFO: ==20865== Releasing lock...
[2025-01-09 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:27:03] Production.ERROR: done
[2025-01-09 04:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:27:03] Production.INFO: ==20861== Releasing lock...
[2025-01-09 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:27:03] Production.ERROR: done
[2025-01-09 04:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:27:04
[end_date_ymd] => 2025-01-09 04:27:04
[RateCDR] => 1
)
[2025-01-09 04:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:27:04' and `end` < '2025-01-09 04:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:27:11] Production.ERROR: CronJobId end10
[2025-01-09 04:27:11] Production.INFO: ==20863== Releasing lock...
[2025-01-09 04:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:27:12] Production.INFO: call_cost start
[2025-01-09 04:27:12] Production.INFO: call_cost end
[2025-01-09 04:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:27:13] Production.INFO: ==20859== Releasing lock...
[2025-01-09 04:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:27:18] Production.INFO: count ==114
[2025-01-09 04:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:27:04 - End Time 2025-01-09 04:27:04
[2025-01-09 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207123', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207123', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207123', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207123', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:27:18] Production.INFO: ProcessCDR(1,14207123,1,1,2)
[2025-01-09 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207123', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207123', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:27:21] Production.INFO: ==20867== Releasing lock...
[2025-01-09 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:27:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:28:01] Production.INFO: ==20922== Lock acquired, processing the job...
[2025-01-09 09:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:28:01] Production.INFO: neon service started
[2025-01-09 09:28:01] Production.INFO: neon service started
[2025-01-09 09:28:01] Production.INFO: ==20922== Releasing lock...
[2025-01-09 09:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:28:02] Production.INFO: ==20925== Lock acquired, processing the job...
[2025-01-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:28:02] Production.INFO: ==20925== Releasing lock...
[2025-01-09 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:28:02] Production.INFO: ==20927== Lock acquired, processing the job...
[2025-01-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:28:02] Production.INFO: ==20927== Releasing lock...
[2025-01-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:28:03] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:28:03] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:28:03] Production.INFO: ==20929== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:28:03] Production.INFO: ==20931== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:28:03] Production.INFO: ==20933== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:28:03] Production.INFO: Account Balance Start.
[2025-01-09 04:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:28:03] Production.INFO: 117
[2025-01-09 04:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:28:03] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-01-09 04:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:28:03] Production.ERROR: done
[2025-01-09 04:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:28:03] Production.INFO: Total Charge 0
[2025-01-09 04:28:03] Production.INFO: count ==21
[2025-01-09 04:28:03] Production.INFO: CreateAllLog End
[2025-01-09 04:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:28:03] Production.INFO: count ==21
[2025-01-09 04:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207127') start
[2025-01-09 04:28:04] Production.INFO: ==20931== Releasing lock...
[2025-01-09 04:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:28:04] Production.ERROR: done
[2025-01-09 04:28:04] Production.INFO: Account Balance End.
[2025-01-09 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207127') end
[2025-01-09 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:28:04] Production.INFO: 1
[2025-01-09 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:28:04] Production.INFO: ==20935== Releasing lock...
[2025-01-09 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:28:04] Production.INFO: ==20939== Releasing lock...
[2025-01-09 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:28:05
[end_date_ymd] => 2025-01-09 04:28:05
[RateCDR] => 1
)
[2025-01-09 04:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:28:05' and `end` < '2025-01-09 04:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:28:10] Production.ERROR: CronJobId end10
[2025-01-09 04:28:10] Production.INFO: ==20933== Releasing lock...
[2025-01-09 04:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:28:13] Production.INFO: call_cost start
[2025-01-09 04:28:13] Production.INFO: call_cost end
[2025-01-09 04:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:28:14] Production.INFO: ==20929== Releasing lock...
[2025-01-09 04:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:28:18] Production.INFO: count ==114
[2025-01-09 04:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:28:05 - End Time 2025-01-09 04:28:05
[2025-01-09 04:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207128', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207128', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207128', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207128', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:28:18] Production.INFO: ProcessCDR(1,14207128,1,1,2)
[2025-01-09 04:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207128', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207128', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:28:21] Production.INFO: ==20937== Releasing lock...
[2025-01-09 04:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:28:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:29:02] Production.INFO: ==21033== Lock acquired, processing the job...
[2025-01-09 09:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:29:02] Production.INFO: neon service started
[2025-01-09 09:29:02] Production.INFO: neon service started
[2025-01-09 09:29:02] Production.INFO: ==21033== Releasing lock...
[2025-01-09 09:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:29:02] Production.INFO: ==21035== Lock acquired, processing the job...
[2025-01-09 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:29:02] Production.INFO: ==21037== Lock acquired, processing the job...
[2025-01-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:29:02] Production.INFO: ==21037== Releasing lock...
[2025-01-09 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:29:03] Production.INFO: ==21035== Releasing lock...
[2025-01-09 04:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:29:03] Production.INFO: ==21046== Lock acquired, processing the job...
[2025-01-09 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:29:04] Production.INFO: ==21050== Lock acquired, processing the job...
[2025-01-09 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:29:04] Production.INFO: Account Balance Start.
[2025-01-09 04:29:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:29:04] Production.INFO: 117
[2025-01-09 04:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:29:04] Production.INFO: ==21040== Lock acquired, processing the job...
[2025-01-09 04:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:29:04] Production.INFO: ==21042== Lock acquired, processing the job...
[2025-01-09 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:29:04] Production.INFO: ==21044== Lock acquired, processing the job...
[2025-01-09 04:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:29:04] Production.INFO: Total Charge 0
[2025-01-09 04:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:29:04] Production.INFO: CreateAllLog End
[2025-01-09 04:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:29:04] Production.INFO: ==21048== Lock acquired, processing the job...
[2025-01-09 04:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:29:04] Production.INFO: count ==21
[2025-01-09 04:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:29:04] Production.INFO: count ==21
[2025-01-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207130') start
[2025-01-09 04:29:04] Production.INFO: Account Balance End.
[2025-01-09 04:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:29:04] Production.INFO: ==21046== Releasing lock...
[2025-01-09 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207130') end
[2025-01-09 04:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:29:04] Production.INFO: 1
[2025-01-09 04:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:29:04] Production.INFO: ==21042== Releasing lock...
[2025-01-09 04:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:29:04] Production.INFO: ==21050== Releasing lock...
[2025-01-09 04:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:29:04] Production.ERROR: done
[2025-01-09 04:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:29:04] Production.ERROR: done
[2025-01-09 04:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:29:05
[end_date_ymd] => 2025-01-09 04:29:05
[RateCDR] => 1
)
[2025-01-09 04:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:29:05' and `end` < '2025-01-09 04:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:29:11] Production.ERROR: CronJobId end10
[2025-01-09 04:29:11] Production.INFO: ==21044== Releasing lock...
[2025-01-09 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:29:12] Production.INFO: call_cost start
[2025-01-09 04:29:12] Production.INFO: call_cost end
[2025-01-09 04:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:29:13] Production.INFO: ==21040== Releasing lock...
[2025-01-09 04:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:29:18] Production.INFO: count ==114
[2025-01-09 04:29:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:29:05 - End Time 2025-01-09 04:29:05
[2025-01-09 04:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207133', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207133', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207133', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207133', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:29:18] Production.INFO: ProcessCDR(1,14207133,1,1,2)
[2025-01-09 04:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207133', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207133', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:29:21] Production.INFO: ==21048== Releasing lock...
[2025-01-09 04:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:29:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:30:01] Production.INFO: ==21103== Lock acquired, processing the job...
[2025-01-09 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:30:01] Production.INFO: neon service started
[2025-01-09 09:30:01] Production.INFO: neon service started
[2025-01-09 09:30:01] Production.INFO: ==21103== Releasing lock...
[2025-01-09 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:30:02] Production.INFO: ==21105== Lock acquired, processing the job...
[2025-01-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:30:02] Production.INFO: ==21107== Lock acquired, processing the job...
[2025-01-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:30:02] Production.INFO: ==21107== Releasing lock...
[2025-01-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:30:02] Production.INFO: ==21105== Releasing lock...
[2025-01-09 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:30:03] Production.INFO: ==21110== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 04:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 04:30:03] Production.INFO: ==21112== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 04:30:03] Production.INFO: ==21110== Releasing lock...
[2025-01-09 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 04:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 04:30:03] Production.INFO: ==21114== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-01-09 04:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:30:03] Production.INFO: ==21116== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:30:03] Production.INFO: ==21118== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:30:03] Production.INFO: ==21120== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:30:03] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 04:30:03] Production.INFO: ==21122== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:30:03] Production.INFO: Account Balance Start.
[2025-01-09 04:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:30:03] Production.INFO: 117
[2025-01-09 04:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:30:03] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-01-09 04:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:30:04] Production.INFO: Call prc_getBillingAccounts(1,2025-01-09,'','0')
[2025-01-09 04:30:04] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 65
[NextInvoiceDate] => 2025-01-09
[AccountName] => AOPG Inc.
[ServiceID] => 0
)
)
[2025-01-09 04:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:30:04] Production.INFO: AccountID =65 FirstInvoiceSend 0
[2025-01-09 04:30:04] Production.INFO: LastInvoiceDate 2024-12-09 NextInvoiceDate 2025-01-09
[2025-01-09 04:30:04] Production.INFO: LastChargeDate 2024-12-09 NextChargeDate 2025-01-08
[2025-01-09 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-09 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-09 04:30:04] Production.INFO: Invoice::sendInvoice(1,65,2024-12-09,2025-01-09,billing@onswitchit.ca)
[2025-01-09 04:30:04] Production.INFO: Total Charge 0
[2025-01-09 04:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:30:04] Production.INFO: CreateAllLog End
[2025-01-09 04:30:04] Production.INFO: start Date =2024-12-09 EndDate =2025-01-08 23:59:59
[2025-01-09 04:30:04] Production.INFO: count ==21
[2025-01-09 04:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:30:04] Production.INFO: count ==21
[2025-01-09 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207138') start
[2025-01-09 04:30:04] Production.ERROR: done
[2025-01-09 04:30:04] Production.INFO: ==21116== Releasing lock...
[2025-01-09 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:30:04] Production.ERROR: done
[2025-01-09 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-09 04:30:04] Production.INFO: InvoiceTemplate->Terms =
This a summary of your subscription and usage charges for this billing period. Detailed charges, such as a list of all billable calls, can be found on subsequent pages.
[2025-01-09 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-09 04:30:04] Production.INFO: AlreadyBilled
[2025-01-09 04:30:04] Production.INFO: Account Balance End.
[2025-01-09 04:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:30:04] Production.INFO: ==21120== Releasing lock...
[2025-01-09 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207139', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207138') end
[2025-01-09 04:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:30:04] Production.INFO: 1
[2025-01-09 04:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:30:04] Production.ERROR: done
[2025-01-09 04:30:04] Production.INFO: original start date ==>2024-12-09 changed start date ==>2024-12-09 00:00:00 original end date ==>2025-01-08 23:59:59 changed end date ==>2025-01-08 23:59:59
[2025-01-09 04:30:04] Production.INFO: CompanyGatewayID 1 TotalCharges ==>0.66000000
[2025-01-09 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,65,2024-12-09,2025-01-08 23:59:59)
[2025-01-09 04:30:04] Production.INFO: TotalCharges - 0.66
[2025-01-09 04:30:04] Production.INFO: ==21126== Releasing lock...
[2025-01-09 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:30:04] Production.INFO: TotalUsageCharges - 0.66
[2025-01-09 04:30:04] Production.INFO: Usage Over
[2025-01-09 04:30:04] Production.INFO: Call prc_getAccountSubscription(65,0)
[2025-01-09 04:30:04] Production.INFO: SUBSCRIPTION 5
[2025-01-09 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-09 04:30:04] Production.INFO: SubscriptionID - 1
[2025-01-09 04:30:04] Production.INFO: isAdvanceSubscription - 1
[2025-01-09 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-09 - SubscriptionEndDate = 2025-02-08
[2025-01-09 04:30:04] Production.INFO: NewNextChargeDate =2025-02-08 00:00:00
[2025-01-09 04:30:04] Production.INFO: EndDate =2025-01-08 00:00:00
[2025-01-09 04:30:04] Production.INFO: NewEndDate1 =2025-01-09
[2025-01-09 04:30:04] Production.INFO: SubscriptionDate
[2025-01-09 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-09
[EndDate] => 2025-02-08 00:00:00
[AlreadyCharged] => 0
)
[2025-01-09 04:30:04] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-09
[2025-01-09 04:30:04] Production.INFO: SubscriptionID - 2025-01-09=====2025-02-08 00:00:00
[2025-01-09 04:30:04] Production.INFO: AccountSubscriptionID - 229 === 2018-02-16=====2026-01-09
[2025-01-09 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-09 04:30:04] Production.INFO: First Time False 2018-02-16 2025-01-09
[2025-01-09 04:30:04] Production.INFO: StartDate 2025-01-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-02-08 00:00:00 AccountSubscription->EndDate 2026-01-09
[2025-01-09 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(229,2025-01-09,2025-02-08 00:00:00,,0)
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge - 7
[2025-01-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,1,2025-01-09,2025-02-08 00:00:00,License for a Pay As You Go Cloud Phone extension,21,7,3,229)
[2025-01-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-09 04:30:05] Production.INFO: DiscountType
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge 21
[2025-01-09 04:30:05] Production.INFO: New SubscriptionCharge 21
[2025-01-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 21.00
[2025-01-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 12
[2025-01-09 04:30:05] Production.INFO: isAdvanceSubscription - 12
[2025-01-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-09 - SubscriptionEndDate = 2025-02-08
[2025-01-09 04:30:05] Production.INFO: NewNextChargeDate =2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: EndDate =2025-01-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: NewEndDate1 =2025-01-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionDate
[2025-01-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-09
[EndDate] => 2025-02-08 00:00:00
[AlreadyCharged] => 0
)
[2025-01-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 2025-01-09=====2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: AccountSubscriptionID - 230 === 2018-02-16=====2026-01-09
[2025-01-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-01-09
[2025-01-09 04:30:05] Production.INFO: StartDate 2025-01-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-02-08 00:00:00 AccountSubscription->EndDate 2026-01-09
[2025-01-09 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(230,2025-01-09,2025-02-08 00:00:00,,0)
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge - 0
[2025-01-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-01-09,2025-02-08 00:00:00,Included DID (16473177297),0,0,1,230)
[2025-01-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-09 04:30:05] Production.INFO: DiscountType
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge 0
[2025-01-09 04:30:05] Production.INFO: New SubscriptionCharge 0
[2025-01-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 12
[2025-01-09 04:30:05] Production.INFO: isAdvanceSubscription - 12
[2025-01-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-09 - SubscriptionEndDate = 2025-02-08
[2025-01-09 04:30:05] Production.INFO: NewNextChargeDate =2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: EndDate =2025-01-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: NewEndDate1 =2025-01-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionDate
[2025-01-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-09
[EndDate] => 2025-02-08 00:00:00
[AlreadyCharged] => 0
)
[2025-01-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 2025-01-09=====2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: AccountSubscriptionID - 231 === 2018-02-16=====2026-01-09
[2025-01-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-01-09
[2025-01-09 04:30:05] Production.INFO: StartDate 2025-01-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-02-08 00:00:00 AccountSubscription->EndDate 2026-01-09
[2025-01-09 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(231,2025-01-09,2025-02-08 00:00:00,,0)
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge - 0
[2025-01-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-01-09,2025-02-08 00:00:00,Included DID (17134010840),0,0,1,231)
[2025-01-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-09 04:30:05] Production.INFO: DiscountType
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge 0
[2025-01-09 04:30:05] Production.INFO: New SubscriptionCharge 0
[2025-01-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 12
[2025-01-09 04:30:05] Production.INFO: isAdvanceSubscription - 12
[2025-01-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-09 - SubscriptionEndDate = 2025-02-08
[2025-01-09 04:30:05] Production.INFO: NewNextChargeDate =2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: EndDate =2025-01-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: NewEndDate1 =2025-01-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionDate
[2025-01-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-09
[EndDate] => 2025-02-08 00:00:00
[AlreadyCharged] => 0
)
[2025-01-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 2025-01-09=====2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: AccountSubscriptionID - 232 === 2018-02-16=====2026-01-09
[2025-01-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-01-09
[2025-01-09 04:30:05] Production.INFO: StartDate 2025-01-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-02-08 00:00:00 AccountSubscription->EndDate 2026-01-09
[2025-01-09 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(232,2025-01-09,2025-02-08 00:00:00,,0)
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge - 0
[2025-01-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,12,2025-01-09,2025-02-08 00:00:00,Included DID (18887829336),0,0,1,232)
[2025-01-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-09 04:30:05] Production.INFO: DiscountType
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge 0
[2025-01-09 04:30:05] Production.INFO: New SubscriptionCharge 0
[2025-01-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-09 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 4
[2025-01-09 04:30:05] Production.INFO: isAdvanceSubscription - 4
[2025-01-09 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-09 - SubscriptionEndDate = 2025-02-08
[2025-01-09 04:30:05] Production.INFO: NewNextChargeDate =2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: EndDate =2025-01-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: NewEndDate1 =2025-01-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionDate
[2025-01-09 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-09
[EndDate] => 2025-02-08 00:00:00
[AlreadyCharged] => 0
)
[2025-01-09 04:30:05] Production.INFO: AccountSubscription StartDate 2018-02-16 StartDate 2024-12-09
[2025-01-09 04:30:05] Production.INFO: SubscriptionID - 2025-01-09=====2025-02-08 00:00:00
[2025-01-09 04:30:05] Production.INFO: AccountSubscriptionID - 233 === 2018-02-16=====2026-01-09
[2025-01-09 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-09 04:30:05] Production.INFO: First Time False 2018-02-16 2025-01-09
[2025-01-09 04:30:05] Production.INFO: StartDate 2025-01-09 AccountSubscription->StartDate 2018-02-16 EndDate 2025-02-08 00:00:00 AccountSubscription->EndDate 2026-01-09
[2025-01-09 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-09 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(233,2025-01-09,2025-02-08 00:00:00,,0)
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-09 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-09 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(65,1,4,2025-01-09,2025-02-08 00:00:00,e911 address registration (16473177297 - 69 KINGSGATE CRES MOUNT ALBERT, ON L0G1M0),2.5,2.5,1,233)
[2025-01-09 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-09 04:30:05] Production.INFO: DiscountType
[2025-01-09 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-09 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-09 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-09 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-09 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-09 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(65,0,2024-12-09,2025-01-09 23:59:59)
[2025-01-09 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-09 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-09 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-09 04:30:05] Production.INFO: New UsageDates 2024-12-09 - 2025-01-08 23:59:59
[2025-01-09 04:30:05] Production.INFO: SubTotal 24.16
[2025-01-09 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-09 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-09 04:30:05] Production.INFO: TotalTax 3.1408
[2025-01-09 04:30:05] Production.INFO: InvoiceGrandTotal 27.3008
[2025-01-09 04:30:05] Production.INFO: InvoiceTaxAmount 3.14
[2025-01-09 04:30:05] Production.INFO: GrandTotal 27.3
[2025-01-09 04:30:05] Production.INFO: SubTotal 24.16
[2025-01-09 04:30:05] Production.INFO: TotalDue 0.59
[2025-01-09 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-09 04:30:05] Production.INFO: original start date ==>2024-12-09 changed start date ==>2024-12-09 00:00:00 original end date ==>2025-01-08 23:59:59 changed end date ==>2025-01-08 23:59:59
[2025-01-09 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'65','0','1','2024-12-09 00:00:00','2025-01-08 23:59:59',0)
[2025-01-09 04:30:05] Production.INFO: PDF Generation start
[2025-01-09 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/65/Invoices/2025/01/09/Invoice-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.pdf
[2025-01-09 04:30:05] Production.INFO: On Linux
[2025-01-09 04:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:30:06
[end_date_ymd] => 2025-01-09 04:30:06
[RateCDR] => 1
)
[2025-01-09 04:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:30:06' and `end` < '2025-01-09 04:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:30:07] Production.INFO: /var/www/html/onswitch.neon.service/wkhtmltox/bin/wkhtmltopdf --header-spacing 3 --footer-spacing 1 --header-html --footer-html "/var/www/tmp/1/65/Invoices/2025/01/09/footer-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.html" "/var/www/tmp/1/65/Invoices/2025/01/09/Invoice-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.html" "/var/www/tmp/1/65/Invoices/2025/01/09/Invoice-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.pdf"
[2025-01-09 04:30:07] Production.INFO:
[2025-01-09 04:30:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/01/09/Invoice-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.html
[2025-01-09 04:30:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/01/09/header-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.html
[2025-01-09 04:30:07] Production.INFO: /var/www/tmp/1/65/Invoices/2025/01/09/footer-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.html
[2025-01-09 04:30:07] Production.INFO: Invoice generation PDF path
[2025-01-09 04:30:07] Production.INFO: PDF fullPath 1/65/Invoices/2025/01/09/Invoice-aopg-inc-inv11341-from-12-09-2024-to-01-08-2025-10267.pdf
[2025-01-09 04:30:07] Production.INFO: Generate Usage File Start
[2025-01-09 04:30:07] Production.INFO: Usage File fullPath 1/65/InvoiceUsageFile/2025/01/09/aopg-inc-09-12-2024-00-00-00-TO-08-01-2025-23-59-59_2357__507db040-ce6c-11ef-b8c2-f9fb0dd36834.csv
[2025-01-09 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207139', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 04:30:09] Production.INFO: ProcessCDR(1,14207139,1,1,2)
[2025-01-09 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:30:09] Production.INFO: ==21124== Releasing lock...
[2025-01-09 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:30:11] Production.INFO: Sending Email to Staff over
[2025-01-09 04:30:11] Production.INFO: Email Status 1
[2025-01-09 04:30:11] Production.INFO: Sending Email to Customer
[2025-01-09 04:30:12] Production.INFO: Email Try 10267 1
[2025-01-09 04:30:12] Production.INFO: =========== Email Sending over ===========
[2025-01-09 04:30:12] Production.INFO: =========== Returning as Success =========== AccountID 65
[2025-01-09 04:30:12] Production.INFO: Invoice::sendInvoice done
[2025-01-09 04:30:12] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-09 04:30:12] Production.INFO: Invoice Committed AccountID = 65
[2025-01-09 04:30:12] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-09 04:30:12] Production.INFO: NextInvoice 2025-01-09 2025-02-08
[2025-01-09 04:30:12] Production.INFO: new dates
[2025-01-09 04:30:12] Production.INFO: LastInvoiceDate 2025-01-09 NextInvoiceDate 2025-02-09
[2025-01-09 04:30:12] Production.INFO: LastChargeDate 2025-01-09 NextChargeDate 2025-02-08
[2025-01-09 04:30:12] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-09 04:30:12] Production.INFO: ========================== Invoice Send End =============================
[2025-01-09 04:30:12] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-09 04:30:12] Production.INFO: recurring invoices ID
[2025-01-09 04:30:12] Production.INFO:
[2025-01-09 04:30:12] Production.INFO: recurring errorsArray
(
)
[2025-01-09 04:30:12] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-09 04:30:12] Production.INFO: ========================== Job Updated =============================
[2025-01-09 04:30:13] Production.INFO: ========================== Job Email Sent =============================
[2025-01-09 04:30:14] Production.ERROR: **Email Sent Status 1
[2025-01-09 04:30:14] Production.ERROR: **Email Sent message Email has been sent
[2025-01-09 04:30:14] Production.ERROR: CronJobId end6
[2025-01-09 04:30:14] Production.INFO: ==21114== Releasing lock...
[2025-01-09 04:30:14] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-09 04:30:14] Production.INFO: 38.25 MB #Memory Used#
[2025-01-09 04:30:15] Production.ERROR: CronJobId end10
[2025-01-09 04:30:15] Production.INFO: ==21118== Releasing lock...
[2025-01-09 04:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:30:15] Production.INFO: call_cost start
[2025-01-09 04:30:15] Production.INFO: call_cost end
[2025-01-09 04:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:30:16] Production.INFO: ==21112== Releasing lock...
[2025-01-09 04:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:30:18] Production.INFO: count ==115
[2025-01-09 04:30:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:30:06 - End Time 2025-01-09 04:30:06
[2025-01-09 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207140', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207140', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207140', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207140', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:30:19] Production.INFO: ProcessCDR(1,14207140,1,1,2)
[2025-01-09 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207140', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207140', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:30:22] Production.INFO: ==21122== Releasing lock...
[2025-01-09 04:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:30:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:31:02] Production.INFO: ==21197== Lock acquired, processing the job...
[2025-01-09 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:31:02] Production.INFO: neon service started
[2025-01-09 09:31:02] Production.INFO: neon service started
[2025-01-09 09:31:02] Production.INFO: ==21197== Releasing lock...
[2025-01-09 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:31:02] Production.INFO: ==21201== Lock acquired, processing the job...
[2025-01-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:31:02] Production.INFO: ==21199== Lock acquired, processing the job...
[2025-01-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:31:02] Production.INFO: ==21201== Releasing lock...
[2025-01-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:31:02] Production.INFO: ==21199== Releasing lock...
[2025-01-09 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:31:03] Production.INFO: ==21203== Lock acquired, processing the job...
[2025-01-09 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:31:03] Production.INFO: ==21205== Lock acquired, processing the job...
[2025-01-09 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:31:03] Production.INFO: ==21213== Lock acquired, processing the job...
[2025-01-09 04:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:31:03] Production.INFO: count ==21
[2025-01-09 04:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:31:03] Production.INFO: count ==21
[2025-01-09 04:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207142') start
[2025-01-09 04:31:03] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-01-09 04:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:31:03] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-01-09 04:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:31:04] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-01-09 04:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207142') end
[2025-01-09 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:31:04] Production.INFO: 1
[2025-01-09 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:31:04] Production.INFO: Account Balance Start.
[2025-01-09 04:31:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:31:04] Production.INFO: 117
[2025-01-09 04:31:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:31:04] Production.INFO: ==21205== Releasing lock...
[2025-01-09 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:31:04] Production.INFO: Total Charge 0
[2025-01-09 04:31:04] Production.INFO: ==21213== Releasing lock...
[2025-01-09 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:31:04] Production.INFO: CreateAllLog End
[2025-01-09 04:31:04] Production.ERROR: done
[2025-01-09 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:31:04] Production.INFO: Account Balance End.
[2025-01-09 04:31:04] Production.ERROR: done
[2025-01-09 04:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:31:04] Production.INFO: ==21209== Releasing lock...
[2025-01-09 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:31:05
[end_date_ymd] => 2025-01-09 04:31:05
[RateCDR] => 1
)
[2025-01-09 04:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:31:05' and `end` < '2025-01-09 04:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:31:10] Production.ERROR: CronJobId end10
[2025-01-09 04:31:10] Production.INFO: ==21207== Releasing lock...
[2025-01-09 04:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:31:13] Production.INFO: call_cost start
[2025-01-09 04:31:13] Production.INFO: call_cost end
[2025-01-09 04:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:31:13] Production.INFO: ==21203== Releasing lock...
[2025-01-09 04:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:31:18] Production.INFO: count ==115
[2025-01-09 04:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:31:05 - End Time 2025-01-09 04:31:05
[2025-01-09 04:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207145', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207145', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207145', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207145', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:31:18] Production.INFO: ProcessCDR(1,14207145,1,1,2)
[2025-01-09 04:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207145', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207145', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:31:21] Production.INFO: ==21211== Releasing lock...
[2025-01-09 04:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:31:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:32:01] Production.INFO: ==21267== Lock acquired, processing the job...
[2025-01-09 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:32:01] Production.INFO: neon service started
[2025-01-09 09:32:01] Production.INFO: neon service started
[2025-01-09 09:32:01] Production.INFO: ==21267== Releasing lock...
[2025-01-09 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:32:02] Production.INFO: ==21269== Lock acquired, processing the job...
[2025-01-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:32:02] Production.INFO: ==21271== Lock acquired, processing the job...
[2025-01-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:32:02] Production.INFO: ==21271== Releasing lock...
[2025-01-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:32:02] Production.INFO: ==21269== Releasing lock...
[2025-01-09 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:32:03] Production.INFO: ==21274== Lock acquired, processing the job...
[2025-01-09 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:32:03] Production.INFO: ==21276== Lock acquired, processing the job...
[2025-01-09 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:32:03] Production.INFO: ==21282== Lock acquired, processing the job...
[2025-01-09 04:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:32:03] Production.INFO: ==21278== Lock acquired, processing the job...
[2025-01-09 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:32:03] Production.INFO: ==21280== Lock acquired, processing the job...
[2025-01-09 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:32:03] Production.INFO: ==21276== Releasing lock...
[2025-01-09 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:32:03] Production.INFO: ==21284== Lock acquired, processing the job...
[2025-01-09 04:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:32:03] Production.ERROR: done
[2025-01-09 04:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:32:03] Production.INFO: Account Balance Start.
[2025-01-09 04:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:32:03] Production.INFO: 117
[2025-01-09 04:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:32:03] Production.INFO: count ==21
[2025-01-09 04:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:32:03] Production.INFO: count ==21
[2025-01-09 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207148') start
[2025-01-09 04:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:32:03] Production.INFO: Total Charge 0
[2025-01-09 04:32:03] Production.ERROR: done
[2025-01-09 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207148') end
[2025-01-09 04:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:32:04] Production.INFO: 1
[2025-01-09 04:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:32:04] Production.INFO: CreateAllLog End
[2025-01-09 04:32:04] Production.INFO: ==21284== Releasing lock...
[2025-01-09 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:32:04] Production.INFO: Account Balance End.
[2025-01-09 04:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:32:04] Production.INFO: ==21280== Releasing lock...
[2025-01-09 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:32:04
[end_date_ymd] => 2025-01-09 04:32:04
[RateCDR] => 1
)
[2025-01-09 04:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:32:04' and `end` < '2025-01-09 04:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:32:10] Production.ERROR: CronJobId end10
[2025-01-09 04:32:10] Production.INFO: ==21278== Releasing lock...
[2025-01-09 04:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:32:12] Production.INFO: call_cost start
[2025-01-09 04:32:12] Production.INFO: call_cost end
[2025-01-09 04:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:32:13] Production.INFO: ==21274== Releasing lock...
[2025-01-09 04:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:32:17] Production.INFO: count ==115
[2025-01-09 04:32:17] Production.ERROR: pbx CDR StartTime 2025-01-09 01:32:04 - End Time 2025-01-09 04:32:04
[2025-01-09 04:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207150', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207150', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207150', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207150', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:32:17] Production.INFO: ProcessCDR(1,14207150,1,1,2)
[2025-01-09 04:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:32:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207150', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:32:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207150', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:32:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:32:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:32:20] Production.INFO: ==21282== Releasing lock...
[2025-01-09 04:32:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:32:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:33:01] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-01-09 09:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:33:01] Production.INFO: neon service started
[2025-01-09 09:33:01] Production.INFO: neon service started
[2025-01-09 09:33:01] Production.INFO: ==21338== Releasing lock...
[2025-01-09 09:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:33:02] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-01-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:33:02] Production.INFO: ==21342== Lock acquired, processing the job...
[2025-01-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:33:02] Production.INFO: ==21342== Releasing lock...
[2025-01-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:33:02] Production.INFO: ==21340== Releasing lock...
[2025-01-09 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:33:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:33:03] Production.INFO: ==21347== Lock acquired, processing the job...
[2025-01-09 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:33:03] Production.INFO: ==21349== Lock acquired, processing the job...
[2025-01-09 04:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:33:03] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-01-09 04:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:33:03] Production.INFO: ==21345== Lock acquired, processing the job...
[2025-01-09 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:33:03] Production.INFO: ==21347== Releasing lock...
[2025-01-09 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:33:03] Production.INFO: ==21351== Lock acquired, processing the job...
[2025-01-09 04:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:33:03] Production.INFO: ==21355== Lock acquired, processing the job...
[2025-01-09 04:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:33:04] Production.INFO: Account Balance Start.
[2025-01-09 04:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:33:04] Production.INFO: 117
[2025-01-09 04:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:33:04] Production.ERROR: done
[2025-01-09 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:33:04] Production.INFO: Total Charge 0
[2025-01-09 04:33:04] Production.INFO: CreateAllLog End
[2025-01-09 04:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:33:04] Production.INFO: count ==21
[2025-01-09 04:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:33:04] Production.INFO: count ==21
[2025-01-09 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207154') start
[2025-01-09 04:33:04] Production.INFO: Account Balance End.
[2025-01-09 04:33:04] Production.ERROR: done
[2025-01-09 04:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:33:04] Production.INFO: ==21351== Releasing lock...
[2025-01-09 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207154') end
[2025-01-09 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:33:04] Production.INFO: 1
[2025-01-09 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:33:04] Production.INFO: ==21355== Releasing lock...
[2025-01-09 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:33:05
[end_date_ymd] => 2025-01-09 04:33:05
[RateCDR] => 1
)
[2025-01-09 04:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:33:05' and `end` < '2025-01-09 04:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:33:10] Production.ERROR: CronJobId end10
[2025-01-09 04:33:10] Production.INFO: ==21349== Releasing lock...
[2025-01-09 04:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:33:12] Production.INFO: call_cost start
[2025-01-09 04:33:12] Production.INFO: call_cost end
[2025-01-09 04:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:33:13] Production.INFO: ==21345== Releasing lock...
[2025-01-09 04:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:33:19] Production.INFO: count ==115
[2025-01-09 04:33:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:33:05 - End Time 2025-01-09 04:33:05
[2025-01-09 04:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207155', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207155', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207155', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207155', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:33:19] Production.INFO: ProcessCDR(1,14207155,1,1,2)
[2025-01-09 04:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207155', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207155', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:33:22] Production.INFO: ==21353== Releasing lock...
[2025-01-09 04:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:33:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:34:01] Production.INFO: ==21410== Lock acquired, processing the job...
[2025-01-09 09:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:34:01] Production.INFO: neon service started
[2025-01-09 09:34:01] Production.INFO: neon service started
[2025-01-09 09:34:01] Production.INFO: ==21410== Releasing lock...
[2025-01-09 09:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:34:02] Production.INFO: ==21412== Lock acquired, processing the job...
[2025-01-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:34:02] Production.INFO: ==21414== Lock acquired, processing the job...
[2025-01-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:34:02] Production.INFO: ==21414== Releasing lock...
[2025-01-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:34:02] Production.INFO: ==21412== Releasing lock...
[2025-01-09 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:34:03] Production.INFO: ==21419== Lock acquired, processing the job...
[2025-01-09 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:34:03] Production.INFO: ==21427== Lock acquired, processing the job...
[2025-01-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:34:03] Production.INFO: ==21417== Lock acquired, processing the job...
[2025-01-09 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:34:03] Production.INFO: count ==21
[2025-01-09 04:34:03] Production.INFO: ==21419== Releasing lock...
[2025-01-09 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:34:03] Production.INFO: ==21421== Lock acquired, processing the job...
[2025-01-09 04:34:03] Production.INFO: count ==21
[2025-01-09 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:34:03] Production.INFO: ==21423== Lock acquired, processing the job...
[2025-01-09 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:34:03] Production.INFO: ==21425== Lock acquired, processing the job...
[2025-01-09 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207157') start
[2025-01-09 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:34:03] Production.INFO: Account Balance Start.
[2025-01-09 04:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:34:03] Production.INFO: 117
[2025-01-09 04:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207157') end
[2025-01-09 04:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:34:03] Production.INFO: 1
[2025-01-09 04:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:34:03] Production.INFO: ==21427== Releasing lock...
[2025-01-09 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:34:04] Production.ERROR: done
[2025-01-09 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:34:04] Production.INFO: Total Charge 0
[2025-01-09 04:34:04] Production.INFO: CreateAllLog End
[2025-01-09 04:34:04] Production.ERROR: done
[2025-01-09 04:34:04] Production.INFO: Account Balance End.
[2025-01-09 04:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:34:04] Production.INFO: ==21423== Releasing lock...
[2025-01-09 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:34:05
[end_date_ymd] => 2025-01-09 04:34:05
[RateCDR] => 1
)
[2025-01-09 04:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:34:05' and `end` < '2025-01-09 04:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:34:10] Production.ERROR: CronJobId end10
[2025-01-09 04:34:10] Production.INFO: ==21421== Releasing lock...
[2025-01-09 04:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:34:12] Production.INFO: call_cost start
[2025-01-09 04:34:12] Production.INFO: call_cost end
[2025-01-09 04:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:34:13] Production.INFO: ==21417== Releasing lock...
[2025-01-09 04:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:34:18] Production.INFO: count ==115
[2025-01-09 04:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:34:05 - End Time 2025-01-09 04:34:05
[2025-01-09 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207160', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207160', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207160', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207160', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:34:18] Production.INFO: ProcessCDR(1,14207160,1,1,2)
[2025-01-09 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207160', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207160', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:34:21] Production.INFO: ==21425== Releasing lock...
[2025-01-09 04:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:34:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:35:01] Production.INFO: ==21484== Lock acquired, processing the job...
[2025-01-09 09:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:35:01] Production.INFO: neon service started
[2025-01-09 09:35:01] Production.INFO: neon service started
[2025-01-09 09:35:01] Production.INFO: ==21484== Releasing lock...
[2025-01-09 09:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:35:02] Production.INFO: ==21486== Lock acquired, processing the job...
[2025-01-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:35:02] Production.INFO: ==21486== Releasing lock...
[2025-01-09 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:35:02] Production.INFO: ==21488== Lock acquired, processing the job...
[2025-01-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:35:02] Production.INFO: ==21488== Releasing lock...
[2025-01-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:35:03] Production.INFO: ==21496== Lock acquired, processing the job...
[2025-01-09 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:35:03] Production.INFO: Account Balance Start.
[2025-01-09 04:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:35:03] Production.INFO: 117
[2025-01-09 04:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:35:03] Production.INFO: ==21501== Lock acquired, processing the job...
[2025-01-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:35:03] Production.INFO: ==21492== Lock acquired, processing the job...
[2025-01-09 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:35:03] Production.INFO: Total Charge 0
[2025-01-09 04:35:03] Production.INFO: CreateAllLog End
[2025-01-09 04:35:03] Production.INFO: ==21490== Lock acquired, processing the job...
[2025-01-09 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:35:03] Production.INFO: ==21494== Lock acquired, processing the job...
[2025-01-09 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:35:03] Production.INFO: count ==21
[2025-01-09 04:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:35:03] Production.INFO: count ==21
[2025-01-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207162') start
[2025-01-09 04:35:03] Production.INFO: ==21499== Lock acquired, processing the job...
[2025-01-09 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:35:03] Production.INFO: Account Balance End.
[2025-01-09 04:35:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:35:03] Production.INFO: ==21496== Releasing lock...
[2025-01-09 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207162') end
[2025-01-09 04:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:35:03] Production.INFO: 1
[2025-01-09 04:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:35:03] Production.INFO: ==21501== Releasing lock...
[2025-01-09 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:35:04] Production.INFO: ==21492== Releasing lock...
[2025-01-09 04:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:35:04] Production.ERROR: done
[2025-01-09 04:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:35:04] Production.ERROR: done
[2025-01-09 04:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:35:05
[end_date_ymd] => 2025-01-09 04:35:05
[RateCDR] => 1
)
[2025-01-09 04:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:35:05' and `end` < '2025-01-09 04:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:35:11] Production.ERROR: CronJobId end10
[2025-01-09 04:35:11] Production.INFO: ==21494== Releasing lock...
[2025-01-09 04:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:35:13] Production.INFO: call_cost start
[2025-01-09 04:35:13] Production.INFO: call_cost end
[2025-01-09 04:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:35:14] Production.INFO: ==21490== Releasing lock...
[2025-01-09 04:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:35:18] Production.INFO: count ==115
[2025-01-09 04:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:35:05 - End Time 2025-01-09 04:35:05
[2025-01-09 04:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207165', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207165', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207165', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207165', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:35:18] Production.INFO: ProcessCDR(1,14207165,1,1,2)
[2025-01-09 04:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207165', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207165', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:35:21] Production.INFO: ==21499== Releasing lock...
[2025-01-09 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:35:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:36:01] Production.INFO: ==21557== Lock acquired, processing the job...
[2025-01-09 09:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:36:01] Production.INFO: neon service started
[2025-01-09 09:36:01] Production.INFO: neon service started
[2025-01-09 09:36:01] Production.INFO: ==21557== Releasing lock...
[2025-01-09 09:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:36:02] Production.INFO: ==21559== Lock acquired, processing the job...
[2025-01-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:36:02] Production.INFO: ==21561== Lock acquired, processing the job...
[2025-01-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:36:02] Production.INFO: ==21561== Releasing lock...
[2025-01-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:36:02] Production.INFO: ==21559== Releasing lock...
[2025-01-09 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:36:03] Production.INFO: ==21570== Lock acquired, processing the job...
[2025-01-09 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:36:03] Production.INFO: ==21574== Lock acquired, processing the job...
[2025-01-09 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:36:03] Production.INFO: Account Balance Start.
[2025-01-09 04:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:36:03] Production.INFO: 117
[2025-01-09 04:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:36:03] Production.INFO: count ==21
[2025-01-09 04:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:36:03] Production.INFO: count ==21
[2025-01-09 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207167') start
[2025-01-09 04:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:36:03] Production.INFO: ==21564== Lock acquired, processing the job...
[2025-01-09 04:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:36:03] Production.INFO: ==21566== Lock acquired, processing the job...
[2025-01-09 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:36:03] Production.INFO: Total Charge 0
[2025-01-09 04:36:03] Production.INFO: CreateAllLog End
[2025-01-09 04:36:03] Production.INFO: ==21568== Lock acquired, processing the job...
[2025-01-09 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207167') end
[2025-01-09 04:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:36:03] Production.INFO: 1
[2025-01-09 04:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:36:03] Production.INFO: ==21572== Lock acquired, processing the job...
[2025-01-09 04:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:36:03] Production.INFO: ==21574== Releasing lock...
[2025-01-09 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:36:04] Production.INFO: Account Balance End.
[2025-01-09 04:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:36:04] Production.INFO: ==21570== Releasing lock...
[2025-01-09 04:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:36:04] Production.ERROR: done
[2025-01-09 04:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:36:04] Production.INFO: ==21566== Releasing lock...
[2025-01-09 04:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:36:04] Production.ERROR: done
[2025-01-09 04:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:36:05
[end_date_ymd] => 2025-01-09 04:36:05
[RateCDR] => 1
)
[2025-01-09 04:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:36:05' and `end` < '2025-01-09 04:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:36:10] Production.ERROR: CronJobId end10
[2025-01-09 04:36:10] Production.INFO: ==21568== Releasing lock...
[2025-01-09 04:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:36:13] Production.INFO: call_cost start
[2025-01-09 04:36:13] Production.INFO: call_cost end
[2025-01-09 04:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:36:14] Production.INFO: ==21564== Releasing lock...
[2025-01-09 04:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:36:18] Production.INFO: count ==115
[2025-01-09 04:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:36:05 - End Time 2025-01-09 04:36:05
[2025-01-09 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207170', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207170', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207170', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207170', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:36:18] Production.INFO: ProcessCDR(1,14207170,1,1,2)
[2025-01-09 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207170', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207170', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:36:22] Production.INFO: ==21572== Releasing lock...
[2025-01-09 04:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:36:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:37:01] Production.INFO: ==21634== Lock acquired, processing the job...
[2025-01-09 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:37:01] Production.INFO: neon service started
[2025-01-09 09:37:01] Production.INFO: neon service started
[2025-01-09 09:37:01] Production.INFO: ==21634== Releasing lock...
[2025-01-09 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:37:02] Production.INFO: ==21636== Lock acquired, processing the job...
[2025-01-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:37:02] Production.INFO: ==21636== Releasing lock...
[2025-01-09 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:37:02] Production.INFO: ==21638== Lock acquired, processing the job...
[2025-01-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:37:02] Production.INFO: ==21638== Releasing lock...
[2025-01-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:37:03] Production.INFO: ==21644== Lock acquired, processing the job...
[2025-01-09 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:37:03] Production.INFO: ==21646== Lock acquired, processing the job...
[2025-01-09 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:37:03] Production.INFO: ==21640== Lock acquired, processing the job...
[2025-01-09 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:37:03] Production.INFO: Account Balance Start.
[2025-01-09 04:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:37:03] Production.INFO: 117
[2025-01-09 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:37:03] Production.INFO: Total Charge 0
[2025-01-09 04:37:03] Production.INFO: CreateAllLog End
[2025-01-09 04:37:03] Production.INFO: ==21642== Lock acquired, processing the job...
[2025-01-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:37:03] Production.INFO: Account Balance End.
[2025-01-09 04:37:03] Production.INFO: ==21648== Lock acquired, processing the job...
[2025-01-09 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:37:03] Production.INFO: ==21650== Lock acquired, processing the job...
[2025-01-09 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:37:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:37:03] Production.INFO: ==21646== Releasing lock...
[2025-01-09 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:37:03] Production.INFO: count ==21
[2025-01-09 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:37:03] Production.INFO: count ==21
[2025-01-09 04:37:03] Production.INFO: ==21642== Releasing lock...
[2025-01-09 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207174') start
[2025-01-09 04:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207174') end
[2025-01-09 04:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:37:04] Production.INFO: 1
[2025-01-09 04:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:37:04] Production.ERROR: done
[2025-01-09 04:37:04] Production.INFO: ==21650== Releasing lock...
[2025-01-09 04:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:37:04] Production.ERROR: done
[2025-01-09 04:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:37:05
[end_date_ymd] => 2025-01-09 04:37:05
[RateCDR] => 1
)
[2025-01-09 04:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:37:05' and `end` < '2025-01-09 04:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:37:11] Production.ERROR: CronJobId end10
[2025-01-09 04:37:11] Production.INFO: ==21644== Releasing lock...
[2025-01-09 04:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:37:12] Production.INFO: call_cost start
[2025-01-09 04:37:12] Production.INFO: call_cost end
[2025-01-09 04:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:37:13] Production.INFO: ==21640== Releasing lock...
[2025-01-09 04:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:37:18] Production.INFO: count ==113
[2025-01-09 04:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:37:05 - End Time 2025-01-09 04:37:05
[2025-01-09 04:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207175', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207175', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207175', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207175', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:37:18] Production.INFO: ProcessCDR(1,14207175,1,1,2)
[2025-01-09 04:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207175', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207175', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:37:21] Production.INFO: ==21648== Releasing lock...
[2025-01-09 04:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:37:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:38:02] Production.INFO: ==21708== Lock acquired, processing the job...
[2025-01-09 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:38:02] Production.INFO: neon service started
[2025-01-09 09:38:02] Production.INFO: neon service started
[2025-01-09 09:38:02] Production.INFO: ==21708== Releasing lock...
[2025-01-09 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:38:02] Production.INFO: ==21710== Lock acquired, processing the job...
[2025-01-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:38:02] Production.INFO: ==21710== Releasing lock...
[2025-01-09 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:38:03] Production.INFO: ==21712== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:38:03] Production.INFO: ==21712== Releasing lock...
[2025-01-09 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:38:03] Production.INFO: ==21721== Lock acquired, processing the job...
[2025-01-09 04:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:38:03] Production.INFO: ==21725== Lock acquired, processing the job...
[2025-01-09 04:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:38:03] Production.INFO: Account Balance Start.
[2025-01-09 04:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:38:03] Production.INFO: 117
[2025-01-09 04:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:38:03] Production.INFO: ==21715== Lock acquired, processing the job...
[2025-01-09 04:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:38:03] Production.INFO: Total Charge 0
[2025-01-09 04:38:03] Production.INFO: count ==21
[2025-01-09 04:38:03] Production.INFO: CreateAllLog End
[2025-01-09 04:38:04] Production.INFO: ==21717== Lock acquired, processing the job...
[2025-01-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:38:04] Production.INFO: count ==21
[2025-01-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207177') start
[2025-01-09 04:38:04] Production.INFO: ==21719== Lock acquired, processing the job...
[2025-01-09 04:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:38:04] Production.INFO: ==21723== Lock acquired, processing the job...
[2025-01-09 04:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207177') end
[2025-01-09 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:38:04] Production.INFO: 1
[2025-01-09 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:38:04] Production.INFO: Account Balance End.
[2025-01-09 04:38:04] Production.INFO: ==21725== Releasing lock...
[2025-01-09 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:38:04] Production.INFO: ==21721== Releasing lock...
[2025-01-09 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:38:04] Production.INFO: ==21717== Releasing lock...
[2025-01-09 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:38:04] Production.ERROR: done
[2025-01-09 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:38:04] Production.ERROR: done
[2025-01-09 04:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:38:05
[end_date_ymd] => 2025-01-09 04:38:05
[RateCDR] => 1
)
[2025-01-09 04:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:38:05' and `end` < '2025-01-09 04:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:38:10] Production.ERROR: CronJobId end10
[2025-01-09 04:38:10] Production.INFO: ==21719== Releasing lock...
[2025-01-09 04:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:38:13] Production.INFO: call_cost start
[2025-01-09 04:38:13] Production.INFO: call_cost end
[2025-01-09 04:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:38:14] Production.INFO: ==21715== Releasing lock...
[2025-01-09 04:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:38:19] Production.INFO: count ==112
[2025-01-09 04:38:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:38:05 - End Time 2025-01-09 04:38:05
[2025-01-09 04:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207180', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207180', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207180', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207180', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:38:19] Production.INFO: ProcessCDR(1,14207180,1,1,2)
[2025-01-09 04:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207180', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207180', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:38:22] Production.INFO: ==21723== Releasing lock...
[2025-01-09 04:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:38:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:39:01] Production.INFO: ==21778== Lock acquired, processing the job...
[2025-01-09 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:39:01] Production.INFO: neon service started
[2025-01-09 09:39:01] Production.INFO: neon service started
[2025-01-09 09:39:01] Production.INFO: ==21778== Releasing lock...
[2025-01-09 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:39:02] Production.INFO: ==21780== Lock acquired, processing the job...
[2025-01-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:39:02] Production.INFO: ==21782== Lock acquired, processing the job...
[2025-01-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:39:02] Production.INFO: ==21782== Releasing lock...
[2025-01-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:39:02] Production.INFO: ==21780== Releasing lock...
[2025-01-09 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:39:03] Production.INFO: ==21787== Lock acquired, processing the job...
[2025-01-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:39:03] Production.INFO: ==21791== Lock acquired, processing the job...
[2025-01-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:39:03] Production.INFO: ==21793== Lock acquired, processing the job...
[2025-01-09 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:39:03] Production.INFO: Account Balance Start.
[2025-01-09 04:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:39:03] Production.INFO: 117
[2025-01-09 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:39:03] Production.INFO: ==21785== Lock acquired, processing the job...
[2025-01-09 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:39:03] Production.INFO: Total Charge 0
[2025-01-09 04:39:03] Production.INFO: CreateAllLog End
[2025-01-09 04:39:03] Production.INFO: ==21789== Lock acquired, processing the job...
[2025-01-09 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:39:03] Production.INFO: ==21787== Releasing lock...
[2025-01-09 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:39:03] Production.INFO: ==21795== Lock acquired, processing the job...
[2025-01-09 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:39:03] Production.INFO: Account Balance End.
[2025-01-09 04:39:03] Production.ERROR: done
[2025-01-09 04:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:39:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:39:03] Production.INFO: ==21791== Releasing lock...
[2025-01-09 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:39:04] Production.INFO: count ==21
[2025-01-09 04:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:39:04] Production.INFO: count ==21
[2025-01-09 04:39:04] Production.ERROR: done
[2025-01-09 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207184') start
[2025-01-09 04:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207184') end
[2025-01-09 04:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:39:04] Production.INFO: 1
[2025-01-09 04:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:39:04] Production.INFO: ==21795== Releasing lock...
[2025-01-09 04:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:39:05
[end_date_ymd] => 2025-01-09 04:39:05
[RateCDR] => 1
)
[2025-01-09 04:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:39:05' and `end` < '2025-01-09 04:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:39:10] Production.ERROR: CronJobId end10
[2025-01-09 04:39:10] Production.INFO: ==21789== Releasing lock...
[2025-01-09 04:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:39:12] Production.INFO: call_cost start
[2025-01-09 04:39:12] Production.INFO: call_cost end
[2025-01-09 04:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:39:13] Production.INFO: ==21785== Releasing lock...
[2025-01-09 04:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:39:19] Production.INFO: count ==112
[2025-01-09 04:39:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:39:05 - End Time 2025-01-09 04:39:05
[2025-01-09 04:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207185', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207185', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207185', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207185', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:39:19] Production.INFO: ProcessCDR(1,14207185,1,1,2)
[2025-01-09 04:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207185', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207185', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:39:22] Production.INFO: ==21793== Releasing lock...
[2025-01-09 04:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:39:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:40:02] Production.INFO: ==21849== Lock acquired, processing the job...
[2025-01-09 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:40:02] Production.INFO: neon service started
[2025-01-09 09:40:02] Production.INFO: neon service started
[2025-01-09 09:40:02] Production.INFO: ==21849== Releasing lock...
[2025-01-09 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:40:02] Production.INFO: ==21851== Lock acquired, processing the job...
[2025-01-09 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:40:02] Production.INFO: ==21853== Lock acquired, processing the job...
[2025-01-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:40:03] Production.INFO: ==21851== Releasing lock...
[2025-01-09 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:40:03] Production.INFO: ==21853== Releasing lock...
[2025-01-09 09:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:40:04] Production.INFO: ==21863== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:40:04] Production.INFO: ==21865== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:40:04] Production.INFO: ==21855== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 04:40:04] Production.INFO: Account Balance Start.
[2025-01-09 04:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:40:04] Production.INFO: 117
[2025-01-09 04:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:40:04] Production.INFO: ==21867== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 04:40:04] Production.ERROR: CronJob PID - 21863
[2025-01-09 04:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 04:40:04] Production.ERROR: CronJob ID - 12
[2025-01-09 04:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 04:40:00
[2025-01-09 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 04:40:04] Production.ERROR: CronJob PID - 21865
[2025-01-09 04:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 04:40:04] Production.ERROR: CronJob ID - 16
[2025-01-09 04:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 04:40:00
[2025-01-09 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 04:40:04] Production.INFO: ==21857== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:40:04] Production.INFO: ==21859== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:40:04] Production.INFO: ==21861== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:40:04] Production.INFO: Total Charge 0
[2025-01-09 04:40:04] Production.INFO: ==21869== Lock acquired, processing the job...
[2025-01-09 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:40:04] Production.INFO: CreateAllLog End
[2025-01-09 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 04:40:04] Production.INFO: ==21855== Releasing lock...
[2025-01-09 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 04:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:40:04] Production.INFO: Account Balance End.
[2025-01-09 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:40:04] Production.INFO: ==21863== Releasing lock...
[2025-01-09 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:40:04] Production.INFO: count ==21
[2025-01-09 04:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:40:04] Production.ERROR: done
[2025-01-09 04:40:04] Production.INFO: count ==21
[2025-01-09 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207187') start
[2025-01-09 04:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 04:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207190', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 04:40:04] Production.ERROR: done
[2025-01-09 04:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207187') end
[2025-01-09 04:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:40:04] Production.INFO: 1
[2025-01-09 04:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:40:04] Production.INFO: ==21869== Releasing lock...
[2025-01-09 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:40:04] Production.INFO: ==21859== Releasing lock...
[2025-01-09 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:40:04] Production.ERROR: done
[2025-01-09 04:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:40:05
[end_date_ymd] => 2025-01-09 04:40:05
[RateCDR] => 1
)
[2025-01-09 04:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:40:05' and `end` < '2025-01-09 04:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207190', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 04:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 04:40:08] Production.INFO: ProcessCDR(1,14207190,1,1,2)
[2025-01-09 04:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:40:08] Production.INFO: ==21867== Releasing lock...
[2025-01-09 04:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 04:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:40:12] Production.ERROR: CronJobId end10
[2025-01-09 04:40:12] Production.INFO: ==21861== Releasing lock...
[2025-01-09 04:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:40:15] Production.INFO: call_cost start
[2025-01-09 04:40:15] Production.INFO: call_cost end
[2025-01-09 04:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:40:16] Production.INFO: ==21857== Releasing lock...
[2025-01-09 04:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:40:18] Production.INFO: count ==110
[2025-01-09 04:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:40:05 - End Time 2025-01-09 04:40:05
[2025-01-09 04:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207191', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207191', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207191', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207191', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:40:18] Production.INFO: ProcessCDR(1,14207191,1,1,2)
[2025-01-09 04:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207191', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207191', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:40:21] Production.INFO: ==21865== Releasing lock...
[2025-01-09 04:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:40:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:41:01] Production.INFO: ==21922== Lock acquired, processing the job...
[2025-01-09 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:41:01] Production.INFO: neon service started
[2025-01-09 09:41:01] Production.INFO: neon service started
[2025-01-09 09:41:01] Production.INFO: ==21922== Releasing lock...
[2025-01-09 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:41:02] Production.INFO: ==21926== Lock acquired, processing the job...
[2025-01-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:41:02] Production.INFO: ==21926== Releasing lock...
[2025-01-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:41:02] Production.INFO: ==21924== Lock acquired, processing the job...
[2025-01-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:41:02] Production.INFO: ==21924== Releasing lock...
[2025-01-09 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:41:03] Production.INFO: ==21929== Lock acquired, processing the job...
[2025-01-09 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:41:03] Production.INFO: ==21931== Lock acquired, processing the job...
[2025-01-09 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:41:03] Production.INFO: ==21935== Lock acquired, processing the job...
[2025-01-09 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:41:03] Production.INFO: Account Balance Start.
[2025-01-09 04:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:41:03] Production.INFO: 117
[2025-01-09 04:41:03] Production.INFO: ==21933== Lock acquired, processing the job...
[2025-01-09 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:41:03] Production.INFO: ==21931== Releasing lock...
[2025-01-09 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:41:03] Production.INFO: ==21937== Lock acquired, processing the job...
[2025-01-09 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:41:03] Production.INFO: ==21939== Lock acquired, processing the job...
[2025-01-09 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:41:03] Production.INFO: Total Charge 0
[2025-01-09 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:41:03] Production.INFO: CreateAllLog End
[2025-01-09 04:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:41:03] Production.INFO: count ==21
[2025-01-09 04:41:03] Production.INFO: Account Balance End.
[2025-01-09 04:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:41:03] Production.INFO: count ==21
[2025-01-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207195') start
[2025-01-09 04:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:41:04] Production.INFO: ==21935== Releasing lock...
[2025-01-09 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:41:04] Production.ERROR: done
[2025-01-09 04:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207195') end
[2025-01-09 04:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:41:04] Production.INFO: 1
[2025-01-09 04:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:41:04] Production.INFO: ==21939== Releasing lock...
[2025-01-09 04:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:41:04] Production.ERROR: done
[2025-01-09 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:41:05
[end_date_ymd] => 2025-01-09 04:41:05
[RateCDR] => 1
)
[2025-01-09 04:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:41:05' and `end` < '2025-01-09 04:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:41:10] Production.ERROR: CronJobId end10
[2025-01-09 04:41:10] Production.INFO: ==21933== Releasing lock...
[2025-01-09 04:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:41:12] Production.INFO: call_cost start
[2025-01-09 04:41:12] Production.INFO: call_cost end
[2025-01-09 04:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:41:13] Production.INFO: ==21929== Releasing lock...
[2025-01-09 04:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:41:19] Production.INFO: count ==109
[2025-01-09 04:41:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:41:05 - End Time 2025-01-09 04:41:05
[2025-01-09 04:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207196', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207196', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207196', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207196', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:41:19] Production.INFO: ProcessCDR(1,14207196,1,1,2)
[2025-01-09 04:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207196', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207196', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:41:22] Production.INFO: ==21937== Releasing lock...
[2025-01-09 04:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:41:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:42:02] Production.INFO: ==21992== Lock acquired, processing the job...
[2025-01-09 09:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:42:02] Production.INFO: neon service started
[2025-01-09 09:42:02] Production.INFO: neon service started
[2025-01-09 09:42:02] Production.INFO: ==21992== Releasing lock...
[2025-01-09 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:42:02] Production.INFO: ==21994== Lock acquired, processing the job...
[2025-01-09 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:42:02] Production.INFO: ==21996== Lock acquired, processing the job...
[2025-01-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:42:02] Production.INFO: ==21996== Releasing lock...
[2025-01-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:42:03] Production.INFO: ==21994== Releasing lock...
[2025-01-09 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:42:03] Production.INFO: ==22003== Lock acquired, processing the job...
[2025-01-09 04:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:42:03] Production.INFO: ==22009== Lock acquired, processing the job...
[2025-01-09 04:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:42:04] Production.INFO: ==22001== Lock acquired, processing the job...
[2025-01-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:42:04] Production.INFO: ==21999== Lock acquired, processing the job...
[2025-01-09 04:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:42:04] Production.INFO: count ==21
[2025-01-09 04:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:42:04] Production.INFO: ==22007== Lock acquired, processing the job...
[2025-01-09 04:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:42:04] Production.INFO: ==22005== Lock acquired, processing the job...
[2025-01-09 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:42:04] Production.INFO: count ==21
[2025-01-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207197') start
[2025-01-09 04:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:42:04] Production.INFO: Account Balance Start.
[2025-01-09 04:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:42:04] Production.INFO: 117
[2025-01-09 04:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:42:04] Production.INFO: Total Charge 0
[2025-01-09 04:42:04] Production.INFO: CreateAllLog End
[2025-01-09 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207197') end
[2025-01-09 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:42:04] Production.INFO: 1
[2025-01-09 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:42:04] Production.INFO: ==22001== Releasing lock...
[2025-01-09 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:42:04] Production.ERROR: done
[2025-01-09 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:42:04] Production.INFO: ==22009== Releasing lock...
[2025-01-09 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:42:04] Production.ERROR: done
[2025-01-09 04:42:04] Production.INFO: Account Balance End.
[2025-01-09 04:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:42:04] Production.INFO: ==22005== Releasing lock...
[2025-01-09 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:42:05
[end_date_ymd] => 2025-01-09 04:42:05
[RateCDR] => 1
)
[2025-01-09 04:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:42:05' and `end` < '2025-01-09 04:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:42:10] Production.ERROR: CronJobId end10
[2025-01-09 04:42:10] Production.INFO: ==22003== Releasing lock...
[2025-01-09 04:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:42:13] Production.INFO: call_cost start
[2025-01-09 04:42:13] Production.INFO: call_cost end
[2025-01-09 04:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:42:14] Production.INFO: ==21999== Releasing lock...
[2025-01-09 04:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:42:18] Production.INFO: count ==109
[2025-01-09 04:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:42:05 - End Time 2025-01-09 04:42:05
[2025-01-09 04:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207201', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207201', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207201', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207201', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:42:18] Production.INFO: ProcessCDR(1,14207201,1,1,2)
[2025-01-09 04:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207201', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207201', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:42:21] Production.INFO: ==22007== Releasing lock...
[2025-01-09 04:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:43:01] Production.INFO: ==22062== Lock acquired, processing the job...
[2025-01-09 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:43:01] Production.INFO: neon service started
[2025-01-09 09:43:01] Production.INFO: neon service started
[2025-01-09 09:43:01] Production.INFO: ==22062== Releasing lock...
[2025-01-09 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:43:01] Production.INFO: ==22064== Lock acquired, processing the job...
[2025-01-09 04:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:43:02] Production.INFO: ==22064== Releasing lock...
[2025-01-09 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:43:02] Production.INFO: ==22066== Lock acquired, processing the job...
[2025-01-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:43:02] Production.INFO: ==22066== Releasing lock...
[2025-01-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:43:03] Production.INFO: ==22072== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:43:03] Production.INFO: ==22068== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:43:03] Production.INFO: ==22077== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:43:03] Production.INFO: ==22070== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:43:03] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:43:03] Production.INFO: ==22079== Lock acquired, processing the job...
[2025-01-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:43:03] Production.INFO: Account Balance Start.
[2025-01-09 04:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:43:03] Production.INFO: 117
[2025-01-09 04:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:43:03] Production.INFO: count ==21
[2025-01-09 04:43:03] Production.INFO: Total Charge 0
[2025-01-09 04:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:43:03] Production.ERROR: done
[2025-01-09 04:43:03] Production.INFO: count ==21
[2025-01-09 04:43:03] Production.INFO: CreateAllLog End
[2025-01-09 04:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207205') start
[2025-01-09 04:43:03] Production.INFO: ==22070== Releasing lock...
[2025-01-09 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:43:03] Production.ERROR: done
[2025-01-09 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207205') end
[2025-01-09 04:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:43:03] Production.INFO: 1
[2025-01-09 04:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:43:03] Production.INFO: ==22079== Releasing lock...
[2025-01-09 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:43:03] Production.INFO: Account Balance End.
[2025-01-09 04:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:43:03] Production.INFO: ==22075== Releasing lock...
[2025-01-09 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:43:04
[end_date_ymd] => 2025-01-09 04:43:04
[RateCDR] => 1
)
[2025-01-09 04:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:43:04' and `end` < '2025-01-09 04:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:43:10] Production.ERROR: CronJobId end10
[2025-01-09 04:43:10] Production.INFO: ==22072== Releasing lock...
[2025-01-09 04:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:43:13] Production.INFO: call_cost start
[2025-01-09 04:43:13] Production.INFO: call_cost end
[2025-01-09 04:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:43:14] Production.INFO: ==22068== Releasing lock...
[2025-01-09 04:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:43:18] Production.INFO: count ==109
[2025-01-09 04:43:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:43:04 - End Time 2025-01-09 04:43:04
[2025-01-09 04:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207206', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207206', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207206', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207206', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:43:18] Production.INFO: ProcessCDR(1,14207206,1,1,2)
[2025-01-09 04:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207206', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207206', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:43:21] Production.INFO: ==22077== Releasing lock...
[2025-01-09 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:43:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:44:01] Production.INFO: ==22172== Lock acquired, processing the job...
[2025-01-09 09:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:44:01] Production.INFO: neon service started
[2025-01-09 09:44:01] Production.INFO: neon service started
[2025-01-09 09:44:01] Production.INFO: ==22172== Releasing lock...
[2025-01-09 09:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:44:02] Production.INFO: ==22176== Lock acquired, processing the job...
[2025-01-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:44:02] Production.INFO: ==22176== Releasing lock...
[2025-01-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:44:02] Production.INFO: ==22174== Lock acquired, processing the job...
[2025-01-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:44:02] Production.INFO: ==22174== Releasing lock...
[2025-01-09 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:44:03] Production.INFO: ==22179== Lock acquired, processing the job...
[2025-01-09 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:44:03] Production.INFO: ==22183== Lock acquired, processing the job...
[2025-01-09 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:44:03] Production.INFO: ==22187== Lock acquired, processing the job...
[2025-01-09 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:44:03] Production.INFO: ==22181== Lock acquired, processing the job...
[2025-01-09 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:44:03] Production.INFO: ==22185== Lock acquired, processing the job...
[2025-01-09 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:44:03] Production.INFO: ==22189== Lock acquired, processing the job...
[2025-01-09 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:44:03] Production.INFO: Account Balance Start.
[2025-01-09 04:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:44:03] Production.INFO: 117
[2025-01-09 04:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:44:03] Production.INFO: count ==21
[2025-01-09 04:44:03] Production.INFO: Total Charge 0
[2025-01-09 04:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:44:03] Production.INFO: count ==21
[2025-01-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207210') start
[2025-01-09 04:44:04] Production.ERROR: done
[2025-01-09 04:44:04] Production.INFO: CreateAllLog End
[2025-01-09 04:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207210') end
[2025-01-09 04:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:44:04] Production.INFO: 1
[2025-01-09 04:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:44:04] Production.INFO: ==22189== Releasing lock...
[2025-01-09 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:44:04] Production.ERROR: done
[2025-01-09 04:44:04] Production.INFO: ==22181== Releasing lock...
[2025-01-09 04:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:44:04] Production.INFO: Account Balance End.
[2025-01-09 04:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:44:04] Production.INFO: ==22185== Releasing lock...
[2025-01-09 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:44:05
[end_date_ymd] => 2025-01-09 04:44:05
[RateCDR] => 1
)
[2025-01-09 04:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:44:05' and `end` < '2025-01-09 04:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:44:11] Production.ERROR: CronJobId end10
[2025-01-09 04:44:11] Production.INFO: ==22183== Releasing lock...
[2025-01-09 04:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:44:13] Production.INFO: call_cost start
[2025-01-09 04:44:13] Production.INFO: call_cost end
[2025-01-09 04:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:44:13] Production.INFO: ==22179== Releasing lock...
[2025-01-09 04:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:44:17] Production.INFO: count ==109
[2025-01-09 04:44:17] Production.ERROR: pbx CDR StartTime 2025-01-09 01:44:05 - End Time 2025-01-09 04:44:05
[2025-01-09 04:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207211', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207211', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207211', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207211', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:44:17] Production.INFO: ProcessCDR(1,14207211,1,1,2)
[2025-01-09 04:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:44:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207211', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:44:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207211', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:44:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:44:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:44:20] Production.INFO: ==22187== Releasing lock...
[2025-01-09 04:44:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:44:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:45:02] Production.INFO: ==22243== Lock acquired, processing the job...
[2025-01-09 09:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:45:02] Production.INFO: neon service started
[2025-01-09 09:45:02] Production.INFO: neon service started
[2025-01-09 09:45:02] Production.INFO: ==22243== Releasing lock...
[2025-01-09 09:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:45:02] Production.INFO: ==22245== Lock acquired, processing the job...
[2025-01-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:45:02] Production.INFO: ==22245== Releasing lock...
[2025-01-09 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:45:03] Production.INFO: ==22247== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:45:03] Production.INFO: ==22247== Releasing lock...
[2025-01-09 09:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:45:03] Production.INFO: ==22253== Lock acquired, processing the job...
[2025-01-09 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:45:03] Production.INFO: ==22257== Lock acquired, processing the job...
[2025-01-09 04:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:45:03] Production.INFO: ==22249== Lock acquired, processing the job...
[2025-01-09 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:45:04] Production.INFO: ==22251== Lock acquired, processing the job...
[2025-01-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:45:04] Production.INFO: ==22255== Lock acquired, processing the job...
[2025-01-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:45:04] Production.INFO: ==22259== Lock acquired, processing the job...
[2025-01-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:45:04] Production.INFO: Account Balance Start.
[2025-01-09 04:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:45:04] Production.INFO: 117
[2025-01-09 04:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:45:04] Production.ERROR: done
[2025-01-09 04:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:45:04] Production.INFO: Total Charge 0
[2025-01-09 04:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:45:04] Production.INFO: CreateAllLog End
[2025-01-09 04:45:04] Production.ERROR: done
[2025-01-09 04:45:04] Production.INFO: count ==21
[2025-01-09 04:45:04] Production.INFO: ==22251== Releasing lock...
[2025-01-09 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:45:04] Production.INFO: count ==21
[2025-01-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207215') start
[2025-01-09 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207215') end
[2025-01-09 04:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:45:04] Production.INFO: 1
[2025-01-09 04:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:45:04] Production.INFO: Account Balance End.
[2025-01-09 04:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:45:04] Production.INFO: ==22255== Releasing lock...
[2025-01-09 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:45:04] Production.INFO: ==22259== Releasing lock...
[2025-01-09 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:45:05
[end_date_ymd] => 2025-01-09 04:45:05
[RateCDR] => 1
)
[2025-01-09 04:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:45:05' and `end` < '2025-01-09 04:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:45:11] Production.ERROR: CronJobId end10
[2025-01-09 04:45:11] Production.INFO: ==22253== Releasing lock...
[2025-01-09 04:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:45:14] Production.INFO: call_cost start
[2025-01-09 04:45:14] Production.INFO: call_cost end
[2025-01-09 04:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:45:15] Production.INFO: ==22249== Releasing lock...
[2025-01-09 04:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:45:18] Production.INFO: count ==109
[2025-01-09 04:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 01:45:05 - End Time 2025-01-09 04:45:05
[2025-01-09 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207216', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207216', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207216', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207216', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:45:18] Production.INFO: ProcessCDR(1,14207216,1,1,2)
[2025-01-09 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207216', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207216', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:45:22] Production.INFO: ==22257== Releasing lock...
[2025-01-09 04:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:45:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:46:01] Production.INFO: ==22315== Lock acquired, processing the job...
[2025-01-09 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:46:01] Production.INFO: neon service started
[2025-01-09 09:46:01] Production.INFO: neon service started
[2025-01-09 09:46:01] Production.INFO: ==22315== Releasing lock...
[2025-01-09 09:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:46:02] Production.INFO: ==22317== Lock acquired, processing the job...
[2025-01-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:46:02] Production.INFO: ==22317== Releasing lock...
[2025-01-09 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:46:02] Production.INFO: ==22319== Lock acquired, processing the job...
[2025-01-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:46:02] Production.INFO: ==22319== Releasing lock...
[2025-01-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:46:03] Production.INFO: ==22321== Lock acquired, processing the job...
[2025-01-09 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:46:03] Production.INFO: ==22323== Lock acquired, processing the job...
[2025-01-09 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:46:03] Production.INFO: ==22325== Lock acquired, processing the job...
[2025-01-09 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:46:03] Production.INFO: ==22323== Releasing lock...
[2025-01-09 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:46:03] Production.INFO: ==22329== Lock acquired, processing the job...
[2025-01-09 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:46:03] Production.INFO: ==22327== Lock acquired, processing the job...
[2025-01-09 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:46:03] Production.INFO: ==22331== Lock acquired, processing the job...
[2025-01-09 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:46:03] Production.INFO: Account Balance Start.
[2025-01-09 04:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:46:03] Production.INFO: 117
[2025-01-09 04:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:46:03] Production.INFO: count ==21
[2025-01-09 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:46:03] Production.INFO: count ==21
[2025-01-09 04:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207220') start
[2025-01-09 04:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:46:03] Production.INFO: Total Charge 0
[2025-01-09 04:46:03] Production.INFO: CreateAllLog End
[2025-01-09 04:46:04] Production.ERROR: done
[2025-01-09 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207220') end
[2025-01-09 04:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:46:04] Production.INFO: 1
[2025-01-09 04:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:46:04] Production.INFO: ==22331== Releasing lock...
[2025-01-09 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:46:04] Production.ERROR: done
[2025-01-09 04:46:04] Production.INFO: Account Balance End.
[2025-01-09 04:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:46:04] Production.INFO: ==22327== Releasing lock...
[2025-01-09 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:46:05
[end_date_ymd] => 2025-01-09 04:46:05
[RateCDR] => 1
)
[2025-01-09 04:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:46:05' and `end` < '2025-01-09 04:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:46:12] Production.ERROR: CronJobId end10
[2025-01-09 04:46:12] Production.INFO: ==22325== Releasing lock...
[2025-01-09 04:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:46:13] Production.INFO: call_cost start
[2025-01-09 04:46:13] Production.INFO: call_cost end
[2025-01-09 04:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:46:14] Production.INFO: ==22321== Releasing lock...
[2025-01-09 04:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:46:25] Production.INFO: count ==109
[2025-01-09 04:46:25] Production.ERROR: pbx CDR StartTime 2025-01-09 01:46:05 - End Time 2025-01-09 04:46:05
[2025-01-09 04:46:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207221', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207221', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207221', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207221', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:46:25] Production.INFO: ProcessCDR(1,14207221,1,1,2)
[2025-01-09 04:46:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:46:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:46:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:46:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207221', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207221', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:46:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:46:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:46:28] Production.INFO: ==22329== Releasing lock...
[2025-01-09 04:46:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:46:28] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:47:02] Production.INFO: ==22388== Lock acquired, processing the job...
[2025-01-09 09:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:47:02] Production.INFO: neon service started
[2025-01-09 09:47:02] Production.INFO: neon service started
[2025-01-09 09:47:02] Production.INFO: ==22388== Releasing lock...
[2025-01-09 09:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:47:02] Production.INFO: ==22390== Lock acquired, processing the job...
[2025-01-09 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:47:02] Production.INFO: ==22392== Lock acquired, processing the job...
[2025-01-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:47:02] Production.INFO: ==22392== Releasing lock...
[2025-01-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:47:03] Production.INFO: ==22390== Releasing lock...
[2025-01-09 04:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:47:03] Production.INFO: ==22395== Lock acquired, processing the job...
[2025-01-09 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:47:03] Production.INFO: ==22401== Lock acquired, processing the job...
[2025-01-09 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:47:03] Production.INFO: ==22399== Lock acquired, processing the job...
[2025-01-09 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:47:04] Production.INFO: ==22397== Lock acquired, processing the job...
[2025-01-09 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:47:04] Production.INFO: ==22405== Lock acquired, processing the job...
[2025-01-09 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:47:04] Production.INFO: Account Balance Start.
[2025-01-09 04:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:47:04] Production.INFO: 117
[2025-01-09 04:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:47:04] Production.INFO: ==22403== Lock acquired, processing the job...
[2025-01-09 04:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:47:04] Production.INFO: Total Charge 0
[2025-01-09 04:47:04] Production.INFO: CreateAllLog End
[2025-01-09 04:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:47:04] Production.INFO: count ==21
[2025-01-09 04:47:04] Production.INFO: ==22397== Releasing lock...
[2025-01-09 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:47:04] Production.INFO: Account Balance End.
[2025-01-09 04:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:47:04] Production.INFO: count ==21
[2025-01-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207225') start
[2025-01-09 04:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:47:04] Production.INFO: ==22401== Releasing lock...
[2025-01-09 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207225') end
[2025-01-09 04:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:47:04] Production.INFO: 1
[2025-01-09 04:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:47:04] Production.INFO: ==22405== Releasing lock...
[2025-01-09 04:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:47:04] Production.ERROR: done
[2025-01-09 04:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:47:04] Production.ERROR: done
[2025-01-09 04:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:47:05
[end_date_ymd] => 2025-01-09 04:47:05
[RateCDR] => 1
)
[2025-01-09 04:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:47:05' and `end` < '2025-01-09 04:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:47:11] Production.ERROR: CronJobId end10
[2025-01-09 04:47:11] Production.INFO: ==22399== Releasing lock...
[2025-01-09 04:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:47:14] Production.INFO: call_cost start
[2025-01-09 04:47:14] Production.INFO: call_cost end
[2025-01-09 04:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:47:15] Production.INFO: ==22395== Releasing lock...
[2025-01-09 04:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:47:22] Production.INFO: count ==109
[2025-01-09 04:47:22] Production.ERROR: pbx CDR StartTime 2025-01-09 01:47:05 - End Time 2025-01-09 04:47:05
[2025-01-09 04:47:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207226', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207226', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207226', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:47:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207226', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:47:22] Production.INFO: ProcessCDR(1,14207226,1,1,2)
[2025-01-09 04:47:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:47:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207226', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207226', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:47:25] Production.INFO: ==22403== Releasing lock...
[2025-01-09 04:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:47:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:48:01] Production.INFO: ==22457== Lock acquired, processing the job...
[2025-01-09 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:48:01] Production.INFO: neon service started
[2025-01-09 09:48:01] Production.INFO: neon service started
[2025-01-09 09:48:01] Production.INFO: ==22457== Releasing lock...
[2025-01-09 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:48:02] Production.INFO: ==22461== Lock acquired, processing the job...
[2025-01-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:48:02] Production.INFO: ==22461== Releasing lock...
[2025-01-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:48:02] Production.INFO: ==22459== Lock acquired, processing the job...
[2025-01-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:48:02] Production.INFO: ==22459== Releasing lock...
[2025-01-09 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:48:03] Production.INFO: ==22464== Lock acquired, processing the job...
[2025-01-09 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:48:03] Production.INFO: ==22466== Lock acquired, processing the job...
[2025-01-09 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:48:03] Production.INFO: ==22468== Lock acquired, processing the job...
[2025-01-09 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:48:03] Production.INFO: ==22470== Lock acquired, processing the job...
[2025-01-09 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:48:03] Production.INFO: ==22474== Lock acquired, processing the job...
[2025-01-09 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:48:03] Production.INFO: Account Balance Start.
[2025-01-09 04:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:48:03] Production.INFO: 117
[2025-01-09 04:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:48:03] Production.INFO: ==22466== Releasing lock...
[2025-01-09 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:48:03] Production.INFO: ==22472== Lock acquired, processing the job...
[2025-01-09 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:48:03] Production.INFO: Total Charge 0
[2025-01-09 04:48:03] Production.INFO: CreateAllLog End
[2025-01-09 04:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:48:03] Production.INFO: Account Balance End.
[2025-01-09 04:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:48:04] Production.INFO: ==22470== Releasing lock...
[2025-01-09 04:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:48:04] Production.INFO: count ==21
[2025-01-09 04:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:48:04] Production.INFO: count ==21
[2025-01-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207230') start
[2025-01-09 04:48:04] Production.ERROR: done
[2025-01-09 04:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:48:04] Production.ERROR: done
[2025-01-09 04:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207230') end
[2025-01-09 04:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:48:04] Production.INFO: 1
[2025-01-09 04:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:48:04] Production.INFO: ==22474== Releasing lock...
[2025-01-09 04:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:48:05
[end_date_ymd] => 2025-01-09 04:48:05
[RateCDR] => 1
)
[2025-01-09 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-01-09 01:48:05' and `end` < '2025-01-09 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-01-09 04:48:09] Production.ERROR: CronJobId end10
[2025-01-09 04:48:09] Production.INFO: ==22468== Releasing lock...
[2025-01-09 04:48:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:48:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:48:12] Production.INFO: call_cost start
[2025-01-09 04:48:12] Production.INFO: call_cost end
[2025-01-09 04:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:48:13] Production.INFO: ==22464== Releasing lock...
[2025-01-09 04:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:48:21] Production.INFO: count ==109
[2025-01-09 04:48:21] Production.ERROR: pbx CDR StartTime 2025-01-09 01:48:05 - End Time 2025-01-09 04:48:05
[2025-01-09 04:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207231', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207231', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207231', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207231', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:48:21] Production.INFO: ProcessCDR(1,14207231,1,1,2)
[2025-01-09 04:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207231', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207231', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:48:24] Production.INFO: ==22472== Releasing lock...
[2025-01-09 04:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:48:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:49:01] Production.INFO: ==22528== Lock acquired, processing the job...
[2025-01-09 09:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:49:02] Production.INFO: neon service started
[2025-01-09 09:49:02] Production.INFO: neon service started
[2025-01-09 09:49:02] Production.INFO: ==22528== Releasing lock...
[2025-01-09 09:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:49:02] Production.INFO: ==22530== Lock acquired, processing the job...
[2025-01-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:49:02] Production.INFO: ==22532== Lock acquired, processing the job...
[2025-01-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:49:02] Production.INFO: ==22530== Releasing lock...
[2025-01-09 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:49:02] Production.INFO: ==22532== Releasing lock...
[2025-01-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:49:03] Production.INFO: ==22540== Lock acquired, processing the job...
[2025-01-09 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:49:03] Production.INFO: ==22534== Lock acquired, processing the job...
[2025-01-09 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:49:03] Production.INFO: ==22544== Lock acquired, processing the job...
[2025-01-09 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:49:03] Production.INFO: Account Balance Start.
[2025-01-09 04:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:49:03] Production.INFO: 117
[2025-01-09 04:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:49:03] Production.INFO: ==22536== Lock acquired, processing the job...
[2025-01-09 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:49:03] Production.INFO: count ==21
[2025-01-09 04:49:03] Production.INFO: ==22538== Lock acquired, processing the job...
[2025-01-09 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:49:03] Production.INFO: count ==21
[2025-01-09 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207233') start
[2025-01-09 04:49:03] Production.INFO: Total Charge 0
[2025-01-09 04:49:03] Production.INFO: CreateAllLog End
[2025-01-09 04:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207233') end
[2025-01-09 04:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:49:03] Production.INFO: 1
[2025-01-09 04:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:49:03] Production.INFO: ==22542== Lock acquired, processing the job...
[2025-01-09 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:49:03] Production.INFO: Account Balance End.
[2025-01-09 04:49:03] Production.INFO: ==22544== Releasing lock...
[2025-01-09 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:49:03] Production.INFO: ==22540== Releasing lock...
[2025-01-09 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:49:04] Production.INFO: ==22536== Releasing lock...
[2025-01-09 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:49:04] Production.ERROR: done
[2025-01-09 04:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:49:04] Production.ERROR: done
[2025-01-09 04:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:49:04
[end_date_ymd] => 2025-01-09 04:49:04
[RateCDR] => 1
)
[2025-01-09 04:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:49:04' and `end` < '2025-01-09 04:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:49:10] Production.ERROR: CronJobId end10
[2025-01-09 04:49:10] Production.INFO: ==22538== Releasing lock...
[2025-01-09 04:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:49:12] Production.INFO: call_cost start
[2025-01-09 04:49:12] Production.INFO: call_cost end
[2025-01-09 04:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:49:13] Production.INFO: ==22534== Releasing lock...
[2025-01-09 04:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:49:20] Production.INFO: count ==109
[2025-01-09 04:49:20] Production.ERROR: pbx CDR StartTime 2025-01-09 01:49:04 - End Time 2025-01-09 04:49:04
[2025-01-09 04:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207236', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207236', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207236', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207236', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:49:20] Production.INFO: ProcessCDR(1,14207236,1,1,2)
[2025-01-09 04:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207236', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207236', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:49:23] Production.INFO: ==22542== Releasing lock...
[2025-01-09 04:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:49:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:50:01] Production.INFO: ==22598== Lock acquired, processing the job...
[2025-01-09 09:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:50:01] Production.INFO: neon service started
[2025-01-09 09:50:01] Production.INFO: neon service started
[2025-01-09 09:50:01] Production.INFO: ==22598== Releasing lock...
[2025-01-09 09:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:50:01] Production.INFO: ==22602== Lock acquired, processing the job...
[2025-01-09 09:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:50:01] Production.INFO: ==22602== Releasing lock...
[2025-01-09 09:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:50:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:50:01] Production.INFO: ==22600== Lock acquired, processing the job...
[2025-01-09 04:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:50:02] Production.INFO: ==22600== Releasing lock...
[2025-01-09 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:50:03] Production.INFO: ==22605== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 04:50:03] Production.INFO: ==22607== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 04:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 04:50:03] Production.INFO: ==22605== Releasing lock...
[2025-01-09 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 04:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 04:50:03] Production.INFO: ==22609== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:50:03] Production.INFO: ==22611== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:50:03] Production.INFO: ==22615== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:50:03] Production.INFO: ==22613== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:50:03] Production.INFO: ==22617== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 04:50:03] Production.INFO: ==22619== Lock acquired, processing the job...
[2025-01-09 04:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:50:03] Production.INFO: ==22609== Releasing lock...
[2025-01-09 04:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:50:03] Production.INFO: Account Balance Start.
[2025-01-09 04:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:50:03] Production.INFO: 117
[2025-01-09 04:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:50:04] Production.ERROR: done
[2025-01-09 04:50:04] Production.INFO: count ==21
[2025-01-09 04:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:50:04] Production.INFO: count ==21
[2025-01-09 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207240') start
[2025-01-09 04:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:50:04] Production.INFO: Total Charge 0
[2025-01-09 04:50:04] Production.ERROR: done
[2025-01-09 04:50:04] Production.INFO: CreateAllLog End
[2025-01-09 04:50:04] Production.ERROR: done
[2025-01-09 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207240') end
[2025-01-09 04:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:50:04] Production.INFO: 1
[2025-01-09 04:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 04:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207242', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 04:50:04] Production.INFO: ==22619== Releasing lock...
[2025-01-09 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:50:04] Production.INFO: Account Balance End.
[2025-01-09 04:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:50:04] Production.INFO: ==22613== Releasing lock...
[2025-01-09 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:50:05
[end_date_ymd] => 2025-01-09 04:50:05
[RateCDR] => 1
)
[2025-01-09 04:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:50:05' and `end` < '2025-01-09 04:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207242', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 04:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 04:50:08] Production.INFO: ProcessCDR(1,14207242,1,1,2)
[2025-01-09 04:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207242,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207242,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:50:08] Production.INFO: ==22617== Releasing lock...
[2025-01-09 04:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 04:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 04:50:11] Production.ERROR: CronJobId end10
[2025-01-09 04:50:11] Production.INFO: ==22611== Releasing lock...
[2025-01-09 04:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:50:14] Production.INFO: call_cost start
[2025-01-09 04:50:14] Production.INFO: call_cost end
[2025-01-09 04:50:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:50:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:50:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:50:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:50:15] Production.INFO: ==22607== Releasing lock...
[2025-01-09 04:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:50:21] Production.INFO: count ==111
[2025-01-09 04:50:21] Production.ERROR: pbx CDR StartTime 2025-01-09 01:50:05 - End Time 2025-01-09 04:50:05
[2025-01-09 04:50:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207241', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207241', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207241', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:50:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207241', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:50:21] Production.INFO: ProcessCDR(1,14207241,1,1,2)
[2025-01-09 04:50:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207241', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207241', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:50:24] Production.INFO: ==22615== Releasing lock...
[2025-01-09 04:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:50:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:51:01] Production.INFO: ==22680== Lock acquired, processing the job...
[2025-01-09 09:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:51:01] Production.INFO: neon service started
[2025-01-09 09:51:01] Production.INFO: neon service started
[2025-01-09 09:51:01] Production.INFO: ==22680== Releasing lock...
[2025-01-09 09:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:51:02] Production.INFO: ==22682== Lock acquired, processing the job...
[2025-01-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:51:02] Production.INFO: ==22682== Releasing lock...
[2025-01-09 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:51:02] Production.INFO: ==22684== Lock acquired, processing the job...
[2025-01-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:51:02] Production.INFO: ==22684== Releasing lock...
[2025-01-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:51:03] Production.INFO: ==22693== Lock acquired, processing the job...
[2025-01-09 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:51:03] Production.INFO: ==22687== Lock acquired, processing the job...
[2025-01-09 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:51:03] Production.INFO: ==22697== Lock acquired, processing the job...
[2025-01-09 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:51:03] Production.INFO: Account Balance Start.
[2025-01-09 04:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:51:03] Production.INFO: 117
[2025-01-09 04:51:03] Production.INFO: ==22689== Lock acquired, processing the job...
[2025-01-09 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:51:03] Production.INFO: ==22691== Lock acquired, processing the job...
[2025-01-09 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:51:03] Production.INFO: Total Charge 0
[2025-01-09 04:51:03] Production.INFO: ==22695== Lock acquired, processing the job...
[2025-01-09 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:51:03] Production.INFO: count ==21
[2025-01-09 04:51:03] Production.INFO: CreateAllLog End
[2025-01-09 04:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:51:03] Production.INFO: count ==21
[2025-01-09 04:51:03] Production.INFO: ==22689== Releasing lock...
[2025-01-09 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207245') start
[2025-01-09 04:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207245') end
[2025-01-09 04:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:51:03] Production.INFO: 1
[2025-01-09 04:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:51:03] Production.INFO: ==22697== Releasing lock...
[2025-01-09 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:51:03] Production.ERROR: done
[2025-01-09 04:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:51:04] Production.INFO: Account Balance End.
[2025-01-09 04:51:04] Production.ERROR: done
[2025-01-09 04:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:51:04] Production.INFO: ==22693== Releasing lock...
[2025-01-09 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:51:04
[end_date_ymd] => 2025-01-09 04:51:04
[RateCDR] => 1
)
[2025-01-09 04:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:51:04' and `end` < '2025-01-09 04:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:51:09] Production.ERROR: CronJobId end10
[2025-01-09 04:51:09] Production.INFO: ==22691== Releasing lock...
[2025-01-09 04:51:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:51:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:51:12] Production.INFO: call_cost start
[2025-01-09 04:51:12] Production.INFO: call_cost end
[2025-01-09 04:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:51:13] Production.INFO: ==22687== Releasing lock...
[2025-01-09 04:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:51:19] Production.INFO: count ==111
[2025-01-09 04:51:19] Production.ERROR: pbx CDR StartTime 2025-01-09 01:51:04 - End Time 2025-01-09 04:51:04
[2025-01-09 04:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207247', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207247', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207247', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207247', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:51:19] Production.INFO: ProcessCDR(1,14207247,1,1,2)
[2025-01-09 04:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207247', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207247', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:51:22] Production.INFO: ==22695== Releasing lock...
[2025-01-09 04:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:51:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:52:02] Production.INFO: ==22751== Lock acquired, processing the job...
[2025-01-09 09:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:52:02] Production.INFO: neon service started
[2025-01-09 09:52:02] Production.INFO: neon service started
[2025-01-09 09:52:02] Production.INFO: ==22751== Releasing lock...
[2025-01-09 09:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:52:03] Production.INFO: ==22754== Lock acquired, processing the job...
[2025-01-09 04:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:52:03] Production.INFO: ==22756== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:52:03] Production.INFO: ==22756== Releasing lock...
[2025-01-09 09:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:52:03] Production.INFO: ==22754== Releasing lock...
[2025-01-09 04:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:52:04] Production.INFO: ==22763== Lock acquired, processing the job...
[2025-01-09 04:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:52:04] Production.INFO: ==22769== Lock acquired, processing the job...
[2025-01-09 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:52:04] Production.INFO: ==22761== Lock acquired, processing the job...
[2025-01-09 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:52:04] Production.INFO: ==22759== Lock acquired, processing the job...
[2025-01-09 04:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:52:04] Production.INFO: count ==21
[2025-01-09 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:52:04] Production.INFO: count ==21
[2025-01-09 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207248') start
[2025-01-09 04:52:04] Production.INFO: ==22765== Lock acquired, processing the job...
[2025-01-09 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:52:04] Production.INFO: ==22767== Lock acquired, processing the job...
[2025-01-09 04:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:52:04] Production.INFO: Account Balance Start.
[2025-01-09 04:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:52:04] Production.INFO: 117
[2025-01-09 04:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207248') end
[2025-01-09 04:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:52:05] Production.INFO: 1
[2025-01-09 04:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:52:05] Production.INFO: ==22769== Releasing lock...
[2025-01-09 04:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:52:05] Production.INFO: Date 2025-01-09
[2025-01-09 04:52:05] Production.INFO: ==22761== Releasing lock...
[2025-01-09 04:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:52:05] Production.INFO: Reseller ==> 0
[2025-01-09 04:52:05] Production.INFO: Total Charge 0
[2025-01-09 04:52:05] Production.INFO: CreateAllLog End
[2025-01-09 04:52:05] Production.ERROR: done
[2025-01-09 04:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:52:05] Production.ERROR: done
[2025-01-09 04:52:05] Production.INFO: Account Balance End.
[2025-01-09 04:52:05] Production.ERROR: CronJobId end 12
[2025-01-09 04:52:05] Production.INFO: ==22765== Releasing lock...
[2025-01-09 04:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:52:06
[end_date_ymd] => 2025-01-09 04:52:06
[RateCDR] => 1
)
[2025-01-09 04:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:52:06' and `end` < '2025-01-09 04:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:52:11] Production.ERROR: CronJobId end10
[2025-01-09 04:52:11] Production.INFO: ==22763== Releasing lock...
[2025-01-09 04:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:52:14] Production.INFO: call_cost start
[2025-01-09 04:52:14] Production.INFO: call_cost end
[2025-01-09 04:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:52:15] Production.INFO: ==22759== Releasing lock...
[2025-01-09 04:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:52:22] Production.INFO: count ==111
[2025-01-09 04:52:22] Production.ERROR: pbx CDR StartTime 2025-01-09 01:52:06 - End Time 2025-01-09 04:52:06
[2025-01-09 04:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207252', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207252', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207252', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207252', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:52:22] Production.INFO: ProcessCDR(1,14207252,1,1,2)
[2025-01-09 04:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207252', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207252', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:52:25] Production.INFO: ==22767== Releasing lock...
[2025-01-09 04:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:52:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:53:01] Production.INFO: ==22824== Lock acquired, processing the job...
[2025-01-09 09:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:53:01] Production.INFO: neon service started
[2025-01-09 09:53:01] Production.INFO: neon service started
[2025-01-09 09:53:01] Production.INFO: ==22824== Releasing lock...
[2025-01-09 09:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:53:02] Production.INFO: ==22826== Lock acquired, processing the job...
[2025-01-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:53:02] Production.INFO: ==22826== Releasing lock...
[2025-01-09 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:53:02] Production.INFO: ==22828== Lock acquired, processing the job...
[2025-01-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:53:02] Production.INFO: ==22828== Releasing lock...
[2025-01-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:53:03] Production.INFO: ==22830== Lock acquired, processing the job...
[2025-01-09 04:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:53:03] Production.INFO: ==22836== Lock acquired, processing the job...
[2025-01-09 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:53:03] Production.INFO: ==22832== Lock acquired, processing the job...
[2025-01-09 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:53:03] Production.INFO: Account Balance Start.
[2025-01-09 04:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:53:03] Production.INFO: 117
[2025-01-09 04:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:53:03] Production.INFO: ==22834== Lock acquired, processing the job...
[2025-01-09 04:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:53:03] Production.INFO: Total Charge 0
[2025-01-09 04:53:03] Production.INFO: CreateAllLog End
[2025-01-09 04:53:03] Production.INFO: Account Balance End.
[2025-01-09 04:53:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:53:03] Production.INFO: ==22836== Releasing lock...
[2025-01-09 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:53:03] Production.INFO: ==22840== Lock acquired, processing the job...
[2025-01-09 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:53:03] Production.INFO: ==22832== Releasing lock...
[2025-01-09 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:53:03] Production.INFO: ==22838== Lock acquired, processing the job...
[2025-01-09 04:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:53:03] Production.INFO: count ==21
[2025-01-09 04:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:53:03] Production.INFO: count ==21
[2025-01-09 04:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207256') start
[2025-01-09 04:53:04] Production.ERROR: done
[2025-01-09 04:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207256') end
[2025-01-09 04:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:53:04] Production.INFO: 1
[2025-01-09 04:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:53:04] Production.INFO: ==22840== Releasing lock...
[2025-01-09 04:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:53:04] Production.ERROR: done
[2025-01-09 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:53:05
[end_date_ymd] => 2025-01-09 04:53:05
[RateCDR] => 1
)
[2025-01-09 04:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:53:05' and `end` < '2025-01-09 04:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:53:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-09 04:53:10] Production.ERROR: CronJobId end10
[2025-01-09 04:53:10] Production.INFO: ==22834== Releasing lock...
[2025-01-09 04:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:53:13] Production.INFO: call_cost start
[2025-01-09 04:53:13] Production.INFO: call_cost end
[2025-01-09 04:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:53:13] Production.INFO: ==22830== Releasing lock...
[2025-01-09 04:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:53:21] Production.INFO: count ==111
[2025-01-09 04:53:21] Production.ERROR: pbx CDR StartTime 2025-01-09 01:53:05 - End Time 2025-01-09 04:53:05
[2025-01-09 04:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207257', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207257', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207257', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207257', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:53:21] Production.INFO: ProcessCDR(1,14207257,1,1,2)
[2025-01-09 04:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207257', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207257', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:53:24] Production.INFO: ==22838== Releasing lock...
[2025-01-09 04:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:53:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:54:02] Production.INFO: ==22894== Lock acquired, processing the job...
[2025-01-09 09:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:54:02] Production.INFO: neon service started
[2025-01-09 09:54:02] Production.INFO: neon service started
[2025-01-09 09:54:02] Production.INFO: ==22894== Releasing lock...
[2025-01-09 09:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:54:02] Production.INFO: ==22899== Lock acquired, processing the job...
[2025-01-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:54:02] Production.INFO: ==22899== Releasing lock...
[2025-01-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:54:02] Production.INFO: ==22896== Lock acquired, processing the job...
[2025-01-09 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:54:03] Production.INFO: ==22896== Releasing lock...
[2025-01-09 04:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:54:03] Production.INFO: ==22905== Lock acquired, processing the job...
[2025-01-09 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:54:03] Production.INFO: ==22909== Lock acquired, processing the job...
[2025-01-09 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:54:04] Production.INFO: ==22901== Lock acquired, processing the job...
[2025-01-09 04:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:54:04] Production.INFO: ==22903== Lock acquired, processing the job...
[2025-01-09 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:54:04] Production.ERROR: done
[2025-01-09 04:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:54:04] Production.INFO: ==22907== Lock acquired, processing the job...
[2025-01-09 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:54:04] Production.INFO: ==22911== Lock acquired, processing the job...
[2025-01-09 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:54:04] Production.ERROR: done
[2025-01-09 04:54:04] Production.INFO: Account Balance Start.
[2025-01-09 04:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:54:04] Production.INFO: 117
[2025-01-09 04:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:54:04] Production.INFO: count ==21
[2025-01-09 04:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:54:04] Production.INFO: count ==21
[2025-01-09 04:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207261') start
[2025-01-09 04:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:54:04] Production.INFO: Total Charge 0
[2025-01-09 04:54:04] Production.INFO: CreateAllLog End
[2025-01-09 04:54:04] Production.INFO: ==22903== Releasing lock...
[2025-01-09 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207261') end
[2025-01-09 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:54:04] Production.INFO: 1
[2025-01-09 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:54:04] Production.INFO: ==22911== Releasing lock...
[2025-01-09 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:54:04] Production.INFO: Account Balance End.
[2025-01-09 04:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:54:04] Production.INFO: ==22907== Releasing lock...
[2025-01-09 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:54:05
[end_date_ymd] => 2025-01-09 04:54:05
[RateCDR] => 1
)
[2025-01-09 04:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:54:05' and `end` < '2025-01-09 04:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:54:11] Production.ERROR: CronJobId end10
[2025-01-09 04:54:11] Production.INFO: ==22905== Releasing lock...
[2025-01-09 04:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:54:13] Production.INFO: call_cost start
[2025-01-09 04:54:13] Production.INFO: call_cost end
[2025-01-09 04:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:54:13] Production.INFO: ==22901== Releasing lock...
[2025-01-09 04:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:54:21] Production.INFO: count ==111
[2025-01-09 04:54:21] Production.ERROR: pbx CDR StartTime 2025-01-09 01:54:05 - End Time 2025-01-09 04:54:05
[2025-01-09 04:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207262', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207262', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207262', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207262', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:54:21] Production.INFO: ProcessCDR(1,14207262,1,1,2)
[2025-01-09 04:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207262', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207262', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:54:25] Production.INFO: ==22909== Releasing lock...
[2025-01-09 04:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:54:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:55:01] Production.INFO: ==22974== Lock acquired, processing the job...
[2025-01-09 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:55:01] Production.INFO: neon service started
[2025-01-09 09:55:01] Production.INFO: neon service started
[2025-01-09 09:55:01] Production.INFO: ==22974== Releasing lock...
[2025-01-09 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:55:01] Production.INFO: ==22976== Lock acquired, processing the job...
[2025-01-09 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:55:02] Production.INFO: ==22976== Releasing lock...
[2025-01-09 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:55:02] Production.INFO: ==22978== Lock acquired, processing the job...
[2025-01-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:55:02] Production.INFO: ==22978== Releasing lock...
[2025-01-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:55:02] Production.INFO: ==22983== Lock acquired, processing the job...
[2025-01-09 04:55:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:55:02] Production.INFO: ==22985== Lock acquired, processing the job...
[2025-01-09 04:55:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:55:03] Production.INFO: ==22989== Lock acquired, processing the job...
[2025-01-09 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:55:03] Production.INFO: ==22983== Releasing lock...
[2025-01-09 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:55:03] Production.INFO: ==22981== Lock acquired, processing the job...
[2025-01-09 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:55:03] Production.INFO: ==22987== Lock acquired, processing the job...
[2025-01-09 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:55:03] Production.ERROR: done
[2025-01-09 04:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:55:03] Production.INFO: ==22991== Lock acquired, processing the job...
[2025-01-09 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:55:03] Production.ERROR: done
[2025-01-09 04:55:03] Production.INFO: Account Balance Start.
[2025-01-09 04:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:55:03] Production.INFO: 117
[2025-01-09 04:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:55:03] Production.INFO: count ==21
[2025-01-09 04:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:55:03] Production.INFO: count ==21
[2025-01-09 04:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207266') start
[2025-01-09 04:55:03] Production.INFO: Total Charge 0
[2025-01-09 04:55:03] Production.INFO: CreateAllLog End
[2025-01-09 04:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207266') end
[2025-01-09 04:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:55:03] Production.INFO: 1
[2025-01-09 04:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:55:03] Production.INFO: ==22991== Releasing lock...
[2025-01-09 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:55:03] Production.INFO: Account Balance End.
[2025-01-09 04:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:55:04] Production.INFO: ==22987== Releasing lock...
[2025-01-09 04:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:55:04
[end_date_ymd] => 2025-01-09 04:55:04
[RateCDR] => 1
)
[2025-01-09 04:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:55:04' and `end` < '2025-01-09 04:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:55:09] Production.ERROR: CronJobId end10
[2025-01-09 04:55:09] Production.INFO: ==22985== Releasing lock...
[2025-01-09 04:55:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:55:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:55:12] Production.INFO: call_cost start
[2025-01-09 04:55:12] Production.INFO: call_cost end
[2025-01-09 04:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:55:13] Production.INFO: ==22981== Releasing lock...
[2025-01-09 04:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:55:20] Production.INFO: count ==111
[2025-01-09 04:55:20] Production.ERROR: pbx CDR StartTime 2025-01-09 01:55:04 - End Time 2025-01-09 04:55:04
[2025-01-09 04:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207267', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207267', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207267', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207267', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:55:20] Production.INFO: ProcessCDR(1,14207267,1,1,2)
[2025-01-09 04:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207267', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207267', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:55:23] Production.INFO: ==22989== Releasing lock...
[2025-01-09 04:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:55:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:56:02] Production.INFO: ==23075== Lock acquired, processing the job...
[2025-01-09 09:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:56:02] Production.INFO: neon service started
[2025-01-09 09:56:02] Production.INFO: neon service started
[2025-01-09 09:56:02] Production.INFO: ==23075== Releasing lock...
[2025-01-09 09:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:56:02] Production.INFO: ==23077== Lock acquired, processing the job...
[2025-01-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:56:02] Production.INFO: ==23077== Releasing lock...
[2025-01-09 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:56:02] Production.INFO: ==23079== Lock acquired, processing the job...
[2025-01-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:56:02] Production.INFO: ==23079== Releasing lock...
[2025-01-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:56:03] Production.INFO: ==23088== Lock acquired, processing the job...
[2025-01-09 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:56:03] Production.INFO: ==23084== Lock acquired, processing the job...
[2025-01-09 04:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:56:03] Production.INFO: ==23086== Lock acquired, processing the job...
[2025-01-09 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:56:03] Production.INFO: ==23092== Lock acquired, processing the job...
[2025-01-09 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:56:03] Production.INFO: ==23090== Lock acquired, processing the job...
[2025-01-09 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:56:03] Production.INFO: ==23094== Lock acquired, processing the job...
[2025-01-09 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:56:03] Production.INFO: Account Balance Start.
[2025-01-09 04:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:56:03] Production.INFO: 117
[2025-01-09 04:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:56:03] Production.ERROR: done
[2025-01-09 04:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:56:03] Production.INFO: ==23086== Releasing lock...
[2025-01-09 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:56:03] Production.INFO: Total Charge 0
[2025-01-09 04:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:56:04] Production.INFO: CreateAllLog End
[2025-01-09 04:56:04] Production.ERROR: done
[2025-01-09 04:56:04] Production.INFO: count ==21
[2025-01-09 04:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:56:04] Production.INFO: count ==21
[2025-01-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207271') start
[2025-01-09 04:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207271') end
[2025-01-09 04:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:56:04] Production.INFO: 1
[2025-01-09 04:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:56:04] Production.INFO: Account Balance End.
[2025-01-09 04:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:56:04] Production.INFO: ==23090== Releasing lock...
[2025-01-09 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:56:04] Production.INFO: ==23094== Releasing lock...
[2025-01-09 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:56:04
[end_date_ymd] => 2025-01-09 04:56:04
[RateCDR] => 1
)
[2025-01-09 04:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:56:04' and `end` < '2025-01-09 04:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:56:11] Production.ERROR: CronJobId end10
[2025-01-09 04:56:11] Production.INFO: ==23088== Releasing lock...
[2025-01-09 04:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:56:12] Production.INFO: call_cost start
[2025-01-09 04:56:12] Production.INFO: call_cost end
[2025-01-09 04:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:56:13] Production.INFO: ==23084== Releasing lock...
[2025-01-09 04:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:56:21] Production.INFO: count ==111
[2025-01-09 04:56:21] Production.ERROR: pbx CDR StartTime 2025-01-09 01:56:04 - End Time 2025-01-09 04:56:04
[2025-01-09 04:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207272', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207272', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207272', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207272', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:56:21] Production.INFO: ProcessCDR(1,14207272,1,1,2)
[2025-01-09 04:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207272', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207272', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:56:24] Production.INFO: ==23092== Releasing lock...
[2025-01-09 04:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:56:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:57:01] Production.INFO: ==23179== Lock acquired, processing the job...
[2025-01-09 09:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:57:01] Production.INFO: neon service started
[2025-01-09 09:57:01] Production.INFO: neon service started
[2025-01-09 09:57:01] Production.INFO: ==23179== Releasing lock...
[2025-01-09 09:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:57:01] Production.INFO: ==23183== Lock acquired, processing the job...
[2025-01-09 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:57:01] Production.INFO: ==23183== Releasing lock...
[2025-01-09 09:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:57:01] Production.INFO: ==23181== Lock acquired, processing the job...
[2025-01-09 04:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 04:57:02] Production.INFO: ==23181== Releasing lock...
[2025-01-09 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:57:03] Production.INFO: ==23187== Lock acquired, processing the job...
[2025-01-09 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:57:03] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-01-09 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:57:03] Production.INFO: Account Balance Start.
[2025-01-09 04:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:57:03] Production.INFO: 117
[2025-01-09 04:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:57:03] Production.INFO: ==23185== Lock acquired, processing the job...
[2025-01-09 04:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:57:03] Production.INFO: Total Charge 0
[2025-01-09 04:57:03] Production.INFO: CreateAllLog End
[2025-01-09 04:57:03] Production.INFO: ==23189== Lock acquired, processing the job...
[2025-01-09 04:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:57:03] Production.INFO: ==23187== Releasing lock...
[2025-01-09 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:57:03] Production.INFO: ==23195== Lock acquired, processing the job...
[2025-01-09 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:57:03] Production.INFO: ==23193== Lock acquired, processing the job...
[2025-01-09 04:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:57:03] Production.INFO: Account Balance End.
[2025-01-09 04:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 04:57:03] Production.INFO: ==23191== Releasing lock...
[2025-01-09 04:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:57:03] Production.INFO: count ==21
[2025-01-09 04:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:57:03] Production.INFO: count ==21
[2025-01-09 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207276') start
[2025-01-09 04:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207276') end
[2025-01-09 04:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:57:03] Production.INFO: 1
[2025-01-09 04:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:57:03] Production.INFO: ==23195== Releasing lock...
[2025-01-09 04:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:57:04] Production.ERROR: done
[2025-01-09 04:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:57:04] Production.ERROR: done
[2025-01-09 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:57:05
[end_date_ymd] => 2025-01-09 04:57:05
[RateCDR] => 1
)
[2025-01-09 04:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:57:05' and `end` < '2025-01-09 04:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:57:11] Production.ERROR: CronJobId end10
[2025-01-09 04:57:11] Production.INFO: ==23189== Releasing lock...
[2025-01-09 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:57:12] Production.INFO: call_cost start
[2025-01-09 04:57:12] Production.INFO: call_cost end
[2025-01-09 04:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:57:13] Production.INFO: ==23185== Releasing lock...
[2025-01-09 04:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:57:21] Production.INFO: count ==111
[2025-01-09 04:57:21] Production.ERROR: pbx CDR StartTime 2025-01-09 01:57:05 - End Time 2025-01-09 04:57:05
[2025-01-09 04:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207277', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207277', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207277', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207277', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:57:21] Production.INFO: ProcessCDR(1,14207277,1,1,2)
[2025-01-09 04:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207277', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207277', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:57:24] Production.INFO: ==23193== Releasing lock...
[2025-01-09 04:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:57:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:58:02] Production.INFO: ==23284== Lock acquired, processing the job...
[2025-01-09 09:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:58:02] Production.INFO: neon service started
[2025-01-09 09:58:02] Production.INFO: neon service started
[2025-01-09 09:58:02] Production.INFO: ==23284== Releasing lock...
[2025-01-09 09:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:58:02] Production.INFO: ==23286== Lock acquired, processing the job...
[2025-01-09 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:58:02] Production.INFO: ==23288== Lock acquired, processing the job...
[2025-01-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:58:02] Production.INFO: ==23288== Releasing lock...
[2025-01-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:58:03] Production.INFO: ==23286== Releasing lock...
[2025-01-09 04:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 04:58:03] Production.INFO: ==23291== Lock acquired, processing the job...
[2025-01-09 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:58:03] Production.INFO: ==23293== Lock acquired, processing the job...
[2025-01-09 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:58:04] Production.INFO: ==23299== Lock acquired, processing the job...
[2025-01-09 04:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:58:04] Production.INFO: ==23297== Lock acquired, processing the job...
[2025-01-09 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:58:04] Production.INFO: ==23295== Lock acquired, processing the job...
[2025-01-09 04:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:58:04] Production.INFO: ==23301== Lock acquired, processing the job...
[2025-01-09 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:58:04] Production.INFO: Account Balance Start.
[2025-01-09 04:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 04:58:04] Production.INFO: 117
[2025-01-09 04:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:58:04] Production.INFO: count ==21
[2025-01-09 04:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:58:04] Production.INFO: count ==21
[2025-01-09 04:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207281') start
[2025-01-09 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 04:58:04] Production.ERROR: done
[2025-01-09 04:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:58:04] Production.INFO: ==23293== Releasing lock...
[2025-01-09 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207281') end
[2025-01-09 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:58:04] Production.INFO: 1
[2025-01-09 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:58:04] Production.INFO: Total Charge 0
[2025-01-09 04:58:04] Production.ERROR: done
[2025-01-09 04:58:04] Production.INFO: CreateAllLog End
[2025-01-09 04:58:04] Production.INFO: ==23301== Releasing lock...
[2025-01-09 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:58:04] Production.INFO: Account Balance End.
[2025-01-09 04:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:58:04] Production.INFO: ==23297== Releasing lock...
[2025-01-09 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:58:05
[end_date_ymd] => 2025-01-09 04:58:05
[RateCDR] => 1
)
[2025-01-09 04:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:58:05' and `end` < '2025-01-09 04:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:58:11] Production.ERROR: CronJobId end10
[2025-01-09 04:58:11] Production.INFO: ==23295== Releasing lock...
[2025-01-09 04:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:58:13] Production.INFO: call_cost start
[2025-01-09 04:58:13] Production.INFO: call_cost end
[2025-01-09 04:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:58:14] Production.INFO: ==23291== Releasing lock...
[2025-01-09 04:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:58:20] Production.INFO: count ==111
[2025-01-09 04:58:20] Production.ERROR: pbx CDR StartTime 2025-01-09 01:58:05 - End Time 2025-01-09 04:58:05
[2025-01-09 04:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207282', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207282', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207282', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207282', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:58:20] Production.INFO: ProcessCDR(1,14207282,1,1,2)
[2025-01-09 04:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207282', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207282', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:58:23] Production.INFO: ==23299== Releasing lock...
[2025-01-09 04:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:58:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:59:01] Production.INFO: ==23388== Lock acquired, processing the job...
[2025-01-09 09:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 09:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 09:59:01] Production.INFO: neon service started
[2025-01-09 09:59:01] Production.INFO: neon service started
[2025-01-09 09:59:01] Production.INFO: ==23388== Releasing lock...
[2025-01-09 09:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 09:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 04:59:01] Production.INFO: ==23390== Lock acquired, processing the job...
[2025-01-09 04:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:59:02] Production.INFO: ==23392== Lock acquired, processing the job...
[2025-01-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 04:59:02] Production.INFO: ==23390== Releasing lock...
[2025-01-09 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 04:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:59:02] Production.INFO: ==23392== Releasing lock...
[2025-01-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 09:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 04:59:03] Production.INFO: ==23394== Lock acquired, processing the job...
[2025-01-09 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 04:59:03] Production.INFO: ==23396== Lock acquired, processing the job...
[2025-01-09 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 04:59:03] Production.INFO: ==23398== Lock acquired, processing the job...
[2025-01-09 04:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 04:59:03] Production.INFO: ==23400== Lock acquired, processing the job...
[2025-01-09 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 04:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 04:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 04:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 04:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 04:59:03] Production.INFO: ==23402== Lock acquired, processing the job...
[2025-01-09 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 04:59:03] Production.INFO: ==23405== Lock acquired, processing the job...
[2025-01-09 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 04:59:03] Production.INFO: Account Balance Start.
[2025-01-09 04:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 04:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 04:59:03] Production.INFO: 117
[2025-01-09 04:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 04:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:59:03] Production.INFO: count ==21
[2025-01-09 04:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 04:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 04:59:03] Production.INFO: count ==21
[2025-01-09 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 04:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207286') start
[2025-01-09 04:59:03] Production.INFO: ==23396== Releasing lock...
[2025-01-09 04:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 04:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 04:59:03] Production.INFO: Total Charge 0
[2025-01-09 04:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207286') end
[2025-01-09 04:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 04:59:03] Production.INFO: 1
[2025-01-09 04:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 04:59:03] Production.INFO: CreateAllLog End
[2025-01-09 04:59:03] Production.INFO: ==23405== Releasing lock...
[2025-01-09 04:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 04:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 04:59:03] Production.ERROR: done
[2025-01-09 04:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 04:59:04] Production.INFO: Account Balance End.
[2025-01-09 04:59:04] Production.ERROR: done
[2025-01-09 04:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 04:59:04] Production.INFO: ==23400== Releasing lock...
[2025-01-09 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 01:59:05
[end_date_ymd] => 2025-01-09 04:59:05
[RateCDR] => 1
)
[2025-01-09 04:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 01:59:05' and `end` < '2025-01-09 04:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 04:59:11] Production.ERROR: CronJobId end10
[2025-01-09 04:59:11] Production.INFO: ==23398== Releasing lock...
[2025-01-09 04:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 04:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 04:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 04:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 04:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 04:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 04:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 04:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 04:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 04:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 04:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 04:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 04:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 04:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 04:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 04:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 04:59:13] Production.INFO: call_cost start
[2025-01-09 04:59:13] Production.INFO: call_cost end
[2025-01-09 04:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 04:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 04:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 04:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 04:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 04:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 04:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 04:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 04:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 04:59:13] Production.INFO: ==23394== Releasing lock...
[2025-01-09 04:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 04:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 04:59:20] Production.INFO: count ==111
[2025-01-09 04:59:20] Production.ERROR: pbx CDR StartTime 2025-01-09 01:59:05 - End Time 2025-01-09 04:59:05
[2025-01-09 04:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207287', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207287', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207287', 'tblTempVendorCDR_20' ) start
[2025-01-09 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207287', 'tblTempVendorCDR_20' ) end
[2025-01-09 04:59:20] Production.INFO: ProcessCDR(1,14207287,1,1,2)
[2025-01-09 04:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 04:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207287', 'tblTempUsageDetail_20' ) start
[2025-01-09 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207287', 'tblTempUsageDetail_20' ) end
[2025-01-09 04:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 04:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 04:59:23] Production.INFO: ==23402== Releasing lock...
[2025-01-09 04:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 04:59:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:00:02] Production.INFO: ==23524== Lock acquired, processing the job...
[2025-01-09 10:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:00:02] Production.INFO: neon service started
[2025-01-09 10:00:02] Production.INFO: neon service started
[2025-01-09 10:00:02] Production.INFO: ==23524== Releasing lock...
[2025-01-09 10:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:00:02] Production.INFO: ==23527== Lock acquired, processing the job...
[2025-01-09 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:00:02] Production.INFO: ==23529== Lock acquired, processing the job...
[2025-01-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:00:02] Production.INFO: ==23529== Releasing lock...
[2025-01-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:00:03] Production.INFO: ==23527== Releasing lock...
[2025-01-09 05:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:00:03] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-01-09 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 05:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 05:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 05:00:04] Production.INFO: ==23531== Releasing lock...
[2025-01-09 05:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 05:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 05:00:04] Production.INFO: ==23535== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:00:04] Production.INFO: ==23539== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:00:04] Production.INFO: ==23533== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:00:04] Production.INFO: ==23541== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:00:04] Production.INFO: Account Balance Start.
[2025-01-09 05:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:00:04] Production.INFO: 117
[2025-01-09 05:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:00:04] Production.INFO: ==23537== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:00:04] Production.INFO: Total Charge 0
[2025-01-09 05:00:04] Production.INFO: CreateAllLog End
[2025-01-09 05:00:04] Production.INFO: ==23535== Releasing lock...
[2025-01-09 05:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:00:04] Production.INFO: ==23545== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:00:04] Production.INFO: ==23543== Lock acquired, processing the job...
[2025-01-09 05:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 05:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:00:04] Production.ERROR: done
[2025-01-09 05:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:00:04] Production.INFO: Account Balance End.
[2025-01-09 05:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:00:04] Production.INFO: ==23539== Releasing lock...
[2025-01-09 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:00:04] Production.INFO: count ==21
[2025-01-09 05:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:00:04] Production.INFO: count ==21
[2025-01-09 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207291') start
[2025-01-09 05:00:05] Production.ERROR: done
[2025-01-09 05:00:05] Production.ERROR: done
[2025-01-09 05:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207291') end
[2025-01-09 05:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:00:05] Production.INFO: 1
[2025-01-09 05:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 05:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207293', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 05:00:05] Production.INFO: ==23545== Releasing lock...
[2025-01-09 05:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:00:05
[end_date_ymd] => 2025-01-09 05:00:05
[RateCDR] => 1
)
[2025-01-09 05:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:00:05' and `end` < '2025-01-09 05:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207293', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 05:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 05:00:09] Production.INFO: ProcessCDR(1,14207293,1,1,2)
[2025-01-09 05:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207293,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207293,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:00:09] Production.INFO: ==23543== Releasing lock...
[2025-01-09 05:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 05:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:00:13] Production.ERROR: CronJobId end10
[2025-01-09 05:00:13] Production.INFO: ==23537== Releasing lock...
[2025-01-09 05:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:00:15] Production.INFO: call_cost start
[2025-01-09 05:00:15] Production.INFO: call_cost end
[2025-01-09 05:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:00:16] Production.INFO: ==23533== Releasing lock...
[2025-01-09 05:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:00:21] Production.INFO: count ==108
[2025-01-09 05:00:21] Production.ERROR: pbx CDR StartTime 2025-01-09 02:00:05 - End Time 2025-01-09 05:00:05
[2025-01-09 05:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207292', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207292', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207292', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207292', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:00:21] Production.INFO: ProcessCDR(1,14207292,1,1,2)
[2025-01-09 05:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207292', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207292', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:00:24] Production.INFO: ==23541== Releasing lock...
[2025-01-09 05:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:00:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:01:01] Production.INFO: ==23617== Lock acquired, processing the job...
[2025-01-09 10:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:01:01] Production.INFO: neon service started
[2025-01-09 10:01:01] Production.INFO: neon service started
[2025-01-09 10:01:01] Production.INFO: ==23617== Releasing lock...
[2025-01-09 10:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:01:02] Production.INFO: ==23630== Lock acquired, processing the job...
[2025-01-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:01:02] Production.INFO: ==23632== Lock acquired, processing the job...
[2025-01-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:01:02] Production.INFO: ==23632== Releasing lock...
[2025-01-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:01:02] Production.INFO: ==23630== Releasing lock...
[2025-01-09 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:01:03] Production.INFO: ==23639== Lock acquired, processing the job...
[2025-01-09 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:01:03] Production.INFO: ==23637== Lock acquired, processing the job...
[2025-01-09 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:01:03] Production.INFO: ==23647== Lock acquired, processing the job...
[2025-01-09 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:01:03] Production.INFO: ==23641== Lock acquired, processing the job...
[2025-01-09 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:01:03] Production.INFO: ==23643== Lock acquired, processing the job...
[2025-01-09 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:01:03] Production.INFO: ==23639== Releasing lock...
[2025-01-09 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:01:03] Production.INFO: count ==21
[2025-01-09 05:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:01:03] Production.INFO: count ==21
[2025-01-09 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207296') start
[2025-01-09 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:01:03] Production.INFO: ==23645== Lock acquired, processing the job...
[2025-01-09 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207296') end
[2025-01-09 05:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:01:03] Production.INFO: 1
[2025-01-09 05:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:01:03] Production.INFO: ==23647== Releasing lock...
[2025-01-09 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:01:03] Production.INFO: Account Balance Start.
[2025-01-09 05:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:01:03] Production.INFO: 117
[2025-01-09 05:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:01:03] Production.INFO: Total Charge 0
[2025-01-09 05:01:03] Production.INFO: CreateAllLog End
[2025-01-09 05:01:03] Production.ERROR: done
[2025-01-09 05:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:01:04] Production.INFO: Account Balance End.
[2025-01-09 05:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:01:04] Production.INFO: ==23643== Releasing lock...
[2025-01-09 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:01:04] Production.ERROR: done
[2025-01-09 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:01:05
[end_date_ymd] => 2025-01-09 05:01:05
[RateCDR] => 1
)
[2025-01-09 05:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:01:05' and `end` < '2025-01-09 05:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:01:11] Production.ERROR: CronJobId end10
[2025-01-09 05:01:11] Production.INFO: ==23641== Releasing lock...
[2025-01-09 05:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:01:13] Production.INFO: call_cost start
[2025-01-09 05:01:13] Production.INFO: call_cost end
[2025-01-09 05:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:01:14] Production.INFO: ==23637== Releasing lock...
[2025-01-09 05:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:01:20] Production.INFO: count ==108
[2025-01-09 05:01:20] Production.ERROR: pbx CDR StartTime 2025-01-09 02:01:05 - End Time 2025-01-09 05:01:05
[2025-01-09 05:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207298', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207298', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207298', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207298', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:01:20] Production.INFO: ProcessCDR(1,14207298,1,1,2)
[2025-01-09 05:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207298', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207298', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:01:23] Production.INFO: ==23645== Releasing lock...
[2025-01-09 05:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:01:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:02:02] Production.INFO: ==23722== Lock acquired, processing the job...
[2025-01-09 10:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:02:02] Production.INFO: neon service started
[2025-01-09 10:02:02] Production.INFO: neon service started
[2025-01-09 10:02:02] Production.INFO: ==23722== Releasing lock...
[2025-01-09 10:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:02:02] Production.INFO: ==23725== Lock acquired, processing the job...
[2025-01-09 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:02:02] Production.INFO: ==23727== Lock acquired, processing the job...
[2025-01-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:02:02] Production.INFO: ==23727== Releasing lock...
[2025-01-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:02:03] Production.INFO: ==23725== Releasing lock...
[2025-01-09 05:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:02:04] Production.INFO: ==23735== Lock acquired, processing the job...
[2025-01-09 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:02:04] Production.INFO: Account Balance Start.
[2025-01-09 05:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:02:04] Production.INFO: 117
[2025-01-09 05:02:04] Production.INFO: ==23739== Lock acquired, processing the job...
[2025-01-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:02:04] Production.INFO: Total Charge 0
[2025-01-09 05:02:04] Production.INFO: CreateAllLog End
[2025-01-09 05:02:04] Production.INFO: ==23729== Lock acquired, processing the job...
[2025-01-09 05:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:02:04] Production.INFO: ==23731== Lock acquired, processing the job...
[2025-01-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:02:04] Production.INFO: ==23733== Lock acquired, processing the job...
[2025-01-09 05:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:02:04] Production.INFO: count ==21
[2025-01-09 05:02:04] Production.INFO: Account Balance End.
[2025-01-09 05:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:02:04] Production.INFO: count ==21
[2025-01-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207300') start
[2025-01-09 05:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:02:04] Production.INFO: ==23735== Releasing lock...
[2025-01-09 05:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207300') end
[2025-01-09 05:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:02:04] Production.INFO: 1
[2025-01-09 05:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:02:04] Production.INFO: ==23737== Lock acquired, processing the job...
[2025-01-09 05:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:02:04] Production.INFO: ==23739== Releasing lock...
[2025-01-09 05:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:02:04] Production.INFO: ==23731== Releasing lock...
[2025-01-09 05:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:02:05] Production.ERROR: done
[2025-01-09 05:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:02:05] Production.ERROR: done
[2025-01-09 05:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:02:06
[end_date_ymd] => 2025-01-09 05:02:06
[RateCDR] => 1
)
[2025-01-09 05:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:02:06' and `end` < '2025-01-09 05:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:02:12] Production.ERROR: CronJobId end10
[2025-01-09 05:02:12] Production.INFO: ==23733== Releasing lock...
[2025-01-09 05:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:02:14] Production.INFO: call_cost start
[2025-01-09 05:02:14] Production.INFO: call_cost end
[2025-01-09 05:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:02:15] Production.INFO: ==23729== Releasing lock...
[2025-01-09 05:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:02:21] Production.INFO: count ==108
[2025-01-09 05:02:21] Production.ERROR: pbx CDR StartTime 2025-01-09 02:02:06 - End Time 2025-01-09 05:02:06
[2025-01-09 05:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207303', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207303', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207303', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207303', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:02:21] Production.INFO: ProcessCDR(1,14207303,1,1,2)
[2025-01-09 05:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207303', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207303', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:02:24] Production.INFO: ==23737== Releasing lock...
[2025-01-09 05:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:02:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:03:01] Production.INFO: ==23814== Lock acquired, processing the job...
[2025-01-09 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:03:01] Production.INFO: neon service started
[2025-01-09 10:03:01] Production.INFO: neon service started
[2025-01-09 10:03:01] Production.INFO: ==23814== Releasing lock...
[2025-01-09 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:03:02] Production.INFO: ==23816== Lock acquired, processing the job...
[2025-01-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:03:02] Production.INFO: ==23818== Lock acquired, processing the job...
[2025-01-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:03:02] Production.INFO: ==23816== Releasing lock...
[2025-01-09 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:03:02] Production.INFO: ==23818== Releasing lock...
[2025-01-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:03:03] Production.INFO: ==23820== Lock acquired, processing the job...
[2025-01-09 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:03:03] Production.INFO: ==23826== Lock acquired, processing the job...
[2025-01-09 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:03:03] Production.INFO: Account Balance Start.
[2025-01-09 05:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:03:03] Production.INFO: 117
[2025-01-09 05:03:03] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-01-09 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:03:03] Production.INFO: ==23822== Lock acquired, processing the job...
[2025-01-09 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:03:03] Production.INFO: ==23824== Lock acquired, processing the job...
[2025-01-09 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:03:03] Production.INFO: Total Charge 0
[2025-01-09 05:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:03:03] Production.INFO: ==23828== Lock acquired, processing the job...
[2025-01-09 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:03:03] Production.INFO: CreateAllLog End
[2025-01-09 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:03:04] Production.INFO: count ==21
[2025-01-09 05:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:03:04] Production.INFO: ==23822== Releasing lock...
[2025-01-09 05:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:03:04] Production.INFO: count ==21
[2025-01-09 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207306') start
[2025-01-09 05:03:04] Production.INFO: Account Balance End.
[2025-01-09 05:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:03:04] Production.INFO: ==23826== Releasing lock...
[2025-01-09 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:03:04] Production.ERROR: done
[2025-01-09 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207306') end
[2025-01-09 05:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:03:04] Production.INFO: 1
[2025-01-09 05:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:03:04] Production.INFO: ==23830== Releasing lock...
[2025-01-09 05:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:03:04] Production.ERROR: done
[2025-01-09 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:03:05
[end_date_ymd] => 2025-01-09 05:03:05
[RateCDR] => 1
)
[2025-01-09 05:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:03:05' and `end` < '2025-01-09 05:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:03:12] Production.ERROR: CronJobId end10
[2025-01-09 05:03:12] Production.INFO: ==23824== Releasing lock...
[2025-01-09 05:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:03:13] Production.INFO: call_cost start
[2025-01-09 05:03:13] Production.INFO: call_cost end
[2025-01-09 05:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:03:14] Production.INFO: ==23820== Releasing lock...
[2025-01-09 05:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:03:20] Production.INFO: count ==108
[2025-01-09 05:03:20] Production.ERROR: pbx CDR StartTime 2025-01-09 02:03:05 - End Time 2025-01-09 05:03:05
[2025-01-09 05:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207308', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207308', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207308', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207308', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:03:20] Production.INFO: ProcessCDR(1,14207308,1,1,2)
[2025-01-09 05:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207308', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207308', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:03:23] Production.INFO: ==23828== Releasing lock...
[2025-01-09 05:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:03:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:04:02] Production.INFO: ==23908== Lock acquired, processing the job...
[2025-01-09 10:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:04:02] Production.INFO: neon service started
[2025-01-09 10:04:02] Production.INFO: neon service started
[2025-01-09 10:04:02] Production.INFO: ==23908== Releasing lock...
[2025-01-09 10:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:04:02] Production.INFO: ==23910== Lock acquired, processing the job...
[2025-01-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:04:02] Production.INFO: ==23910== Releasing lock...
[2025-01-09 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:04:02] Production.INFO: ==23912== Lock acquired, processing the job...
[2025-01-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:04:02] Production.INFO: ==23912== Releasing lock...
[2025-01-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:04:03] Production.INFO: ==23919== Lock acquired, processing the job...
[2025-01-09 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:04:03] Production.INFO: ==23915== Lock acquired, processing the job...
[2025-01-09 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:04:03] Production.INFO: ==23923== Lock acquired, processing the job...
[2025-01-09 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:04:03] Production.INFO: ==23917== Lock acquired, processing the job...
[2025-01-09 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:04:03] Production.INFO: ==23921== Lock acquired, processing the job...
[2025-01-09 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:04:04] Production.INFO: ==23925== Lock acquired, processing the job...
[2025-01-09 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:04:04] Production.INFO: Account Balance Start.
[2025-01-09 05:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:04:04] Production.INFO: 117
[2025-01-09 05:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:04:04] Production.INFO: count ==21
[2025-01-09 05:04:04] Production.ERROR: done
[2025-01-09 05:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:04:04] Production.INFO: Total Charge 0
[2025-01-09 05:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:04:04] Production.INFO: count ==21
[2025-01-09 05:04:04] Production.INFO: CreateAllLog End
[2025-01-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207312') start
[2025-01-09 05:04:04] Production.INFO: ==23917== Releasing lock...
[2025-01-09 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:04:04] Production.ERROR: done
[2025-01-09 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207312') end
[2025-01-09 05:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:04:04] Production.INFO: 1
[2025-01-09 05:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:04:04] Production.INFO: ==23925== Releasing lock...
[2025-01-09 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:04:04] Production.INFO: Account Balance End.
[2025-01-09 05:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:04:04] Production.INFO: ==23921== Releasing lock...
[2025-01-09 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:04:05
[end_date_ymd] => 2025-01-09 05:04:05
[RateCDR] => 1
)
[2025-01-09 05:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:04:05' and `end` < '2025-01-09 05:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:04:12] Production.ERROR: CronJobId end10
[2025-01-09 05:04:12] Production.INFO: ==23919== Releasing lock...
[2025-01-09 05:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:04:13] Production.INFO: call_cost start
[2025-01-09 05:04:13] Production.INFO: call_cost end
[2025-01-09 05:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:04:14] Production.INFO: ==23915== Releasing lock...
[2025-01-09 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:04:19] Production.INFO: count ==108
[2025-01-09 05:04:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:04:05 - End Time 2025-01-09 05:04:05
[2025-01-09 05:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207313', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207313', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207313', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207313', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:04:19] Production.INFO: ProcessCDR(1,14207313,1,1,2)
[2025-01-09 05:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207313', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207313', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:04:22] Production.INFO: ==23923== Releasing lock...
[2025-01-09 05:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:04:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:05:01] Production.INFO: ==24003== Lock acquired, processing the job...
[2025-01-09 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:05:01] Production.INFO: neon service started
[2025-01-09 10:05:01] Production.INFO: neon service started
[2025-01-09 10:05:01] Production.INFO: ==24003== Releasing lock...
[2025-01-09 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:05:01] Production.INFO: ==24005== Lock acquired, processing the job...
[2025-01-09 05:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:05:02] Production.INFO: ==24005== Releasing lock...
[2025-01-09 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:05:02] Production.INFO: ==24007== Lock acquired, processing the job...
[2025-01-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:05:02] Production.INFO: ==24007== Releasing lock...
[2025-01-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:05:03] Production.INFO: ==24009== Lock acquired, processing the job...
[2025-01-09 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:05:03] Production.INFO: ==24011== Lock acquired, processing the job...
[2025-01-09 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:05:03] Production.INFO: ==24015== Lock acquired, processing the job...
[2025-01-09 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:05:03] Production.INFO: Account Balance Start.
[2025-01-09 05:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:05:03] Production.INFO: 117
[2025-01-09 05:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:05:03] Production.INFO: ==24017== Lock acquired, processing the job...
[2025-01-09 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:05:03] Production.INFO: Total Charge 0
[2025-01-09 05:05:03] Production.INFO: CreateAllLog End
[2025-01-09 05:05:03] Production.INFO: ==24013== Lock acquired, processing the job...
[2025-01-09 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:05:03] Production.INFO: ==24019== Lock acquired, processing the job...
[2025-01-09 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:05:03] Production.INFO: ==24011== Releasing lock...
[2025-01-09 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:05:03] Production.INFO: count ==21
[2025-01-09 05:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:05:03] Production.INFO: Account Balance End.
[2025-01-09 05:05:03] Production.INFO: count ==21
[2025-01-09 05:05:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:05:03] Production.INFO: ==24015== Releasing lock...
[2025-01-09 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207317') start
[2025-01-09 05:05:03] Production.ERROR: done
[2025-01-09 05:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207317') end
[2025-01-09 05:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:05:03] Production.INFO: 1
[2025-01-09 05:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:05:04] Production.ERROR: done
[2025-01-09 05:05:04] Production.INFO: ==24019== Releasing lock...
[2025-01-09 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:05:05
[end_date_ymd] => 2025-01-09 05:05:05
[RateCDR] => 1
)
[2025-01-09 05:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:05:05' and `end` < '2025-01-09 05:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:05:11] Production.ERROR: CronJobId end10
[2025-01-09 05:05:11] Production.INFO: ==24013== Releasing lock...
[2025-01-09 05:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:05:13] Production.INFO: call_cost start
[2025-01-09 05:05:13] Production.INFO: call_cost end
[2025-01-09 05:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:05:14] Production.INFO: ==24009== Releasing lock...
[2025-01-09 05:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:05:17] Production.INFO: count ==108
[2025-01-09 05:05:17] Production.ERROR: pbx CDR StartTime 2025-01-09 02:05:05 - End Time 2025-01-09 05:05:05
[2025-01-09 05:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207318', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207318', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207318', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207318', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:05:17] Production.INFO: ProcessCDR(1,14207318,1,1,2)
[2025-01-09 05:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207318', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207318', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:05:21] Production.INFO: ==24017== Releasing lock...
[2025-01-09 05:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:05:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:06:02] Production.INFO: ==24101== Lock acquired, processing the job...
[2025-01-09 10:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:06:02] Production.INFO: neon service started
[2025-01-09 10:06:02] Production.INFO: neon service started
[2025-01-09 10:06:02] Production.INFO: ==24101== Releasing lock...
[2025-01-09 10:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:06:02] Production.INFO: ==24103== Lock acquired, processing the job...
[2025-01-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:06:02] Production.INFO: ==24103== Releasing lock...
[2025-01-09 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:06:02] Production.INFO: ==24105== Lock acquired, processing the job...
[2025-01-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:06:02] Production.INFO: ==24105== Releasing lock...
[2025-01-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:06:03] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-01-09 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:06:03] Production.INFO: ==24107== Lock acquired, processing the job...
[2025-01-09 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:06:03] Production.INFO: ==24115== Lock acquired, processing the job...
[2025-01-09 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:06:03] Production.INFO: ==24109== Lock acquired, processing the job...
[2025-01-09 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:06:03] Production.INFO: ==24118== Lock acquired, processing the job...
[2025-01-09 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:06:03] Production.INFO: ==24113== Lock acquired, processing the job...
[2025-01-09 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:06:04] Production.ERROR: done
[2025-01-09 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:06:04] Production.INFO: count ==21
[2025-01-09 05:06:04] Production.ERROR: done
[2025-01-09 05:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:06:04] Production.INFO: count ==21
[2025-01-09 05:06:04] Production.INFO: Account Balance Start.
[2025-01-09 05:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207321') start
[2025-01-09 05:06:04] Production.INFO: 117
[2025-01-09 05:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:06:04] Production.INFO: ==24109== Releasing lock...
[2025-01-09 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207321') end
[2025-01-09 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:06:04] Production.INFO: 1
[2025-01-09 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:06:04] Production.INFO: ==24118== Releasing lock...
[2025-01-09 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:06:04] Production.INFO: Total Charge 0
[2025-01-09 05:06:04] Production.INFO: CreateAllLog End
[2025-01-09 05:06:04] Production.INFO: Account Balance End.
[2025-01-09 05:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:06:04] Production.INFO: ==24113== Releasing lock...
[2025-01-09 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:06:05
[end_date_ymd] => 2025-01-09 05:06:05
[RateCDR] => 1
)
[2025-01-09 05:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:06:05' and `end` < '2025-01-09 05:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05: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,7))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 05:06:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:06:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:06:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:06:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:06:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:06:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:06:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:06:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:06:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:06:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:06:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:06:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:06:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:06:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:06:10] Production.INFO: call_cost start
[2025-01-09 05:06:10] Production.INFO: call_cost end
[2025-01-09 05:06:10] Production.ERROR: CronJobId end10
[2025-01-09 05:06:10] Production.INFO: ==24111== Releasing lock...
[2025-01-09 05:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:06:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:06:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:06:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:06:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:06:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:06:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:06:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:06:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:06:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:06:11] Production.INFO: ==24107== Releasing lock...
[2025-01-09 05:06:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:06:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:06:19] Production.INFO: count ==108
[2025-01-09 05:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:06:05 - End Time 2025-01-09 05:06:05
[2025-01-09 05:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207323', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207323', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207323', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207323', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:06:19] Production.INFO: ProcessCDR(1,14207323,1,1,2)
[2025-01-09 05:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207323', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207323', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:06:22] Production.INFO: ==24115== Releasing lock...
[2025-01-09 05:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:06:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:07:01] Production.INFO: ==24193== Lock acquired, processing the job...
[2025-01-09 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:07:01] Production.INFO: neon service started
[2025-01-09 10:07:01] Production.INFO: neon service started
[2025-01-09 10:07:01] Production.INFO: ==24193== Releasing lock...
[2025-01-09 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:07:02] Production.INFO: ==24195== Lock acquired, processing the job...
[2025-01-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:07:02] Production.INFO: ==24197== Lock acquired, processing the job...
[2025-01-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:07:02] Production.INFO: ==24197== Releasing lock...
[2025-01-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:07:02] Production.INFO: ==24195== Releasing lock...
[2025-01-09 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:07:03] Production.INFO: ==24200== Lock acquired, processing the job...
[2025-01-09 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:07:03] Production.INFO: ==24210== Lock acquired, processing the job...
[2025-01-09 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:07:03] Production.INFO: ==24202== Lock acquired, processing the job...
[2025-01-09 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:07:03] Production.INFO: ==24204== Lock acquired, processing the job...
[2025-01-09 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:07:03] Production.INFO: ==24206== Lock acquired, processing the job...
[2025-01-09 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:07:03] Production.INFO: count ==21
[2025-01-09 05:07:03] Production.INFO: ==24208== Lock acquired, processing the job...
[2025-01-09 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:07:03] Production.INFO: Account Balance Start.
[2025-01-09 05:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:07:03] Production.INFO: 117
[2025-01-09 05:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:07:03] Production.INFO: count ==21
[2025-01-09 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207325') start
[2025-01-09 05:07:04] Production.INFO: ==24202== Releasing lock...
[2025-01-09 05:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:07:04] Production.INFO: Total Charge 0
[2025-01-09 05:07:04] Production.INFO: CreateAllLog End
[2025-01-09 05:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207325') end
[2025-01-09 05:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:07:04] Production.INFO: 1
[2025-01-09 05:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:07:04] Production.ERROR: done
[2025-01-09 05:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:07:04] Production.INFO: ==24210== Releasing lock...
[2025-01-09 05:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:07:04] Production.ERROR: done
[2025-01-09 05:07:04] Production.INFO: Account Balance End.
[2025-01-09 05:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:07:04] Production.INFO: ==24206== Releasing lock...
[2025-01-09 05:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:07:05
[end_date_ymd] => 2025-01-09 05:07:05
[RateCDR] => 1
)
[2025-01-09 05:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:07:05' and `end` < '2025-01-09 05:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:07:11] Production.ERROR: CronJobId end10
[2025-01-09 05:07:11] Production.INFO: ==24204== Releasing lock...
[2025-01-09 05:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:07:12] Production.INFO: call_cost start
[2025-01-09 05:07:12] Production.INFO: call_cost end
[2025-01-09 05:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:07:13] Production.INFO: ==24200== Releasing lock...
[2025-01-09 05:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:07:47] Production.INFO: count ==107
[2025-01-09 05:07:47] Production.ERROR: pbx CDR StartTime 2025-01-09 02:07:05 - End Time 2025-01-09 05:07:05
[2025-01-09 05:07:47] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:07:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207328', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:07:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207328', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:07:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207328', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:07:47] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207328', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:07:47] Production.INFO: ProcessCDR(1,14207328,1,1,2)
[2025-01-09 05:07:47] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:07:48] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:07:48] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:07:51] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:07:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207328', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:07:51] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207328', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:07:51] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:07:51] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:07:51] Production.INFO: ==24208== Releasing lock...
[2025-01-09 05:07:51] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:07:51] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:08:02] Production.INFO: ==24284== Lock acquired, processing the job...
[2025-01-09 10:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:08:02] Production.INFO: neon service started
[2025-01-09 10:08:02] Production.INFO: neon service started
[2025-01-09 10:08:02] Production.INFO: ==24284== Releasing lock...
[2025-01-09 10:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:08:02] Production.INFO: ==24286== Lock acquired, processing the job...
[2025-01-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:08:02] Production.INFO: ==24286== Releasing lock...
[2025-01-09 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:08:02] Production.INFO: ==24288== Lock acquired, processing the job...
[2025-01-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:08:02] Production.INFO: ==24288== Releasing lock...
[2025-01-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:08:03] Production.INFO: ==24301== Lock acquired, processing the job...
[2025-01-09 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:08:03] Production.INFO: ==24291== Lock acquired, processing the job...
[2025-01-09 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:08:03] Production.INFO: count ==21
[2025-01-09 05:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:08:03] Production.INFO: count ==21
[2025-01-09 05:08:03] Production.INFO: ==24293== Lock acquired, processing the job...
[2025-01-09 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207329') start
[2025-01-09 05:08:03] Production.INFO: ==24295== Lock acquired, processing the job...
[2025-01-09 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207329') end
[2025-01-09 05:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:08:04] Production.INFO: 1
[2025-01-09 05:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:08:04] Production.INFO: ==24297== Lock acquired, processing the job...
[2025-01-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:08:04] Production.INFO: ==24301== Releasing lock...
[2025-01-09 05:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:08:04] Production.INFO: ==24299== Lock acquired, processing the job...
[2025-01-09 05:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:08:04] Production.INFO: Account Balance Start.
[2025-01-09 05:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:08:04] Production.INFO: 117
[2025-01-09 05:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:08:04] Production.INFO: ==24293== Releasing lock...
[2025-01-09 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:08:04] Production.INFO: Total Charge 0
[2025-01-09 05:08:04] Production.INFO: CreateAllLog End
[2025-01-09 05:08:04] Production.ERROR: done
[2025-01-09 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:08:04] Production.ERROR: done
[2025-01-09 05:08:04] Production.INFO: Account Balance End.
[2025-01-09 05:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:08:04] Production.INFO: ==24297== Releasing lock...
[2025-01-09 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:08:05
[end_date_ymd] => 2025-01-09 05:08:05
[RateCDR] => 1
)
[2025-01-09 05:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:08:05' and `end` < '2025-01-09 05:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:08:10] Production.ERROR: CronJobId end10
[2025-01-09 05:08:10] Production.INFO: ==24295== Releasing lock...
[2025-01-09 05:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:08:13] Production.INFO: call_cost start
[2025-01-09 05:08:13] Production.INFO: call_cost end
[2025-01-09 05:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:08:14] Production.INFO: ==24291== Releasing lock...
[2025-01-09 05:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:08:19] Production.INFO: count ==106
[2025-01-09 05:08:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:08:05 - End Time 2025-01-09 05:08:05
[2025-01-09 05:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207333', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207333', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207333', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207333', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:08:19] Production.INFO: ProcessCDR(1,14207333,1,1,2)
[2025-01-09 05:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207333', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207333', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:08:23] Production.INFO: ==24299== Releasing lock...
[2025-01-09 05:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:08:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:09:01] Production.INFO: ==24375== Lock acquired, processing the job...
[2025-01-09 10:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:09:01] Production.INFO: neon service started
[2025-01-09 10:09:01] Production.INFO: neon service started
[2025-01-09 10:09:01] Production.INFO: ==24375== Releasing lock...
[2025-01-09 10:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:09:01] Production.INFO: ==24379== Lock acquired, processing the job...
[2025-01-09 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:09:01] Production.INFO: ==24379== Releasing lock...
[2025-01-09 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:09:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:09:01] Production.INFO: ==24377== Lock acquired, processing the job...
[2025-01-09 05:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:09:02] Production.INFO: ==24377== Releasing lock...
[2025-01-09 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:09:02] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-09 05:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:09:03] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-09 05:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:09:03] Production.INFO: ==24389== Lock acquired, processing the job...
[2025-01-09 05:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:09:03] Production.INFO: ==24381== Lock acquired, processing the job...
[2025-01-09 05:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:09:03] Production.INFO: ==24383== Releasing lock...
[2025-01-09 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:09:03] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-09 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:09:03] Production.INFO: ==24391== Lock acquired, processing the job...
[2025-01-09 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 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-01-09 05:09:03] Production.ERROR: done
[2025-01-09 05:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:09:03] Production.INFO: count ==21
[2025-01-09 05:09:03] Production.INFO: Account Balance Start.
[2025-01-09 05:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:09:03] Production.INFO: 117
[2025-01-09 05:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 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-01-09 05:09:03] Production.INFO: count ==21
[2025-01-09 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207335') start
[2025-01-09 05:09:03] Production.ERROR: done
[2025-01-09 05:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:09:03] Production.INFO: Total Charge 0
[2025-01-09 05:09:03] Production.INFO: CreateAllLog End
[2025-01-09 05:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207335') end
[2025-01-09 05:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:09:03] Production.INFO: 1
[2025-01-09 05:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:09:03] Production.INFO: Account Balance End.
[2025-01-09 05:09:03] Production.INFO: ==24391== Releasing lock...
[2025-01-09 05:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:09:03] Production.INFO: ==24387== Releasing lock...
[2025-01-09 05:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:09:04
[end_date_ymd] => 2025-01-09 05:09:04
[RateCDR] => 1
)
[2025-01-09 05:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:09:04' and `end` < '2025-01-09 05:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:09:11] Production.ERROR: CronJobId end10
[2025-01-09 05:09:11] Production.INFO: ==24385== Releasing lock...
[2025-01-09 05:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:09:14] Production.INFO: call_cost start
[2025-01-09 05:09:14] Production.INFO: call_cost end
[2025-01-09 05:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:09:15] Production.INFO: ==24381== Releasing lock...
[2025-01-09 05:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:09:19] Production.INFO: count ==106
[2025-01-09 05:09:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:09:04 - End Time 2025-01-09 05:09:04
[2025-01-09 05:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207338', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207338', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207338', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207338', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:09:19] Production.INFO: ProcessCDR(1,14207338,1,1,2)
[2025-01-09 05:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207338', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207338', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:09:22] Production.INFO: ==24389== Releasing lock...
[2025-01-09 05:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:09:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:10:01] Production.INFO: ==24466== Lock acquired, processing the job...
[2025-01-09 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:10:01] Production.INFO: neon service started
[2025-01-09 10:10:01] Production.INFO: neon service started
[2025-01-09 10:10:01] Production.INFO: ==24466== Releasing lock...
[2025-01-09 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:10:02] Production.INFO: ==24470== Lock acquired, processing the job...
[2025-01-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:10:02] Production.INFO: ==24470== Releasing lock...
[2025-01-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:10:02] Production.INFO: ==24468== Lock acquired, processing the job...
[2025-01-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:10:02] Production.INFO: ==24468== Releasing lock...
[2025-01-09 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:10:03] Production.INFO: ==24472== Lock acquired, processing the job...
[2025-01-09 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 05:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 05:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 05:10:03] Production.INFO: ==24472== Releasing lock...
[2025-01-09 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 05:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 05:10:03] Production.INFO: ==24485== Lock acquired, processing the job...
[2025-01-09 05:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 05:10:03] Production.INFO: ==24474== Lock acquired, processing the job...
[2025-01-09 05:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:10:03] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-01-09 05:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:10:04] Production.INFO: ==24477== Lock acquired, processing the job...
[2025-01-09 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:10:04] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-01-09 05:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:10:04] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-01-09 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:10:04] Production.INFO: ==24487== Lock acquired, processing the job...
[2025-01-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:10:04] Production.INFO: Account Balance Start.
[2025-01-09 05:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:10:04] Production.INFO: 117
[2025-01-09 05:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:10:04] Production.ERROR: done
[2025-01-09 05:10:04] Production.ERROR: done
[2025-01-09 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207343', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 05:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:10:04] Production.INFO: count ==21
[2025-01-09 05:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:10:04] Production.INFO: count ==21
[2025-01-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207342') start
[2025-01-09 05:10:04] Production.INFO: Total Charge 0
[2025-01-09 05:10:04] Production.INFO: CreateAllLog End
[2025-01-09 05:10:04] Production.ERROR: done
[2025-01-09 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207342') end
[2025-01-09 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:10:04] Production.INFO: 1
[2025-01-09 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:10:04] Production.INFO: Account Balance End.
[2025-01-09 05:10:04] Production.INFO: ==24477== Releasing lock...
[2025-01-09 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:10:04] Production.INFO: ==24487== Releasing lock...
[2025-01-09 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:10:04] Production.INFO: ==24481== Releasing lock...
[2025-01-09 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:10:06
[end_date_ymd] => 2025-01-09 05:10:06
[RateCDR] => 1
)
[2025-01-09 05:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:10:06' and `end` < '2025-01-09 05:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207343', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 05:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 05:10:08] Production.INFO: ProcessCDR(1,14207343,1,1,2)
[2025-01-09 05:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:10:08] Production.INFO: ==24485== Releasing lock...
[2025-01-09 05:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 05:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:10:13] Production.ERROR: CronJobId end10
[2025-01-09 05:10:13] Production.INFO: ==24479== Releasing lock...
[2025-01-09 05:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:10:15] Production.INFO: call_cost start
[2025-01-09 05:10:15] Production.INFO: call_cost end
[2025-01-09 05:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:10:16] Production.INFO: ==24474== Releasing lock...
[2025-01-09 05:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:10:19] Production.INFO: count ==106
[2025-01-09 05:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:10:06 - End Time 2025-01-09 05:10:06
[2025-01-09 05:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207344', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207344', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207344', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207344', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:10:19] Production.INFO: ProcessCDR(1,14207344,1,1,2)
[2025-01-09 05:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207344', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207344', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:10:22] Production.INFO: ==24483== Releasing lock...
[2025-01-09 05:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:10:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:11:02] Production.INFO: ==24560== Lock acquired, processing the job...
[2025-01-09 10:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:11:02] Production.INFO: neon service started
[2025-01-09 10:11:02] Production.INFO: neon service started
[2025-01-09 10:11:02] Production.INFO: ==24560== Releasing lock...
[2025-01-09 10:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:11:02] Production.INFO: ==24564== Lock acquired, processing the job...
[2025-01-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:11:02] Production.INFO: ==24564== Releasing lock...
[2025-01-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:11:02] Production.INFO: ==24562== Lock acquired, processing the job...
[2025-01-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:11:02] Production.INFO: ==24562== Releasing lock...
[2025-01-09 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:11:03] Production.INFO: ==24568== Lock acquired, processing the job...
[2025-01-09 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:11:03] Production.INFO: ==24572== Lock acquired, processing the job...
[2025-01-09 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:11:03] Production.INFO: ==24570== Lock acquired, processing the job...
[2025-01-09 05:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:11:03] Production.INFO: ==24566== Lock acquired, processing the job...
[2025-01-09 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:11:03] Production.INFO: Account Balance Start.
[2025-01-09 05:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:11:04] Production.INFO: 117
[2025-01-09 05:11:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:11:04] Production.INFO: ==24568== Releasing lock...
[2025-01-09 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:11:04] Production.INFO: Total Charge 0
[2025-01-09 05:11:04] Production.INFO: CreateAllLog End
[2025-01-09 05:11:04] Production.INFO: ==24574== Lock acquired, processing the job...
[2025-01-09 05:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:11:04] Production.INFO: ==24576== Lock acquired, processing the job...
[2025-01-09 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:11:04] Production.INFO: count ==21
[2025-01-09 05:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:11:04] Production.INFO: count ==21
[2025-01-09 05:11:04] Production.INFO: Account Balance End.
[2025-01-09 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207348') start
[2025-01-09 05:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:11:04] Production.INFO: ==24572== Releasing lock...
[2025-01-09 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:11:04] Production.ERROR: done
[2025-01-09 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207348') end
[2025-01-09 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:11:04] Production.INFO: 1
[2025-01-09 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:11:04] Production.INFO: ==24576== Releasing lock...
[2025-01-09 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:11:04] Production.ERROR: done
[2025-01-09 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:11:05
[end_date_ymd] => 2025-01-09 05:11:05
[RateCDR] => 1
)
[2025-01-09 05:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:11:05' and `end` < '2025-01-09 05:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:11:12] Production.ERROR: CronJobId end10
[2025-01-09 05:11:12] Production.INFO: ==24570== Releasing lock...
[2025-01-09 05:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:11:13] Production.INFO: call_cost start
[2025-01-09 05:11:13] Production.INFO: call_cost end
[2025-01-09 05:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:11:14] Production.INFO: ==24566== Releasing lock...
[2025-01-09 05:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:11:18] Production.INFO: count ==106
[2025-01-09 05:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:11:05 - End Time 2025-01-09 05:11:05
[2025-01-09 05:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207349', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207349', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207349', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207349', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:11:18] Production.INFO: ProcessCDR(1,14207349,1,1,2)
[2025-01-09 05:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207349', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207349', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:11:21] Production.INFO: ==24574== Releasing lock...
[2025-01-09 05:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:11:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:12:01] Production.INFO: ==24651== Lock acquired, processing the job...
[2025-01-09 10:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:12:01] Production.INFO: neon service started
[2025-01-09 10:12:01] Production.INFO: neon service started
[2025-01-09 10:12:01] Production.INFO: ==24651== Releasing lock...
[2025-01-09 10:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:12:02] Production.INFO: ==24653== Lock acquired, processing the job...
[2025-01-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:12:02] Production.INFO: ==24653== Releasing lock...
[2025-01-09 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:12:02] Production.INFO: ==24655== Lock acquired, processing the job...
[2025-01-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:12:02] Production.INFO: ==24655== Releasing lock...
[2025-01-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:12:03] Production.INFO: ==24657== Lock acquired, processing the job...
[2025-01-09 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:12:03] Production.INFO: ==24659== Lock acquired, processing the job...
[2025-01-09 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:12:03] Production.INFO: ==24663== Lock acquired, processing the job...
[2025-01-09 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:12:03] Production.INFO: Account Balance Start.
[2025-01-09 05:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:12:03] Production.INFO: 117
[2025-01-09 05:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:12:03] Production.INFO: ==24665== Lock acquired, processing the job...
[2025-01-09 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:12:03] Production.INFO: ==24661== Lock acquired, processing the job...
[2025-01-09 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:12:03] Production.INFO: Total Charge 0
[2025-01-09 05:12:03] Production.INFO: CreateAllLog End
[2025-01-09 05:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:12:03] Production.INFO: ==24659== Releasing lock...
[2025-01-09 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:12:03] Production.INFO: ==24667== Lock acquired, processing the job...
[2025-01-09 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:12:03] Production.ERROR: done
[2025-01-09 05:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:12:03] Production.INFO: count ==21
[2025-01-09 05:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:12:04] Production.INFO: count ==21
[2025-01-09 05:12:04] Production.ERROR: done
[2025-01-09 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207353') start
[2025-01-09 05:12:04] Production.INFO: Account Balance End.
[2025-01-09 05:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:12:04] Production.INFO: ==24663== Releasing lock...
[2025-01-09 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207353') end
[2025-01-09 05:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:12:04] Production.INFO: 1
[2025-01-09 05:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:12:04] Production.INFO: ==24667== Releasing lock...
[2025-01-09 05:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:12:05
[end_date_ymd] => 2025-01-09 05:12:05
[RateCDR] => 1
)
[2025-01-09 05:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:12:05' and `end` < '2025-01-09 05:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:12:10] Production.ERROR: CronJobId end10
[2025-01-09 05:12:10] Production.INFO: ==24661== Releasing lock...
[2025-01-09 05:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:12:13] Production.INFO: call_cost start
[2025-01-09 05:12:13] Production.INFO: call_cost end
[2025-01-09 05:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:12:13] Production.INFO: ==24657== Releasing lock...
[2025-01-09 05:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:12:18] Production.INFO: count ==106
[2025-01-09 05:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:12:05 - End Time 2025-01-09 05:12:05
[2025-01-09 05:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207354', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207354', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207354', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207354', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:12:18] Production.INFO: ProcessCDR(1,14207354,1,1,2)
[2025-01-09 05:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207354', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207354', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:12:21] Production.INFO: ==24665== Releasing lock...
[2025-01-09 05:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:12:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:13:02] Production.INFO: ==24739== Lock acquired, processing the job...
[2025-01-09 10:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:13:02] Production.INFO: neon service started
[2025-01-09 10:13:02] Production.INFO: neon service started
[2025-01-09 10:13:02] Production.INFO: ==24739== Releasing lock...
[2025-01-09 10:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:13:02] Production.INFO: ==24742== Lock acquired, processing the job...
[2025-01-09 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:13:03] Production.INFO: ==24742== Releasing lock...
[2025-01-09 05:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:13:03] Production.INFO: ==24744== Lock acquired, processing the job...
[2025-01-09 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:13:03] Production.INFO: ==24744== Releasing lock...
[2025-01-09 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:13:03] Production.INFO: ==24746== Lock acquired, processing the job...
[2025-01-09 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:13:03] Production.INFO: ==24750== Lock acquired, processing the job...
[2025-01-09 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:13:04] Production.INFO: ==24748== Lock acquired, processing the job...
[2025-01-09 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:13:04] Production.INFO: ==24752== Lock acquired, processing the job...
[2025-01-09 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:13:04] Production.INFO: ==24754== Lock acquired, processing the job...
[2025-01-09 05:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:13:04] Production.INFO: ==24756== Lock acquired, processing the job...
[2025-01-09 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:13:04] Production.INFO: Account Balance Start.
[2025-01-09 05:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:13:04] Production.INFO: 117
[2025-01-09 05:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:13:04] Production.INFO: count ==21
[2025-01-09 05:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:13:04] Production.INFO: count ==21
[2025-01-09 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207358') start
[2025-01-09 05:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:13:04] Production.INFO: Total Charge 0
[2025-01-09 05:13:04] Production.INFO: CreateAllLog End
[2025-01-09 05:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207358') end
[2025-01-09 05:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:13:04] Production.INFO: 1
[2025-01-09 05:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:13:04] Production.ERROR: done
[2025-01-09 05:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:13:04] Production.INFO: ==24756== Releasing lock...
[2025-01-09 05:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:13:04] Production.INFO: ==24748== Releasing lock...
[2025-01-09 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:13:04] Production.INFO: Account Balance End.
[2025-01-09 05:13:04] Production.ERROR: done
[2025-01-09 05:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:13:04] Production.INFO: ==24752== Releasing lock...
[2025-01-09 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:13:05
[end_date_ymd] => 2025-01-09 05:13:05
[RateCDR] => 1
)
[2025-01-09 05:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:13:05' and `end` < '2025-01-09 05:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:13:12] Production.ERROR: CronJobId end10
[2025-01-09 05:13:12] Production.INFO: ==24750== Releasing lock...
[2025-01-09 05:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:13:14] Production.INFO: call_cost start
[2025-01-09 05:13:14] Production.INFO: call_cost end
[2025-01-09 05:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:13:14] Production.INFO: ==24746== Releasing lock...
[2025-01-09 05:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:13:20] Production.INFO: count ==106
[2025-01-09 05:13:20] Production.ERROR: pbx CDR StartTime 2025-01-09 02:13:05 - End Time 2025-01-09 05:13:05
[2025-01-09 05:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207359', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207359', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207359', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207359', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:13:20] Production.INFO: ProcessCDR(1,14207359,1,1,2)
[2025-01-09 05:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207359', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207359', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:13:23] Production.INFO: ==24754== Releasing lock...
[2025-01-09 05:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:13:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:14:01] Production.INFO: ==24829== Lock acquired, processing the job...
[2025-01-09 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:14:01] Production.INFO: neon service started
[2025-01-09 10:14:01] Production.INFO: neon service started
[2025-01-09 10:14:01] Production.INFO: ==24829== Releasing lock...
[2025-01-09 10:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:14:02] Production.INFO: ==24831== Lock acquired, processing the job...
[2025-01-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:14:02] Production.INFO: ==24831== Releasing lock...
[2025-01-09 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:14:02] Production.INFO: ==24833== Lock acquired, processing the job...
[2025-01-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:14:02] Production.INFO: ==24833== Releasing lock...
[2025-01-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:14:03] Production.INFO: ==24843== Lock acquired, processing the job...
[2025-01-09 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:14:03] Production.INFO: ==24839== Lock acquired, processing the job...
[2025-01-09 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:14:03] Production.INFO: ==24835== Lock acquired, processing the job...
[2025-01-09 05:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:14:03] Production.INFO: ==24837== Lock acquired, processing the job...
[2025-01-09 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:14:03] Production.INFO: ==24841== Lock acquired, processing the job...
[2025-01-09 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:14:03] Production.INFO: ==24845== Lock acquired, processing the job...
[2025-01-09 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:14:03] Production.ERROR: done
[2025-01-09 05:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:14:04] Production.INFO: Account Balance Start.
[2025-01-09 05:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:14:04] Production.INFO: 117
[2025-01-09 05:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:14:04] Production.INFO: count ==21
[2025-01-09 05:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:14:04] Production.INFO: count ==21
[2025-01-09 05:14:04] Production.INFO: Total Charge 0
[2025-01-09 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207363') start
[2025-01-09 05:14:04] Production.INFO: CreateAllLog End
[2025-01-09 05:14:04] Production.ERROR: done
[2025-01-09 05:14:04] Production.INFO: ==24837== Releasing lock...
[2025-01-09 05:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207363') end
[2025-01-09 05:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:14:04] Production.INFO: 1
[2025-01-09 05:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:14:04] Production.INFO: ==24845== Releasing lock...
[2025-01-09 05:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:14:04] Production.INFO: Account Balance End.
[2025-01-09 05:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:14:04] Production.INFO: ==24841== Releasing lock...
[2025-01-09 05:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:14:05
[end_date_ymd] => 2025-01-09 05:14:05
[RateCDR] => 1
)
[2025-01-09 05:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:14:05' and `end` < '2025-01-09 05:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:14:11] Production.ERROR: CronJobId end10
[2025-01-09 05:14:11] Production.INFO: ==24839== Releasing lock...
[2025-01-09 05:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:14:14] Production.INFO: call_cost start
[2025-01-09 05:14:14] Production.INFO: call_cost end
[2025-01-09 05:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:14:15] Production.INFO: ==24835== Releasing lock...
[2025-01-09 05:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:14:18] Production.INFO: count ==106
[2025-01-09 05:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:14:05 - End Time 2025-01-09 05:14:05
[2025-01-09 05:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207364', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207364', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207364', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207364', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:14:18] Production.INFO: ProcessCDR(1,14207364,1,1,2)
[2025-01-09 05:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207364', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207364', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:14:22] Production.INFO: ==24843== Releasing lock...
[2025-01-09 05:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:14:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:15:02] Production.INFO: ==24916== Lock acquired, processing the job...
[2025-01-09 10:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:15:02] Production.INFO: neon service started
[2025-01-09 10:15:02] Production.INFO: neon service started
[2025-01-09 10:15:02] Production.INFO: ==24916== Releasing lock...
[2025-01-09 10:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:15:03] Production.INFO: ==24920== Lock acquired, processing the job...
[2025-01-09 05:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:15:03] Production.INFO: ==24922== Lock acquired, processing the job...
[2025-01-09 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:15:03] Production.INFO: ==24922== Releasing lock...
[2025-01-09 10:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:15:03] Production.INFO: ==24920== Releasing lock...
[2025-01-09 05:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:15:04] Production.INFO: ==24925== Lock acquired, processing the job...
[2025-01-09 05:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:15:04] Production.INFO: ==24927== Lock acquired, processing the job...
[2025-01-09 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:15:04] Production.INFO: ==24929== Lock acquired, processing the job...
[2025-01-09 05:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:15:04] Production.INFO: ==24931== Lock acquired, processing the job...
[2025-01-09 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:15:04] Production.INFO: Account Balance Start.
[2025-01-09 05:15:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:15:04] Production.INFO: 117
[2025-01-09 05:15:04] Production.INFO: ==24933== Lock acquired, processing the job...
[2025-01-09 05:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:15:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:15:04] Production.INFO: ==24927== Releasing lock...
[2025-01-09 05:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:15:04] Production.INFO: ==24936== Lock acquired, processing the job...
[2025-01-09 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:15:04] Production.INFO: Total Charge 0
[2025-01-09 05:15:04] Production.INFO: CreateAllLog End
[2025-01-09 05:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:15:04] Production.INFO: count ==21
[2025-01-09 05:15:04] Production.ERROR: done
[2025-01-09 05:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:15:04] Production.INFO: count ==21
[2025-01-09 05:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207368') start
[2025-01-09 05:15:05] Production.INFO: Account Balance End.
[2025-01-09 05:15:05] Production.ERROR: CronJobId end 12
[2025-01-09 05:15:05] Production.INFO: ==24931== Releasing lock...
[2025-01-09 05:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:15:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207368') end
[2025-01-09 05:15:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:15:05] Production.INFO: 1
[2025-01-09 05:15:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:15:05] Production.ERROR: done
[2025-01-09 05:15:05] Production.INFO: ==24936== Releasing lock...
[2025-01-09 05:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:15:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:15:06
[end_date_ymd] => 2025-01-09 05:15:06
[RateCDR] => 1
)
[2025-01-09 05: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-01-09 02:15:06' and `end` < '2025-01-09 05: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-01-09 05:15:12] Production.ERROR: CronJobId end10
[2025-01-09 05:15:12] Production.INFO: ==24929== Releasing lock...
[2025-01-09 05:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:15:14] Production.INFO: call_cost start
[2025-01-09 05:15:14] Production.INFO: call_cost end
[2025-01-09 05:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:15:15] Production.INFO: ==24925== Releasing lock...
[2025-01-09 05:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:15:19] Production.INFO: count ==106
[2025-01-09 05:15:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:15:06 - End Time 2025-01-09 05:15:06
[2025-01-09 05:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207369', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207369', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207369', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207369', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:15:19] Production.INFO: ProcessCDR(1,14207369,1,1,2)
[2025-01-09 05:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207369', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207369', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:15:22] Production.INFO: ==24933== Releasing lock...
[2025-01-09 05:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:15:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:16:01] Production.INFO: ==25044== Lock acquired, processing the job...
[2025-01-09 10:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:16:01] Production.INFO: neon service started
[2025-01-09 10:16:01] Production.INFO: neon service started
[2025-01-09 10:16:01] Production.INFO: ==25044== Releasing lock...
[2025-01-09 10:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:16:02] Production.INFO: ==25046== Lock acquired, processing the job...
[2025-01-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:16:02] Production.INFO: ==25046== Releasing lock...
[2025-01-09 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:16:02] Production.INFO: ==25048== Lock acquired, processing the job...
[2025-01-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:16:02] Production.INFO: ==25048== Releasing lock...
[2025-01-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:16:03] Production.INFO: ==25056== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:16:03] Production.INFO: Account Balance Start.
[2025-01-09 05:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:16:03] Production.INFO: 117
[2025-01-09 05:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:16:03] Production.INFO: ==25060== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:16:03] Production.INFO: Total Charge 0
[2025-01-09 05:16:03] Production.INFO: CreateAllLog End
[2025-01-09 05:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:16:03] Production.INFO: count ==21
[2025-01-09 05:16:03] Production.INFO: ==25050== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:16:03] Production.INFO: count ==21
[2025-01-09 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207371') start
[2025-01-09 05:16:03] Production.INFO: ==25052== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:16:03] Production.INFO: ==25054== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:16:03] Production.INFO: Account Balance End.
[2025-01-09 05:16:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:16:03] Production.INFO: ==25056== Releasing lock...
[2025-01-09 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207371') end
[2025-01-09 05:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:16:03] Production.INFO: 1
[2025-01-09 05:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:16:03] Production.INFO: ==25058== Lock acquired, processing the job...
[2025-01-09 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:16:03] Production.INFO: ==25060== Releasing lock...
[2025-01-09 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:16:04] Production.ERROR: done
[2025-01-09 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:16:04] Production.INFO: ==25052== Releasing lock...
[2025-01-09 05:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:16:04] Production.ERROR: done
[2025-01-09 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:16:05
[end_date_ymd] => 2025-01-09 05:16:05
[RateCDR] => 1
)
[2025-01-09 05:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:16:05' and `end` < '2025-01-09 05:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:16:11] Production.ERROR: CronJobId end10
[2025-01-09 05:16:11] Production.INFO: ==25054== Releasing lock...
[2025-01-09 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:16:13] Production.INFO: call_cost start
[2025-01-09 05:16:13] Production.INFO: call_cost end
[2025-01-09 05:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:16:14] Production.INFO: ==25050== Releasing lock...
[2025-01-09 05:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:16:18] Production.INFO: count ==106
[2025-01-09 05:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:16:05 - End Time 2025-01-09 05:16:05
[2025-01-09 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207374', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207374', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207374', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207374', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:16:18] Production.INFO: ProcessCDR(1,14207374,1,1,2)
[2025-01-09 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207374', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207374', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:16:21] Production.INFO: ==25058== Releasing lock...
[2025-01-09 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:16:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:17:02] Production.INFO: ==25140== Lock acquired, processing the job...
[2025-01-09 10:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:17:02] Production.INFO: neon service started
[2025-01-09 10:17:02] Production.INFO: neon service started
[2025-01-09 10:17:02] Production.INFO: ==25140== Releasing lock...
[2025-01-09 10:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:17:02] Production.INFO: ==25142== Lock acquired, processing the job...
[2025-01-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:17:02] Production.INFO: ==25142== Releasing lock...
[2025-01-09 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:17:03] Production.INFO: ==25144== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:17:03] Production.INFO: ==25144== Releasing lock...
[2025-01-09 10:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:17:03] Production.INFO: ==25150== Lock acquired, processing the job...
[2025-01-09 05:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:17:04] Production.INFO: ==25146== Lock acquired, processing the job...
[2025-01-09 05:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:17:04] Production.INFO: ==25148== Lock acquired, processing the job...
[2025-01-09 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:17:04] Production.INFO: ==25152== Lock acquired, processing the job...
[2025-01-09 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:17:04] Production.INFO: ==25154== Lock acquired, processing the job...
[2025-01-09 05:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:17:04] Production.INFO: ==25156== Lock acquired, processing the job...
[2025-01-09 05:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:17:04] Production.INFO: Account Balance Start.
[2025-01-09 05:17:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:17:04] Production.INFO: 117
[2025-01-09 05:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:17:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:17:04] Production.INFO: Total Charge 0
[2025-01-09 05:17:04] Production.INFO: CreateAllLog End
[2025-01-09 05:17:04] Production.INFO: ==25148== Releasing lock...
[2025-01-09 05:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:17:04] Production.INFO: Account Balance End.
[2025-01-09 05:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:17:04] Production.INFO: ==25152== Releasing lock...
[2025-01-09 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:17:04] Production.INFO: count ==21
[2025-01-09 05:17:04] Production.ERROR: done
[2025-01-09 05:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:17:04] Production.INFO: count ==21
[2025-01-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207378') start
[2025-01-09 05:17:04] Production.ERROR: done
[2025-01-09 05:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207378') end
[2025-01-09 05:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:17:04] Production.INFO: 1
[2025-01-09 05:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:17:05] Production.INFO: ==25156== Releasing lock...
[2025-01-09 05:17:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:17:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:17:05
[end_date_ymd] => 2025-01-09 05:17:05
[RateCDR] => 1
)
[2025-01-09 05:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:17:05' and `end` < '2025-01-09 05:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:17:11] Production.ERROR: CronJobId end10
[2025-01-09 05:17:11] Production.INFO: ==25150== Releasing lock...
[2025-01-09 05:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:17:14] Production.INFO: call_cost start
[2025-01-09 05:17:14] Production.INFO: call_cost end
[2025-01-09 05:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:17:15] Production.INFO: ==25146== Releasing lock...
[2025-01-09 05:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:17:19] Production.INFO: count ==106
[2025-01-09 05:17:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:17:05 - End Time 2025-01-09 05:17:05
[2025-01-09 05:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207379', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207379', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207379', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207379', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:17:19] Production.INFO: ProcessCDR(1,14207379,1,1,2)
[2025-01-09 05:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207379', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207379', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:17:22] Production.INFO: ==25154== Releasing lock...
[2025-01-09 05:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:17:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:18:01] Production.INFO: ==25214== Lock acquired, processing the job...
[2025-01-09 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:18:01] Production.INFO: neon service started
[2025-01-09 10:18:01] Production.INFO: neon service started
[2025-01-09 10:18:01] Production.INFO: ==25214== Releasing lock...
[2025-01-09 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:18:02] Production.INFO: ==25218== Lock acquired, processing the job...
[2025-01-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:18:02] Production.INFO: ==25218== Releasing lock...
[2025-01-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:18:02] Production.INFO: ==25216== Lock acquired, processing the job...
[2025-01-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:18:02] Production.INFO: ==25216== Releasing lock...
[2025-01-09 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:18:03] Production.INFO: ==25221== Lock acquired, processing the job...
[2025-01-09 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:18:03] Production.INFO: ==25225== Lock acquired, processing the job...
[2025-01-09 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:18:03] Production.INFO: ==25223== Lock acquired, processing the job...
[2025-01-09 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:18:03] Production.INFO: ==25229== Lock acquired, processing the job...
[2025-01-09 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:18:03] Production.INFO: ==25227== Lock acquired, processing the job...
[2025-01-09 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:18:03] Production.INFO: ==25231== Lock acquired, processing the job...
[2025-01-09 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:18:03] Production.INFO: Account Balance Start.
[2025-01-09 05:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:18:03] Production.INFO: 117
[2025-01-09 05:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:18:03] Production.INFO: count ==21
[2025-01-09 05:18:04] Production.INFO: ==25223== Releasing lock...
[2025-01-09 05:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:18:04] Production.INFO: count ==21
[2025-01-09 05:18:04] Production.ERROR: done
[2025-01-09 05:18:04] Production.INFO: Total Charge 0
[2025-01-09 05:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207383') start
[2025-01-09 05:18:04] Production.INFO: CreateAllLog End
[2025-01-09 05:18:04] Production.ERROR: done
[2025-01-09 05:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207383') end
[2025-01-09 05:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:18:04] Production.INFO: 1
[2025-01-09 05:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:18:04] Production.INFO: ==25231== Releasing lock...
[2025-01-09 05:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:18:04] Production.INFO: Account Balance End.
[2025-01-09 05:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:18:04] Production.INFO: ==25227== Releasing lock...
[2025-01-09 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:18:05
[end_date_ymd] => 2025-01-09 05:18:05
[RateCDR] => 1
)
[2025-01-09 05:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:18:05' and `end` < '2025-01-09 05:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:18:11] Production.ERROR: CronJobId end10
[2025-01-09 05:18:11] Production.INFO: ==25225== Releasing lock...
[2025-01-09 05:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:18:13] Production.INFO: call_cost start
[2025-01-09 05:18:13] Production.INFO: call_cost end
[2025-01-09 05:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:18:13] Production.INFO: ==25221== Releasing lock...
[2025-01-09 05:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:18:18] Production.INFO: count ==106
[2025-01-09 05:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:18:05 - End Time 2025-01-09 05:18:05
[2025-01-09 05:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207384', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207384', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207384', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207384', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:18:18] Production.INFO: ProcessCDR(1,14207384,1,1,2)
[2025-01-09 05:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207384', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207384', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:18:21] Production.INFO: ==25229== Releasing lock...
[2025-01-09 05:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:18:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:19:02] Production.INFO: ==25285== Lock acquired, processing the job...
[2025-01-09 10:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:19:02] Production.INFO: neon service started
[2025-01-09 10:19:02] Production.INFO: neon service started
[2025-01-09 10:19:02] Production.INFO: ==25285== Releasing lock...
[2025-01-09 10:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:19:02] Production.INFO: ==25287== Lock acquired, processing the job...
[2025-01-09 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:19:02] Production.INFO: ==25289== Lock acquired, processing the job...
[2025-01-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:19:02] Production.INFO: ==25289== Releasing lock...
[2025-01-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:19:03] Production.INFO: ==25287== Releasing lock...
[2025-01-09 05:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:19:03] Production.INFO: ==25292== Lock acquired, processing the job...
[2025-01-09 05:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:19:03] Production.INFO: ==25294== Lock acquired, processing the job...
[2025-01-09 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:19:04] Production.INFO: ==25296== Lock acquired, processing the job...
[2025-01-09 05:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:19:04] Production.INFO: ==25294== Releasing lock...
[2025-01-09 05:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:19:04] Production.INFO: ==25298== Lock acquired, processing the job...
[2025-01-09 05:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:19:04] Production.INFO: ==25300== Lock acquired, processing the job...
[2025-01-09 05:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:19:04] Production.INFO: Account Balance Start.
[2025-01-09 05:19:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:19:04] Production.INFO: 117
[2025-01-09 05:19:04] Production.INFO: ==25302== Lock acquired, processing the job...
[2025-01-09 05:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:19:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:19:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:19:04] Production.INFO: Total Charge 0
[2025-01-09 05:19:04] Production.INFO: CreateAllLog End
[2025-01-09 05:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:19:04] Production.INFO: count ==21
[2025-01-09 05:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:19:04] Production.INFO: count ==21
[2025-01-09 05:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207388') start
[2025-01-09 05:19:04] Production.ERROR: done
[2025-01-09 05:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:19:04] Production.INFO: Account Balance End.
[2025-01-09 05:19:05] Production.ERROR: CronJobId end 12
[2025-01-09 05:19:05] Production.INFO: ==25298== Releasing lock...
[2025-01-09 05:19:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:19:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:19:05] Production.ERROR: done
[2025-01-09 05:19:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207388') end
[2025-01-09 05:19:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:19:05] Production.INFO: 1
[2025-01-09 05:19:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:19:05] Production.INFO: ==25302== Releasing lock...
[2025-01-09 05:19:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:19:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:19:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:19:06
[end_date_ymd] => 2025-01-09 05:19:06
[RateCDR] => 1
)
[2025-01-09 05: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-01-09 02:19:06' and `end` < '2025-01-09 05: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-01-09 05:19:11] Production.ERROR: CronJobId end10
[2025-01-09 05:19:11] Production.INFO: ==25296== Releasing lock...
[2025-01-09 05:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:19:14] Production.INFO: call_cost start
[2025-01-09 05:19:14] Production.INFO: call_cost end
[2025-01-09 05:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:19:15] Production.INFO: ==25292== Releasing lock...
[2025-01-09 05:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:19:20] Production.INFO: count ==106
[2025-01-09 05:19:20] Production.ERROR: pbx CDR StartTime 2025-01-09 02:19:06 - End Time 2025-01-09 05:19:06
[2025-01-09 05:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207389', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207389', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207389', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207389', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:19:20] Production.INFO: ProcessCDR(1,14207389,1,1,2)
[2025-01-09 05:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207389', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207389', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:19:23] Production.INFO: ==25300== Releasing lock...
[2025-01-09 05:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:19:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:20:01] Production.INFO: ==25357== Lock acquired, processing the job...
[2025-01-09 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:20:01] Production.INFO: neon service started
[2025-01-09 10:20:01] Production.INFO: neon service started
[2025-01-09 10:20:01] Production.INFO: ==25357== Releasing lock...
[2025-01-09 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:20:02] Production.INFO: ==25359== Lock acquired, processing the job...
[2025-01-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:20:02] Production.INFO: ==25359== Releasing lock...
[2025-01-09 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:20:02] Production.INFO: ==25361== Lock acquired, processing the job...
[2025-01-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:20:02] Production.INFO: ==25361== Releasing lock...
[2025-01-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:20:03] Production.INFO: ==25365== Lock acquired, processing the job...
[2025-01-09 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:20:03] Production.INFO: ==25363== Lock acquired, processing the job...
[2025-01-09 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 05:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:20:03] Production.INFO: ==25369== Lock acquired, processing the job...
[2025-01-09 05:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 05:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 05:20:03] Production.ERROR: CronJob PID - 25365
[2025-01-09 05:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 05:20:03] Production.ERROR: CronJob ID - 5
[2025-01-09 05:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 05:20:00
[2025-01-09 05:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 05:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 05:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 05:20:03] Production.INFO: ==25363== Releasing lock...
[2025-01-09 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 05:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 05:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:20:03] Production.INFO: ==25367== Lock acquired, processing the job...
[2025-01-09 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:20:03] Production.INFO: ==25375== Lock acquired, processing the job...
[2025-01-09 05:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 05:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:20:03] Production.INFO: ==25371== Lock acquired, processing the job...
[2025-01-09 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:20:04] Production.INFO: ==25373== Lock acquired, processing the job...
[2025-01-09 05:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:20:04] Production.INFO: ==25378== Lock acquired, processing the job...
[2025-01-09 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:20:04] Production.INFO: ==25367== Releasing lock...
[2025-01-09 05:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:20:04] Production.INFO: Account Balance Start.
[2025-01-09 05:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:20:04] Production.INFO: 117
[2025-01-09 05:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:20:04] Production.INFO: count ==21
[2025-01-09 05:20:04] Production.ERROR: done
[2025-01-09 05:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:20:04] Production.INFO: count ==21
[2025-01-09 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207392') start
[2025-01-09 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207394', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 05:20:04] Production.INFO: Total Charge 0
[2025-01-09 05:20:04] Production.INFO: CreateAllLog End
[2025-01-09 05:20:04] Production.ERROR: done
[2025-01-09 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207392') end
[2025-01-09 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:20:04] Production.INFO: 1
[2025-01-09 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:20:04] Production.INFO: ==25378== Releasing lock...
[2025-01-09 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:20:04] Production.ERROR: done
[2025-01-09 05:20:04] Production.INFO: Account Balance End.
[2025-01-09 05:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:20:04] Production.INFO: ==25371== Releasing lock...
[2025-01-09 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:20:06
[end_date_ymd] => 2025-01-09 05:20:06
[RateCDR] => 1
)
[2025-01-09 05:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:20:06' and `end` < '2025-01-09 05:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207394', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 05:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 05:20:08] Production.INFO: ProcessCDR(1,14207394,1,1,2)
[2025-01-09 05:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:20:08] Production.INFO: ==25375== Releasing lock...
[2025-01-09 05:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 05:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:20:12] Production.ERROR: CronJobId end10
[2025-01-09 05:20:12] Production.INFO: ==25369== Releasing lock...
[2025-01-09 05:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:20:14] Production.INFO: call_cost start
[2025-01-09 05:20:14] Production.INFO: call_cost end
[2025-01-09 05:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:20:15] Production.INFO: ==25365== Releasing lock...
[2025-01-09 05:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:20:19] Production.INFO: count ==106
[2025-01-09 05:20:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:20:06 - End Time 2025-01-09 05:20:06
[2025-01-09 05:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207395', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207395', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207395', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207395', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:20:19] Production.INFO: ProcessCDR(1,14207395,1,1,2)
[2025-01-09 05:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207395', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207395', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:20:22] Production.INFO: ==25373== Releasing lock...
[2025-01-09 05:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:20:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:21:02] Production.INFO: ==25436== Lock acquired, processing the job...
[2025-01-09 10:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:21:02] Production.INFO: neon service started
[2025-01-09 10:21:02] Production.INFO: neon service started
[2025-01-09 10:21:02] Production.INFO: ==25436== Releasing lock...
[2025-01-09 10:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:21:02] Production.INFO: ==25438== Lock acquired, processing the job...
[2025-01-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:21:02] Production.INFO: ==25438== Releasing lock...
[2025-01-09 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:21:03] Production.INFO: ==25440== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:21:03] Production.INFO: ==25440== Releasing lock...
[2025-01-09 10:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:21:03] Production.INFO: ==25451== Lock acquired, processing the job...
[2025-01-09 05:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:21:03] Production.INFO: ==25453== Lock acquired, processing the job...
[2025-01-09 05:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:21:03] Production.INFO: ==25443== Lock acquired, processing the job...
[2025-01-09 05:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:21:04] Production.INFO: ==25445== Lock acquired, processing the job...
[2025-01-09 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:21:04] Production.INFO: ==25447== Lock acquired, processing the job...
[2025-01-09 05:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:21:04] Production.INFO: ==25449== Lock acquired, processing the job...
[2025-01-09 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:21:04] Production.INFO: count ==21
[2025-01-09 05:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:21:04] Production.INFO: count ==21
[2025-01-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207396') start
[2025-01-09 05:21:04] Production.INFO: Account Balance Start.
[2025-01-09 05:21:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:21:04] Production.INFO: 117
[2025-01-09 05:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:21:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:21:04] Production.ERROR: done
[2025-01-09 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207396') end
[2025-01-09 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:21:04] Production.INFO: 1
[2025-01-09 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:21:04] Production.INFO: ==25453== Releasing lock...
[2025-01-09 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:21:04] Production.ERROR: done
[2025-01-09 05:21:04] Production.INFO: Total Charge 0
[2025-01-09 05:21:04] Production.INFO: CreateAllLog End
[2025-01-09 05:21:04] Production.INFO: ==25445== Releasing lock...
[2025-01-09 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:21:04] Production.INFO: Account Balance End.
[2025-01-09 05:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:21:04] Production.INFO: ==25449== Releasing lock...
[2025-01-09 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:21:05
[end_date_ymd] => 2025-01-09 05:21:05
[RateCDR] => 1
)
[2025-01-09 05:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:21:05' and `end` < '2025-01-09 05:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:21:12] Production.ERROR: CronJobId end10
[2025-01-09 05:21:12] Production.INFO: ==25447== Releasing lock...
[2025-01-09 05:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:21:13] Production.INFO: call_cost start
[2025-01-09 05:21:13] Production.INFO: call_cost end
[2025-01-09 05:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:21:14] Production.INFO: ==25443== Releasing lock...
[2025-01-09 05:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:21:18] Production.INFO: count ==106
[2025-01-09 05:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:21:05 - End Time 2025-01-09 05:21:05
[2025-01-09 05:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207400', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207400', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207400', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207400', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:21:18] Production.INFO: ProcessCDR(1,14207400,1,1,2)
[2025-01-09 05:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207400', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207400', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:21:22] Production.INFO: ==25451== Releasing lock...
[2025-01-09 05:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:21:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:22:01] Production.INFO: ==25529== Lock acquired, processing the job...
[2025-01-09 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:22:01] Production.INFO: neon service started
[2025-01-09 10:22:01] Production.INFO: neon service started
[2025-01-09 10:22:01] Production.INFO: ==25529== Releasing lock...
[2025-01-09 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:22:02] Production.INFO: ==25533== Lock acquired, processing the job...
[2025-01-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:22:02] Production.INFO: ==25533== Releasing lock...
[2025-01-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:22:02] Production.INFO: ==25531== Lock acquired, processing the job...
[2025-01-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:22:02] Production.INFO: ==25531== Releasing lock...
[2025-01-09 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:22:03] Production.INFO: ==25540== Lock acquired, processing the job...
[2025-01-09 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:22:03] Production.INFO: ==25538== Lock acquired, processing the job...
[2025-01-09 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:22:03] Production.INFO: ==25542== Lock acquired, processing the job...
[2025-01-09 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:22:03] Production.INFO: Account Balance Start.
[2025-01-09 05:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:22:03] Production.INFO: 117
[2025-01-09 05:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:22:03] Production.INFO: ==25536== Lock acquired, processing the job...
[2025-01-09 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:22:03] Production.INFO: Total Charge 0
[2025-01-09 05:22:03] Production.INFO: CreateAllLog End
[2025-01-09 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:22:03] Production.INFO: ==25544== Lock acquired, processing the job...
[2025-01-09 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:22:03] Production.INFO: ==25546== Lock acquired, processing the job...
[2025-01-09 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:22:03] Production.INFO: Account Balance End.
[2025-01-09 05:22:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:22:03] Production.INFO: ==25542== Releasing lock...
[2025-01-09 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:22:03] Production.INFO: ==25538== Releasing lock...
[2025-01-09 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:22:04] Production.INFO: count ==21
[2025-01-09 05:22:04] Production.ERROR: done
[2025-01-09 05:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:22:04] Production.INFO: count ==21
[2025-01-09 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207404') start
[2025-01-09 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207404') end
[2025-01-09 05:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:22:04] Production.INFO: 1
[2025-01-09 05:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:22:04] Production.ERROR: done
[2025-01-09 05:22:04] Production.INFO: ==25546== Releasing lock...
[2025-01-09 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:22:05
[end_date_ymd] => 2025-01-09 05:22:05
[RateCDR] => 1
)
[2025-01-09 05:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:22:05' and `end` < '2025-01-09 05:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:22:10] Production.ERROR: CronJobId end10
[2025-01-09 05:22:10] Production.INFO: ==25540== Releasing lock...
[2025-01-09 05:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:22:13] Production.INFO: call_cost start
[2025-01-09 05:22:13] Production.INFO: call_cost end
[2025-01-09 05:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:22:14] Production.INFO: ==25536== Releasing lock...
[2025-01-09 05:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:22:18] Production.INFO: count ==106
[2025-01-09 05:22:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:22:05 - End Time 2025-01-09 05:22:05
[2025-01-09 05:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207405', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207405', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207405', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207405', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:22:18] Production.INFO: ProcessCDR(1,14207405,1,1,2)
[2025-01-09 05:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207405', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207405', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:22:21] Production.INFO: ==25544== Releasing lock...
[2025-01-09 05:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:22:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:23:02] Production.INFO: ==25602== Lock acquired, processing the job...
[2025-01-09 10:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:23:02] Production.INFO: neon service started
[2025-01-09 10:23:02] Production.INFO: neon service started
[2025-01-09 10:23:02] Production.INFO: ==25602== Releasing lock...
[2025-01-09 10:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:23:02] Production.INFO: ==25604== Lock acquired, processing the job...
[2025-01-09 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:23:02] Production.INFO: ==25606== Lock acquired, processing the job...
[2025-01-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:23:02] Production.INFO: ==25606== Releasing lock...
[2025-01-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:23:03] Production.INFO: ==25604== Releasing lock...
[2025-01-09 05:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:23:03] Production.INFO: ==25613== Lock acquired, processing the job...
[2025-01-09 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:23:04] Production.INFO: ==25609== Lock acquired, processing the job...
[2025-01-09 05:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:23:04] Production.INFO: ==25611== Lock acquired, processing the job...
[2025-01-09 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:23:04] Production.INFO: ==25615== Lock acquired, processing the job...
[2025-01-09 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:23:04] Production.INFO: ==25617== Lock acquired, processing the job...
[2025-01-09 05:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:23:04] Production.INFO: ==25619== Lock acquired, processing the job...
[2025-01-09 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:23:04] Production.INFO: Account Balance Start.
[2025-01-09 05:23:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:23:04] Production.INFO: 117
[2025-01-09 05:23:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:23:04] Production.INFO: Total Charge 0
[2025-01-09 05:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:23:04] Production.INFO: CreateAllLog End
[2025-01-09 05:23:04] Production.INFO: count ==21
[2025-01-09 05:23:04] Production.INFO: ==25611== Releasing lock...
[2025-01-09 05:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:23:04] Production.INFO: count ==21
[2025-01-09 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207409') start
[2025-01-09 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207409') end
[2025-01-09 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:23:04] Production.INFO: 1
[2025-01-09 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:23:04] Production.INFO: Account Balance End.
[2025-01-09 05:23:04] Production.INFO: ==25619== Releasing lock...
[2025-01-09 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:23:04] Production.ERROR: done
[2025-01-09 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:23:04] Production.INFO: ==25615== Releasing lock...
[2025-01-09 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:23:04] Production.ERROR: done
[2025-01-09 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:23:05
[end_date_ymd] => 2025-01-09 05:23:05
[RateCDR] => 1
)
[2025-01-09 05:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:23:05' and `end` < '2025-01-09 05:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:23:11] Production.ERROR: CronJobId end10
[2025-01-09 05:23:11] Production.INFO: ==25613== Releasing lock...
[2025-01-09 05:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:23:13] Production.INFO: call_cost start
[2025-01-09 05:23:13] Production.INFO: call_cost end
[2025-01-09 05:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:23:14] Production.INFO: ==25609== Releasing lock...
[2025-01-09 05:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:23:19] Production.INFO: count ==106
[2025-01-09 05:23:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:23:05 - End Time 2025-01-09 05:23:05
[2025-01-09 05:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207410', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207410', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207410', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207410', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:23:19] Production.INFO: ProcessCDR(1,14207410,1,1,2)
[2025-01-09 05:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207410', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207410', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:23:22] Production.INFO: ==25617== Releasing lock...
[2025-01-09 05:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:23:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:24:01] Production.INFO: ==25673== Lock acquired, processing the job...
[2025-01-09 10:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:24:01] Production.INFO: neon service started
[2025-01-09 10:24:01] Production.INFO: neon service started
[2025-01-09 10:24:01] Production.INFO: ==25673== Releasing lock...
[2025-01-09 10:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:24:02] Production.INFO: ==25675== Lock acquired, processing the job...
[2025-01-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:24:02] Production.INFO: ==25675== Releasing lock...
[2025-01-09 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:24:02] Production.INFO: ==25677== Lock acquired, processing the job...
[2025-01-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:24:02] Production.INFO: ==25677== Releasing lock...
[2025-01-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:24:03] Production.INFO: ==25680== Lock acquired, processing the job...
[2025-01-09 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:24:03] Production.INFO: ==25682== Lock acquired, processing the job...
[2025-01-09 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:24:03] Production.INFO: ==25690== Lock acquired, processing the job...
[2025-01-09 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:24:03] Production.INFO: ==25686== Lock acquired, processing the job...
[2025-01-09 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:24:03] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-01-09 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:24:03] Production.INFO: count ==21
[2025-01-09 05:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:24:03] Production.INFO: count ==21
[2025-01-09 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207412') start
[2025-01-09 05:24:03] Production.INFO: ==25688== Lock acquired, processing the job...
[2025-01-09 05:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:24:03] Production.INFO: Account Balance Start.
[2025-01-09 05:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:24:03] Production.INFO: 117
[2025-01-09 05:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207412') end
[2025-01-09 05:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:24:03] Production.INFO: 1
[2025-01-09 05:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:24:03] Production.INFO: ==25690== Releasing lock...
[2025-01-09 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:24:03] Production.INFO: Total Charge 0
[2025-01-09 05:24:03] Production.INFO: CreateAllLog End
[2025-01-09 05:24:04] Production.INFO: ==25682== Releasing lock...
[2025-01-09 05:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:24:04] Production.INFO: Account Balance End.
[2025-01-09 05:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:24:04] Production.INFO: ==25686== Releasing lock...
[2025-01-09 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:24:04] Production.ERROR: done
[2025-01-09 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:24:04] Production.ERROR: done
[2025-01-09 05:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:24:05
[end_date_ymd] => 2025-01-09 05:24:05
[RateCDR] => 1
)
[2025-01-09 05:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:24:05' and `end` < '2025-01-09 05:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:24:11] Production.ERROR: CronJobId end10
[2025-01-09 05:24:11] Production.INFO: ==25684== Releasing lock...
[2025-01-09 05:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:24:13] Production.INFO: call_cost start
[2025-01-09 05:24:13] Production.INFO: call_cost end
[2025-01-09 05:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:24:13] Production.INFO: ==25680== Releasing lock...
[2025-01-09 05:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:24:18] Production.INFO: count ==106
[2025-01-09 05:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:24:05 - End Time 2025-01-09 05:24:05
[2025-01-09 05:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207415', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207415', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207415', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207415', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:24:18] Production.INFO: ProcessCDR(1,14207415,1,1,2)
[2025-01-09 05:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207415', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207415', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:24:21] Production.INFO: ==25688== Releasing lock...
[2025-01-09 05:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:24:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:25:02] Production.INFO: ==25744== Lock acquired, processing the job...
[2025-01-09 10:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:25:02] Production.INFO: neon service started
[2025-01-09 10:25:02] Production.INFO: neon service started
[2025-01-09 10:25:02] Production.INFO: ==25744== Releasing lock...
[2025-01-09 10:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:25:02] Production.INFO: ==25747== Lock acquired, processing the job...
[2025-01-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:25:02] Production.INFO: ==25747== Releasing lock...
[2025-01-09 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:25:02] Production.INFO: ==25749== Lock acquired, processing the job...
[2025-01-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:25:03] Production.INFO: ==25749== Releasing lock...
[2025-01-09 10:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:25:03] Production.INFO: ==25757== Lock acquired, processing the job...
[2025-01-09 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:25:03] Production.INFO: ==25759== Lock acquired, processing the job...
[2025-01-09 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:25:03] Production.INFO: Account Balance Start.
[2025-01-09 05:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:25:03] Production.INFO: 117
[2025-01-09 05:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:25:03] Production.INFO: ==25751== Lock acquired, processing the job...
[2025-01-09 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:25:04] Production.INFO: ==25753== Lock acquired, processing the job...
[2025-01-09 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:25:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:25:04] Production.INFO: ==25755== Lock acquired, processing the job...
[2025-01-09 05:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:25:04] Production.INFO: Total Charge 0
[2025-01-09 05:25:04] Production.INFO: ==25761== Lock acquired, processing the job...
[2025-01-09 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:25:04] Production.INFO: CreateAllLog End
[2025-01-09 05:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 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-01-09 05:25:04] Production.INFO: count ==21
[2025-01-09 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-01-09 05:25:04] Production.INFO: count ==21
[2025-01-09 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207418') start
[2025-01-09 05:25:04] Production.ERROR: done
[2025-01-09 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:25:04] Production.INFO: Account Balance End.
[2025-01-09 05:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:25:04] Production.INFO: ==25757== Releasing lock...
[2025-01-09 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:25:04] Production.ERROR: done
[2025-01-09 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207418') end
[2025-01-09 05:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:25:04] Production.INFO: 1
[2025-01-09 05:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:25:04] Production.INFO: ==25753== Releasing lock...
[2025-01-09 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:25:04] Production.INFO: ==25761== Releasing lock...
[2025-01-09 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:25:05
[end_date_ymd] => 2025-01-09 05:25:05
[RateCDR] => 1
)
[2025-01-09 05:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:25:05' and `end` < '2025-01-09 05:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:25:11] Production.ERROR: CronJobId end10
[2025-01-09 05:25:11] Production.INFO: ==25755== Releasing lock...
[2025-01-09 05:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:25:14] Production.INFO: call_cost start
[2025-01-09 05:25:14] Production.INFO: call_cost end
[2025-01-09 05:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:25:15] Production.INFO: ==25751== Releasing lock...
[2025-01-09 05:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:25:18] Production.INFO: count ==106
[2025-01-09 05:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:25:05 - End Time 2025-01-09 05:25:05
[2025-01-09 05:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207420', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207420', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207420', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207420', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:25:18] Production.INFO: ProcessCDR(1,14207420,1,1,2)
[2025-01-09 05:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207420', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207420', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:25:21] Production.INFO: ==25759== Releasing lock...
[2025-01-09 05:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:26:01] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-01-09 10:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:26:01] Production.INFO: neon service started
[2025-01-09 10:26:01] Production.INFO: neon service started
[2025-01-09 10:26:01] Production.INFO: ==25814== Releasing lock...
[2025-01-09 10:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:26:02] Production.INFO: ==25816== Lock acquired, processing the job...
[2025-01-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:26:02] Production.INFO: ==25818== Lock acquired, processing the job...
[2025-01-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:26:02] Production.INFO: ==25818== Releasing lock...
[2025-01-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:26:02] Production.INFO: ==25816== Releasing lock...
[2025-01-09 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:26:03] Production.INFO: ==25821== Lock acquired, processing the job...
[2025-01-09 05:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:26:03] Production.INFO: ==25827== Lock acquired, processing the job...
[2025-01-09 05:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:26:03] Production.INFO: ==25829== Lock acquired, processing the job...
[2025-01-09 05:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:26:03] Production.INFO: ==25823== Lock acquired, processing the job...
[2025-01-09 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:26:03] Production.INFO: ==25825== Lock acquired, processing the job...
[2025-01-09 05:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:26:03] Production.INFO: Account Balance Start.
[2025-01-09 05:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:26:03] Production.INFO: 117
[2025-01-09 05:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:26:03] Production.INFO: ==25831== Lock acquired, processing the job...
[2025-01-09 05:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:26:03] Production.INFO: Total Charge 0
[2025-01-09 05:26:03] Production.INFO: CreateAllLog End
[2025-01-09 05:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:26:03] Production.INFO: count ==21
[2025-01-09 05:26:03] Production.ERROR: done
[2025-01-09 05:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:26:03] Production.INFO: count ==21
[2025-01-09 05:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207424') start
[2025-01-09 05:26:03] Production.INFO: ==25823== Releasing lock...
[2025-01-09 05:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:26:03] Production.INFO: Account Balance End.
[2025-01-09 05:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:26:04] Production.INFO: ==25827== Releasing lock...
[2025-01-09 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:26:04] Production.ERROR: done
[2025-01-09 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207424') end
[2025-01-09 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:26:04] Production.INFO: 1
[2025-01-09 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:26:04] Production.INFO: ==25831== Releasing lock...
[2025-01-09 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:26:05
[end_date_ymd] => 2025-01-09 05:26:05
[RateCDR] => 1
)
[2025-01-09 05:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:26:05' and `end` < '2025-01-09 05:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:26:11] Production.ERROR: CronJobId end10
[2025-01-09 05:26:11] Production.INFO: ==25825== Releasing lock...
[2025-01-09 05:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:26:13] Production.INFO: call_cost start
[2025-01-09 05:26:13] Production.INFO: call_cost end
[2025-01-09 05:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:26:14] Production.INFO: ==25821== Releasing lock...
[2025-01-09 05:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:26:18] Production.INFO: count ==106
[2025-01-09 05:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:26:05 - End Time 2025-01-09 05:26:05
[2025-01-09 05:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207425', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207425', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207425', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207425', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:26:18] Production.INFO: ProcessCDR(1,14207425,1,1,2)
[2025-01-09 05:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207425', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207425', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:26:21] Production.INFO: ==25829== Releasing lock...
[2025-01-09 05:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:26:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:27:02] Production.INFO: ==25885== Lock acquired, processing the job...
[2025-01-09 10:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:27:02] Production.INFO: neon service started
[2025-01-09 10:27:02] Production.INFO: neon service started
[2025-01-09 10:27:02] Production.INFO: ==25885== Releasing lock...
[2025-01-09 10:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:27:02] Production.INFO: ==25889== Lock acquired, processing the job...
[2025-01-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:27:02] Production.INFO: ==25889== Releasing lock...
[2025-01-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:27:02] Production.INFO: ==25887== Lock acquired, processing the job...
[2025-01-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:27:02] Production.INFO: ==25887== Releasing lock...
[2025-01-09 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:27:03] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-01-09 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:27:03] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-01-09 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:27:03] Production.INFO: ==25902== Lock acquired, processing the job...
[2025-01-09 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:27:03] Production.INFO: count ==21
[2025-01-09 05:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:27:03] Production.INFO: count ==21
[2025-01-09 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207427') start
[2025-01-09 05:27:03] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-01-09 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:27:04] Production.INFO: ==25900== Lock acquired, processing the job...
[2025-01-09 05:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:27:04] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-01-09 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207427') end
[2025-01-09 05:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:27:04] Production.INFO: 1
[2025-01-09 05:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:27:04] Production.INFO: ==25902== Releasing lock...
[2025-01-09 05:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:27:04] Production.INFO: Account Balance Start.
[2025-01-09 05:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:27:04] Production.INFO: 117
[2025-01-09 05:27:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:27:04] Production.INFO: Total Charge 0
[2025-01-09 05:27:04] Production.INFO: CreateAllLog End
[2025-01-09 05:27:04] Production.INFO: ==25894== Releasing lock...
[2025-01-09 05:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:27:04] Production.ERROR: done
[2025-01-09 05:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:27:04] Production.INFO: Account Balance End.
[2025-01-09 05:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:27:04] Production.INFO: ==25898== Releasing lock...
[2025-01-09 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:27:04] Production.ERROR: done
[2025-01-09 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:27:05
[end_date_ymd] => 2025-01-09 05:27:05
[RateCDR] => 1
)
[2025-01-09 05:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:27:05' and `end` < '2025-01-09 05:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:27:11] Production.ERROR: CronJobId end10
[2025-01-09 05:27:11] Production.INFO: ==25896== Releasing lock...
[2025-01-09 05:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:27:13] Production.INFO: call_cost start
[2025-01-09 05:27:13] Production.INFO: call_cost end
[2025-01-09 05:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:27:14] Production.INFO: ==25892== Releasing lock...
[2025-01-09 05:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:27:19] Production.INFO: count ==106
[2025-01-09 05:27:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:27:05 - End Time 2025-01-09 05:27:05
[2025-01-09 05:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207430', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207430', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207430', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207430', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:27:19] Production.INFO: ProcessCDR(1,14207430,1,1,2)
[2025-01-09 05:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207430', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207430', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:27:22] Production.INFO: ==25900== Releasing lock...
[2025-01-09 05:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:27:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:28:01] Production.INFO: ==25955== Lock acquired, processing the job...
[2025-01-09 10:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:28:01] Production.INFO: neon service started
[2025-01-09 10:28:01] Production.INFO: neon service started
[2025-01-09 10:28:01] Production.INFO: ==25955== Releasing lock...
[2025-01-09 10:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:28:01] Production.INFO: ==25959== Lock acquired, processing the job...
[2025-01-09 10:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:28:01] Production.INFO: ==25959== Releasing lock...
[2025-01-09 10:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:28:02] Production.INFO: ==25957== Lock acquired, processing the job...
[2025-01-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:28:02] Production.INFO: ==25957== Releasing lock...
[2025-01-09 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:28:03] Production.INFO: ==25966== Lock acquired, processing the job...
[2025-01-09 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:28:03] Production.INFO: ==25970== Lock acquired, processing the job...
[2025-01-09 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:28:03] Production.INFO: ==25962== Lock acquired, processing the job...
[2025-01-09 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:28:03] Production.INFO: ==25964== Lock acquired, processing the job...
[2025-01-09 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:28:03] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-01-09 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:28:03] Production.INFO: ==25968== Lock acquired, processing the job...
[2025-01-09 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:28:03] Production.INFO: Account Balance Start.
[2025-01-09 05:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:28:03] Production.INFO: 117
[2025-01-09 05:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:28:03] Production.INFO: count ==21
[2025-01-09 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:28:03] Production.ERROR: done
[2025-01-09 05:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:28:03] Production.INFO: count ==21
[2025-01-09 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207432') start
[2025-01-09 05:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:28:03] Production.ERROR: done
[2025-01-09 05:28:03] Production.INFO: Total Charge 0
[2025-01-09 05:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207432') end
[2025-01-09 05:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:28:03] Production.INFO: 1
[2025-01-09 05:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:28:03] Production.INFO: CreateAllLog End
[2025-01-09 05:28:03] Production.INFO: ==25964== Releasing lock...
[2025-01-09 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:28:04] Production.INFO: ==25972== Releasing lock...
[2025-01-09 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:28:04] Production.INFO: Account Balance End.
[2025-01-09 05:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:28:04] Production.INFO: ==25968== Releasing lock...
[2025-01-09 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:28:05
[end_date_ymd] => 2025-01-09 05:28:05
[RateCDR] => 1
)
[2025-01-09 05:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:28:05' and `end` < '2025-01-09 05:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:28:11] Production.ERROR: CronJobId end10
[2025-01-09 05:28:11] Production.INFO: ==25966== Releasing lock...
[2025-01-09 05:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:28:13] Production.INFO: call_cost start
[2025-01-09 05:28:13] Production.INFO: call_cost end
[2025-01-09 05:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:28:14] Production.INFO: ==25962== Releasing lock...
[2025-01-09 05:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:28:18] Production.INFO: count ==106
[2025-01-09 05:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:28:05 - End Time 2025-01-09 05:28:05
[2025-01-09 05:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207435', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207435', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207435', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207435', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:28:18] Production.INFO: ProcessCDR(1,14207435,1,1,2)
[2025-01-09 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207435', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207435', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:28:21] Production.INFO: ==25970== Releasing lock...
[2025-01-09 05:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:28:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:29:02] Production.INFO: ==26029== Lock acquired, processing the job...
[2025-01-09 10:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:29:02] Production.INFO: neon service started
[2025-01-09 10:29:02] Production.INFO: neon service started
[2025-01-09 10:29:02] Production.INFO: ==26029== Releasing lock...
[2025-01-09 10:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:29:02] Production.INFO: ==26033== Lock acquired, processing the job...
[2025-01-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:29:02] Production.INFO: ==26033== Releasing lock...
[2025-01-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:29:02] Production.INFO: ==26031== Lock acquired, processing the job...
[2025-01-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:29:02] Production.INFO: ==26031== Releasing lock...
[2025-01-09 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:29:03] Production.INFO: ==26036== Lock acquired, processing the job...
[2025-01-09 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:29:03] Production.INFO: ==26038== Lock acquired, processing the job...
[2025-01-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:29:03] Production.INFO: ==26042== Lock acquired, processing the job...
[2025-01-09 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:29:03] Production.INFO: ==26040== Lock acquired, processing the job...
[2025-01-09 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:29:03] Production.INFO: ==26038== Releasing lock...
[2025-01-09 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:29:03] Production.INFO: Account Balance Start.
[2025-01-09 05:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:29:03] Production.INFO: 117
[2025-01-09 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:29:04] Production.INFO: ==26044== Lock acquired, processing the job...
[2025-01-09 05:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:29:04] Production.INFO: Total Charge 0
[2025-01-09 05:29:04] Production.INFO: CreateAllLog End
[2025-01-09 05:29:04] Production.INFO: ==26046== Lock acquired, processing the job...
[2025-01-09 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 05:29:04] Production.INFO: count ==21
[2025-01-09 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-01-09 05:29:04] Production.INFO: count ==21
[2025-01-09 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207439') start
[2025-01-09 05:29:04] Production.ERROR: done
[2025-01-09 05:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:29:04] Production.INFO: Account Balance End.
[2025-01-09 05:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207439') end
[2025-01-09 05:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:29:04] Production.INFO: 1
[2025-01-09 05:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:29:04] Production.INFO: ==26046== Releasing lock...
[2025-01-09 05:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:29:04] Production.INFO: ==26042== Releasing lock...
[2025-01-09 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:29:04] Production.ERROR: done
[2025-01-09 05:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:29:05
[end_date_ymd] => 2025-01-09 05:29:05
[RateCDR] => 1
)
[2025-01-09 05:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:29:05' and `end` < '2025-01-09 05:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:29:11] Production.ERROR: CronJobId end10
[2025-01-09 05:29:11] Production.INFO: ==26040== Releasing lock...
[2025-01-09 05:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:29:13] Production.INFO: call_cost start
[2025-01-09 05:29:13] Production.INFO: call_cost end
[2025-01-09 05:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:29:13] Production.INFO: ==26036== Releasing lock...
[2025-01-09 05:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:29:19] Production.INFO: count ==106
[2025-01-09 05:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:29:05 - End Time 2025-01-09 05:29:05
[2025-01-09 05:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207440', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207440', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207440', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207440', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:29:19] Production.INFO: ProcessCDR(1,14207440,1,1,2)
[2025-01-09 05:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207440', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207440', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:29:22] Production.INFO: ==26044== Releasing lock...
[2025-01-09 05:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:29:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:30:01] Production.INFO: ==26098== Lock acquired, processing the job...
[2025-01-09 10:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:30:01] Production.INFO: neon service started
[2025-01-09 10:30:01] Production.INFO: neon service started
[2025-01-09 10:30:01] Production.INFO: ==26098== Releasing lock...
[2025-01-09 10:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:30:01] Production.INFO: ==26100== Lock acquired, processing the job...
[2025-01-09 05:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:30:02] Production.INFO: ==26102== Lock acquired, processing the job...
[2025-01-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:30:02] Production.INFO: ==26102== Releasing lock...
[2025-01-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:30:02] Production.INFO: ==26100== Releasing lock...
[2025-01-09 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:30:03] Production.INFO: ==26105== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 05:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 05:30:03] Production.INFO: ==26107== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 05:30:03] Production.INFO: ==26105== Releasing lock...
[2025-01-09 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 05:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 05:30:03] Production.INFO: ==26111== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:30:03] Production.INFO: ==26119== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:30:03] Production.INFO: ==26109== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 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-01-09 05:30:03] Production.INFO: count ==21
[2025-01-09 05:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:30:03] Production.INFO: count ==21
[2025-01-09 05:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207442') start
[2025-01-09 05:30:03] Production.INFO: ==26115== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:30:03] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 05:30:03] Production.INFO: ==26113== Lock acquired, processing the job...
[2025-01-09 05:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207442') end
[2025-01-09 05:30:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:30:03] Production.INFO: 1
[2025-01-09 05:30:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:30:04] Production.INFO: ==26119== Releasing lock...
[2025-01-09 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:30:04] Production.INFO: ==26109== Releasing lock...
[2025-01-09 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:30:04] Production.INFO: Account Balance Start.
[2025-01-09 05:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:30:04] Production.INFO: 117
[2025-01-09 05:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:30:04] Production.ERROR: done
[2025-01-09 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:30:04] Production.ERROR: done
[2025-01-09 05:30:04] Production.INFO: Total Charge 0
[2025-01-09 05:30:04] Production.INFO: CreateAllLog End
[2025-01-09 05:30:04] Production.ERROR: done
[2025-01-09 05:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 05:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207445', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 05:30:04] Production.INFO: Account Balance End.
[2025-01-09 05:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:30:04] Production.INFO: ==26113== Releasing lock...
[2025-01-09 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:30:05
[end_date_ymd] => 2025-01-09 05:30:05
[RateCDR] => 1
)
[2025-01-09 05:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:30:05' and `end` < '2025-01-09 05:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207445', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 05:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 05:30:08] Production.INFO: ProcessCDR(1,14207445,1,1,2)
[2025-01-09 05:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207445,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207445,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:30:09] Production.INFO: ==26117== Releasing lock...
[2025-01-09 05:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 05:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:30:13] Production.ERROR: CronJobId end10
[2025-01-09 05:30:13] Production.INFO: ==26111== Releasing lock...
[2025-01-09 05:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:30:14] Production.INFO: call_cost start
[2025-01-09 05:30:14] Production.INFO: call_cost end
[2025-01-09 05:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:30:15] Production.INFO: ==26107== Releasing lock...
[2025-01-09 05:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:30:18] Production.INFO: count ==104
[2025-01-09 05:30:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:30:05 - End Time 2025-01-09 05:30:05
[2025-01-09 05:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207446', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207446', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207446', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207446', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:30:18] Production.INFO: ProcessCDR(1,14207446,1,1,2)
[2025-01-09 05:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207446', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207446', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:30:21] Production.INFO: ==26115== Releasing lock...
[2025-01-09 05:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:30:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:31:01] Production.INFO: ==26212== Lock acquired, processing the job...
[2025-01-09 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:31:01] Production.INFO: neon service started
[2025-01-09 10:31:01] Production.INFO: neon service started
[2025-01-09 10:31:01] Production.INFO: ==26212== Releasing lock...
[2025-01-09 10:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:31:02] Production.INFO: ==26216== Lock acquired, processing the job...
[2025-01-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:31:02] Production.INFO: ==26216== Releasing lock...
[2025-01-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:31:02] Production.INFO: ==26214== Lock acquired, processing the job...
[2025-01-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:31:02] Production.INFO: ==26214== Releasing lock...
[2025-01-09 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:31:03] Production.INFO: ==26219== Lock acquired, processing the job...
[2025-01-09 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:31:03] Production.INFO: ==26221== Lock acquired, processing the job...
[2025-01-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:31:03] Production.INFO: ==26223== Lock acquired, processing the job...
[2025-01-09 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:31:03] Production.INFO: ==26225== Lock acquired, processing the job...
[2025-01-09 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:31:03] Production.INFO: Account Balance Start.
[2025-01-09 05:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:31:03] Production.INFO: 117
[2025-01-09 05:31:03] Production.INFO: ==26227== Lock acquired, processing the job...
[2025-01-09 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:31:03] Production.INFO: ==26229== Lock acquired, processing the job...
[2025-01-09 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:31:03] Production.INFO: ==26221== Releasing lock...
[2025-01-09 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:31:03] Production.INFO: Total Charge 0
[2025-01-09 05:31:03] Production.INFO: CreateAllLog End
[2025-01-09 05:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:31:04] Production.INFO: count ==21
[2025-01-09 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-01-09 05:31:04] Production.INFO: count ==21
[2025-01-09 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207450') start
[2025-01-09 05:31:04] Production.ERROR: done
[2025-01-09 05:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:31:04] Production.ERROR: done
[2025-01-09 05:31:04] Production.INFO: Account Balance End.
[2025-01-09 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207450') end
[2025-01-09 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:31:04] Production.INFO: 1
[2025-01-09 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:31:04] Production.INFO: ==26225== Releasing lock...
[2025-01-09 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:31:04] Production.INFO: ==26229== Releasing lock...
[2025-01-09 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:31:05
[end_date_ymd] => 2025-01-09 05:31:05
[RateCDR] => 1
)
[2025-01-09 05:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:31:05' and `end` < '2025-01-09 05:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:31:12] Production.ERROR: CronJobId end10
[2025-01-09 05:31:12] Production.INFO: ==26223== Releasing lock...
[2025-01-09 05:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:31:14] Production.INFO: call_cost start
[2025-01-09 05:31:14] Production.INFO: call_cost end
[2025-01-09 05:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:31:15] Production.INFO: ==26219== Releasing lock...
[2025-01-09 05:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:31:18] Production.INFO: count ==104
[2025-01-09 05:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:31:05 - End Time 2025-01-09 05:31:05
[2025-01-09 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207451', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207451', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207451', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207451', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:31:18] Production.INFO: ProcessCDR(1,14207451,1,1,2)
[2025-01-09 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207451', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207451', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:31:21] Production.INFO: ==26227== Releasing lock...
[2025-01-09 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:31:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:32:01] Production.INFO: ==26284== Lock acquired, processing the job...
[2025-01-09 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:32:01] Production.INFO: neon service started
[2025-01-09 10:32:01] Production.INFO: neon service started
[2025-01-09 10:32:01] Production.INFO: ==26284== Releasing lock...
[2025-01-09 10:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:32:01] Production.INFO: ==26286== Lock acquired, processing the job...
[2025-01-09 05:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:32:02] Production.INFO: ==26286== Releasing lock...
[2025-01-09 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:32:02] Production.INFO: ==26288== Lock acquired, processing the job...
[2025-01-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:32:02] Production.INFO: ==26288== Releasing lock...
[2025-01-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:32:03] Production.INFO: ==26291== Lock acquired, processing the job...
[2025-01-09 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:32:03] Production.INFO: ==26293== Lock acquired, processing the job...
[2025-01-09 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:32:03] Production.INFO: ==26295== Lock acquired, processing the job...
[2025-01-09 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:32:03] Production.INFO: ==26297== Lock acquired, processing the job...
[2025-01-09 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:32:03] Production.INFO: ==26301== Lock acquired, processing the job...
[2025-01-09 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:32:03] Production.INFO: Account Balance Start.
[2025-01-09 05:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:32:03] Production.INFO: 117
[2025-01-09 05:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:32:03] Production.INFO: ==26299== Lock acquired, processing the job...
[2025-01-09 05:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:32:03] Production.INFO: Total Charge 0
[2025-01-09 05:32:03] Production.INFO: CreateAllLog End
[2025-01-09 05:32:03] Production.INFO: count ==21
[2025-01-09 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-01-09 05:32:03] Production.INFO: ==26293== Releasing lock...
[2025-01-09 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:32:03] Production.INFO: count ==21
[2025-01-09 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207455') start
[2025-01-09 05:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207455') end
[2025-01-09 05:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:32:03] Production.INFO: 1
[2025-01-09 05:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:32:03] Production.INFO: ==26301== Releasing lock...
[2025-01-09 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:32:03] Production.ERROR: done
[2025-01-09 05:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:32:04] Production.INFO: Account Balance End.
[2025-01-09 05:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:32:04] Production.INFO: ==26297== Releasing lock...
[2025-01-09 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:32:04] Production.ERROR: done
[2025-01-09 05:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:32:05
[end_date_ymd] => 2025-01-09 05:32:05
[RateCDR] => 1
)
[2025-01-09 05:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:32:05' and `end` < '2025-01-09 05:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:32:11] Production.ERROR: CronJobId end10
[2025-01-09 05:32:11] Production.INFO: ==26295== Releasing lock...
[2025-01-09 05:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:32:14] Production.INFO: call_cost start
[2025-01-09 05:32:14] Production.INFO: call_cost end
[2025-01-09 05:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:32:15] Production.INFO: ==26291== Releasing lock...
[2025-01-09 05:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:32:18] Production.INFO: count ==104
[2025-01-09 05:32:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:32:05 - End Time 2025-01-09 05:32:05
[2025-01-09 05:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207456', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207456', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207456', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207456', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:32:18] Production.INFO: ProcessCDR(1,14207456,1,1,2)
[2025-01-09 05:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207456', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207456', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:32:21] Production.INFO: ==26299== Releasing lock...
[2025-01-09 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:32:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:33:01] Production.INFO: ==26354== Lock acquired, processing the job...
[2025-01-09 10:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:33:01] Production.INFO: neon service started
[2025-01-09 10:33:01] Production.INFO: neon service started
[2025-01-09 10:33:01] Production.INFO: ==26354== Releasing lock...
[2025-01-09 10:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:33:02] Production.INFO: ==26358== Lock acquired, processing the job...
[2025-01-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:33:02] Production.INFO: ==26358== Releasing lock...
[2025-01-09 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:33:02] Production.INFO: ==26356== Lock acquired, processing the job...
[2025-01-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:33:02] Production.INFO: ==26356== Releasing lock...
[2025-01-09 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:33:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:33:03] Production.INFO: ==26360== Lock acquired, processing the job...
[2025-01-09 05:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:33:03] Production.INFO: ==26364== Lock acquired, processing the job...
[2025-01-09 05:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:33:03] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-01-09 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:33:03] Production.INFO: Account Balance Start.
[2025-01-09 05:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:33:03] Production.INFO: 117
[2025-01-09 05:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:33:03] Production.INFO: Total Charge 0
[2025-01-09 05:33:03] Production.INFO: CreateAllLog End
[2025-01-09 05:33:03] Production.INFO: ==26362== Lock acquired, processing the job...
[2025-01-09 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:33:03] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-01-09 05:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:33:03] Production.INFO: Account Balance End.
[2025-01-09 05:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:33:03] Production.INFO: ==26371== Lock acquired, processing the job...
[2025-01-09 05:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:33:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:33:03] Production.INFO: ==26366== Releasing lock...
[2025-01-09 05:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:33:03] Production.INFO: count ==21
[2025-01-09 05:33:04] Production.ERROR: done
[2025-01-09 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:33:04] Production.INFO: count ==21
[2025-01-09 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207460') start
[2025-01-09 05:33:04] Production.INFO: ==26362== Releasing lock...
[2025-01-09 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:33:04] Production.ERROR: done
[2025-01-09 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207460') end
[2025-01-09 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:33:04] Production.INFO: 1
[2025-01-09 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:33:04] Production.INFO: ==26371== Releasing lock...
[2025-01-09 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:33:05
[end_date_ymd] => 2025-01-09 05:33:05
[RateCDR] => 1
)
[2025-01-09 05:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:33:05' and `end` < '2025-01-09 05:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:33:11] Production.ERROR: CronJobId end10
[2025-01-09 05:33:11] Production.INFO: ==26364== Releasing lock...
[2025-01-09 05:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:33:13] Production.INFO: call_cost start
[2025-01-09 05:33:13] Production.INFO: call_cost end
[2025-01-09 05:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:33:14] Production.INFO: ==26360== Releasing lock...
[2025-01-09 05:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:33:18] Production.INFO: count ==104
[2025-01-09 05:33:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:33:05 - End Time 2025-01-09 05:33:05
[2025-01-09 05:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207461', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207461', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207461', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207461', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:33:18] Production.INFO: ProcessCDR(1,14207461,1,1,2)
[2025-01-09 05:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207461', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207461', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:33:21] Production.INFO: ==26368== Releasing lock...
[2025-01-09 05:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:33:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:34:02] Production.INFO: ==26426== Lock acquired, processing the job...
[2025-01-09 10:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:34:02] Production.INFO: neon service started
[2025-01-09 10:34:02] Production.INFO: neon service started
[2025-01-09 10:34:02] Production.INFO: ==26426== Releasing lock...
[2025-01-09 10:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:34:02] Production.INFO: ==26428== Lock acquired, processing the job...
[2025-01-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:34:02] Production.INFO: ==26428== Releasing lock...
[2025-01-09 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:34:03] Production.INFO: ==26430== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:34:03] Production.INFO: ==26430== Releasing lock...
[2025-01-09 10:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:34:03] Production.INFO: ==26432== Lock acquired, processing the job...
[2025-01-09 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:34:03] Production.INFO: ==26436== Lock acquired, processing the job...
[2025-01-09 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:34:03] Production.INFO: ==26442== Lock acquired, processing the job...
[2025-01-09 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 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-01-09 05:34:04] Production.INFO: count ==21
[2025-01-09 05:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:34:04] Production.INFO: count ==21
[2025-01-09 05:34:04] Production.INFO: ==26438== Lock acquired, processing the job...
[2025-01-09 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207463') start
[2025-01-09 05:34:04] Production.INFO: ==26434== Lock acquired, processing the job...
[2025-01-09 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:34:04] Production.INFO: ==26440== Lock acquired, processing the job...
[2025-01-09 05:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207463') end
[2025-01-09 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:34:04] Production.INFO: 1
[2025-01-09 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:34:04] Production.INFO: Account Balance Start.
[2025-01-09 05:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:34:04] Production.INFO: 117
[2025-01-09 05:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:34:04] Production.INFO: ==26442== Releasing lock...
[2025-01-09 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:34:04] Production.INFO: Total Charge 0
[2025-01-09 05:34:04] Production.INFO: CreateAllLog End
[2025-01-09 05:34:04] Production.INFO: ==26434== Releasing lock...
[2025-01-09 05:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:34:04] Production.ERROR: done
[2025-01-09 05:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:34:04] Production.ERROR: done
[2025-01-09 05:34:04] Production.INFO: Account Balance End.
[2025-01-09 05:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:34:04] Production.INFO: ==26438== Releasing lock...
[2025-01-09 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:34:05
[end_date_ymd] => 2025-01-09 05:34:05
[RateCDR] => 1
)
[2025-01-09 05:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:34:05' and `end` < '2025-01-09 05:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:34:12] Production.ERROR: CronJobId end10
[2025-01-09 05:34:12] Production.INFO: ==26436== Releasing lock...
[2025-01-09 05:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:34:13] Production.INFO: call_cost start
[2025-01-09 05:34:13] Production.INFO: call_cost end
[2025-01-09 05:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:34:14] Production.INFO: ==26432== Releasing lock...
[2025-01-09 05:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:34:18] Production.INFO: count ==104
[2025-01-09 05:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:34:05 - End Time 2025-01-09 05:34:05
[2025-01-09 05:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207466', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207466', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207466', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207466', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:34:18] Production.INFO: ProcessCDR(1,14207466,1,1,2)
[2025-01-09 05:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207466', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207466', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:34:21] Production.INFO: ==26440== Releasing lock...
[2025-01-09 05:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:34:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:35:01] Production.INFO: ==26500== Lock acquired, processing the job...
[2025-01-09 10:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:35:01] Production.INFO: neon service started
[2025-01-09 10:35:01] Production.INFO: neon service started
[2025-01-09 10:35:01] Production.INFO: ==26500== Releasing lock...
[2025-01-09 10:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:35:02] Production.INFO: ==26504== Lock acquired, processing the job...
[2025-01-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:35:02] Production.INFO: ==26502== Lock acquired, processing the job...
[2025-01-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:35:02] Production.INFO: ==26504== Releasing lock...
[2025-01-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:35:02] Production.INFO: ==26502== Releasing lock...
[2025-01-09 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:35:03] Production.INFO: ==26515== Lock acquired, processing the job...
[2025-01-09 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:35:03] Production.INFO: ==26517== Lock acquired, processing the job...
[2025-01-09 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:35:03] Production.INFO: count ==21
[2025-01-09 05:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:35:03] Production.INFO: count ==21
[2025-01-09 05:35:03] Production.INFO: ==26507== Lock acquired, processing the job...
[2025-01-09 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207467') start
[2025-01-09 05:35:03] Production.INFO: ==26509== Lock acquired, processing the job...
[2025-01-09 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:35:03] Production.INFO: ==26513== Lock acquired, processing the job...
[2025-01-09 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:35:03] Production.INFO: ==26511== Lock acquired, processing the job...
[2025-01-09 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:35:03] Production.ERROR: done
[2025-01-09 05:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:35:04] Production.INFO: Account Balance Start.
[2025-01-09 05:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:35:04] Production.INFO: 117
[2025-01-09 05:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:35:04] Production.ERROR: done
[2025-01-09 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207467') end
[2025-01-09 05:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:35:04] Production.INFO: 1
[2025-01-09 05:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:35:04] Production.INFO: ==26517== Releasing lock...
[2025-01-09 05:35:04] Production.INFO: Total Charge 0
[2025-01-09 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:35:04] Production.INFO: CreateAllLog End
[2025-01-09 05:35:04] Production.INFO: ==26509== Releasing lock...
[2025-01-09 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:35:04] Production.INFO: Account Balance End.
[2025-01-09 05:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:35:04] Production.INFO: ==26513== Releasing lock...
[2025-01-09 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:35:05
[end_date_ymd] => 2025-01-09 05:35:05
[RateCDR] => 1
)
[2025-01-09 05:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:35:05' and `end` < '2025-01-09 05:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:35:11] Production.ERROR: CronJobId end10
[2025-01-09 05:35:11] Production.INFO: ==26511== Releasing lock...
[2025-01-09 05:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:35:13] Production.INFO: call_cost start
[2025-01-09 05:35:13] Production.INFO: call_cost end
[2025-01-09 05:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:35:14] Production.INFO: ==26507== Releasing lock...
[2025-01-09 05:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:35:17] Production.INFO: count ==104
[2025-01-09 05:35:17] Production.ERROR: pbx CDR StartTime 2025-01-09 02:35:05 - End Time 2025-01-09 05:35:05
[2025-01-09 05:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207471', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207471', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207471', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207471', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:35:17] Production.INFO: ProcessCDR(1,14207471,1,1,2)
[2025-01-09 05:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207471', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207471', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:35:21] Production.INFO: ==26515== Releasing lock...
[2025-01-09 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:35:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:36:02] Production.INFO: ==26571== Lock acquired, processing the job...
[2025-01-09 10:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:36:02] Production.INFO: neon service started
[2025-01-09 10:36:02] Production.INFO: neon service started
[2025-01-09 10:36:02] Production.INFO: ==26571== Releasing lock...
[2025-01-09 10:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:36:02] Production.INFO: ==26576== Lock acquired, processing the job...
[2025-01-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:36:02] Production.INFO: ==26576== Releasing lock...
[2025-01-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:36:02] Production.INFO: ==26574== Lock acquired, processing the job...
[2025-01-09 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:36:03] Production.INFO: ==26574== Releasing lock...
[2025-01-09 05:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:36:03] Production.INFO: ==26580== Lock acquired, processing the job...
[2025-01-09 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:36:03] Production.INFO: ==26586== Lock acquired, processing the job...
[2025-01-09 05:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:36:03] Production.INFO: ==26588== Lock acquired, processing the job...
[2025-01-09 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:36:03] Production.INFO: ==26582== Lock acquired, processing the job...
[2025-01-09 05:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:36:04] Production.INFO: ==26584== Lock acquired, processing the job...
[2025-01-09 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 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-01-09 05:36:04] Production.INFO: ==26578== Lock acquired, processing the job...
[2025-01-09 05:36:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:36:04] Production.INFO: count ==21
[2025-01-09 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-01-09 05:36:04] Production.INFO: count ==21
[2025-01-09 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207473') start
[2025-01-09 05:36:04] Production.INFO: ==26580== Releasing lock...
[2025-01-09 05:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207473') end
[2025-01-09 05:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:36:04] Production.INFO: 1
[2025-01-09 05:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:36:04] Production.INFO: Account Balance Start.
[2025-01-09 05:36:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:36:04] Production.INFO: 117
[2025-01-09 05:36:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:36:04] Production.INFO: ==26588== Releasing lock...
[2025-01-09 05:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:36:04] Production.ERROR: done
[2025-01-09 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:36:04] Production.INFO: Total Charge 0
[2025-01-09 05:36:04] Production.INFO: CreateAllLog End
[2025-01-09 05:36:04] Production.ERROR: done
[2025-01-09 05:36:04] Production.INFO: Account Balance End.
[2025-01-09 05:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:36:04] Production.INFO: ==26584== Releasing lock...
[2025-01-09 05:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:36:05
[end_date_ymd] => 2025-01-09 05:36:05
[RateCDR] => 1
)
[2025-01-09 05:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:36:05' and `end` < '2025-01-09 05:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:36:11] Production.ERROR: CronJobId end10
[2025-01-09 05:36:11] Production.INFO: ==26582== Releasing lock...
[2025-01-09 05:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:36:13] Production.INFO: call_cost start
[2025-01-09 05:36:13] Production.INFO: call_cost end
[2025-01-09 05:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:36:14] Production.INFO: ==26578== Releasing lock...
[2025-01-09 05:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:36:18] Production.INFO: count ==104
[2025-01-09 05:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:36:05 - End Time 2025-01-09 05:36:05
[2025-01-09 05:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207476', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207476', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207476', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207476', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:36:18] Production.INFO: ProcessCDR(1,14207476,1,1,2)
[2025-01-09 05:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207476', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207476', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:36:21] Production.INFO: ==26586== Releasing lock...
[2025-01-09 05:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:36:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:37:01] Production.INFO: ==26643== Lock acquired, processing the job...
[2025-01-09 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:37:01] Production.INFO: neon service started
[2025-01-09 10:37:01] Production.INFO: neon service started
[2025-01-09 10:37:01] Production.INFO: ==26643== Releasing lock...
[2025-01-09 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:37:02] Production.INFO: ==26645== Lock acquired, processing the job...
[2025-01-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:37:02] Production.INFO: ==26645== Releasing lock...
[2025-01-09 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:37:02] Production.INFO: ==26647== Lock acquired, processing the job...
[2025-01-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:37:02] Production.INFO: ==26647== Releasing lock...
[2025-01-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:37:03] Production.INFO: ==26654== Lock acquired, processing the job...
[2025-01-09 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:37:03] Production.INFO: ==26658== Lock acquired, processing the job...
[2025-01-09 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:37:03] Production.INFO: ==26650== Lock acquired, processing the job...
[2025-01-09 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:37:03] Production.INFO: ==26652== Lock acquired, processing the job...
[2025-01-09 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:37:03] Production.INFO: ==26656== Lock acquired, processing the job...
[2025-01-09 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:37:03] Production.INFO: ==26660== Lock acquired, processing the job...
[2025-01-09 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:37:03] Production.ERROR: done
[2025-01-09 05:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:37:03] Production.INFO: Account Balance Start.
[2025-01-09 05:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:37:03] Production.INFO: 117
[2025-01-09 05:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:37:03] Production.INFO: count ==21
[2025-01-09 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-01-09 05:37:03] Production.INFO: count ==21
[2025-01-09 05:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:37:04] Production.ERROR: done
[2025-01-09 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207480') start
[2025-01-09 05:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:37:04] Production.INFO: Total Charge 0
[2025-01-09 05:37:04] Production.INFO: ==26652== Releasing lock...
[2025-01-09 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:37:04] Production.INFO: CreateAllLog End
[2025-01-09 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207480') end
[2025-01-09 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:37:04] Production.INFO: 1
[2025-01-09 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:37:04] Production.INFO: Account Balance End.
[2025-01-09 05:37:04] Production.INFO: ==26660== Releasing lock...
[2025-01-09 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:37:04] Production.INFO: ==26656== Releasing lock...
[2025-01-09 05:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:37:05
[end_date_ymd] => 2025-01-09 05:37:05
[RateCDR] => 1
)
[2025-01-09 05:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:37:05' and `end` < '2025-01-09 05:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:37:11] Production.ERROR: CronJobId end10
[2025-01-09 05:37:11] Production.INFO: ==26654== Releasing lock...
[2025-01-09 05:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:37:13] Production.INFO: call_cost start
[2025-01-09 05:37:13] Production.INFO: call_cost end
[2025-01-09 05:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:37:14] Production.INFO: ==26650== Releasing lock...
[2025-01-09 05:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:37:19] Production.INFO: count ==104
[2025-01-09 05:37:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:37:05 - End Time 2025-01-09 05:37:05
[2025-01-09 05:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207481', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207481', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207481', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207481', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:37:19] Production.INFO: ProcessCDR(1,14207481,1,1,2)
[2025-01-09 05:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207481', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207481', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:37:22] Production.INFO: ==26658== Releasing lock...
[2025-01-09 05:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:37:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:38:02] Production.INFO: ==26715== Lock acquired, processing the job...
[2025-01-09 10:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:38:02] Production.INFO: neon service started
[2025-01-09 10:38:02] Production.INFO: neon service started
[2025-01-09 10:38:02] Production.INFO: ==26715== Releasing lock...
[2025-01-09 10:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:38:02] Production.INFO: ==26717== Lock acquired, processing the job...
[2025-01-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:38:02] Production.INFO: ==26717== Releasing lock...
[2025-01-09 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:38:02] Production.INFO: ==26719== Lock acquired, processing the job...
[2025-01-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:38:03] Production.INFO: ==26719== Releasing lock...
[2025-01-09 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:38:03] Production.INFO: ==26724== Lock acquired, processing the job...
[2025-01-09 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:38:03] Production.INFO: ==26730== Lock acquired, processing the job...
[2025-01-09 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:38:03] Production.INFO: ==26724== Releasing lock...
[2025-01-09 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:38:03] Production.INFO: ==26722== Lock acquired, processing the job...
[2025-01-09 05:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:38:04] Production.INFO: ==26726== Lock acquired, processing the job...
[2025-01-09 05:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:38:04] Production.INFO: ==26728== Lock acquired, processing the job...
[2025-01-09 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:38:04] Production.INFO: ==26732== Lock acquired, processing the job...
[2025-01-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:38:04] Production.INFO: Account Balance Start.
[2025-01-09 05:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:38:04] Production.INFO: 117
[2025-01-09 05:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:38:04] Production.INFO: Total Charge 0
[2025-01-09 05:38:04] Production.INFO: CreateAllLog End
[2025-01-09 05:38:04] Production.ERROR: done
[2025-01-09 05:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:38:04] Production.INFO: count ==21
[2025-01-09 05:38:04] Production.ERROR: done
[2025-01-09 05:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:38:04] Production.INFO: count ==21
[2025-01-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207485') start
[2025-01-09 05:38:04] Production.INFO: Account Balance End.
[2025-01-09 05:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:38:04] Production.INFO: ==26728== Releasing lock...
[2025-01-09 05:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207485') end
[2025-01-09 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:38:04] Production.INFO: 1
[2025-01-09 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:38:04] Production.INFO: ==26732== Releasing lock...
[2025-01-09 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:38:05
[end_date_ymd] => 2025-01-09 05:38:05
[RateCDR] => 1
)
[2025-01-09 05:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:38:05' and `end` < '2025-01-09 05:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:38:11] Production.ERROR: CronJobId end10
[2025-01-09 05:38:11] Production.INFO: ==26726== Releasing lock...
[2025-01-09 05:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:38:13] Production.INFO: call_cost start
[2025-01-09 05:38:13] Production.INFO: call_cost end
[2025-01-09 05:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:38:14] Production.INFO: ==26722== Releasing lock...
[2025-01-09 05:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:38:18] Production.INFO: count ==105
[2025-01-09 05:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:38:05 - End Time 2025-01-09 05:38:05
[2025-01-09 05:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207486', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207486', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207486', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207486', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:38:18] Production.INFO: ProcessCDR(1,14207486,1,1,2)
[2025-01-09 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207486', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207486', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:38:22] Production.INFO: ==26730== Releasing lock...
[2025-01-09 05:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:38:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:39:01] Production.INFO: ==26786== Lock acquired, processing the job...
[2025-01-09 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:39:01] Production.INFO: neon service started
[2025-01-09 10:39:01] Production.INFO: neon service started
[2025-01-09 10:39:01] Production.INFO: ==26786== Releasing lock...
[2025-01-09 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:39:01] Production.INFO: ==26788== Lock acquired, processing the job...
[2025-01-09 05:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:39:02] Production.INFO: ==26788== Releasing lock...
[2025-01-09 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:39:02] Production.INFO: ==26790== Lock acquired, processing the job...
[2025-01-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:39:02] Production.INFO: ==26790== Releasing lock...
[2025-01-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:39:03] Production.INFO: ==26801== Lock acquired, processing the job...
[2025-01-09 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:39:03] Production.INFO: ==26803== Lock acquired, processing the job...
[2025-01-09 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:39:03] Production.INFO: count ==21
[2025-01-09 05:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:39:03] Production.INFO: count ==21
[2025-01-09 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207487') start
[2025-01-09 05:39:03] Production.INFO: ==26793== Lock acquired, processing the job...
[2025-01-09 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:39:03] Production.INFO: ==26795== Lock acquired, processing the job...
[2025-01-09 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:39:03] Production.INFO: ==26799== Lock acquired, processing the job...
[2025-01-09 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:39:03] Production.INFO: ==26797== Lock acquired, processing the job...
[2025-01-09 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207487') end
[2025-01-09 05:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:39:03] Production.INFO: 1
[2025-01-09 05:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:39:03] Production.INFO: ==26803== Releasing lock...
[2025-01-09 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:39:03] Production.INFO: Account Balance Start.
[2025-01-09 05:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:39:03] Production.ERROR: done
[2025-01-09 05:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:39:03] Production.INFO: 117
[2025-01-09 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:39:03] Production.ERROR: done
[2025-01-09 05:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:39:03] Production.INFO: Total Charge 0
[2025-01-09 05:39:03] Production.INFO: CreateAllLog End
[2025-01-09 05:39:03] Production.INFO: ==26795== Releasing lock...
[2025-01-09 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:39:03] Production.INFO: Account Balance End.
[2025-01-09 05:39:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:39:03] Production.INFO: ==26799== Releasing lock...
[2025-01-09 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:39:04
[end_date_ymd] => 2025-01-09 05:39:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 02:39:04' and `end` < '2025-01-09 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-01-09 05:39:11] Production.ERROR: CronJobId end10
[2025-01-09 05:39:11] Production.INFO: ==26797== Releasing lock...
[2025-01-09 05:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:39:12] Production.INFO: call_cost start
[2025-01-09 05:39:12] Production.INFO: call_cost end
[2025-01-09 05:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:39:13] Production.INFO: ==26793== Releasing lock...
[2025-01-09 05:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:39:17] Production.INFO: count ==105
[2025-01-09 05:39:17] Production.ERROR: pbx CDR StartTime 2025-01-09 02:39:04 - End Time 2025-01-09 05:39:04
[2025-01-09 05:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207491', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207491', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207491', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207491', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:39:17] Production.INFO: ProcessCDR(1,14207491,1,1,2)
[2025-01-09 05:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:39:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207491', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:39:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207491', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:39:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:39:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:39:20] Production.INFO: ==26801== Releasing lock...
[2025-01-09 05:39:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:39:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:40:02] Production.INFO: ==26857== Lock acquired, processing the job...
[2025-01-09 10:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:40:02] Production.INFO: neon service started
[2025-01-09 10:40:02] Production.INFO: neon service started
[2025-01-09 10:40:02] Production.INFO: ==26857== Releasing lock...
[2025-01-09 10:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:40:02] Production.INFO: ==26862== Lock acquired, processing the job...
[2025-01-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:40:02] Production.INFO: ==26862== Releasing lock...
[2025-01-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:40:02] Production.INFO: ==26860== Lock acquired, processing the job...
[2025-01-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:40:02] Production.INFO: ==26860== Releasing lock...
[2025-01-09 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:40:03] Production.INFO: ==26864== Lock acquired, processing the job...
[2025-01-09 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 05:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 05:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 05:40:03] Production.INFO: ==26864== Releasing lock...
[2025-01-09 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 05:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 05:40:03] Production.INFO: ==26866== Lock acquired, processing the job...
[2025-01-09 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:40:04] Production.INFO: ==26868== Lock acquired, processing the job...
[2025-01-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:40:04] Production.INFO: ==26876== Lock acquired, processing the job...
[2025-01-09 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 05:40:04] Production.INFO: ==26870== Lock acquired, processing the job...
[2025-01-09 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:40:04] Production.INFO: ==26872== Lock acquired, processing the job...
[2025-01-09 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:40:04] Production.INFO: ==26874== Lock acquired, processing the job...
[2025-01-09 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:40:04] Production.INFO: ==26868== Releasing lock...
[2025-01-09 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:40:04] Production.INFO: ==26878== Lock acquired, processing the job...
[2025-01-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:40:04] Production.INFO: Account Balance Start.
[2025-01-09 05:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:40:04] Production.INFO: 117
[2025-01-09 05:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:40:04] Production.ERROR: done
[2025-01-09 05:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:40:04] Production.INFO: Total Charge 0
[2025-01-09 05:40:04] Production.INFO: CreateAllLog End
[2025-01-09 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207495', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 05:40:04] Production.INFO: count ==21
[2025-01-09 05:40:04] Production.ERROR: done
[2025-01-09 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:40:04] Production.INFO: count ==21
[2025-01-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207496') start
[2025-01-09 05:40:04] Production.ERROR: done
[2025-01-09 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207496') end
[2025-01-09 05:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:40:04] Production.INFO: 1
[2025-01-09 05:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:40:04] Production.INFO: ==26878== Releasing lock...
[2025-01-09 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:40:05] Production.INFO: Account Balance End.
[2025-01-09 05:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 05:40:05] Production.INFO: ==26872== Releasing lock...
[2025-01-09 05:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:40:05
[end_date_ymd] => 2025-01-09 05:40:05
[RateCDR] => 1
)
[2025-01-09 05:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:40:05' and `end` < '2025-01-09 05:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207495', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 05:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 05:40:09] Production.INFO: ProcessCDR(1,14207495,1,1,2)
[2025-01-09 05:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207495,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207495,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:40:09] Production.INFO: ==26876== Releasing lock...
[2025-01-09 05:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 05:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:40:12] Production.ERROR: CronJobId end10
[2025-01-09 05:40:12] Production.INFO: ==26870== Releasing lock...
[2025-01-09 05:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:40:14] Production.INFO: call_cost start
[2025-01-09 05:40:14] Production.INFO: call_cost end
[2025-01-09 05:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:40:15] Production.INFO: ==26866== Releasing lock...
[2025-01-09 05:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:40:18] Production.INFO: count ==103
[2025-01-09 05:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:40:05 - End Time 2025-01-09 05:40:05
[2025-01-09 05:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207497', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207497', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207497', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207497', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:40:18] Production.INFO: ProcessCDR(1,14207497,1,1,2)
[2025-01-09 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207497', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207497', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:40:21] Production.INFO: ==26874== Releasing lock...
[2025-01-09 05:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:40:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:41:01] Production.INFO: ==26933== Lock acquired, processing the job...
[2025-01-09 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:41:01] Production.INFO: neon service started
[2025-01-09 10:41:01] Production.INFO: neon service started
[2025-01-09 10:41:01] Production.INFO: ==26933== Releasing lock...
[2025-01-09 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:41:01] Production.INFO: ==26935== Lock acquired, processing the job...
[2025-01-09 05:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:41:02] Production.INFO: ==26937== Lock acquired, processing the job...
[2025-01-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:41:02] Production.INFO: ==26935== Releasing lock...
[2025-01-09 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:41:02] Production.INFO: ==26937== Releasing lock...
[2025-01-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:41:02] Production.INFO: ==26949== Lock acquired, processing the job...
[2025-01-09 05:41:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:41:03] Production.INFO: count ==21
[2025-01-09 05:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:41:03] Production.INFO: ==26939== Lock acquired, processing the job...
[2025-01-09 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:41:03] Production.INFO: count ==21
[2025-01-09 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207498') start
[2025-01-09 05:41:03] Production.INFO: ==26947== Lock acquired, processing the job...
[2025-01-09 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:41:03] Production.INFO: ==26941== Lock acquired, processing the job...
[2025-01-09 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207498') end
[2025-01-09 05:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:41:03] Production.INFO: 1
[2025-01-09 05:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:41:03] Production.INFO: ==26943== Lock acquired, processing the job...
[2025-01-09 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:41:03] Production.INFO: ==26949== Releasing lock...
[2025-01-09 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:41:03] Production.INFO: ==26945== Lock acquired, processing the job...
[2025-01-09 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:41:03] Production.INFO: Account Balance Start.
[2025-01-09 05:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:41:03] Production.INFO: 117
[2025-01-09 05:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:41:03] Production.INFO: ==26941== Releasing lock...
[2025-01-09 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:41:03] Production.ERROR: done
[2025-01-09 05:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:41:03] Production.INFO: Total Charge 0
[2025-01-09 05:41:03] Production.INFO: CreateAllLog End
[2025-01-09 05:41:03] Production.ERROR: done
[2025-01-09 05:41:03] Production.INFO: Account Balance End.
[2025-01-09 05:41:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:41:03] Production.INFO: ==26945== Releasing lock...
[2025-01-09 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:41:04
[end_date_ymd] => 2025-01-09 05:41:04
[RateCDR] => 1
)
[2025-01-09 05:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:41:04' and `end` < '2025-01-09 05:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:41:11] Production.ERROR: CronJobId end10
[2025-01-09 05:41:11] Production.INFO: ==26943== Releasing lock...
[2025-01-09 05:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:41:12] Production.INFO: call_cost start
[2025-01-09 05:41:12] Production.INFO: call_cost end
[2025-01-09 05:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:41:13] Production.INFO: ==26939== Releasing lock...
[2025-01-09 05:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:41:17] Production.INFO: count ==103
[2025-01-09 05:41:17] Production.ERROR: pbx CDR StartTime 2025-01-09 02:41:04 - End Time 2025-01-09 05:41:04
[2025-01-09 05:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207502', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207502', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207502', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207502', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:41:17] Production.INFO: ProcessCDR(1,14207502,1,1,2)
[2025-01-09 05:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207502', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207502', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:41:21] Production.INFO: ==26947== Releasing lock...
[2025-01-09 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:42:01] Production.INFO: ==27008== Lock acquired, processing the job...
[2025-01-09 10:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:42:02] Production.INFO: neon service started
[2025-01-09 10:42:02] Production.INFO: neon service started
[2025-01-09 10:42:02] Production.INFO: ==27008== Releasing lock...
[2025-01-09 10:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:42:02] Production.INFO: ==27012== Lock acquired, processing the job...
[2025-01-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:42:02] Production.INFO: ==27010== Lock acquired, processing the job...
[2025-01-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:42:02] Production.INFO: ==27012== Releasing lock...
[2025-01-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:42:02] Production.INFO: ==27010== Releasing lock...
[2025-01-09 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:42:03] Production.INFO: ==27015== Lock acquired, processing the job...
[2025-01-09 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:42:03] Production.INFO: ==27017== Lock acquired, processing the job...
[2025-01-09 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:42:03] Production.INFO: ==27021== Lock acquired, processing the job...
[2025-01-09 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:42:03] Production.INFO: Account Balance Start.
[2025-01-09 05:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:42:03] Production.INFO: 117
[2025-01-09 05:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:42:03] Production.INFO: ==27019== Lock acquired, processing the job...
[2025-01-09 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:42:03] Production.INFO: Total Charge 0
[2025-01-09 05:42:03] Production.INFO: CreateAllLog End
[2025-01-09 05:42:03] Production.INFO: ==27023== Lock acquired, processing the job...
[2025-01-09 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:42:04] Production.INFO: Account Balance End.
[2025-01-09 05:42:04] Production.INFO: ==27017== Releasing lock...
[2025-01-09 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:42:04] Production.INFO: ==27025== Lock acquired, processing the job...
[2025-01-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:42:04] Production.INFO: ==27021== Releasing lock...
[2025-01-09 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:42:04] Production.ERROR: done
[2025-01-09 05:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:42:04] Production.INFO: count ==21
[2025-01-09 05:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:42:04] Production.INFO: count ==21
[2025-01-09 05:42:04] Production.ERROR: done
[2025-01-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207506') start
[2025-01-09 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207506') end
[2025-01-09 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:42:04] Production.INFO: 1
[2025-01-09 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:42:04] Production.INFO: ==27025== Releasing lock...
[2025-01-09 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:42:05
[end_date_ymd] => 2025-01-09 05:42:05
[RateCDR] => 1
)
[2025-01-09 05:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:42:05' and `end` < '2025-01-09 05:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:42:12] Production.ERROR: CronJobId end10
[2025-01-09 05:42:12] Production.INFO: ==27019== Releasing lock...
[2025-01-09 05:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:42:14] Production.INFO: call_cost start
[2025-01-09 05:42:14] Production.INFO: call_cost end
[2025-01-09 05:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:42:15] Production.INFO: ==27015== Releasing lock...
[2025-01-09 05:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:42:18] Production.INFO: count ==103
[2025-01-09 05:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:42:05 - End Time 2025-01-09 05:42:05
[2025-01-09 05:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207507', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207507', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207507', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207507', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:42:18] Production.INFO: ProcessCDR(1,14207507,1,1,2)
[2025-01-09 05:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207507', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207507', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:42:21] Production.INFO: ==27023== Releasing lock...
[2025-01-09 05:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:43:01] Production.INFO: ==27078== Lock acquired, processing the job...
[2025-01-09 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:43:01] Production.INFO: neon service started
[2025-01-09 10:43:01] Production.INFO: neon service started
[2025-01-09 10:43:01] Production.INFO: ==27078== Releasing lock...
[2025-01-09 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:43:01] Production.INFO: ==27080== Lock acquired, processing the job...
[2025-01-09 05:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:43:02] Production.INFO: ==27080== Releasing lock...
[2025-01-09 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:43:02] Production.INFO: ==27082== Lock acquired, processing the job...
[2025-01-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:43:02] Production.INFO: ==27082== Releasing lock...
[2025-01-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:43:02] Production.INFO: ==27091== Lock acquired, processing the job...
[2025-01-09 05:43:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:43:02] Production.INFO: ==27085== Lock acquired, processing the job...
[2025-01-09 05:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:43:03] Production.INFO: ==27087== Lock acquired, processing the job...
[2025-01-09 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:43:03] Production.INFO: Account Balance Start.
[2025-01-09 05:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:43:03] Production.INFO: 117
[2025-01-09 05:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:43:03] Production.INFO: ==27095== Lock acquired, processing the job...
[2025-01-09 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:43:03] Production.INFO: ==27089== Lock acquired, processing the job...
[2025-01-09 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:43:03] Production.INFO: Total Charge 0
[2025-01-09 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:43:03] Production.INFO: ==27093== Lock acquired, processing the job...
[2025-01-09 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:43:03] Production.INFO: CreateAllLog End
[2025-01-09 05:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:43:03] Production.INFO: count ==21
[2025-01-09 05:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:43:03] Production.INFO: count ==21
[2025-01-09 05:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207511') start
[2025-01-09 05:43:03] Production.INFO: ==27087== Releasing lock...
[2025-01-09 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:43:03] Production.INFO: Account Balance End.
[2025-01-09 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207511') end
[2025-01-09 05:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:43:03] Production.INFO: 1
[2025-01-09 05:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:43:03] Production.INFO: ==27091== Releasing lock...
[2025-01-09 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:43:03] Production.INFO: ==27095== Releasing lock...
[2025-01-09 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:43:03] Production.ERROR: done
[2025-01-09 05:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:43:03] Production.ERROR: done
[2025-01-09 05:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:43:04
[end_date_ymd] => 2025-01-09 05:43:04
[RateCDR] => 1
)
[2025-01-09 05:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:43:04' and `end` < '2025-01-09 05:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:43:10] Production.ERROR: CronJobId end10
[2025-01-09 05:43:10] Production.INFO: ==27089== Releasing lock...
[2025-01-09 05:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:43:12] Production.INFO: call_cost start
[2025-01-09 05:43:12] Production.INFO: call_cost end
[2025-01-09 05:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:43:13] Production.INFO: ==27085== Releasing lock...
[2025-01-09 05:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:43:18] Production.INFO: count ==97
[2025-01-09 05:43:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:43:04 - End Time 2025-01-09 05:43:04
[2025-01-09 05:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207512', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207512', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207512', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207512', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:43:18] Production.INFO: ProcessCDR(1,14207512,1,1,2)
[2025-01-09 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207512', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207512', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:43:21] Production.INFO: ==27093== Releasing lock...
[2025-01-09 05:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:43:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:44:01] Production.INFO: ==27153== Lock acquired, processing the job...
[2025-01-09 10:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:44:01] Production.INFO: neon service started
[2025-01-09 10:44:01] Production.INFO: neon service started
[2025-01-09 10:44:01] Production.INFO: ==27153== Releasing lock...
[2025-01-09 10:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:44:02] Production.INFO: ==27157== Lock acquired, processing the job...
[2025-01-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:44:02] Production.INFO: ==27157== Releasing lock...
[2025-01-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:44:02] Production.INFO: ==27155== Lock acquired, processing the job...
[2025-01-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:44:02] Production.INFO: ==27155== Releasing lock...
[2025-01-09 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:44:03] Production.INFO: ==27159== Lock acquired, processing the job...
[2025-01-09 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:44:03] Production.INFO: ==27161== Lock acquired, processing the job...
[2025-01-09 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:44:03] Production.INFO: ==27167== Lock acquired, processing the job...
[2025-01-09 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:44:03] Production.INFO: ==27163== Lock acquired, processing the job...
[2025-01-09 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:44:03] Production.INFO: ==27165== Lock acquired, processing the job...
[2025-01-09 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:44:03] Production.INFO: ==27169== Lock acquired, processing the job...
[2025-01-09 05:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:44:03] Production.INFO: ==27161== Releasing lock...
[2025-01-09 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:44:03] Production.INFO: Account Balance Start.
[2025-01-09 05:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:44:03] Production.INFO: 117
[2025-01-09 05:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:44:03] Production.ERROR: done
[2025-01-09 05:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:44:04] Production.INFO: count ==21
[2025-01-09 05:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:44:04] Production.INFO: count ==21
[2025-01-09 05:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207516') start
[2025-01-09 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:44:04] Production.INFO: Total Charge 0
[2025-01-09 05:44:04] Production.INFO: CreateAllLog End
[2025-01-09 05:44:04] Production.ERROR: done
[2025-01-09 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207516') end
[2025-01-09 05:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:44:04] Production.INFO: 1
[2025-01-09 05:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:44:04] Production.INFO: ==27169== Releasing lock...
[2025-01-09 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:44:04] Production.INFO: Account Balance End.
[2025-01-09 05:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:44:04] Production.INFO: ==27165== Releasing lock...
[2025-01-09 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:44:05
[end_date_ymd] => 2025-01-09 05:44:05
[RateCDR] => 1
)
[2025-01-09 05:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:44:05' and `end` < '2025-01-09 05:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:44:11] Production.ERROR: CronJobId end10
[2025-01-09 05:44:11] Production.INFO: ==27163== Releasing lock...
[2025-01-09 05:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:44:12] Production.INFO: call_cost start
[2025-01-09 05:44:12] Production.INFO: call_cost end
[2025-01-09 05:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:44:13] Production.INFO: ==27159== Releasing lock...
[2025-01-09 05:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:44:18] Production.INFO: count ==97
[2025-01-09 05:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:44:05 - End Time 2025-01-09 05:44:05
[2025-01-09 05:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207517', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207517', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207517', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207517', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:44:18] Production.INFO: ProcessCDR(1,14207517,1,1,2)
[2025-01-09 05:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207517', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207517', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:44:21] Production.INFO: ==27167== Releasing lock...
[2025-01-09 05:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:45:02] Production.INFO: ==27225== Lock acquired, processing the job...
[2025-01-09 10:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:45:02] Production.INFO: neon service started
[2025-01-09 10:45:02] Production.INFO: neon service started
[2025-01-09 10:45:02] Production.INFO: ==27225== Releasing lock...
[2025-01-09 10:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:45:02] Production.INFO: ==27227== Lock acquired, processing the job...
[2025-01-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:45:02] Production.INFO: ==27227== Releasing lock...
[2025-01-09 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:45:03] Production.INFO: ==27229== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:45:03] Production.INFO: ==27229== Releasing lock...
[2025-01-09 10:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:45:03] Production.INFO: ==27233== Lock acquired, processing the job...
[2025-01-09 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:45:03] Production.INFO: ==27241== Lock acquired, processing the job...
[2025-01-09 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:45:03] Production.INFO: ==27231== Lock acquired, processing the job...
[2025-01-09 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:45:04] Production.INFO: ==27235== Lock acquired, processing the job...
[2025-01-09 05:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:45:04] Production.INFO: ==27237== Lock acquired, processing the job...
[2025-01-09 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 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-01-09 05:45:04] Production.INFO: ==27239== Lock acquired, processing the job...
[2025-01-09 05:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:45:04] Production.INFO: count ==21
[2025-01-09 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-01-09 05:45:04] Production.INFO: Account Balance Start.
[2025-01-09 05:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:45:04] Production.INFO: count ==21
[2025-01-09 05:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207518') start
[2025-01-09 05:45:04] Production.INFO: 117
[2025-01-09 05:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:45:04] Production.INFO: ==27233== Releasing lock...
[2025-01-09 05:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207518') end
[2025-01-09 05:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:45:04] Production.INFO: 1
[2025-01-09 05:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:45:04] Production.INFO: ==27241== Releasing lock...
[2025-01-09 05:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:45:04] Production.INFO: Total Charge 0
[2025-01-09 05:45:04] Production.INFO: CreateAllLog End
[2025-01-09 05:45:04] Production.ERROR: done
[2025-01-09 05:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:45:04] Production.ERROR: done
[2025-01-09 05:45:04] Production.INFO: Account Balance End.
[2025-01-09 05:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:45:04] Production.INFO: ==27237== Releasing lock...
[2025-01-09 05:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:45:05
[end_date_ymd] => 2025-01-09 05:45:05
[RateCDR] => 1
)
[2025-01-09 05:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:45:05' and `end` < '2025-01-09 05:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:45:11] Production.ERROR: CronJobId end10
[2025-01-09 05:45:11] Production.INFO: ==27235== Releasing lock...
[2025-01-09 05:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:45:14] Production.INFO: call_cost start
[2025-01-09 05:45:14] Production.INFO: call_cost end
[2025-01-09 05:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:45:15] Production.INFO: ==27231== Releasing lock...
[2025-01-09 05:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:45:18] Production.INFO: count ==96
[2025-01-09 05:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:45:05 - End Time 2025-01-09 05:45:05
[2025-01-09 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207522', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207522', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207522', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207522', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:45:18] Production.INFO: ProcessCDR(1,14207522,1,1,2)
[2025-01-09 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207522', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207522', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:45:21] Production.INFO: ==27239== Releasing lock...
[2025-01-09 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:45:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:46:01] Production.INFO: ==27295== Lock acquired, processing the job...
[2025-01-09 10:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:46:01] Production.INFO: neon service started
[2025-01-09 10:46:01] Production.INFO: neon service started
[2025-01-09 10:46:01] Production.INFO: ==27295== Releasing lock...
[2025-01-09 10:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:46:02] Production.INFO: ==27297== Lock acquired, processing the job...
[2025-01-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:46:02] Production.INFO: ==27297== Releasing lock...
[2025-01-09 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:46:02] Production.INFO: ==27299== Lock acquired, processing the job...
[2025-01-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:46:02] Production.INFO: ==27299== Releasing lock...
[2025-01-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:46:03] Production.INFO: ==27303== Lock acquired, processing the job...
[2025-01-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:46:03] Production.INFO: ==27311== Lock acquired, processing the job...
[2025-01-09 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:46:03] Production.INFO: ==27303== Releasing lock...
[2025-01-09 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:46:03] Production.INFO: ==27305== Lock acquired, processing the job...
[2025-01-09 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:46:03] Production.INFO: ==27301== Lock acquired, processing the job...
[2025-01-09 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:46:03] Production.INFO: ==27307== Lock acquired, processing the job...
[2025-01-09 05:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:46:03] Production.INFO: ==27309== Lock acquired, processing the job...
[2025-01-09 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:46:03] Production.INFO: count ==21
[2025-01-09 05:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:46:03] Production.INFO: count ==21
[2025-01-09 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207524') start
[2025-01-09 05:46:03] Production.INFO: Account Balance Start.
[2025-01-09 05:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:46:03] Production.INFO: 117
[2025-01-09 05:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207524') end
[2025-01-09 05:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:46:03] Production.INFO: 1
[2025-01-09 05:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:46:03] Production.INFO: ==27311== Releasing lock...
[2025-01-09 05:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:46:04] Production.ERROR: done
[2025-01-09 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:46:04] Production.INFO: Total Charge 0
[2025-01-09 05:46:04] Production.INFO: CreateAllLog End
[2025-01-09 05:46:04] Production.ERROR: done
[2025-01-09 05:46:04] Production.INFO: Account Balance End.
[2025-01-09 05:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:46:04] Production.INFO: ==27307== Releasing lock...
[2025-01-09 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:46:05
[end_date_ymd] => 2025-01-09 05:46:05
[RateCDR] => 1
)
[2025-01-09 05:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:46:05' and `end` < '2025-01-09 05:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:46:11] Production.ERROR: CronJobId end10
[2025-01-09 05:46:11] Production.INFO: ==27305== Releasing lock...
[2025-01-09 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:46:13] Production.INFO: call_cost start
[2025-01-09 05:46:13] Production.INFO: call_cost end
[2025-01-09 05:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:46:14] Production.INFO: ==27301== Releasing lock...
[2025-01-09 05:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:46:18] Production.INFO: count ==96
[2025-01-09 05:46:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:46:05 - End Time 2025-01-09 05:46:05
[2025-01-09 05:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207527', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207527', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207527', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207527', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:46:18] Production.INFO: ProcessCDR(1,14207527,1,1,2)
[2025-01-09 05:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207527', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207527', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:46:21] Production.INFO: ==27309== Releasing lock...
[2025-01-09 05:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:46:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:47:02] Production.INFO: ==27407== Lock acquired, processing the job...
[2025-01-09 10:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:47:02] Production.INFO: neon service started
[2025-01-09 10:47:02] Production.INFO: neon service started
[2025-01-09 10:47:02] Production.INFO: ==27407== Releasing lock...
[2025-01-09 10:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:47:02] Production.INFO: ==27409== Lock acquired, processing the job...
[2025-01-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:47:02] Production.INFO: ==27409== Releasing lock...
[2025-01-09 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:47:03] Production.INFO: ==27411== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:47:03] Production.INFO: ==27411== Releasing lock...
[2025-01-09 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:47:03] Production.INFO: ==27421== Lock acquired, processing the job...
[2025-01-09 05:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:47:03] Production.INFO: ==27423== Lock acquired, processing the job...
[2025-01-09 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:47:04] Production.INFO: ==27413== Lock acquired, processing the job...
[2025-01-09 05:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:47:04] Production.INFO: ==27415== Lock acquired, processing the job...
[2025-01-09 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:47:04] Production.INFO: count ==21
[2025-01-09 05:47:04] Production.INFO: ==27417== Lock acquired, processing the job...
[2025-01-09 05:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:47:04] Production.INFO: count ==21
[2025-01-09 05:47:04] Production.INFO: ==27419== Lock acquired, processing the job...
[2025-01-09 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207528') start
[2025-01-09 05:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207528') end
[2025-01-09 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:47:04] Production.INFO: 1
[2025-01-09 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:47:04] Production.INFO: ==27423== Releasing lock...
[2025-01-09 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:47:04] Production.ERROR: done
[2025-01-09 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:47:04] Production.INFO: Account Balance Start.
[2025-01-09 05:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:47:04] Production.INFO: 117
[2025-01-09 05:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:47:04] Production.INFO: Total Charge 0
[2025-01-09 05:47:04] Production.INFO: CreateAllLog End
[2025-01-09 05:47:04] Production.INFO: ==27415== Releasing lock...
[2025-01-09 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:47:04] Production.ERROR: done
[2025-01-09 05:47:04] Production.INFO: Account Balance End.
[2025-01-09 05:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:47:04] Production.INFO: ==27419== Releasing lock...
[2025-01-09 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:47:05
[end_date_ymd] => 2025-01-09 05:47:05
[RateCDR] => 1
)
[2025-01-09 05:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:47:05' and `end` < '2025-01-09 05:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:47:11] Production.ERROR: CronJobId end10
[2025-01-09 05:47:11] Production.INFO: ==27417== Releasing lock...
[2025-01-09 05:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:47:14] Production.INFO: call_cost start
[2025-01-09 05:47:14] Production.INFO: call_cost end
[2025-01-09 05:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:47:15] Production.INFO: ==27413== Releasing lock...
[2025-01-09 05:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:47:19] Production.INFO: count ==96
[2025-01-09 05:47:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:47:05 - End Time 2025-01-09 05:47:05
[2025-01-09 05:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207532', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207532', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207532', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207532', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:47:19] Production.INFO: ProcessCDR(1,14207532,1,1,2)
[2025-01-09 05:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207532', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207532', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:47:22] Production.INFO: ==27421== Releasing lock...
[2025-01-09 05:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:47:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:48:01] Production.INFO: ==27477== Lock acquired, processing the job...
[2025-01-09 10:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:48:01] Production.INFO: neon service started
[2025-01-09 10:48:01] Production.INFO: neon service started
[2025-01-09 10:48:01] Production.INFO: ==27477== Releasing lock...
[2025-01-09 10:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:48:02] Production.INFO: ==27481== Lock acquired, processing the job...
[2025-01-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:48:02] Production.INFO: ==27481== Releasing lock...
[2025-01-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:48:02] Production.INFO: ==27479== Lock acquired, processing the job...
[2025-01-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:48:02] Production.INFO: ==27479== Releasing lock...
[2025-01-09 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:48:03] Production.INFO: ==27486== Lock acquired, processing the job...
[2025-01-09 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:48:03] Production.INFO: ==27490== Lock acquired, processing the job...
[2025-01-09 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:48:03] Production.INFO: ==27484== Lock acquired, processing the job...
[2025-01-09 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:48:03] Production.INFO: Account Balance Start.
[2025-01-09 05:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:48:03] Production.INFO: 117
[2025-01-09 05:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:48:03] Production.INFO: Total Charge 0
[2025-01-09 05:48:03] Production.INFO: ==27488== Lock acquired, processing the job...
[2025-01-09 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:48:03] Production.INFO: CreateAllLog End
[2025-01-09 05:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:48:03] Production.INFO: ==27492== Lock acquired, processing the job...
[2025-01-09 05:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:48:03] Production.INFO: Account Balance End.
[2025-01-09 05:48:03] Production.INFO: ==27486== Releasing lock...
[2025-01-09 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:48:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:48:03] Production.INFO: ==27490== Releasing lock...
[2025-01-09 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:48:03] Production.INFO: ==27494== Lock acquired, processing the job...
[2025-01-09 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:48:04] Production.INFO: count ==21
[2025-01-09 05:48:04] Production.ERROR: done
[2025-01-09 05:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:48:04] Production.INFO: count ==21
[2025-01-09 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207536') start
[2025-01-09 05:48:04] Production.ERROR: done
[2025-01-09 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207536') end
[2025-01-09 05:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:48:04] Production.INFO: 1
[2025-01-09 05:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:48:04] Production.INFO: ==27494== Releasing lock...
[2025-01-09 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:48:05
[end_date_ymd] => 2025-01-09 05:48:05
[RateCDR] => 1
)
[2025-01-09 05:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:48:05' and `end` < '2025-01-09 05:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:48:11] Production.ERROR: CronJobId end10
[2025-01-09 05:48:11] Production.INFO: ==27488== Releasing lock...
[2025-01-09 05:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:48:13] Production.INFO: call_cost start
[2025-01-09 05:48:13] Production.INFO: call_cost end
[2025-01-09 05:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:48:13] Production.INFO: ==27484== Releasing lock...
[2025-01-09 05:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:48:18] Production.INFO: count ==96
[2025-01-09 05:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:48:05 - End Time 2025-01-09 05:48:05
[2025-01-09 05:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207537', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207537', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207537', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207537', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:48:18] Production.INFO: ProcessCDR(1,14207537,1,1,2)
[2025-01-09 05:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207537', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207537', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:48:21] Production.INFO: ==27492== Releasing lock...
[2025-01-09 05:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:48:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:49:02] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-01-09 10:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:49:02] Production.INFO: neon service started
[2025-01-09 10:49:02] Production.INFO: neon service started
[2025-01-09 10:49:02] Production.INFO: ==27554== Releasing lock...
[2025-01-09 10:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:49:02] Production.INFO: ==27556== Lock acquired, processing the job...
[2025-01-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:49:02] Production.INFO: ==27556== Releasing lock...
[2025-01-09 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:49:02] Production.INFO: ==27558== Lock acquired, processing the job...
[2025-01-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:49:02] Production.INFO: ==27558== Releasing lock...
[2025-01-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:49:03] Production.INFO: ==27561== Lock acquired, processing the job...
[2025-01-09 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:49:03] Production.INFO: ==27563== Lock acquired, processing the job...
[2025-01-09 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:49:03] Production.INFO: ==27569== Lock acquired, processing the job...
[2025-01-09 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:49:03] Production.INFO: ==27567== Lock acquired, processing the job...
[2025-01-09 05:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:49:03] Production.INFO: ==27565== Lock acquired, processing the job...
[2025-01-09 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:49:03] Production.INFO: ==27563== Releasing lock...
[2025-01-09 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:49:03] Production.INFO: Account Balance Start.
[2025-01-09 05:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:49:03] Production.INFO: 117
[2025-01-09 05:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:49:03] Production.INFO: ==27571== Lock acquired, processing the job...
[2025-01-09 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:49:04] Production.INFO: Total Charge 0
[2025-01-09 05:49:04] Production.INFO: CreateAllLog End
[2025-01-09 05:49:04] Production.ERROR: done
[2025-01-09 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:49:04] Production.INFO: Account Balance End.
[2025-01-09 05:49:04] Production.ERROR: done
[2025-01-09 05:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:49:04] Production.INFO: ==27567== Releasing lock...
[2025-01-09 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:49:04] Production.INFO: count ==21
[2025-01-09 05:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:49:04] Production.INFO: count ==21
[2025-01-09 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207541') start
[2025-01-09 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207541') end
[2025-01-09 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:49:04] Production.INFO: 1
[2025-01-09 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:49:04] Production.INFO: ==27571== Releasing lock...
[2025-01-09 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:49:05
[end_date_ymd] => 2025-01-09 05:49:05
[RateCDR] => 1
)
[2025-01-09 05:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:49:05' and `end` < '2025-01-09 05:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:49:12] Production.ERROR: CronJobId end10
[2025-01-09 05:49:12] Production.INFO: ==27565== Releasing lock...
[2025-01-09 05:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:49:14] Production.INFO: call_cost start
[2025-01-09 05:49:14] Production.INFO: call_cost end
[2025-01-09 05:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:49:15] Production.INFO: ==27561== Releasing lock...
[2025-01-09 05:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:49:19] Production.INFO: count ==96
[2025-01-09 05:49:19] Production.ERROR: pbx CDR StartTime 2025-01-09 02:49:05 - End Time 2025-01-09 05:49:05
[2025-01-09 05:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207542', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207542', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207542', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207542', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:49:19] Production.INFO: ProcessCDR(1,14207542,1,1,2)
[2025-01-09 05:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207542', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207542', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:49:22] Production.INFO: ==27569== Releasing lock...
[2025-01-09 05:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:49:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:50:01] Production.INFO: ==27626== Lock acquired, processing the job...
[2025-01-09 10:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:50:01] Production.INFO: neon service started
[2025-01-09 10:50:01] Production.INFO: neon service started
[2025-01-09 10:50:01] Production.INFO: ==27626== Releasing lock...
[2025-01-09 10:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:50:01] Production.INFO: ==27628== Lock acquired, processing the job...
[2025-01-09 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:50:02] Production.INFO: ==27630== Lock acquired, processing the job...
[2025-01-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 05:50:02] Production.INFO: ==27628== Releasing lock...
[2025-01-09 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:50:02] Production.INFO: ==27630== Releasing lock...
[2025-01-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:50:03] Production.INFO: ==27633== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 05:50:03] Production.INFO: ==27635== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 05:50:03] Production.ERROR: CronJob PID - 27635
[2025-01-09 05:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 05:50:03] Production.ERROR: CronJob ID - 5
[2025-01-09 05:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 05:50:00
[2025-01-09 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 05:50:03] Production.INFO: ==27633== Releasing lock...
[2025-01-09 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 05:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:50:03] Production.INFO: ==27639== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:50:03] Production.INFO: ==27647== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:50:03] Production.INFO: ==27637== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:50:03] Production.INFO: count ==21
[2025-01-09 05:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:50:03] Production.INFO: count ==21
[2025-01-09 05:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207544') start
[2025-01-09 05:50:03] Production.INFO: ==27641== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207544') end
[2025-01-09 05:50:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:50:03] Production.INFO: 1
[2025-01-09 05:50:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:50:03] Production.INFO: ==27645== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 05:50:03] Production.INFO: ==27643== Lock acquired, processing the job...
[2025-01-09 05:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:50:03] Production.INFO: ==27647== Releasing lock...
[2025-01-09 05:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:50:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:50:03] Production.INFO: Account Balance Start.
[2025-01-09 05:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:50:03] Production.INFO: 117
[2025-01-09 05:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:50:03] Production.INFO: ==27637== Releasing lock...
[2025-01-09 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:50:04] Production.INFO: Total Charge 0
[2025-01-09 05:50:04] Production.INFO: CreateAllLog End
[2025-01-09 05:50:04] Production.ERROR: done
[2025-01-09 05:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:50:04] Production.ERROR: done
[2025-01-09 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207547', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 05:50:04] Production.ERROR: done
[2025-01-09 05:50:04] Production.INFO: Account Balance End.
[2025-01-09 05:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:50:04] Production.INFO: ==27641== Releasing lock...
[2025-01-09 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:50:05
[end_date_ymd] => 2025-01-09 05:50:05
[RateCDR] => 1
)
[2025-01-09 05:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:50:05' and `end` < '2025-01-09 05:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207547', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 05:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 05:50:09] Production.INFO: ProcessCDR(1,14207547,1,1,2)
[2025-01-09 05:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207547,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207547,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:50:09] Production.INFO: ==27645== Releasing lock...
[2025-01-09 05:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 05:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 05:50:12] Production.ERROR: CronJobId end10
[2025-01-09 05:50:12] Production.INFO: ==27639== Releasing lock...
[2025-01-09 05:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:50:14] Production.INFO: call_cost start
[2025-01-09 05:50:14] Production.INFO: call_cost end
[2025-01-09 05:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:50:15] Production.INFO: ==27635== Releasing lock...
[2025-01-09 05:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:50:18] Production.INFO: count ==90
[2025-01-09 05:50:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:50:05 - End Time 2025-01-09 05:50:05
[2025-01-09 05:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207548', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207548', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207548', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207548', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:50:18] Production.INFO: ProcessCDR(1,14207548,1,1,2)
[2025-01-09 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207548', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207548', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:50:21] Production.INFO: ==27643== Releasing lock...
[2025-01-09 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:51:01] Production.INFO: ==27701== Lock acquired, processing the job...
[2025-01-09 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:51:01] Production.INFO: neon service started
[2025-01-09 10:51:01] Production.INFO: neon service started
[2025-01-09 10:51:01] Production.INFO: ==27701== Releasing lock...
[2025-01-09 10:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:51:02] Production.INFO: ==27703== Lock acquired, processing the job...
[2025-01-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:51:02] Production.INFO: ==27703== Releasing lock...
[2025-01-09 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:51:02] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-01-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:51:02] Production.INFO: ==27705== Releasing lock...
[2025-01-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:51:03] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-09 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:51:03] Production.INFO: ==27717== Lock acquired, processing the job...
[2025-01-09 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:51:03] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-01-09 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:51:03] Production.INFO: count ==21
[2025-01-09 05:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:51:03] Production.INFO: count ==21
[2025-01-09 05:51:03] Production.INFO: ==27711== Lock acquired, processing the job...
[2025-01-09 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:51:03] Production.INFO: ==27709== Releasing lock...
[2025-01-09 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207550') start
[2025-01-09 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:51:03] Production.INFO: ==27713== Lock acquired, processing the job...
[2025-01-09 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:51:03] Production.INFO: ==27715== Lock acquired, processing the job...
[2025-01-09 05:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207550') end
[2025-01-09 05:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:51:03] Production.INFO: 1
[2025-01-09 05:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:51:03] Production.INFO: ==27717== Releasing lock...
[2025-01-09 05:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:51:03] Production.INFO: Account Balance Start.
[2025-01-09 05:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:51:03] Production.INFO: 117
[2025-01-09 05:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:51:04] Production.INFO: Total Charge 0
[2025-01-09 05:51:04] Production.INFO: CreateAllLog End
[2025-01-09 05:51:04] Production.ERROR: done
[2025-01-09 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:51:04] Production.INFO: Account Balance End.
[2025-01-09 05:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:51:04] Production.INFO: ==27713== Releasing lock...
[2025-01-09 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:51:04] Production.ERROR: done
[2025-01-09 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:51:05
[end_date_ymd] => 2025-01-09 05:51:05
[RateCDR] => 1
)
[2025-01-09 05:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:51:05' and `end` < '2025-01-09 05:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:51:10] Production.ERROR: CronJobId end10
[2025-01-09 05:51:10] Production.INFO: ==27711== Releasing lock...
[2025-01-09 05:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:51:13] Production.INFO: call_cost start
[2025-01-09 05:51:13] Production.INFO: call_cost end
[2025-01-09 05:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:51:13] Production.INFO: ==27707== Releasing lock...
[2025-01-09 05:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:51:18] Production.INFO: count ==84
[2025-01-09 05:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:51:05 - End Time 2025-01-09 05:51:05
[2025-01-09 05:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207553', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207553', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207553', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207553', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:51:18] Production.INFO: ProcessCDR(1,14207553,1,1,2)
[2025-01-09 05:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207553', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207553', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:51:21] Production.INFO: ==27715== Releasing lock...
[2025-01-09 05:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:51:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:52:02] Production.INFO: ==27772== Lock acquired, processing the job...
[2025-01-09 10:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:52:02] Production.INFO: neon service started
[2025-01-09 10:52:02] Production.INFO: neon service started
[2025-01-09 10:52:02] Production.INFO: ==27772== Releasing lock...
[2025-01-09 10:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:52:02] Production.INFO: ==27776== Lock acquired, processing the job...
[2025-01-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:52:02] Production.INFO: ==27776== Releasing lock...
[2025-01-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:52:03] Production.INFO: ==27774== Lock acquired, processing the job...
[2025-01-09 05:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:52:03] Production.INFO: ==27774== Releasing lock...
[2025-01-09 05:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:52:04] Production.INFO: ==27782== Lock acquired, processing the job...
[2025-01-09 05:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:52:04] Production.INFO: ==27786== Lock acquired, processing the job...
[2025-01-09 05:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:52:04] Production.INFO: ==27778== Lock acquired, processing the job...
[2025-01-09 05:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:52:04] Production.INFO: ==27780== Lock acquired, processing the job...
[2025-01-09 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:52:04] Production.INFO: ==27784== Lock acquired, processing the job...
[2025-01-09 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:52:04] Production.INFO: ==27788== Lock acquired, processing the job...
[2025-01-09 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:52:04] Production.ERROR: done
[2025-01-09 05:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:52:04] Production.INFO: Account Balance Start.
[2025-01-09 05:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:52:04] Production.INFO: 117
[2025-01-09 05:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 05:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:52:04] Production.INFO: count ==21
[2025-01-09 05:52:04] Production.ERROR: done
[2025-01-09 05:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:52:04] Production.INFO: count ==21
[2025-01-09 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207557') start
[2025-01-09 05:52:04] Production.INFO: Total Charge 0
[2025-01-09 05:52:04] Production.INFO: CreateAllLog End
[2025-01-09 05:52:04] Production.INFO: ==27780== Releasing lock...
[2025-01-09 05:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207557') end
[2025-01-09 05:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:52:04] Production.INFO: 1
[2025-01-09 05:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:52:04] Production.INFO: Account Balance End.
[2025-01-09 05:52:04] Production.INFO: ==27788== Releasing lock...
[2025-01-09 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:52:05] Production.ERROR: CronJobId end 12
[2025-01-09 05:52:05] Production.INFO: ==27784== Releasing lock...
[2025-01-09 05:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:52:05
[end_date_ymd] => 2025-01-09 05:52:05
[RateCDR] => 1
)
[2025-01-09 05:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:52:05' and `end` < '2025-01-09 05:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:52:11] Production.ERROR: CronJobId end10
[2025-01-09 05:52:11] Production.INFO: ==27782== Releasing lock...
[2025-01-09 05:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:52:13] Production.INFO: call_cost start
[2025-01-09 05:52:13] Production.INFO: call_cost end
[2025-01-09 05:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:52:14] Production.INFO: ==27778== Releasing lock...
[2025-01-09 05:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:52:18] Production.INFO: count ==84
[2025-01-09 05:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:52:05 - End Time 2025-01-09 05:52:05
[2025-01-09 05:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207558', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207558', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207558', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207558', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:52:18] Production.INFO: ProcessCDR(1,14207558,1,1,2)
[2025-01-09 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207558', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207558', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:52:21] Production.INFO: ==27786== Releasing lock...
[2025-01-09 05:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:52:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:53:02] Production.INFO: ==27842== Lock acquired, processing the job...
[2025-01-09 10:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:53:02] Production.INFO: neon service started
[2025-01-09 10:53:02] Production.INFO: neon service started
[2025-01-09 10:53:02] Production.INFO: ==27842== Releasing lock...
[2025-01-09 10:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:53:02] Production.INFO: ==27846== Lock acquired, processing the job...
[2025-01-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:53:02] Production.INFO: ==27846== Releasing lock...
[2025-01-09 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:53:02] Production.INFO: ==27844== Lock acquired, processing the job...
[2025-01-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:53:02] Production.INFO: ==27844== Releasing lock...
[2025-01-09 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:53:03] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-09 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:53:03] Production.INFO: ==27848== Lock acquired, processing the job...
[2025-01-09 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:53:03] Production.INFO: ==27856== Lock acquired, processing the job...
[2025-01-09 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:53:03] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-09 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:53:03] Production.INFO: ==27854== Lock acquired, processing the job...
[2025-01-09 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:53:03] Production.INFO: ==27859== Lock acquired, processing the job...
[2025-01-09 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:53:04] Production.INFO: Account Balance Start.
[2025-01-09 05:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:53:04] Production.INFO: 117
[2025-01-09 05:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:53:04] Production.INFO: count ==21
[2025-01-09 05:53:04] Production.ERROR: done
[2025-01-09 05:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:53:04] Production.INFO: ==27850== Releasing lock...
[2025-01-09 05:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:53:04] Production.INFO: count ==21
[2025-01-09 05:53:04] Production.INFO: Total Charge 0
[2025-01-09 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207562') start
[2025-01-09 05:53:04] Production.INFO: CreateAllLog End
[2025-01-09 05:53:04] Production.ERROR: done
[2025-01-09 05:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207562') end
[2025-01-09 05:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:53:04] Production.INFO: 1
[2025-01-09 05:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:53:04] Production.INFO: ==27859== Releasing lock...
[2025-01-09 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:53:04] Production.INFO: Account Balance End.
[2025-01-09 05:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:53:04] Production.INFO: ==27854== Releasing lock...
[2025-01-09 05:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:53:05
[end_date_ymd] => 2025-01-09 05:53:05
[RateCDR] => 1
)
[2025-01-09 05:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:53:05' and `end` < '2025-01-09 05:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:53:11] Production.ERROR: CronJobId end10
[2025-01-09 05:53:11] Production.INFO: ==27852== Releasing lock...
[2025-01-09 05:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:53:13] Production.INFO: call_cost start
[2025-01-09 05:53:13] Production.INFO: call_cost end
[2025-01-09 05:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:53:14] Production.INFO: ==27848== Releasing lock...
[2025-01-09 05:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:53:18] Production.INFO: count ==84
[2025-01-09 05:53:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:53:05 - End Time 2025-01-09 05:53:05
[2025-01-09 05:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207563', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207563', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207563', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207563', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:53:18] Production.INFO: ProcessCDR(1,14207563,1,1,2)
[2025-01-09 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207563', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207563', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:53:21] Production.INFO: ==27856== Releasing lock...
[2025-01-09 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:53:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:54:01] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-01-09 10:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:54:01] Production.INFO: neon service started
[2025-01-09 10:54:01] Production.INFO: neon service started
[2025-01-09 10:54:01] Production.INFO: ==27912== Releasing lock...
[2025-01-09 10:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:54:01] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-01-09 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:54:02] Production.INFO: ==27914== Releasing lock...
[2025-01-09 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:54:02] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-01-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:54:02] Production.INFO: ==27916== Releasing lock...
[2025-01-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:54:03] Production.INFO: ==27922== Lock acquired, processing the job...
[2025-01-09 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:54:03] Production.INFO: ==27918== Lock acquired, processing the job...
[2025-01-09 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:54:03] Production.INFO: ==27928== Lock acquired, processing the job...
[2025-01-09 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:54:03] Production.INFO: ==27920== Lock acquired, processing the job...
[2025-01-09 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:54:03] Production.INFO: ==27926== Lock acquired, processing the job...
[2025-01-09 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:54:03] Production.INFO: ==27924== Lock acquired, processing the job...
[2025-01-09 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:54:03] Production.INFO: count ==21
[2025-01-09 05:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:54:03] Production.INFO: count ==21
[2025-01-09 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207566') start
[2025-01-09 05:54:03] Production.INFO: Account Balance Start.
[2025-01-09 05:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:54:03] Production.INFO: 117
[2025-01-09 05:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:54:03] Production.INFO: ==27920== Releasing lock...
[2025-01-09 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207566') end
[2025-01-09 05:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:54:03] Production.INFO: 1
[2025-01-09 05:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:54:03] Production.INFO: Total Charge 0
[2025-01-09 05:54:03] Production.INFO: CreateAllLog End
[2025-01-09 05:54:03] Production.ERROR: done
[2025-01-09 05:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:54:03] Production.INFO: ==27928== Releasing lock...
[2025-01-09 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:54:03] Production.ERROR: done
[2025-01-09 05:54:03] Production.INFO: Account Balance End.
[2025-01-09 05:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:54:04] Production.INFO: ==27924== Releasing lock...
[2025-01-09 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:54:04
[end_date_ymd] => 2025-01-09 05:54:04
[RateCDR] => 1
)
[2025-01-09 05:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:54:04' and `end` < '2025-01-09 05:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:54:10] Production.ERROR: CronJobId end10
[2025-01-09 05:54:10] Production.INFO: ==27922== Releasing lock...
[2025-01-09 05:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:54:13] Production.INFO: call_cost start
[2025-01-09 05:54:13] Production.INFO: call_cost end
[2025-01-09 05:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:54:13] Production.INFO: ==27918== Releasing lock...
[2025-01-09 05:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:54:17] Production.INFO: count ==84
[2025-01-09 05:54:17] Production.ERROR: pbx CDR StartTime 2025-01-09 02:54:04 - End Time 2025-01-09 05:54:04
[2025-01-09 05:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207568', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207568', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207568', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207568', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:54:17] Production.INFO: ProcessCDR(1,14207568,1,1,2)
[2025-01-09 05:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207568', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207568', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:54:20] Production.INFO: ==27926== Releasing lock...
[2025-01-09 05:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:54:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:55:01] Production.INFO: ==27984== Lock acquired, processing the job...
[2025-01-09 10:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:55:01] Production.INFO: neon service started
[2025-01-09 10:55:01] Production.INFO: neon service started
[2025-01-09 10:55:01] Production.INFO: ==27984== Releasing lock...
[2025-01-09 10:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:55:02] Production.INFO: ==27987== Lock acquired, processing the job...
[2025-01-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:55:02] Production.INFO: ==27987== Releasing lock...
[2025-01-09 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:55:02] Production.INFO: ==27989== Lock acquired, processing the job...
[2025-01-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:55:02] Production.INFO: ==27989== Releasing lock...
[2025-01-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:55:03] Production.INFO: ==27997== Lock acquired, processing the job...
[2025-01-09 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:55:03] Production.INFO: Account Balance Start.
[2025-01-09 05:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:55:03] Production.INFO: 117
[2025-01-09 05:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:55:03] Production.INFO: Total Charge 0
[2025-01-09 05:55:03] Production.INFO: CreateAllLog End
[2025-01-09 05:55:03] Production.INFO: ==27991== Lock acquired, processing the job...
[2025-01-09 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:55:03] Production.INFO: Account Balance End.
[2025-01-09 05:55:03] Production.INFO: ==27993== Lock acquired, processing the job...
[2025-01-09 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:55:03] Production.INFO: ==28001== Lock acquired, processing the job...
[2025-01-09 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:55:03] Production.INFO: ==27995== Lock acquired, processing the job...
[2025-01-09 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:55:03] Production.ERROR: CronJobId end 12
[2025-01-09 05:55:03] Production.INFO: ==27997== Releasing lock...
[2025-01-09 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:55:03] Production.INFO: ==27999== Lock acquired, processing the job...
[2025-01-09 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:55:03] Production.INFO: count ==21
[2025-01-09 05:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:55:03] Production.INFO: count ==21
[2025-01-09 05:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207571') start
[2025-01-09 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207571') end
[2025-01-09 05:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:55:03] Production.INFO: 1
[2025-01-09 05:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:55:03] Production.INFO: ==28001== Releasing lock...
[2025-01-09 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:55:03] Production.INFO: ==27993== Releasing lock...
[2025-01-09 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:55:04] Production.ERROR: done
[2025-01-09 05:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:55:04] Production.ERROR: done
[2025-01-09 05:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:55:05
[end_date_ymd] => 2025-01-09 05:55:05
[RateCDR] => 1
)
[2025-01-09 05:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:55:05' and `end` < '2025-01-09 05:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:55:11] Production.ERROR: CronJobId end10
[2025-01-09 05:55:11] Production.INFO: ==27995== Releasing lock...
[2025-01-09 05:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:55:12] Production.INFO: call_cost start
[2025-01-09 05:55:12] Production.INFO: call_cost end
[2025-01-09 05:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:55:13] Production.INFO: ==27991== Releasing lock...
[2025-01-09 05:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:55:18] Production.INFO: count ==84
[2025-01-09 05:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:55:05 - End Time 2025-01-09 05:55:05
[2025-01-09 05:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207573', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207573', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207573', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207573', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:55:18] Production.INFO: ProcessCDR(1,14207573,1,1,2)
[2025-01-09 05:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207573', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207573', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:55:21] Production.INFO: ==27999== Releasing lock...
[2025-01-09 05:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:55:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:56:02] Production.INFO: ==28058== Lock acquired, processing the job...
[2025-01-09 10:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:56:02] Production.INFO: neon service started
[2025-01-09 10:56:02] Production.INFO: neon service started
[2025-01-09 10:56:02] Production.INFO: ==28058== Releasing lock...
[2025-01-09 10:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:56:02] Production.INFO: ==28062== Lock acquired, processing the job...
[2025-01-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:56:02] Production.INFO: ==28062== Releasing lock...
[2025-01-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:56:02] Production.INFO: ==28060== Lock acquired, processing the job...
[2025-01-09 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:56:03] Production.INFO: ==28060== Releasing lock...
[2025-01-09 05:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:56:04] Production.INFO: ==28073== Lock acquired, processing the job...
[2025-01-09 05:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:56:04] Production.INFO: ==28075== Lock acquired, processing the job...
[2025-01-09 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:56:04] Production.INFO: count ==21
[2025-01-09 05:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:56:04] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-01-09 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:56:04] Production.INFO: count ==21
[2025-01-09 05:56:04] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-01-09 05:56:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207574') start
[2025-01-09 05:56:04] Production.INFO: ==28069== Lock acquired, processing the job...
[2025-01-09 05:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:56:04] Production.INFO: ==28071== Lock acquired, processing the job...
[2025-01-09 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:56:04] Production.ERROR: done
[2025-01-09 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207574') end
[2025-01-09 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:56:04] Production.INFO: 1
[2025-01-09 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:56:04] Production.INFO: ==28075== Releasing lock...
[2025-01-09 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:56:04] Production.ERROR: done
[2025-01-09 05:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:56:04] Production.INFO: Account Balance Start.
[2025-01-09 05:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 05:56:04] Production.INFO: 117
[2025-01-09 05:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 05:56:04] Production.INFO: ==28067== Releasing lock...
[2025-01-09 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:56:05] Production.INFO: Total Charge 0
[2025-01-09 05:56:05] Production.INFO: CreateAllLog End
[2025-01-09 05:56:05] Production.INFO: Account Balance End.
[2025-01-09 05:56:05] Production.ERROR: CronJobId end 12
[2025-01-09 05:56:05] Production.INFO: ==28071== Releasing lock...
[2025-01-09 05:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:56:06
[end_date_ymd] => 2025-01-09 05:56:06
[RateCDR] => 1
)
[2025-01-09 05:56:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:56:06' and `end` < '2025-01-09 05:56:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:56:12] Production.ERROR: CronJobId end10
[2025-01-09 05:56:12] Production.INFO: ==28069== Releasing lock...
[2025-01-09 05:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:56:14] Production.INFO: call_cost start
[2025-01-09 05:56:14] Production.INFO: call_cost end
[2025-01-09 05:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:56:15] Production.INFO: ==28065== Releasing lock...
[2025-01-09 05:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:56:18] Production.INFO: count ==84
[2025-01-09 05:56:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:56:06 - End Time 2025-01-09 05:56:06
[2025-01-09 05:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207578', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207578', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207578', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207578', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:56:18] Production.INFO: ProcessCDR(1,14207578,1,1,2)
[2025-01-09 05:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207578', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207578', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:56:22] Production.INFO: ==28073== Releasing lock...
[2025-01-09 05:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:56:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:57:01] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-01-09 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:57:01] Production.INFO: neon service started
[2025-01-09 10:57:01] Production.INFO: neon service started
[2025-01-09 10:57:01] Production.INFO: ==28127== Releasing lock...
[2025-01-09 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 05:57:02] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-01-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:57:02] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-01-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:57:02] Production.INFO: ==28131== Releasing lock...
[2025-01-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:57:02] Production.INFO: ==28129== Releasing lock...
[2025-01-09 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:57:03] Production.INFO: ==28142== Lock acquired, processing the job...
[2025-01-09 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:57:03] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-01-09 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:57:03] Production.INFO: ==28144== Lock acquired, processing the job...
[2025-01-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:57:03] Production.INFO: Account Balance Start.
[2025-01-09 05:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:57:03] Production.INFO: 117
[2025-01-09 05:57:03] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-01-09 05:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:57:03] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-01-09 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:57:03] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-01-09 05:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:57:03] Production.INFO: count ==21
[2025-01-09 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:57:03] Production.INFO: count ==21
[2025-01-09 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207580') start
[2025-01-09 05:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207580') end
[2025-01-09 05:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:57:03] Production.INFO: 1
[2025-01-09 05:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:57:03] Production.INFO: Total Charge 0
[2025-01-09 05:57:03] Production.INFO: ==28144== Releasing lock...
[2025-01-09 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:57:03] Production.ERROR: done
[2025-01-09 05:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:57:03] Production.INFO: CreateAllLog End
[2025-01-09 05:57:03] Production.ERROR: done
[2025-01-09 05:57:04] Production.INFO: ==28135== Releasing lock...
[2025-01-09 05:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:57:04] Production.INFO: Account Balance End.
[2025-01-09 05:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:57:04] Production.INFO: ==28139== Releasing lock...
[2025-01-09 05:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:57:04
[end_date_ymd] => 2025-01-09 05:57:04
[RateCDR] => 1
)
[2025-01-09 05:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:57:04' and `end` < '2025-01-09 05:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:57:10] Production.ERROR: CronJobId end10
[2025-01-09 05:57:10] Production.INFO: ==28137== Releasing lock...
[2025-01-09 05:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:57:13] Production.INFO: call_cost start
[2025-01-09 05:57:13] Production.INFO: call_cost end
[2025-01-09 05:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:57:14] Production.INFO: ==28133== Releasing lock...
[2025-01-09 05:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:57:18] Production.INFO: count ==84
[2025-01-09 05:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:57:04 - End Time 2025-01-09 05:57:04
[2025-01-09 05:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207583', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207583', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207583', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207583', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:57:18] Production.INFO: ProcessCDR(1,14207583,1,1,2)
[2025-01-09 05:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207583', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207583', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:57:21] Production.INFO: ==28142== Releasing lock...
[2025-01-09 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:57:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:58:02] Production.INFO: ==28197== Lock acquired, processing the job...
[2025-01-09 10:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:58:02] Production.INFO: neon service started
[2025-01-09 10:58:02] Production.INFO: neon service started
[2025-01-09 10:58:02] Production.INFO: ==28197== Releasing lock...
[2025-01-09 10:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:58:02] Production.INFO: ==28201== Lock acquired, processing the job...
[2025-01-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:58:02] Production.INFO: ==28201== Releasing lock...
[2025-01-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:58:02] Production.INFO: ==28199== Lock acquired, processing the job...
[2025-01-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:58:02] Production.INFO: ==28199== Releasing lock...
[2025-01-09 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:58:03] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-01-09 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:58:03] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-01-09 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:58:03] Production.INFO: Account Balance Start.
[2025-01-09 05:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:58:03] Production.INFO: 117
[2025-01-09 05:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:58:04] Production.INFO: Total Charge 0
[2025-01-09 05:58:04] Production.INFO: CreateAllLog End
[2025-01-09 05:58:04] Production.INFO: ==28203== Lock acquired, processing the job...
[2025-01-09 05:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:58:04] Production.INFO: ==28205== Lock acquired, processing the job...
[2025-01-09 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:58:04] Production.INFO: Account Balance End.
[2025-01-09 05:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:58:04] Production.INFO: ==28209== Releasing lock...
[2025-01-09 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:58:04] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-01-09 05:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:58:04] Production.INFO: ==28213== Lock acquired, processing the job...
[2025-01-09 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:58:04] Production.INFO: count ==21
[2025-01-09 05:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:58:04] Production.INFO: count ==21
[2025-01-09 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207587') start
[2025-01-09 05:58:04] Production.INFO: ==28205== Releasing lock...
[2025-01-09 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:58:04] Production.ERROR: done
[2025-01-09 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207587') end
[2025-01-09 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:58:04] Production.INFO: 1
[2025-01-09 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:58:04] Production.INFO: ==28213== Releasing lock...
[2025-01-09 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:58:04] Production.ERROR: done
[2025-01-09 05:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:58:05
[end_date_ymd] => 2025-01-09 05:58:05
[RateCDR] => 1
)
[2025-01-09 05:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:58:05' and `end` < '2025-01-09 05:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:58:11] Production.ERROR: CronJobId end10
[2025-01-09 05:58:11] Production.INFO: ==28207== Releasing lock...
[2025-01-09 05:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:58:13] Production.INFO: call_cost start
[2025-01-09 05:58:13] Production.INFO: call_cost end
[2025-01-09 05:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:58:14] Production.INFO: ==28203== Releasing lock...
[2025-01-09 05:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:58:18] Production.INFO: count ==84
[2025-01-09 05:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 02:58:05 - End Time 2025-01-09 05:58:05
[2025-01-09 05:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207588', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207588', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207588', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207588', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:58:18] Production.INFO: ProcessCDR(1,14207588,1,1,2)
[2025-01-09 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207588', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207588', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:58:22] Production.INFO: ==28211== Releasing lock...
[2025-01-09 05:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:58:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 10:59:01] Production.INFO: ==28268== Lock acquired, processing the job...
[2025-01-09 10:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 10:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 10:59:01] Production.INFO: neon service started
[2025-01-09 10:59:01] Production.INFO: neon service started
[2025-01-09 10:59:01] Production.INFO: ==28268== Releasing lock...
[2025-01-09 10:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 10:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:59:02] Production.INFO: ==28272== Lock acquired, processing the job...
[2025-01-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:59:02] Production.INFO: ==28272== Releasing lock...
[2025-01-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 10:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 05:59:02] Production.INFO: ==28270== Lock acquired, processing the job...
[2025-01-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 05:59:02] Production.INFO: ==28270== Releasing lock...
[2025-01-09 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 05:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 05:59:03] Production.INFO: ==28277== Lock acquired, processing the job...
[2025-01-09 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 05:59:03] Production.INFO: ==28283== Lock acquired, processing the job...
[2025-01-09 05:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 05:59:03] Production.INFO: ==28275== Lock acquired, processing the job...
[2025-01-09 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 05:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 05:59:03] Production.INFO: ==28279== Lock acquired, processing the job...
[2025-01-09 05:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 05:59:03] Production.INFO: ==28281== Lock acquired, processing the job...
[2025-01-09 05:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 05:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 05:59:03] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-01-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 05:59:03] Production.INFO: Account Balance Start.
[2025-01-09 05:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 05:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 05:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 05:59:03] Production.INFO: 117
[2025-01-09 05:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 05:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 05:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 05:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:59:03] Production.INFO: ==28277== Releasing lock...
[2025-01-09 05:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 05:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 05:59:03] Production.INFO: count ==21
[2025-01-09 05:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 05:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 05:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 05:59:03] Production.INFO: count ==21
[2025-01-09 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207591') start
[2025-01-09 05:59:03] Production.ERROR: done
[2025-01-09 05:59:03] Production.INFO: Total Charge 0
[2025-01-09 05:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 05:59:03] Production.INFO: CreateAllLog End
[2025-01-09 05:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207591') end
[2025-01-09 05:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 05:59:03] Production.INFO: 1
[2025-01-09 05:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 05:59:03] Production.INFO: ==28285== Releasing lock...
[2025-01-09 05:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 05:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 05:59:03] Production.ERROR: done
[2025-01-09 05:59:04] Production.INFO: Account Balance End.
[2025-01-09 05:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 05:59:04] Production.INFO: ==28281== Releasing lock...
[2025-01-09 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 05:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 05:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 02:59:04
[end_date_ymd] => 2025-01-09 05:59:04
[RateCDR] => 1
)
[2025-01-09 05:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 02:59:04' and `end` < '2025-01-09 05:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 05:59:11] Production.ERROR: CronJobId end10
[2025-01-09 05:59:11] Production.INFO: ==28279== Releasing lock...
[2025-01-09 05:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 05:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 05:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 05:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 05:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 05:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 05:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 05:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 05:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 05:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 05:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 05:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 05:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 05:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 05:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 05:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 05:59:13] Production.INFO: call_cost start
[2025-01-09 05:59:13] Production.INFO: call_cost end
[2025-01-09 05:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 05:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 05:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 05:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 05:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 05:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 05:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 05:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 05:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 05:59:14] Production.INFO: ==28275== Releasing lock...
[2025-01-09 05:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 05:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 05:59:17] Production.INFO: count ==84
[2025-01-09 05:59:17] Production.ERROR: pbx CDR StartTime 2025-01-09 02:59:04 - End Time 2025-01-09 05:59:04
[2025-01-09 05:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207593', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207593', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207593', 'tblTempVendorCDR_20' ) start
[2025-01-09 05:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207593', 'tblTempVendorCDR_20' ) end
[2025-01-09 05:59:17] Production.INFO: ProcessCDR(1,14207593,1,1,2)
[2025-01-09 05:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 05:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207593', 'tblTempUsageDetail_20' ) start
[2025-01-09 05:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207593', 'tblTempUsageDetail_20' ) end
[2025-01-09 05:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 05:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 05:59:21] Production.INFO: ==28283== Releasing lock...
[2025-01-09 05:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 05:59:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:00:01] Production.INFO: ==28337== Lock acquired, processing the job...
[2025-01-09 11:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:00:02] Production.INFO: neon service started
[2025-01-09 11:00:02] Production.INFO: neon service started
[2025-01-09 11:00:02] Production.INFO: ==28337== Releasing lock...
[2025-01-09 11:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:00:02] Production.INFO: ==28339== Lock acquired, processing the job...
[2025-01-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:00:02] Production.INFO: ==28342== Lock acquired, processing the job...
[2025-01-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:00:02] Production.INFO: ==28339== Releasing lock...
[2025-01-09 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:00:02] Production.INFO: ==28342== Releasing lock...
[2025-01-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:00:03] Production.INFO: ==28344== Lock acquired, processing the job...
[2025-01-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 06:00:03] Production.INFO: ==28346== Lock acquired, processing the job...
[2025-01-09 06:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 06:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 06:00:03] Production.INFO: ==28344== Releasing lock...
[2025-01-09 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 06:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 06:00:03] Production.INFO: ==28348== Lock acquired, processing the job...
[2025-01-09 06:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:00:03] Production.INFO: ==28352== Lock acquired, processing the job...
[2025-01-09 06:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:00:03] Production.INFO: ==28350== Lock acquired, processing the job...
[2025-01-09 06:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:00:03] Production.INFO: Account Balance Start.
[2025-01-09 06:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:00:03] Production.INFO: 117
[2025-01-09 06:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:00:04] Production.INFO: ==28348== Releasing lock...
[2025-01-09 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:00:04] Production.INFO: Total Charge 0
[2025-01-09 06:00:04] Production.INFO: CreateAllLog End
[2025-01-09 06:00:04] Production.INFO: ==28354== Lock acquired, processing the job...
[2025-01-09 06:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:00:04] Production.INFO: ==28358== Lock acquired, processing the job...
[2025-01-09 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:00:04] Production.INFO: ==28356== Lock acquired, processing the job...
[2025-01-09 06:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 06:00:04] Production.INFO: Account Balance End.
[2025-01-09 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:00:04] Production.INFO: ==28352== Releasing lock...
[2025-01-09 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:00:04] Production.INFO: count ==21
[2025-01-09 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:00:04] Production.INFO: count ==21
[2025-01-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207597') start
[2025-01-09 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207597') end
[2025-01-09 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:00:04] Production.INFO: 1
[2025-01-09 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:00:04] Production.INFO: ==28358== Releasing lock...
[2025-01-09 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:00:04] Production.ERROR: done
[2025-01-09 06:00:04] Production.ERROR: done
[2025-01-09 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 06:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207598', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 06:00:04] Production.ERROR: done
[2025-01-09 06:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:00:05
[end_date_ymd] => 2025-01-09 06:00:05
[RateCDR] => 1
)
[2025-01-09 06:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:00:05' and `end` < '2025-01-09 06:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207598', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 06:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 06:00:08] Production.INFO: ProcessCDR(1,14207598,1,1,2)
[2025-01-09 06:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:00:08] Production.INFO: ==28356== Releasing lock...
[2025-01-09 06:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 06:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:00:13] Production.ERROR: CronJobId end10
[2025-01-09 06:00:13] Production.INFO: ==28350== Releasing lock...
[2025-01-09 06:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:00:14] Production.INFO: call_cost start
[2025-01-09 06:00:14] Production.INFO: call_cost end
[2025-01-09 06:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:00:15] Production.INFO: ==28346== Releasing lock...
[2025-01-09 06:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:00:18] Production.INFO: count ==79
[2025-01-09 06:00:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:00:05 - End Time 2025-01-09 06:00:05
[2025-01-09 06:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207599', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207599', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207599', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207599', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:00:18] Production.INFO: ProcessCDR(1,14207599,1,1,2)
[2025-01-09 06:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207599', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207599', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:00:21] Production.INFO: ==28354== Releasing lock...
[2025-01-09 06:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:00:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:01:01] Production.INFO: ==28414== Lock acquired, processing the job...
[2025-01-09 11:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:01:01] Production.INFO: neon service started
[2025-01-09 11:01:01] Production.INFO: neon service started
[2025-01-09 11:01:01] Production.INFO: ==28414== Releasing lock...
[2025-01-09 11:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:01:01] Production.INFO: ==28427== Lock acquired, processing the job...
[2025-01-09 06:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:01:02] Production.INFO: ==28429== Lock acquired, processing the job...
[2025-01-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:01:02] Production.INFO: ==28427== Releasing lock...
[2025-01-09 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:01:02] Production.INFO: ==28429== Releasing lock...
[2025-01-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:01:03] Production.INFO: ==28439== Lock acquired, processing the job...
[2025-01-09 06:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:01:03] Production.INFO: ==28431== Lock acquired, processing the job...
[2025-01-09 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:01:03] Production.INFO: ==28433== Lock acquired, processing the job...
[2025-01-09 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:01:03] Production.INFO: ==28435== Lock acquired, processing the job...
[2025-01-09 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:01:03] Production.INFO: ==28441== Lock acquired, processing the job...
[2025-01-09 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:01:03] Production.INFO: ==28437== Lock acquired, processing the job...
[2025-01-09 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:01:03] Production.INFO: Account Balance Start.
[2025-01-09 06:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:01:03] Production.INFO: 117
[2025-01-09 06:01:03] Production.ERROR: done
[2025-01-09 06:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:01:03] Production.INFO: count ==21
[2025-01-09 06:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:01:03] Production.INFO: count ==21
[2025-01-09 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207602') start
[2025-01-09 06:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:01:03] Production.INFO: ==28433== Releasing lock...
[2025-01-09 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:01:03] Production.ERROR: done
[2025-01-09 06:01:03] Production.INFO: Total Charge 0
[2025-01-09 06:01:03] Production.INFO: CreateAllLog End
[2025-01-09 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207602') end
[2025-01-09 06:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:01:03] Production.INFO: 1
[2025-01-09 06:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:01:03] Production.INFO: ==28441== Releasing lock...
[2025-01-09 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:01:03] Production.INFO: Account Balance End.
[2025-01-09 06:01:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:01:03] Production.INFO: ==28437== Releasing lock...
[2025-01-09 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:01:04
[end_date_ymd] => 2025-01-09 06:01:04
[RateCDR] => 1
)
[2025-01-09 06:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:01:04' and `end` < '2025-01-09 06:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:01:11] Production.ERROR: CronJobId end10
[2025-01-09 06:01:11] Production.INFO: ==28435== Releasing lock...
[2025-01-09 06:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:01:13] Production.INFO: call_cost start
[2025-01-09 06:01:13] Production.INFO: call_cost end
[2025-01-09 06:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:01:14] Production.INFO: ==28431== Releasing lock...
[2025-01-09 06:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:01:18] Production.INFO: count ==74
[2025-01-09 06:01:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:01:04 - End Time 2025-01-09 06:01:04
[2025-01-09 06:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207604', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207604', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207604', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207604', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:01:18] Production.INFO: ProcessCDR(1,14207604,1,1,2)
[2025-01-09 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207604', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207604', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:01:21] Production.INFO: ==28439== Releasing lock...
[2025-01-09 06:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:01:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:02:02] Production.INFO: ==28495== Lock acquired, processing the job...
[2025-01-09 11:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:02:02] Production.INFO: neon service started
[2025-01-09 11:02:02] Production.INFO: neon service started
[2025-01-09 11:02:02] Production.INFO: ==28495== Releasing lock...
[2025-01-09 11:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:02:02] Production.INFO: ==28497== Lock acquired, processing the job...
[2025-01-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:02:02] Production.INFO: ==28497== Releasing lock...
[2025-01-09 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:02:02] Production.INFO: ==28499== Lock acquired, processing the job...
[2025-01-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:02:02] Production.INFO: ==28499== Releasing lock...
[2025-01-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:02:03] Production.INFO: ==28504== Lock acquired, processing the job...
[2025-01-09 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:02:03] Production.INFO: ==28512== Lock acquired, processing the job...
[2025-01-09 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:02:03] Production.INFO: ==28502== Lock acquired, processing the job...
[2025-01-09 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:02:03] Production.INFO: ==28506== Lock acquired, processing the job...
[2025-01-09 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:02:03] Production.INFO: count ==21
[2025-01-09 06:02:03] Production.INFO: ==28508== Lock acquired, processing the job...
[2025-01-09 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:02:03] Production.INFO: ==28510== Lock acquired, processing the job...
[2025-01-09 06:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:02:03] Production.INFO: count ==21
[2025-01-09 06:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207605') start
[2025-01-09 06:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:02:03] Production.INFO: Account Balance Start.
[2025-01-09 06:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:02:03] Production.INFO: 117
[2025-01-09 06:02:03] Production.INFO: ==28504== Releasing lock...
[2025-01-09 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:02:04] Production.INFO: Total Charge 0
[2025-01-09 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207605') end
[2025-01-09 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:02:04] Production.INFO: 1
[2025-01-09 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:02:04] Production.INFO: CreateAllLog End
[2025-01-09 06:02:04] Production.INFO: ==28512== Releasing lock...
[2025-01-09 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:02:04] Production.ERROR: done
[2025-01-09 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:02:04] Production.ERROR: done
[2025-01-09 06:02:04] Production.INFO: Account Balance End.
[2025-01-09 06:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:02:04] Production.INFO: ==28508== Releasing lock...
[2025-01-09 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:02:05
[end_date_ymd] => 2025-01-09 06:02:05
[RateCDR] => 1
)
[2025-01-09 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:02:05' and `end` < '2025-01-09 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:02:11] Production.ERROR: CronJobId end10
[2025-01-09 06:02:11] Production.INFO: ==28506== Releasing lock...
[2025-01-09 06:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:02:13] Production.INFO: call_cost start
[2025-01-09 06:02:13] Production.INFO: call_cost end
[2025-01-09 06:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:02:14] Production.INFO: ==28502== Releasing lock...
[2025-01-09 06:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:02:19] Production.INFO: count ==74
[2025-01-09 06:02:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:02:05 - End Time 2025-01-09 06:02:05
[2025-01-09 06:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207609', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207609', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207609', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207609', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:02:19] Production.INFO: ProcessCDR(1,14207609,1,1,2)
[2025-01-09 06:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207609', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207609', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:02:22] Production.INFO: ==28510== Releasing lock...
[2025-01-09 06:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:02:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:03:01] Production.INFO: ==28609== Lock acquired, processing the job...
[2025-01-09 11:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:03:01] Production.INFO: neon service started
[2025-01-09 11:03:01] Production.INFO: neon service started
[2025-01-09 11:03:01] Production.INFO: ==28609== Releasing lock...
[2025-01-09 11:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:03:02] Production.INFO: ==28612== Lock acquired, processing the job...
[2025-01-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:03:02] Production.INFO: ==28614== Lock acquired, processing the job...
[2025-01-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:03:02] Production.INFO: ==28614== Releasing lock...
[2025-01-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:03:02] Production.INFO: ==28612== Releasing lock...
[2025-01-09 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:03:03] Production.INFO: ==28622== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:03:03] Production.INFO: ==28620== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:03:03] Production.INFO: ==28616== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:03:03] Production.INFO: Account Balance Start.
[2025-01-09 06:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:03:03] Production.INFO: 117
[2025-01-09 06:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:03:03] Production.INFO: ==28618== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:03:03] Production.INFO: Total Charge 0
[2025-01-09 06:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:03:03] Production.INFO: CreateAllLog End
[2025-01-09 06:03:03] Production.INFO: ==28624== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:03:03] Production.INFO: Account Balance End.
[2025-01-09 06:03:03] Production.INFO: ==28626== Lock acquired, processing the job...
[2025-01-09 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:03:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:03:03] Production.INFO: ==28622== Releasing lock...
[2025-01-09 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:03:03] Production.INFO: ==28618== Releasing lock...
[2025-01-09 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:03:03] Production.INFO: count ==21
[2025-01-09 06:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:03:03] Production.INFO: count ==21
[2025-01-09 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207613') start
[2025-01-09 06:03:04] Production.ERROR: done
[2025-01-09 06:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207613') end
[2025-01-09 06:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:03:04] Production.INFO: 1
[2025-01-09 06:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:03:04] Production.INFO: ==28626== Releasing lock...
[2025-01-09 06:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:03:04] Production.ERROR: done
[2025-01-09 06:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:03:05
[end_date_ymd] => 2025-01-09 06:03:05
[RateCDR] => 1
)
[2025-01-09 06:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:03:05' and `end` < '2025-01-09 06:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:03:10] Production.ERROR: CronJobId end10
[2025-01-09 06:03:10] Production.INFO: ==28620== Releasing lock...
[2025-01-09 06:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:03:12] Production.INFO: call_cost start
[2025-01-09 06:03:12] Production.INFO: call_cost end
[2025-01-09 06:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:03:13] Production.INFO: ==28616== Releasing lock...
[2025-01-09 06:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:03:18] Production.INFO: count ==74
[2025-01-09 06:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:03:05 - End Time 2025-01-09 06:03:05
[2025-01-09 06:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207614', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207614', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207614', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207614', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:03:18] Production.INFO: ProcessCDR(1,14207614,1,1,2)
[2025-01-09 06:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207614', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207614', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:03:22] Production.INFO: ==28624== Releasing lock...
[2025-01-09 06:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:03:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:04:02] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-09 11:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:04:02] Production.INFO: neon service started
[2025-01-09 11:04:02] Production.INFO: neon service started
[2025-01-09 11:04:02] Production.INFO: ==28679== Releasing lock...
[2025-01-09 11:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:04:02] Production.INFO: ==28682== Lock acquired, processing the job...
[2025-01-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:04:02] Production.INFO: ==28684== Lock acquired, processing the job...
[2025-01-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:04:02] Production.INFO: ==28684== Releasing lock...
[2025-01-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:04:02] Production.INFO: ==28682== Releasing lock...
[2025-01-09 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:04:03] Production.INFO: ==28686== Lock acquired, processing the job...
[2025-01-09 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:04:03] Production.INFO: ==28688== Lock acquired, processing the job...
[2025-01-09 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:04:03] Production.INFO: ==28690== Lock acquired, processing the job...
[2025-01-09 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:04:03] Production.INFO: ==28692== Lock acquired, processing the job...
[2025-01-09 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:04:03] Production.INFO: ==28694== Lock acquired, processing the job...
[2025-01-09 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:04:03] Production.INFO: Account Balance Start.
[2025-01-09 06:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:04:03] Production.INFO: 117
[2025-01-09 06:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:04:03] Production.INFO: ==28696== Lock acquired, processing the job...
[2025-01-09 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:04:03] Production.INFO: Total Charge 0
[2025-01-09 06:04:03] Production.INFO: CreateAllLog End
[2025-01-09 06:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:04:04] Production.INFO: ==28688== Releasing lock...
[2025-01-09 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:04:04] Production.INFO: count ==21
[2025-01-09 06:04:04] Production.INFO: Account Balance End.
[2025-01-09 06:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:04:04] Production.INFO: ==28692== Releasing lock...
[2025-01-09 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:04:04] Production.INFO: count ==21
[2025-01-09 06:04:04] Production.ERROR: done
[2025-01-09 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207618') start
[2025-01-09 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207618') end
[2025-01-09 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:04:04] Production.INFO: 1
[2025-01-09 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:04:04] Production.ERROR: done
[2025-01-09 06:04:04] Production.INFO: ==28696== Releasing lock...
[2025-01-09 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:04:05
[end_date_ymd] => 2025-01-09 06:04:05
[RateCDR] => 1
)
[2025-01-09 06:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:04:05' and `end` < '2025-01-09 06:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:04:10] Production.ERROR: CronJobId end10
[2025-01-09 06:04:10] Production.INFO: ==28690== Releasing lock...
[2025-01-09 06:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:04:12] Production.INFO: call_cost start
[2025-01-09 06:04:12] Production.INFO: call_cost end
[2025-01-09 06:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:04:13] Production.INFO: ==28686== Releasing lock...
[2025-01-09 06:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:04:18] Production.INFO: count ==74
[2025-01-09 06:04:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:04:05 - End Time 2025-01-09 06:04:05
[2025-01-09 06:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207619', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207619', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207619', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207619', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:04:18] Production.INFO: ProcessCDR(1,14207619,1,1,2)
[2025-01-09 06:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207619', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207619', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:04:21] Production.INFO: ==28694== Releasing lock...
[2025-01-09 06:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:04:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:05:01] Production.INFO: ==28750== Lock acquired, processing the job...
[2025-01-09 11:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:05:01] Production.INFO: neon service started
[2025-01-09 11:05:01] Production.INFO: neon service started
[2025-01-09 11:05:01] Production.INFO: ==28750== Releasing lock...
[2025-01-09 11:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:05:01] Production.INFO: ==28752== Lock acquired, processing the job...
[2025-01-09 06:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:05:02] Production.INFO: ==28752== Releasing lock...
[2025-01-09 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:05:02] Production.INFO: ==28754== Lock acquired, processing the job...
[2025-01-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:05:02] Production.INFO: ==28754== Releasing lock...
[2025-01-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:05:02] Production.INFO: ==28759== Lock acquired, processing the job...
[2025-01-09 06:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:05:02] Production.INFO: ==28757== Lock acquired, processing the job...
[2025-01-09 06:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:05:02] Production.INFO: ==28767== Lock acquired, processing the job...
[2025-01-09 06:05:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:05:03] Production.INFO: ==28761== Lock acquired, processing the job...
[2025-01-09 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:05:03] Production.INFO: ==28759== Releasing lock...
[2025-01-09 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:05:03] Production.INFO: ==28763== Lock acquired, processing the job...
[2025-01-09 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:05:03] Production.INFO: count ==21
[2025-01-09 06:05:03] Production.INFO: ==28765== Lock acquired, processing the job...
[2025-01-09 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:05:03] Production.INFO: count ==21
[2025-01-09 06:05:03] Production.INFO: Account Balance Start.
[2025-01-09 06:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:05:03] Production.INFO: 117
[2025-01-09 06:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207622') start
[2025-01-09 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:05:03] Production.INFO: Total Charge 0
[2025-01-09 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207622') end
[2025-01-09 06:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:05:03] Production.INFO: 1
[2025-01-09 06:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:05:03] Production.INFO: CreateAllLog End
[2025-01-09 06:05:03] Production.INFO: ==28767== Releasing lock...
[2025-01-09 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:05:03] Production.ERROR: done
[2025-01-09 06:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:05:03] Production.ERROR: done
[2025-01-09 06:05:03] Production.INFO: Account Balance End.
[2025-01-09 06:05:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:05:03] Production.INFO: ==28763== Releasing lock...
[2025-01-09 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:05:04
[end_date_ymd] => 2025-01-09 06:05:04
[RateCDR] => 1
)
[2025-01-09 06:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:05:04' and `end` < '2025-01-09 06:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:05:09] Production.ERROR: CronJobId end10
[2025-01-09 06:05:09] Production.INFO: ==28761== Releasing lock...
[2025-01-09 06:05:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:05:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:05:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:05:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:05:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:05:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:05:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:05:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:05:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:05:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:05:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:05:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:05:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:05:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:05:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:05:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:05:12] Production.INFO: call_cost start
[2025-01-09 06:05:12] Production.INFO: call_cost end
[2025-01-09 06:05:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:05:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:05:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:05:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:05:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:05:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:05:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:05:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:05:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:05:12] Production.INFO: ==28757== Releasing lock...
[2025-01-09 06:05:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:05:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:05:17] Production.INFO: count ==74
[2025-01-09 06:05:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:05:04 - End Time 2025-01-09 06:05:04
[2025-01-09 06:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207624', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207624', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207624', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207624', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:05:17] Production.INFO: ProcessCDR(1,14207624,1,1,2)
[2025-01-09 06:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:05:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207624', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:05:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207624', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:05:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:05:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:05:20] Production.INFO: ==28765== Releasing lock...
[2025-01-09 06:05:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:05:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:06:01] Production.INFO: ==28822== Lock acquired, processing the job...
[2025-01-09 11:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:06:01] Production.INFO: neon service started
[2025-01-09 11:06:01] Production.INFO: neon service started
[2025-01-09 11:06:01] Production.INFO: ==28822== Releasing lock...
[2025-01-09 11:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:06:02] Production.INFO: ==28824== Lock acquired, processing the job...
[2025-01-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:06:02] Production.INFO: ==28826== Lock acquired, processing the job...
[2025-01-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:06:02] Production.INFO: ==28826== Releasing lock...
[2025-01-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:06:02] Production.INFO: ==28824== Releasing lock...
[2025-01-09 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:06:03] Production.INFO: ==28829== Lock acquired, processing the job...
[2025-01-09 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:06:03] Production.INFO: ==28831== Lock acquired, processing the job...
[2025-01-09 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:06:03] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-01-09 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:06:03] Production.INFO: ==28833== Lock acquired, processing the job...
[2025-01-09 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:06:03] Production.INFO: count ==21
[2025-01-09 06:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:06:03] Production.INFO: count ==21
[2025-01-09 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207627') start
[2025-01-09 06:06:03] Production.INFO: ==28835== Lock acquired, processing the job...
[2025-01-09 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:06:03] Production.INFO: ==28831== Releasing lock...
[2025-01-09 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:06:03] Production.INFO: ==28837== Lock acquired, processing the job...
[2025-01-09 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207627') end
[2025-01-09 06:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:06:03] Production.INFO: 1
[2025-01-09 06:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:06:03] Production.INFO: ==28839== Releasing lock...
[2025-01-09 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:06:03] Production.INFO: Account Balance Start.
[2025-01-09 06:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:06:03] Production.INFO: 117
[2025-01-09 06:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:06:04] Production.INFO: Total Charge 0
[2025-01-09 06:06:04] Production.INFO: CreateAllLog End
[2025-01-09 06:06:04] Production.INFO: Account Balance End.
[2025-01-09 06:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:06:04] Production.INFO: ==28835== Releasing lock...
[2025-01-09 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:06:04] Production.ERROR: done
[2025-01-09 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:06:04] Production.ERROR: done
[2025-01-09 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:06:05
[end_date_ymd] => 2025-01-09 06:06:05
[RateCDR] => 1
)
[2025-01-09 06:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:06:05' and `end` < '2025-01-09 06:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:06:10] Production.ERROR: CronJobId end10
[2025-01-09 06:06:10] Production.INFO: ==28833== Releasing lock...
[2025-01-09 06:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:06:12] Production.INFO: call_cost start
[2025-01-09 06:06:12] Production.INFO: call_cost end
[2025-01-09 06:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:06:13] Production.INFO: ==28829== Releasing lock...
[2025-01-09 06:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:06:18] Production.INFO: count ==74
[2025-01-09 06:06:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:06:05 - End Time 2025-01-09 06:06:05
[2025-01-09 06:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207629', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207629', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207629', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207629', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:06:18] Production.INFO: ProcessCDR(1,14207629,1,1,2)
[2025-01-09 06:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207629', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207629', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:06:21] Production.INFO: ==28837== Releasing lock...
[2025-01-09 06:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:06:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:07:02] Production.INFO: ==28896== Lock acquired, processing the job...
[2025-01-09 11:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:07:02] Production.INFO: neon service started
[2025-01-09 11:07:02] Production.INFO: neon service started
[2025-01-09 11:07:02] Production.INFO: ==28896== Releasing lock...
[2025-01-09 11:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:07:02] Production.INFO: ==28900== Lock acquired, processing the job...
[2025-01-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:07:02] Production.INFO: ==28900== Releasing lock...
[2025-01-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:07:02] Production.INFO: ==28898== Lock acquired, processing the job...
[2025-01-09 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:07:03] Production.INFO: ==28898== Releasing lock...
[2025-01-09 06:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:07:03] Production.INFO: ==28904== Lock acquired, processing the job...
[2025-01-09 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:07:03] Production.INFO: ==28906== Lock acquired, processing the job...
[2025-01-09 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:07:03] Production.INFO: ==28912== Lock acquired, processing the job...
[2025-01-09 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:07:04] Production.INFO: ==28908== Lock acquired, processing the job...
[2025-01-09 06:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:07:04] Production.INFO: ==28910== Lock acquired, processing the job...
[2025-01-09 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:07:04] Production.INFO: ==28914== Lock acquired, processing the job...
[2025-01-09 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:07:04] Production.INFO: ==28906== Releasing lock...
[2025-01-09 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:07:04] Production.INFO: count ==21
[2025-01-09 06:07:04] Production.ERROR: done
[2025-01-09 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:07:04] Production.INFO: Account Balance Start.
[2025-01-09 06:07:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:07:04] Production.INFO: 117
[2025-01-09 06:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:07:04] Production.INFO: count ==21
[2025-01-09 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207632') start
[2025-01-09 06:07:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:07:04] Production.ERROR: done
[2025-01-09 06:07:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:07:04] Production.INFO: Total Charge 0
[2025-01-09 06:07:04] Production.INFO: CreateAllLog End
[2025-01-09 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207632') end
[2025-01-09 06:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:07:04] Production.INFO: 1
[2025-01-09 06:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:07:04] Production.INFO: ==28914== Releasing lock...
[2025-01-09 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:07:04] Production.INFO: Account Balance End.
[2025-01-09 06:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:07:04] Production.INFO: ==28910== Releasing lock...
[2025-01-09 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:07:05
[end_date_ymd] => 2025-01-09 06:07:05
[RateCDR] => 1
)
[2025-01-09 06:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:07:05' and `end` < '2025-01-09 06:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:07:11] Production.ERROR: CronJobId end10
[2025-01-09 06:07:11] Production.INFO: ==28908== Releasing lock...
[2025-01-09 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:07:14] Production.INFO: call_cost start
[2025-01-09 06:07:14] Production.INFO: call_cost end
[2025-01-09 06:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:07:14] Production.INFO: ==28904== Releasing lock...
[2025-01-09 06:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:07:18] Production.INFO: count ==74
[2025-01-09 06:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:07:05 - End Time 2025-01-09 06:07:05
[2025-01-09 06:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207634', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207634', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207634', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207634', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:07:18] Production.INFO: ProcessCDR(1,14207634,1,1,2)
[2025-01-09 06:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207634', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207634', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:07:21] Production.INFO: ==28912== Releasing lock...
[2025-01-09 06:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:07:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:08:01] Production.INFO: ==28967== Lock acquired, processing the job...
[2025-01-09 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:08:01] Production.INFO: neon service started
[2025-01-09 11:08:01] Production.INFO: neon service started
[2025-01-09 11:08:01] Production.INFO: ==28967== Releasing lock...
[2025-01-09 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:08:02] Production.INFO: ==28969== Lock acquired, processing the job...
[2025-01-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:08:02] Production.INFO: ==28969== Releasing lock...
[2025-01-09 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:08:02] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-01-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:08:02] Production.INFO: ==28971== Releasing lock...
[2025-01-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:08:03] Production.INFO: ==28980== Lock acquired, processing the job...
[2025-01-09 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:08:03] Production.INFO: ==28984== Lock acquired, processing the job...
[2025-01-09 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:08:03] Production.INFO: Account Balance Start.
[2025-01-09 06:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:08:03] Production.INFO: 117
[2025-01-09 06:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:08:03] Production.INFO: ==28974== Lock acquired, processing the job...
[2025-01-09 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:08:03] Production.INFO: count ==21
[2025-01-09 06:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:08:03] Production.INFO: count ==21
[2025-01-09 06:08:03] Production.INFO: ==28976== Lock acquired, processing the job...
[2025-01-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207636') start
[2025-01-09 06:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:08:03] Production.INFO: ==28978== Lock acquired, processing the job...
[2025-01-09 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:08:03] Production.INFO: Total Charge 0
[2025-01-09 06:08:03] Production.INFO: CreateAllLog End
[2025-01-09 06:08:03] Production.INFO: ==28982== Lock acquired, processing the job...
[2025-01-09 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207636') end
[2025-01-09 06:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:08:03] Production.INFO: 1
[2025-01-09 06:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:08:03] Production.INFO: Account Balance End.
[2025-01-09 06:08:03] Production.INFO: ==28984== Releasing lock...
[2025-01-09 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:08:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:08:03] Production.INFO: ==28980== Releasing lock...
[2025-01-09 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:08:03] Production.INFO: ==28976== Releasing lock...
[2025-01-09 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:08:04] Production.ERROR: done
[2025-01-09 06:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:08:04] Production.ERROR: done
[2025-01-09 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:08:05
[end_date_ymd] => 2025-01-09 06:08:05
[RateCDR] => 1
)
[2025-01-09 06:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:08:05' and `end` < '2025-01-09 06:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:08:10] Production.ERROR: CronJobId end10
[2025-01-09 06:08:10] Production.INFO: ==28978== Releasing lock...
[2025-01-09 06:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:08:13] Production.INFO: call_cost start
[2025-01-09 06:08:13] Production.INFO: call_cost end
[2025-01-09 06:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:08:14] Production.INFO: ==28974== Releasing lock...
[2025-01-09 06:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:08:18] Production.INFO: count ==74
[2025-01-09 06:08:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:08:05 - End Time 2025-01-09 06:08:05
[2025-01-09 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207639', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207639', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207639', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207639', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:08:18] Production.INFO: ProcessCDR(1,14207639,1,1,2)
[2025-01-09 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207639', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207639', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:08:21] Production.INFO: ==28982== Releasing lock...
[2025-01-09 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:08:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:09:02] Production.INFO: ==29037== Lock acquired, processing the job...
[2025-01-09 11:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:09:02] Production.INFO: neon service started
[2025-01-09 11:09:02] Production.INFO: neon service started
[2025-01-09 11:09:02] Production.INFO: ==29037== Releasing lock...
[2025-01-09 11:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:09:02] Production.INFO: ==29039== Lock acquired, processing the job...
[2025-01-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:09:02] Production.INFO: ==29039== Releasing lock...
[2025-01-09 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:09:03] Production.INFO: ==29041== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:09:03] Production.INFO: ==29041== Releasing lock...
[2025-01-09 11:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:09:03] Production.INFO: ==29044== Lock acquired, processing the job...
[2025-01-09 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:09:03] Production.INFO: ==29046== Lock acquired, processing the job...
[2025-01-09 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:09:03] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-01-09 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:09:03] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-01-09 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:09:04] Production.INFO: ==29052== Lock acquired, processing the job...
[2025-01-09 06:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:09:04] Production.INFO: ==29054== Lock acquired, processing the job...
[2025-01-09 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:09:04] Production.INFO: Account Balance Start.
[2025-01-09 06:09:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:09:04] Production.INFO: 117
[2025-01-09 06:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:09:04] Production.INFO: Total Charge 0
[2025-01-09 06:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:09:04] Production.INFO: CreateAllLog End
[2025-01-09 06:09:04] Production.INFO: count ==21
[2025-01-09 06:09:04] Production.INFO: ==29046== Releasing lock...
[2025-01-09 06:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:09:04] Production.INFO: count ==21
[2025-01-09 06:09:04] Production.ERROR: done
[2025-01-09 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207643') start
[2025-01-09 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:09:04] Production.INFO: Account Balance End.
[2025-01-09 06:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:09:04] Production.INFO: ==29050== Releasing lock...
[2025-01-09 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:09:04] Production.ERROR: done
[2025-01-09 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207643') end
[2025-01-09 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:09:04] Production.INFO: 1
[2025-01-09 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:09:04] Production.INFO: ==29054== Releasing lock...
[2025-01-09 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:09:05
[end_date_ymd] => 2025-01-09 06:09:05
[RateCDR] => 1
)
[2025-01-09 06:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:09:05' and `end` < '2025-01-09 06:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:09:10] Production.ERROR: CronJobId end10
[2025-01-09 06:09:10] Production.INFO: ==29048== Releasing lock...
[2025-01-09 06:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:09:13] Production.INFO: call_cost start
[2025-01-09 06:09:13] Production.INFO: call_cost end
[2025-01-09 06:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:09:13] Production.INFO: ==29044== Releasing lock...
[2025-01-09 06:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:09:20] Production.INFO: count ==74
[2025-01-09 06:09:20] Production.ERROR: pbx CDR StartTime 2025-01-09 03:09:05 - End Time 2025-01-09 06:09:05
[2025-01-09 06:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207644', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207644', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207644', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207644', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:09:20] Production.INFO: ProcessCDR(1,14207644,1,1,2)
[2025-01-09 06:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207644', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207644', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:09:23] Production.INFO: ==29052== Releasing lock...
[2025-01-09 06:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:09:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:10:01] Production.INFO: ==29106== Lock acquired, processing the job...
[2025-01-09 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:10:01] Production.INFO: neon service started
[2025-01-09 11:10:01] Production.INFO: neon service started
[2025-01-09 11:10:01] Production.INFO: ==29106== Releasing lock...
[2025-01-09 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:10:02] Production.INFO: ==29110== Lock acquired, processing the job...
[2025-01-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:10:02] Production.INFO: ==29110== Releasing lock...
[2025-01-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:10:02] Production.INFO: ==29108== Lock acquired, processing the job...
[2025-01-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:10:02] Production.INFO: ==29108== Releasing lock...
[2025-01-09 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:10:03] Production.INFO: ==29115== Lock acquired, processing the job...
[2025-01-09 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:10:03] Production.INFO: ==29123== Lock acquired, processing the job...
[2025-01-09 06:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:10:03] Production.INFO: ==29127== Lock acquired, processing the job...
[2025-01-09 06:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:10:03] Production.INFO: ==29113== Lock acquired, processing the job...
[2025-01-09 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:10:03] Production.INFO: ==29117== Lock acquired, processing the job...
[2025-01-09 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:10:03] Production.ERROR: CronJob PID - 29115
[2025-01-09 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 06:10:03] Production.ERROR: CronJob ID - 5
[2025-01-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 06:10:00
[2025-01-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:10:03] Production.ERROR: CronJob PID - 29123
[2025-01-09 06:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 06:10:03] Production.ERROR: CronJob ID - 16
[2025-01-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 06:10:00
[2025-01-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:10:03] Production.ERROR: CronJob PID - 29127
[2025-01-09 06:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 06:10:03] Production.ERROR: CronJob ID - 19
[2025-01-09 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 06:10:00
[2025-01-09 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:10:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 06:10:04] Production.INFO: ==29113== Releasing lock...
[2025-01-09 06:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 06:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 06:10:04] Production.INFO: ==29119== Lock acquired, processing the job...
[2025-01-09 06:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:10:04] Production.INFO: count ==21
[2025-01-09 06:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:10:04] Production.INFO: count ==21
[2025-01-09 06:10:04] Production.INFO: ==29121== Lock acquired, processing the job...
[2025-01-09 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207646') start
[2025-01-09 06:10:04] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-01-09 06:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 06:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:10:04] Production.ERROR: done
[2025-01-09 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207646') end
[2025-01-09 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:10:04] Production.INFO: 1
[2025-01-09 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:10:04] Production.INFO: Account Balance Start.
[2025-01-09 06:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:10:04] Production.INFO: 117
[2025-01-09 06:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:10:04] Production.INFO: ==29127== Releasing lock...
[2025-01-09 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:10:04] Production.ERROR: done
[2025-01-09 06:10:04] Production.INFO: Total Charge 0
[2025-01-09 06:10:04] Production.INFO: CreateAllLog End
[2025-01-09 06:10:04] Production.INFO: ==29117== Releasing lock...
[2025-01-09 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:10:04] Production.ERROR: done
[2025-01-09 06:10:04] Production.INFO: Account Balance End.
[2025-01-09 06:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:10:04] Production.INFO: ==29121== Releasing lock...
[2025-01-09 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207650', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:10:05
[end_date_ymd] => 2025-01-09 06:10:05
[RateCDR] => 1
)
[2025-01-09 06:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:10:05' and `end` < '2025-01-09 06:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207650', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 06:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 06:10:09] Production.INFO: ProcessCDR(1,14207650,1,1,2)
[2025-01-09 06:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207650,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207650,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:10:09] Production.INFO: ==29125== Releasing lock...
[2025-01-09 06:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 06:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:10:13] Production.ERROR: CronJobId end10
[2025-01-09 06:10:13] Production.INFO: ==29119== Releasing lock...
[2025-01-09 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:10:15] Production.INFO: call_cost start
[2025-01-09 06:10:15] Production.INFO: call_cost end
[2025-01-09 06:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:10:15] Production.INFO: ==29115== Releasing lock...
[2025-01-09 06:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:10:18] Production.INFO: count ==70
[2025-01-09 06:10:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:10:05 - End Time 2025-01-09 06:10:05
[2025-01-09 06:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207649', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207649', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207649', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207649', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:10:18] Production.INFO: ProcessCDR(1,14207649,1,1,2)
[2025-01-09 06:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207649', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207649', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:10:21] Production.INFO: ==29123== Releasing lock...
[2025-01-09 06:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:10:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:11:02] Production.INFO: ==29181== Lock acquired, processing the job...
[2025-01-09 11:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:11:02] Production.INFO: neon service started
[2025-01-09 11:11:02] Production.INFO: neon service started
[2025-01-09 11:11:02] Production.INFO: ==29181== Releasing lock...
[2025-01-09 11:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:11:02] Production.INFO: ==29183== Lock acquired, processing the job...
[2025-01-09 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:11:02] Production.INFO: ==29185== Lock acquired, processing the job...
[2025-01-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:11:02] Production.INFO: ==29185== Releasing lock...
[2025-01-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:11:03] Production.INFO: ==29183== Releasing lock...
[2025-01-09 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:11:03] Production.INFO: ==29188== Lock acquired, processing the job...
[2025-01-09 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:11:03] Production.INFO: ==29190== Lock acquired, processing the job...
[2025-01-09 06:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:11:03] Production.INFO: ==29196== Lock acquired, processing the job...
[2025-01-09 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:11:03] Production.INFO: ==29192== Lock acquired, processing the job...
[2025-01-09 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:11:04] Production.INFO: ==29198== Lock acquired, processing the job...
[2025-01-09 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:11:04] Production.INFO: ==29190== Releasing lock...
[2025-01-09 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:11:04] Production.INFO: ==29194== Lock acquired, processing the job...
[2025-01-09 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:11:04] Production.INFO: Account Balance Start.
[2025-01-09 06:11:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:11:04] Production.INFO: 117
[2025-01-09 06:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:11:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:11:04] Production.INFO: count ==21
[2025-01-09 06:11:04] Production.ERROR: done
[2025-01-09 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:11:04] Production.INFO: count ==21
[2025-01-09 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207653') start
[2025-01-09 06:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:11:04] Production.INFO: Total Charge 0
[2025-01-09 06:11:04] Production.INFO: CreateAllLog End
[2025-01-09 06:11:04] Production.ERROR: done
[2025-01-09 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207653') end
[2025-01-09 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:11:04] Production.INFO: 1
[2025-01-09 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:11:04] Production.INFO: ==29198== Releasing lock...
[2025-01-09 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:11:04] Production.INFO: Account Balance End.
[2025-01-09 06:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:11:04] Production.INFO: ==29194== Releasing lock...
[2025-01-09 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:11:05
[end_date_ymd] => 2025-01-09 06:11:05
[RateCDR] => 1
)
[2025-01-09 06:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:11:05' and `end` < '2025-01-09 06:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:11:11] Production.ERROR: CronJobId end10
[2025-01-09 06:11:11] Production.INFO: ==29192== Releasing lock...
[2025-01-09 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:11:13] Production.INFO: call_cost start
[2025-01-09 06:11:13] Production.INFO: call_cost end
[2025-01-09 06:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:11:14] Production.INFO: ==29188== Releasing lock...
[2025-01-09 06:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:11:18] Production.INFO: count ==60
[2025-01-09 06:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:11:05 - End Time 2025-01-09 06:11:05
[2025-01-09 06:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207655', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207655', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207655', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207655', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:11:18] Production.INFO: ProcessCDR(1,14207655,1,1,2)
[2025-01-09 06:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207655', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207655', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:11:21] Production.INFO: ==29196== Releasing lock...
[2025-01-09 06:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:11:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:12:01] Production.INFO: ==29251== Lock acquired, processing the job...
[2025-01-09 11:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:12:01] Production.INFO: neon service started
[2025-01-09 11:12:01] Production.INFO: neon service started
[2025-01-09 11:12:01] Production.INFO: ==29251== Releasing lock...
[2025-01-09 11:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:12:01] Production.INFO: ==29253== Lock acquired, processing the job...
[2025-01-09 06:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:12:02] Production.INFO: ==29253== Releasing lock...
[2025-01-09 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:12:02] Production.INFO: ==29255== Lock acquired, processing the job...
[2025-01-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:12:02] Production.INFO: ==29255== Releasing lock...
[2025-01-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:12:03] Production.INFO: ==29263== Lock acquired, processing the job...
[2025-01-09 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:12:03] Production.INFO: ==29267== Lock acquired, processing the job...
[2025-01-09 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:12:03] Production.INFO: ==29257== Lock acquired, processing the job...
[2025-01-09 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:12:03] Production.INFO: Account Balance Start.
[2025-01-09 06:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:12:03] Production.INFO: 117
[2025-01-09 06:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:12:03] Production.INFO: ==29261== Lock acquired, processing the job...
[2025-01-09 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:12:03] Production.INFO: ==29259== Lock acquired, processing the job...
[2025-01-09 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:12:03] Production.INFO: count ==21
[2025-01-09 06:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:12:03] Production.INFO: count ==21
[2025-01-09 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207657') start
[2025-01-09 06:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:12:03] Production.INFO: Total Charge 0
[2025-01-09 06:12:03] Production.INFO: ==29265== Lock acquired, processing the job...
[2025-01-09 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:12:03] Production.INFO: CreateAllLog End
[2025-01-09 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207657') end
[2025-01-09 06:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:12:03] Production.INFO: 1
[2025-01-09 06:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:12:03] Production.INFO: ==29267== Releasing lock...
[2025-01-09 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:12:03] Production.INFO: Account Balance End.
[2025-01-09 06:12:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:12:03] Production.INFO: ==29263== Releasing lock...
[2025-01-09 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:12:03] Production.INFO: ==29259== Releasing lock...
[2025-01-09 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:12:03] Production.ERROR: done
[2025-01-09 06:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:12:04] Production.ERROR: done
[2025-01-09 06:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:12:05
[end_date_ymd] => 2025-01-09 06:12:05
[RateCDR] => 1
)
[2025-01-09 06:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:12:05' and `end` < '2025-01-09 06:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:12:10] Production.ERROR: CronJobId end10
[2025-01-09 06:12:10] Production.INFO: ==29261== Releasing lock...
[2025-01-09 06:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:12:12] Production.INFO: call_cost start
[2025-01-09 06:12:12] Production.INFO: call_cost end
[2025-01-09 06:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:12:13] Production.INFO: ==29257== Releasing lock...
[2025-01-09 06:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:12:18] Production.INFO: count ==60
[2025-01-09 06:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:12:05 - End Time 2025-01-09 06:12:05
[2025-01-09 06:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207660', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207660', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207660', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207660', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:12:18] Production.INFO: ProcessCDR(1,14207660,1,1,2)
[2025-01-09 06:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207660', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207660', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:12:21] Production.INFO: ==29265== Releasing lock...
[2025-01-09 06:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:13:01] Production.INFO: ==29322== Lock acquired, processing the job...
[2025-01-09 11:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:13:02] Production.INFO: neon service started
[2025-01-09 11:13:02] Production.INFO: neon service started
[2025-01-09 11:13:02] Production.INFO: ==29322== Releasing lock...
[2025-01-09 11:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:13:02] Production.INFO: ==29324== Lock acquired, processing the job...
[2025-01-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:13:02] Production.INFO: ==29326== Lock acquired, processing the job...
[2025-01-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:13:02] Production.INFO: ==29326== Releasing lock...
[2025-01-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:13:02] Production.INFO: ==29324== Releasing lock...
[2025-01-09 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:13:03] Production.INFO: ==29335== Lock acquired, processing the job...
[2025-01-09 06:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:13:03] Production.INFO: ==29339== Lock acquired, processing the job...
[2025-01-09 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:13:03] Production.INFO: Account Balance Start.
[2025-01-09 06:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:13:03] Production.INFO: ==29329== Lock acquired, processing the job...
[2025-01-09 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:13:03] Production.INFO: 117
[2025-01-09 06:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:13:03] Production.INFO: Total Charge 0
[2025-01-09 06:13:03] Production.INFO: ==29331== Lock acquired, processing the job...
[2025-01-09 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:13:04] Production.INFO: CreateAllLog End
[2025-01-09 06:13:04] Production.INFO: ==29333== Lock acquired, processing the job...
[2025-01-09 06:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:13:04] Production.INFO: count ==21
[2025-01-09 06:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:13:04] Production.INFO: count ==21
[2025-01-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207662') start
[2025-01-09 06:13:04] Production.INFO: Account Balance End.
[2025-01-09 06:13:04] Production.INFO: ==29337== Lock acquired, processing the job...
[2025-01-09 06:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:13:04] Production.INFO: ==29335== Releasing lock...
[2025-01-09 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207662') end
[2025-01-09 06:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:13:04] Production.INFO: 1
[2025-01-09 06:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:13:04] Production.INFO: ==29339== Releasing lock...
[2025-01-09 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:13:04] Production.INFO: ==29331== Releasing lock...
[2025-01-09 06:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:13:04] Production.ERROR: done
[2025-01-09 06:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:13:04] Production.ERROR: done
[2025-01-09 06:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:13:05
[end_date_ymd] => 2025-01-09 06:13:05
[RateCDR] => 1
)
[2025-01-09 06:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:13:05' and `end` < '2025-01-09 06:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:13:11] Production.ERROR: CronJobId end10
[2025-01-09 06:13:11] Production.INFO: ==29333== Releasing lock...
[2025-01-09 06:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:13:13] Production.INFO: call_cost start
[2025-01-09 06:13:13] Production.INFO: call_cost end
[2025-01-09 06:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:13:14] Production.INFO: ==29329== Releasing lock...
[2025-01-09 06:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:13:19] Production.INFO: count ==59
[2025-01-09 06:13:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:13:05 - End Time 2025-01-09 06:13:05
[2025-01-09 06:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207665', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207665', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207665', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207665', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:13:19] Production.INFO: ProcessCDR(1,14207665,1,1,2)
[2025-01-09 06:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207665', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207665', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:13:22] Production.INFO: ==29337== Releasing lock...
[2025-01-09 06:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:13:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:14:01] Production.INFO: ==29392== Lock acquired, processing the job...
[2025-01-09 11:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:14:01] Production.INFO: neon service started
[2025-01-09 11:14:01] Production.INFO: neon service started
[2025-01-09 11:14:01] Production.INFO: ==29392== Releasing lock...
[2025-01-09 11:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:14:02] Production.INFO: ==29394== Lock acquired, processing the job...
[2025-01-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:14:02] Production.INFO: ==29396== Lock acquired, processing the job...
[2025-01-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:14:02] Production.INFO: ==29396== Releasing lock...
[2025-01-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:14:02] Production.INFO: ==29394== Releasing lock...
[2025-01-09 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:14:03] Production.INFO: ==29401== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:14:03] Production.INFO: ==29399== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:14:03] Production.INFO: ==29405== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:14:03] Production.INFO: ==29403== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:14:03] Production.INFO: Account Balance Start.
[2025-01-09 06:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:14:03] Production.INFO: 117
[2025-01-09 06:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:14:03] Production.INFO: ==29411== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:14:03] Production.INFO: ==29409== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:14:03] Production.INFO: Total Charge 0
[2025-01-09 06:14:03] Production.INFO: CreateAllLog End
[2025-01-09 06:14:03] Production.INFO: ==29407== Lock acquired, processing the job...
[2025-01-09 06:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-09 06:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:14:03] Production.INFO: ==29401== Releasing lock...
[2025-01-09 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:14:03] Production.INFO: -- Xero Api Check --
[2025-01-09 06:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:14:03] Production.INFO: count ==21
[2025-01-09 06:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:14:03] Production.INFO: count ==21
[2025-01-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207669') start
[2025-01-09 06:14:04] Production.INFO: Account Balance End.
[2025-01-09 06:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:14:04] Production.INFO: ==29405== Releasing lock...
[2025-01-09 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:14:04] Production.ERROR: done
[2025-01-09 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:14:04] Production.ERROR: done
[2025-01-09 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207669') end
[2025-01-09 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:14:04] Production.INFO: 1
[2025-01-09 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:14:04] Production.INFO: ==29411== Releasing lock...
[2025-01-09 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:14:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.369974
[namelookup_time] => 0.527068
[connect_time] => 0.62386
[pretransfer_time] => 1.099105
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2010
[speed_upload] => 59
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.369904
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.16.6.14
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 59810
)
[2025-01-09 06:14:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0MjEyNDUsImV4cCI6MTczNjQyMTU0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NDIxMjQ1LCJhdF9oYXNoIjoiNHoyenBEV3JVRU5US3VSX0pfZzV2QSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.CtMlFJ7Uf0A8DVFKcQ0yQFwRBe9XNJ_ggkmBxrqhOpPx-bSNZQMSLLm1p-QrJ0gSeq-xYrfdxvJPOTDl4C3ihF3z9RNTTyTD4G0SsznZtnIKwlf73z0yzCuvfWne4r2Ox1G5vtO3xPQr9NR6Zt5gdWI9ECJPxlBzhXKpiI-Il7FqppyDxN_gAzYtS5U05_8pD82ChuhBkytbo81FJXLxMQRYOBSI3ZKiV-YkjhEcksf5Rlmm9LEaWyTjWVlohW9oDgRBNDfTW_m5cL3fikjbihom1YIXF1volHvWb_OHvh3w9RLNaN18b0wF3QFkvLB6vbuwPYPnLEiRBPiI_PhDiQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0MjEyNDUsImV4cCI6MTczNjQyMzA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Evvkj0m0EP0tIxQjtI2YTIgZAImeMNYyxbUDLY2a5td2TIPUskWE10O1sNRfDJfu_o7q1KDQhIVnGslZ8Qi4Ory2AsNzdY0jBBQytWoPJt63IwsNyE1cBXqWjLAspVANs3zK0km6T1JyMVvBmmRTwmm70AE_bldRh8GeHTmzWZ8CqWhPO4Sys5gHFrmf18DrUQ0ZE9m4EZVqdlWTeG3Dbxc288OC5L2cQDfutijvMusu4O6v10wXEI12vvwwJLZo4Was8MPEfc_XCB1tguLjC1xSXuNluXqEPYmwSiokGlkajkdpVxPwvkhzOs2mdYl0JegWic4Uvcz-NtefZ_XJDA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => LmEDnpDSSLkFdn3K-r9bePzs-CH1DSsr606XYDpepvw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-09 06:14:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0MjEyNDUsImV4cCI6MTczNjQyMTU0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NDIxMjQ1LCJhdF9oYXNoIjoiNHoyenBEV3JVRU5US3VSX0pfZzV2QSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.CtMlFJ7Uf0A8DVFKcQ0yQFwRBe9XNJ_ggkmBxrqhOpPx-bSNZQMSLLm1p-QrJ0gSeq-xYrfdxvJPOTDl4C3ihF3z9RNTTyTD4G0SsznZtnIKwlf73z0yzCuvfWne4r2Ox1G5vtO3xPQr9NR6Zt5gdWI9ECJPxlBzhXKpiI-Il7FqppyDxN_gAzYtS5U05_8pD82ChuhBkytbo81FJXLxMQRYOBSI3ZKiV-YkjhEcksf5Rlmm9LEaWyTjWVlohW9oDgRBNDfTW_m5cL3fikjbihom1YIXF1volHvWb_OHvh3w9RLNaN18b0wF3QFkvLB6vbuwPYPnLEiRBPiI_PhDiQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0MjEyNDUsImV4cCI6MTczNjQyMzA0NSwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Evvkj0m0EP0tIxQjtI2YTIgZAImeMNYyxbUDLY2a5td2TIPUskWE10O1sNRfDJfu_o7q1KDQhIVnGslZ8Qi4Ory2AsNzdY0jBBQytWoPJt63IwsNyE1cBXqWjLAspVANs3zK0km6T1JyMVvBmmRTwmm70AE_bldRh8GeHTmzWZ8CqWhPO4Sys5gHFrmf18DrUQ0ZE9m4EZVqdlWTeG3Dbxc288OC5L2cQDfutijvMusu4O6v10wXEI12vvwwJLZo4Was8MPEfc_XCB1tguLjC1xSXuNluXqEPYmwSiokGlkajkdpVxPwvkhzOs2mdYl0JegWic4Uvcz-NtefZ_XJDA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => LmEDnpDSSLkFdn3K-r9bePzs-CH1DSsr606XYDpepvw
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-09 06:14:05] Production.ERROR: Invoice Payment Date 2025-01-08 00:00:00
[2025-01-09 06:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,08)
[2025-01-09 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:14:05
[end_date_ymd] => 2025-01-09 06:14:05
[RateCDR] => 1
)
[2025-01-09 06:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:14:05' and `end` < '2025-01-09 06:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:14:07] Production.INFO: Batch insert start
[2025-01-09 06:14:07] Production.INFO: global counter1
[2025-01-09 06:14:07] Production.INFO: insertion start
[2025-01-09 06:14:07] Production.INFO: last batch insert 1
[2025-01-09 06:14:07] Production.INFO: insertion end
[2025-01-09 06:14:07] Production.INFO: CALL prc_importPaymentAccounting ('d6867c40-ce7a-11ef-ba48-6d6c1b29da54') start
[2025-01-09 06:14:07] Production.INFO: CALL prc_importPaymentAccounting ('d6867c40-ce7a-11ef-ba48-6d6c1b29da54') end
[2025-01-09 06:14:08] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-09 06:14:08] Production.INFO: 2
[2025-01-09 06:14:08] Production.ERROR: CronJobId end14
[2025-01-09 06:14:08] Production.INFO: ==29407== Releasing lock...
[2025-01-09 06:14:08] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-09 06:14:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:14:10] Production.ERROR: CronJobId end10
[2025-01-09 06:14:10] Production.INFO: ==29403== Releasing lock...
[2025-01-09 06:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:14:12] Production.INFO: call_cost start
[2025-01-09 06:14:12] Production.INFO: call_cost end
[2025-01-09 06:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:14:13] Production.INFO: ==29399== Releasing lock...
[2025-01-09 06:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:14:18] Production.INFO: count ==59
[2025-01-09 06:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:14:05 - End Time 2025-01-09 06:14:05
[2025-01-09 06:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207670', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207670', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207670', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207670', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:14:18] Production.INFO: ProcessCDR(1,14207670,1,1,2)
[2025-01-09 06:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207670', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207670', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:14:21] Production.INFO: ==29409== Releasing lock...
[2025-01-09 06:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:14:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:15:01] Production.INFO: ==29470== Lock acquired, processing the job...
[2025-01-09 11:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:15:01] Production.INFO: neon service started
[2025-01-09 11:15:01] Production.INFO: neon service started
[2025-01-09 11:15:01] Production.INFO: ==29470== Releasing lock...
[2025-01-09 11:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:15:02] Production.INFO: ==29472== Lock acquired, processing the job...
[2025-01-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:15:02] Production.INFO: ==29472== Releasing lock...
[2025-01-09 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:15:02] Production.INFO: ==29474== Lock acquired, processing the job...
[2025-01-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:15:02] Production.INFO: ==29474== Releasing lock...
[2025-01-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:15:03] Production.INFO: ==29480== Lock acquired, processing the job...
[2025-01-09 06:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:15:03] Production.INFO: ==29486== Lock acquired, processing the job...
[2025-01-09 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:15:03] Production.INFO: ==29476== Lock acquired, processing the job...
[2025-01-09 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:15:03] Production.INFO: count ==21
[2025-01-09 06:15:03] Production.INFO: ==29484== Lock acquired, processing the job...
[2025-01-09 06:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:15:03] Production.INFO: ==29478== Lock acquired, processing the job...
[2025-01-09 06:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:15:03] Production.INFO: count ==21
[2025-01-09 06:15:03] Production.INFO: ==29482== Lock acquired, processing the job...
[2025-01-09 06:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207671') start
[2025-01-09 06:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:15:03] Production.INFO: Account Balance Start.
[2025-01-09 06:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:15:03] Production.INFO: 117
[2025-01-09 06:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207671') end
[2025-01-09 06:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:15:03] Production.INFO: 1
[2025-01-09 06:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:15:03] Production.INFO: ==29486== Releasing lock...
[2025-01-09 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:15:03] Production.INFO: Total Charge 0
[2025-01-09 06:15:03] Production.INFO: CreateAllLog End
[2025-01-09 06:15:04] Production.INFO: ==29478== Releasing lock...
[2025-01-09 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:15:04] Production.ERROR: done
[2025-01-09 06:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:15:04] Production.ERROR: done
[2025-01-09 06:15:04] Production.INFO: Account Balance End.
[2025-01-09 06:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:15:04] Production.INFO: ==29482== Releasing lock...
[2025-01-09 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:15:05
[end_date_ymd] => 2025-01-09 06:15:05
[RateCDR] => 1
)
[2025-01-09 06:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:15:05' and `end` < '2025-01-09 06:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:15:11] Production.ERROR: CronJobId end10
[2025-01-09 06:15:11] Production.INFO: ==29480== Releasing lock...
[2025-01-09 06:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:15:13] Production.INFO: call_cost start
[2025-01-09 06:15:13] Production.INFO: call_cost end
[2025-01-09 06:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:15:14] Production.INFO: ==29476== Releasing lock...
[2025-01-09 06:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:15:18] Production.INFO: count ==59
[2025-01-09 06:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:15:05 - End Time 2025-01-09 06:15:05
[2025-01-09 06:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207675', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207675', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207675', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207675', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:15:18] Production.INFO: ProcessCDR(1,14207675,1,1,2)
[2025-01-09 06:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207675', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207675', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:15:21] Production.INFO: ==29484== Releasing lock...
[2025-01-09 06:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:15:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:16:02] Production.INFO: ==29540== Lock acquired, processing the job...
[2025-01-09 11:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:16:02] Production.INFO: neon service started
[2025-01-09 11:16:02] Production.INFO: neon service started
[2025-01-09 11:16:02] Production.INFO: ==29540== Releasing lock...
[2025-01-09 11:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:16:02] Production.INFO: ==29544== Lock acquired, processing the job...
[2025-01-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:16:02] Production.INFO: ==29544== Releasing lock...
[2025-01-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:16:02] Production.INFO: ==29542== Lock acquired, processing the job...
[2025-01-09 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:16:03] Production.INFO: ==29542== Releasing lock...
[2025-01-09 06:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:16:03] Production.INFO: ==29549== Lock acquired, processing the job...
[2025-01-09 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:16:03] Production.INFO: ==29551== Lock acquired, processing the job...
[2025-01-09 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:16:03] Production.INFO: ==29553== Lock acquired, processing the job...
[2025-01-09 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:16:03] Production.INFO: ==29547== Lock acquired, processing the job...
[2025-01-09 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:16:04] Production.INFO: Account Balance Start.
[2025-01-09 06:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:16:04] Production.INFO: 117
[2025-01-09 06:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:16:04] Production.INFO: ==29555== Lock acquired, processing the job...
[2025-01-09 06:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:16:04] Production.INFO: ==29557== Lock acquired, processing the job...
[2025-01-09 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:16:04] Production.INFO: Total Charge 0
[2025-01-09 06:16:04] Production.INFO: CreateAllLog End
[2025-01-09 06:16:04] Production.INFO: ==29549== Releasing lock...
[2025-01-09 06:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:16:04] Production.INFO: Account Balance End.
[2025-01-09 06:16:04] Production.INFO: count ==21
[2025-01-09 06:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:16:04] Production.INFO: count ==21
[2025-01-09 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207679') start
[2025-01-09 06:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:16:04] Production.INFO: ==29553== Releasing lock...
[2025-01-09 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207679') end
[2025-01-09 06:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:16:04] Production.INFO: 1
[2025-01-09 06:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:16:04] Production.INFO: ==29557== Releasing lock...
[2025-01-09 06:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:16:04] Production.ERROR: done
[2025-01-09 06:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:16:04] Production.ERROR: done
[2025-01-09 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:16:05
[end_date_ymd] => 2025-01-09 06:16:05
[RateCDR] => 1
)
[2025-01-09 06:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:16:05' and `end` < '2025-01-09 06:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:16:12] Production.ERROR: CronJobId end10
[2025-01-09 06:16:12] Production.INFO: ==29551== Releasing lock...
[2025-01-09 06:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:16:13] Production.INFO: call_cost start
[2025-01-09 06:16:13] Production.INFO: call_cost end
[2025-01-09 06:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:16:14] Production.INFO: ==29547== Releasing lock...
[2025-01-09 06:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:16:18] Production.INFO: count ==59
[2025-01-09 06:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:16:05 - End Time 2025-01-09 06:16:05
[2025-01-09 06:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207680', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207680', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207680', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207680', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:16:18] Production.INFO: ProcessCDR(1,14207680,1,1,2)
[2025-01-09 06:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207680', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207680', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:16:21] Production.INFO: ==29555== Releasing lock...
[2025-01-09 06:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:16:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:17:01] Production.INFO: ==29612== Lock acquired, processing the job...
[2025-01-09 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:17:01] Production.INFO: neon service started
[2025-01-09 11:17:01] Production.INFO: neon service started
[2025-01-09 11:17:01] Production.INFO: ==29612== Releasing lock...
[2025-01-09 11:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:17:01] Production.INFO: ==29616== Lock acquired, processing the job...
[2025-01-09 11:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:17:02] Production.INFO: ==29616== Releasing lock...
[2025-01-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:17:02] Production.INFO: ==29614== Lock acquired, processing the job...
[2025-01-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:17:02] Production.INFO: ==29614== Releasing lock...
[2025-01-09 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:17:03] Production.INFO: ==29621== Lock acquired, processing the job...
[2025-01-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:17:03] Production.INFO: ==29623== Lock acquired, processing the job...
[2025-01-09 06:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:17:03] Production.INFO: ==29627== Lock acquired, processing the job...
[2025-01-09 06:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:17:03] Production.INFO: ==29619== Lock acquired, processing the job...
[2025-01-09 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:17:03] Production.INFO: ==29621== Releasing lock...
[2025-01-09 06:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:17:03] Production.INFO: ==29625== Lock acquired, processing the job...
[2025-01-09 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:17:03] Production.INFO: ==29629== Lock acquired, processing the job...
[2025-01-09 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:17:03] Production.INFO: Account Balance Start.
[2025-01-09 06:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:17:03] Production.INFO: 117
[2025-01-09 06:17:03] Production.ERROR: done
[2025-01-09 06:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:17:03] Production.INFO: count ==21
[2025-01-09 06:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:17:03] Production.INFO: count ==21
[2025-01-09 06:17:04] Production.ERROR: done
[2025-01-09 06:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207684') start
[2025-01-09 06:17:04] Production.INFO: Total Charge 0
[2025-01-09 06:17:04] Production.INFO: CreateAllLog End
[2025-01-09 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207684') end
[2025-01-09 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:17:04] Production.INFO: 1
[2025-01-09 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:17:04] Production.INFO: ==29629== Releasing lock...
[2025-01-09 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:17:04] Production.INFO: Account Balance End.
[2025-01-09 06:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:17:04] Production.INFO: ==29625== Releasing lock...
[2025-01-09 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:17:05
[end_date_ymd] => 2025-01-09 06:17:05
[RateCDR] => 1
)
[2025-01-09 06:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:17:05' and `end` < '2025-01-09 06:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:17:10] Production.ERROR: CronJobId end10
[2025-01-09 06:17:10] Production.INFO: ==29623== Releasing lock...
[2025-01-09 06:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:17:13] Production.INFO: call_cost start
[2025-01-09 06:17:13] Production.INFO: call_cost end
[2025-01-09 06:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:17:14] Production.INFO: ==29619== Releasing lock...
[2025-01-09 06:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:17:17] Production.INFO: count ==59
[2025-01-09 06:17:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:17:05 - End Time 2025-01-09 06:17:05
[2025-01-09 06:17:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207685', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207685', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207685', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:17:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207685', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:17:17] Production.INFO: ProcessCDR(1,14207685,1,1,2)
[2025-01-09 06:17:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:17:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:17:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207685', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207685', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:17:21] Production.INFO: ==29627== Releasing lock...
[2025-01-09 06:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:17:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:18:02] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-01-09 11:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:18:02] Production.INFO: neon service started
[2025-01-09 11:18:02] Production.INFO: neon service started
[2025-01-09 11:18:02] Production.INFO: ==29728== Releasing lock...
[2025-01-09 11:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:18:02] Production.INFO: ==29730== Lock acquired, processing the job...
[2025-01-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:18:02] Production.INFO: ==29730== Releasing lock...
[2025-01-09 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:18:02] Production.INFO: ==29732== Lock acquired, processing the job...
[2025-01-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:18:03] Production.INFO: ==29732== Releasing lock...
[2025-01-09 11:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:18:03] Production.INFO: ==29735== Lock acquired, processing the job...
[2025-01-09 06:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:18:03] Production.INFO: ==29743== Lock acquired, processing the job...
[2025-01-09 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:18:03] Production.INFO: ==29737== Lock acquired, processing the job...
[2025-01-09 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:18:03] Production.INFO: ==29741== Lock acquired, processing the job...
[2025-01-09 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:18:03] Production.INFO: ==29739== Lock acquired, processing the job...
[2025-01-09 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:18:04] Production.INFO: ==29745== Lock acquired, processing the job...
[2025-01-09 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:18:04] Production.INFO: Account Balance Start.
[2025-01-09 06:18:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:18:04] Production.INFO: 117
[2025-01-09 06:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:18:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:18:04] Production.INFO: Total Charge 0
[2025-01-09 06:18:04] Production.INFO: count ==21
[2025-01-09 06:18:04] Production.INFO: CreateAllLog End
[2025-01-09 06:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:18:04] Production.INFO: count ==21
[2025-01-09 06:18:04] Production.ERROR: done
[2025-01-09 06:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207688') start
[2025-01-09 06:18:04] Production.INFO: ==29737== Releasing lock...
[2025-01-09 06:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:18:04] Production.INFO: Account Balance End.
[2025-01-09 06:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207688') end
[2025-01-09 06:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:18:04] Production.INFO: 1
[2025-01-09 06:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:18:04] Production.INFO: ==29741== Releasing lock...
[2025-01-09 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:18:04] Production.ERROR: done
[2025-01-09 06:18:04] Production.INFO: ==29745== Releasing lock...
[2025-01-09 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:18:05
[end_date_ymd] => 2025-01-09 06:18:05
[RateCDR] => 1
)
[2025-01-09 06:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:18:05' and `end` < '2025-01-09 06:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:18:12] Production.ERROR: CronJobId end10
[2025-01-09 06:18:12] Production.INFO: ==29739== Releasing lock...
[2025-01-09 06:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:18:13] Production.INFO: call_cost start
[2025-01-09 06:18:13] Production.INFO: call_cost end
[2025-01-09 06:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:18:14] Production.INFO: ==29735== Releasing lock...
[2025-01-09 06:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:18:18] Production.INFO: count ==59
[2025-01-09 06:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:18:05 - End Time 2025-01-09 06:18:05
[2025-01-09 06:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207690', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207690', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207690', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207690', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:18:18] Production.INFO: ProcessCDR(1,14207690,1,1,2)
[2025-01-09 06:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207690', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207690', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:18:21] Production.INFO: ==29743== Releasing lock...
[2025-01-09 06:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:18:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:19:01] Production.INFO: ==29799== Lock acquired, processing the job...
[2025-01-09 11:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:19:01] Production.INFO: neon service started
[2025-01-09 11:19:01] Production.INFO: neon service started
[2025-01-09 11:19:01] Production.INFO: ==29799== Releasing lock...
[2025-01-09 11:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:19:01] Production.INFO: ==29801== Lock acquired, processing the job...
[2025-01-09 06:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:19:02] Production.INFO: ==29803== Lock acquired, processing the job...
[2025-01-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:19:02] Production.INFO: ==29803== Releasing lock...
[2025-01-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:19:02] Production.INFO: ==29801== Releasing lock...
[2025-01-09 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:19:03] Production.INFO: ==29805== Lock acquired, processing the job...
[2025-01-09 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:19:03] Production.INFO: ==29807== Lock acquired, processing the job...
[2025-01-09 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:19:03] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-01-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:19:03] Production.INFO: ==29811== Lock acquired, processing the job...
[2025-01-09 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:19:03] Production.INFO: ==29809== Lock acquired, processing the job...
[2025-01-09 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:19:03] Production.INFO: count ==21
[2025-01-09 06:19:03] Production.INFO: Account Balance Start.
[2025-01-09 06:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:19:03] Production.INFO: count ==21
[2025-01-09 06:19:03] Production.INFO: ==29813== Lock acquired, processing the job...
[2025-01-09 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:19:03] Production.INFO: 117
[2025-01-09 06:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207693') start
[2025-01-09 06:19:03] Production.INFO: ==29807== Releasing lock...
[2025-01-09 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:19:03] Production.INFO: Total Charge 0
[2025-01-09 06:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207693') end
[2025-01-09 06:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:19:03] Production.INFO: 1
[2025-01-09 06:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:19:03] Production.INFO: CreateAllLog End
[2025-01-09 06:19:03] Production.INFO: ==29816== Releasing lock...
[2025-01-09 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:19:03] Production.ERROR: done
[2025-01-09 06:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:19:04] Production.INFO: Account Balance End.
[2025-01-09 06:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:19:04] Production.ERROR: done
[2025-01-09 06:19:04] Production.INFO: ==29811== Releasing lock...
[2025-01-09 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:19:05
[end_date_ymd] => 2025-01-09 06:19:05
[RateCDR] => 1
)
[2025-01-09 06:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:19:05' and `end` < '2025-01-09 06:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:19:12] Production.ERROR: CronJobId end10
[2025-01-09 06:19:12] Production.INFO: ==29809== Releasing lock...
[2025-01-09 06:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:19:14] Production.INFO: call_cost start
[2025-01-09 06:19:14] Production.INFO: call_cost end
[2025-01-09 06:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:19:14] Production.INFO: ==29805== Releasing lock...
[2025-01-09 06:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:19:18] Production.INFO: count ==59
[2025-01-09 06:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:19:05 - End Time 2025-01-09 06:19:05
[2025-01-09 06:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207695', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207695', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207695', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207695', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:19:18] Production.INFO: ProcessCDR(1,14207695,1,1,2)
[2025-01-09 06:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207695', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207695', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:19:22] Production.INFO: ==29813== Releasing lock...
[2025-01-09 06:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:19:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:20:01] Production.INFO: ==29868== Lock acquired, processing the job...
[2025-01-09 11:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:20:01] Production.INFO: neon service started
[2025-01-09 11:20:02] Production.INFO: neon service started
[2025-01-09 11:20:02] Production.INFO: ==29868== Releasing lock...
[2025-01-09 11:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:20:02] Production.INFO: ==29870== Lock acquired, processing the job...
[2025-01-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:20:02] Production.INFO: ==29870== Releasing lock...
[2025-01-09 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:20:02] Production.INFO: ==29872== Lock acquired, processing the job...
[2025-01-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:20:03] Production.INFO: ==29872== Releasing lock...
[2025-01-09 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:20:03] Production.INFO: ==29875== Lock acquired, processing the job...
[2025-01-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 06:20:03] Production.INFO: ==29883== Lock acquired, processing the job...
[2025-01-09 06:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:20:03] Production.INFO: ==29877== Lock acquired, processing the job...
[2025-01-09 06:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:20:03] Production.ERROR: CronJob PID - 29877
[2025-01-09 06:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 06:20:03] Production.ERROR: CronJob ID - 5
[2025-01-09 06:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 06:20:00
[2025-01-09 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:20:03] Production.ERROR: CronJob PID - 29883
[2025-01-09 06:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 06:20:03] Production.ERROR: CronJob ID - 12
[2025-01-09 06:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 06:20:00
[2025-01-09 06:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:20:03] Production.INFO: Account Balance Start.
[2025-01-09 06:20:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 06:20:03] Production.INFO: ==29875== Releasing lock...
[2025-01-09 06:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 06:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 06:20:03] Production.INFO: 117
[2025-01-09 06:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:20:03] Production.INFO: ==29879== Lock acquired, processing the job...
[2025-01-09 06:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:20:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:20:04] Production.INFO: ==29887== Lock acquired, processing the job...
[2025-01-09 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:20:04] Production.INFO: ==29881== Lock acquired, processing the job...
[2025-01-09 06:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:20:04] Production.INFO: ==29885== Lock acquired, processing the job...
[2025-01-09 06:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:20:04] Production.INFO: Total Charge 0
[2025-01-09 06:20:04] Production.INFO: CreateAllLog End
[2025-01-09 06:20:04] Production.INFO: ==29889== Lock acquired, processing the job...
[2025-01-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:20:04] Production.INFO: count ==21
[2025-01-09 06:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:20:04] Production.INFO: count ==21
[2025-01-09 06:20:04] Production.INFO: Account Balance End.
[2025-01-09 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207699') start
[2025-01-09 06:20:04] Production.ERROR: done
[2025-01-09 06:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:20:04] Production.INFO: ==29883== Releasing lock...
[2025-01-09 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:20:04] Production.INFO: ==29879== Releasing lock...
[2025-01-09 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207699') end
[2025-01-09 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:20:04] Production.INFO: 1
[2025-01-09 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 06:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207700', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 06:20:04] Production.ERROR: done
[2025-01-09 06:20:04] Production.INFO: ==29889== Releasing lock...
[2025-01-09 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:20:04] Production.ERROR: done
[2025-01-09 06:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:20:06
[end_date_ymd] => 2025-01-09 06:20:06
[RateCDR] => 1
)
[2025-01-09 06:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:20:06' and `end` < '2025-01-09 06:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207700', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 06:20:09] Production.INFO: ProcessCDR(1,14207700,1,1,2)
[2025-01-09 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:20:09] Production.INFO: ==29887== Releasing lock...
[2025-01-09 06:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 06:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:20:13] Production.ERROR: CronJobId end10
[2025-01-09 06:20:13] Production.INFO: ==29881== Releasing lock...
[2025-01-09 06:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:20:15] Production.INFO: call_cost start
[2025-01-09 06:20:15] Production.INFO: call_cost end
[2025-01-09 06:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:20:16] Production.INFO: ==29877== Releasing lock...
[2025-01-09 06:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:20:18] Production.INFO: count ==59
[2025-01-09 06:20:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:20:06 - End Time 2025-01-09 06:20:06
[2025-01-09 06:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207701', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207701', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207701', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207701', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:20:18] Production.INFO: ProcessCDR(1,14207701,1,1,2)
[2025-01-09 06:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207701', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207701', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:20:22] Production.INFO: ==29885== Releasing lock...
[2025-01-09 06:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:20:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:21:01] Production.INFO: ==29942== Lock acquired, processing the job...
[2025-01-09 11:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:21:01] Production.INFO: neon service started
[2025-01-09 11:21:01] Production.INFO: neon service started
[2025-01-09 11:21:01] Production.INFO: ==29942== Releasing lock...
[2025-01-09 11:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:21:01] Production.INFO: ==29946== Lock acquired, processing the job...
[2025-01-09 11:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:21:01] Production.INFO: ==29946== Releasing lock...
[2025-01-09 11:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:21:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:21:01] Production.INFO: ==29944== Lock acquired, processing the job...
[2025-01-09 06:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:21:02] Production.INFO: ==29944== Releasing lock...
[2025-01-09 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:21:02] Production.INFO: ==29949== Lock acquired, processing the job...
[2025-01-09 06:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:21:02] Production.INFO: ==29953== Lock acquired, processing the job...
[2025-01-09 06:21:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:21:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:21:03] Production.INFO: ==29951== Lock acquired, processing the job...
[2025-01-09 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:21:03] Production.INFO: ==29957== Lock acquired, processing the job...
[2025-01-09 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:21:03] Production.INFO: ==29955== Lock acquired, processing the job...
[2025-01-09 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:21:03] Production.INFO: ==29959== Lock acquired, processing the job...
[2025-01-09 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:21:03] Production.INFO: ==29951== Releasing lock...
[2025-01-09 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:21:03] Production.ERROR: done
[2025-01-09 06:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:21:03] Production.INFO: Account Balance Start.
[2025-01-09 06:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:21:03] Production.INFO: 117
[2025-01-09 06:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:21:03] Production.INFO: count ==21
[2025-01-09 06:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:21:03] Production.INFO: count ==21
[2025-01-09 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207705') start
[2025-01-09 06:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207705') end
[2025-01-09 06:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:21:03] Production.INFO: 1
[2025-01-09 06:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:21:03] Production.ERROR: done
[2025-01-09 06:21:03] Production.INFO: Total Charge 0
[2025-01-09 06:21:03] Production.INFO: ==29959== Releasing lock...
[2025-01-09 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:21:03] Production.INFO: CreateAllLog End
[2025-01-09 06:21:04] Production.INFO: Account Balance End.
[2025-01-09 06:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:21:04] Production.INFO: ==29955== Releasing lock...
[2025-01-09 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:21:04
[end_date_ymd] => 2025-01-09 06:21:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 03:21:04' and `end` < '2025-01-09 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-01-09 06:21:09] Production.ERROR: CronJobId end10
[2025-01-09 06:21:09] Production.INFO: ==29953== Releasing lock...
[2025-01-09 06:21:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:21:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:21:13] Production.INFO: call_cost start
[2025-01-09 06:21:13] Production.INFO: call_cost end
[2025-01-09 06:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:21:13] Production.INFO: ==29949== Releasing lock...
[2025-01-09 06:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:21:18] Production.INFO: count ==59
[2025-01-09 06:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:21:04 - End Time 2025-01-09 06:21:04
[2025-01-09 06:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207706', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207706', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207706', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207706', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:21:18] Production.INFO: ProcessCDR(1,14207706,1,1,2)
[2025-01-09 06:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207706', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207706', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:21:21] Production.INFO: ==29957== Releasing lock...
[2025-01-09 06:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:21:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:22:01] Production.INFO: ==30013== Lock acquired, processing the job...
[2025-01-09 11:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:22:01] Production.INFO: neon service started
[2025-01-09 11:22:01] Production.INFO: neon service started
[2025-01-09 11:22:01] Production.INFO: ==30013== Releasing lock...
[2025-01-09 11:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:22:02] Production.INFO: ==30015== Lock acquired, processing the job...
[2025-01-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:22:02] Production.INFO: ==30015== Releasing lock...
[2025-01-09 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:22:02] Production.INFO: ==30017== Lock acquired, processing the job...
[2025-01-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:22:02] Production.INFO: ==30017== Releasing lock...
[2025-01-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:22:03] Production.INFO: ==30019== Lock acquired, processing the job...
[2025-01-09 06:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:22:03] Production.INFO: ==30021== Lock acquired, processing the job...
[2025-01-09 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:22:03] Production.INFO: ==30025== Lock acquired, processing the job...
[2025-01-09 06:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:22:03] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-01-09 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:22:03] Production.INFO: Account Balance Start.
[2025-01-09 06:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:22:03] Production.INFO: 117
[2025-01-09 06:22:03] Production.INFO: ==30023== Lock acquired, processing the job...
[2025-01-09 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:22:03] Production.INFO: Total Charge 0
[2025-01-09 06:22:03] Production.INFO: count ==21
[2025-01-09 06:22:03] Production.INFO: ==30027== Lock acquired, processing the job...
[2025-01-09 06:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:22:03] Production.INFO: CreateAllLog End
[2025-01-09 06:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:22:03] Production.INFO: count ==21
[2025-01-09 06:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207710') start
[2025-01-09 06:22:03] Production.INFO: ==30021== Releasing lock...
[2025-01-09 06:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207710') end
[2025-01-09 06:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:22:03] Production.INFO: 1
[2025-01-09 06:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:22:04] Production.INFO: Account Balance End.
[2025-01-09 06:22:04] Production.INFO: ==30029== Releasing lock...
[2025-01-09 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:22:04] Production.INFO: ==30025== Releasing lock...
[2025-01-09 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:22:04] Production.ERROR: done
[2025-01-09 06:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:22:04] Production.ERROR: done
[2025-01-09 06:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:22:05
[end_date_ymd] => 2025-01-09 06:22:05
[RateCDR] => 1
)
[2025-01-09 06:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:22:05' and `end` < '2025-01-09 06:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:22:10] Production.ERROR: CronJobId end10
[2025-01-09 06:22:10] Production.INFO: ==30023== Releasing lock...
[2025-01-09 06:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:22:12] Production.INFO: call_cost start
[2025-01-09 06:22:12] Production.INFO: call_cost end
[2025-01-09 06:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:22:13] Production.INFO: ==30019== Releasing lock...
[2025-01-09 06:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:22:18] Production.INFO: count ==59
[2025-01-09 06:22:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:22:05 - End Time 2025-01-09 06:22:05
[2025-01-09 06:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207711', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207711', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207711', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207711', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:22:18] Production.INFO: ProcessCDR(1,14207711,1,1,2)
[2025-01-09 06:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207711', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207711', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:22:21] Production.INFO: ==30027== Releasing lock...
[2025-01-09 06:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:22:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:23:02] Production.INFO: ==30083== Lock acquired, processing the job...
[2025-01-09 11:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:23:02] Production.INFO: neon service started
[2025-01-09 11:23:02] Production.INFO: neon service started
[2025-01-09 11:23:02] Production.INFO: ==30083== Releasing lock...
[2025-01-09 11:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:23:02] Production.INFO: ==30085== Lock acquired, processing the job...
[2025-01-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:23:02] Production.INFO: ==30085== Releasing lock...
[2025-01-09 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:23:02] Production.INFO: ==30087== Lock acquired, processing the job...
[2025-01-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:23:02] Production.INFO: ==30087== Releasing lock...
[2025-01-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:23:03] Production.INFO: ==30090== Lock acquired, processing the job...
[2025-01-09 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:23:03] Production.INFO: ==30094== Lock acquired, processing the job...
[2025-01-09 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:23:03] Production.INFO: ==30092== Lock acquired, processing the job...
[2025-01-09 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:23:03] Production.INFO: ==30100== Lock acquired, processing the job...
[2025-01-09 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:23:03] Production.INFO: ==30096== Lock acquired, processing the job...
[2025-01-09 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:23:03] Production.INFO: ==30098== Lock acquired, processing the job...
[2025-01-09 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:23:03] Production.INFO: Account Balance Start.
[2025-01-09 06:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:23:03] Production.INFO: 117
[2025-01-09 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-01-09 06:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:23:03] Production.INFO: count ==21
[2025-01-09 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 06:23:03] Production.INFO: count ==21
[2025-01-09 06:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207713') start
[2025-01-09 06:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:23:04] Production.INFO: Total Charge 0
[2025-01-09 06:23:04] Production.INFO: CreateAllLog End
[2025-01-09 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207713') end
[2025-01-09 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:23:04] Production.INFO: 1
[2025-01-09 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:23:04] Production.INFO: ==30092== Releasing lock...
[2025-01-09 06:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:23:04] Production.ERROR: done
[2025-01-09 06:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:23:04] Production.INFO: ==30100== Releasing lock...
[2025-01-09 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:23:04] Production.INFO: Account Balance End.
[2025-01-09 06:23:04] Production.ERROR: done
[2025-01-09 06:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:23:04] Production.INFO: ==30096== Releasing lock...
[2025-01-09 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:23:05
[end_date_ymd] => 2025-01-09 06:23:05
[RateCDR] => 1
)
[2025-01-09 06:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:23:05' and `end` < '2025-01-09 06:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:23:11] Production.ERROR: CronJobId end10
[2025-01-09 06:23:11] Production.INFO: ==30094== Releasing lock...
[2025-01-09 06:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:23:13] Production.INFO: call_cost start
[2025-01-09 06:23:13] Production.INFO: call_cost end
[2025-01-09 06:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:23:13] Production.INFO: ==30090== Releasing lock...
[2025-01-09 06:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:23:19] Production.INFO: count ==59
[2025-01-09 06:23:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:23:05 - End Time 2025-01-09 06:23:05
[2025-01-09 06:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207716', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207716', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207716', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207716', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:23:19] Production.INFO: ProcessCDR(1,14207716,1,1,2)
[2025-01-09 06:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207716', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207716', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:23:22] Production.INFO: ==30098== Releasing lock...
[2025-01-09 06:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:23:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:24:01] Production.INFO: ==30153== Lock acquired, processing the job...
[2025-01-09 11:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:24:01] Production.INFO: neon service started
[2025-01-09 11:24:01] Production.INFO: neon service started
[2025-01-09 11:24:01] Production.INFO: ==30153== Releasing lock...
[2025-01-09 11:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:24:02] Production.INFO: ==30155== Lock acquired, processing the job...
[2025-01-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:24:02] Production.INFO: ==30157== Lock acquired, processing the job...
[2025-01-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:24:02] Production.INFO: ==30157== Releasing lock...
[2025-01-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:24:02] Production.INFO: ==30155== Releasing lock...
[2025-01-09 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:24:03] Production.INFO: ==30160== Lock acquired, processing the job...
[2025-01-09 06:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:24:03] Production.INFO: ==30162== Lock acquired, processing the job...
[2025-01-09 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:24:03] Production.INFO: ==30164== Lock acquired, processing the job...
[2025-01-09 06:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:24:03] Production.INFO: ==30166== Lock acquired, processing the job...
[2025-01-09 06:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:24:03] Production.INFO: ==30162== Releasing lock...
[2025-01-09 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:24:03] Production.INFO: Account Balance Start.
[2025-01-09 06:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:24:03] Production.INFO: 117
[2025-01-09 06:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:24:03] Production.INFO: ==30170== Lock acquired, processing the job...
[2025-01-09 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:24:03] Production.INFO: ==30168== Lock acquired, processing the job...
[2025-01-09 06:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:24:03] Production.INFO: Total Charge 0
[2025-01-09 06:24:03] Production.INFO: CreateAllLog End
[2025-01-09 06:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:24:03] Production.INFO: count ==21
[2025-01-09 06:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:24:04] Production.INFO: count ==21
[2025-01-09 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207720') start
[2025-01-09 06:24:04] Production.INFO: Account Balance End.
[2025-01-09 06:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:24:04] Production.INFO: ==30166== Releasing lock...
[2025-01-09 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:24:04] Production.ERROR: done
[2025-01-09 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207720') end
[2025-01-09 06:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:24:04] Production.INFO: 1
[2025-01-09 06:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:24:04] Production.INFO: ==30170== Releasing lock...
[2025-01-09 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:24:04] Production.ERROR: done
[2025-01-09 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:24:05
[end_date_ymd] => 2025-01-09 06:24:05
[RateCDR] => 1
)
[2025-01-09 06:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:24:05' and `end` < '2025-01-09 06:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:24:10] Production.ERROR: CronJobId end10
[2025-01-09 06:24:10] Production.INFO: ==30164== Releasing lock...
[2025-01-09 06:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:24:12] Production.INFO: call_cost start
[2025-01-09 06:24:12] Production.INFO: call_cost end
[2025-01-09 06:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:24:13] Production.INFO: ==30160== Releasing lock...
[2025-01-09 06:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:24:18] Production.INFO: count ==59
[2025-01-09 06:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:24:05 - End Time 2025-01-09 06:24:05
[2025-01-09 06:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207721', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207721', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207721', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207721', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:24:18] Production.INFO: ProcessCDR(1,14207721,1,1,2)
[2025-01-09 06:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207721', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207721', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:24:21] Production.INFO: ==30168== Releasing lock...
[2025-01-09 06:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:24:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:25:02] Production.INFO: ==30223== Lock acquired, processing the job...
[2025-01-09 11:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:25:02] Production.INFO: neon service started
[2025-01-09 11:25:02] Production.INFO: neon service started
[2025-01-09 11:25:02] Production.INFO: ==30223== Releasing lock...
[2025-01-09 11:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:25:02] Production.INFO: ==30225== Lock acquired, processing the job...
[2025-01-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:25:02] Production.INFO: ==30225== Releasing lock...
[2025-01-09 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:25:02] Production.INFO: ==30227== Lock acquired, processing the job...
[2025-01-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:25:02] Production.INFO: ==30227== Releasing lock...
[2025-01-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:25:03] Production.INFO: ==30238== Lock acquired, processing the job...
[2025-01-09 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:25:03] Production.INFO: ==30240== Lock acquired, processing the job...
[2025-01-09 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:25:03] Production.INFO: ==30230== Lock acquired, processing the job...
[2025-01-09 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:25:03] Production.INFO: ==30232== Lock acquired, processing the job...
[2025-01-09 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:25:03] Production.INFO: ==30234== Lock acquired, processing the job...
[2025-01-09 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:25:03] Production.INFO: ==30236== Lock acquired, processing the job...
[2025-01-09 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:25:03] Production.INFO: count ==21
[2025-01-09 06:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:25:03] Production.INFO: count ==21
[2025-01-09 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207722') start
[2025-01-09 06:25:03] Production.INFO: Account Balance Start.
[2025-01-09 06:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:25:03] Production.INFO: 117
[2025-01-09 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:25:03] Production.ERROR: done
[2025-01-09 06:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207722') end
[2025-01-09 06:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:25:03] Production.INFO: 1
[2025-01-09 06:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:25:04] Production.INFO: Total Charge 0
[2025-01-09 06:25:04] Production.INFO: CreateAllLog End
[2025-01-09 06:25:04] Production.INFO: ==30240== Releasing lock...
[2025-01-09 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:25:04] Production.ERROR: done
[2025-01-09 06:25:04] Production.INFO: ==30232== Releasing lock...
[2025-01-09 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:25:04] Production.INFO: Account Balance End.
[2025-01-09 06:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:25:04] Production.INFO: ==30236== Releasing lock...
[2025-01-09 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:25:05
[end_date_ymd] => 2025-01-09 06:25:05
[RateCDR] => 1
)
[2025-01-09 06:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:25:05' and `end` < '2025-01-09 06:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:25:10] Production.ERROR: CronJobId end10
[2025-01-09 06:25:10] Production.INFO: ==30234== Releasing lock...
[2025-01-09 06:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:25:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:25:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:25:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:25:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:25:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:25:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:25:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:25:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:25:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:25:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:25:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:25:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:25:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:25:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:25:12] Production.INFO: call_cost start
[2025-01-09 06:25:12] Production.INFO: call_cost end
[2025-01-09 06:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:25:13] Production.INFO: ==30230== Releasing lock...
[2025-01-09 06:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:25:18] Production.INFO: count ==59
[2025-01-09 06:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:25:05 - End Time 2025-01-09 06:25:05
[2025-01-09 06:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207726', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207726', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207726', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207726', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:25:18] Production.INFO: ProcessCDR(1,14207726,1,1,2)
[2025-01-09 06:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207726', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207726', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:25:21] Production.INFO: ==30238== Releasing lock...
[2025-01-09 06:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:25:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:26:01] Production.INFO: ==30294== Lock acquired, processing the job...
[2025-01-09 11:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:26:01] Production.INFO: neon service started
[2025-01-09 11:26:01] Production.INFO: neon service started
[2025-01-09 11:26:01] Production.INFO: ==30294== Releasing lock...
[2025-01-09 11:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:26:01] Production.INFO: ==30298== Lock acquired, processing the job...
[2025-01-09 11:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:26:01] Production.INFO: ==30298== Releasing lock...
[2025-01-09 11:26:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:26:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:26:01] Production.INFO: ==30296== Lock acquired, processing the job...
[2025-01-09 06:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:26:02] Production.INFO: ==30296== Releasing lock...
[2025-01-09 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:26:02] Production.INFO: ==30304== Lock acquired, processing the job...
[2025-01-09 06:26:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:26:02] Production.INFO: ==30302== Lock acquired, processing the job...
[2025-01-09 06:26:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:26:02] Production.INFO: ==30300== Lock acquired, processing the job...
[2025-01-09 06:26:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:26:03] Production.INFO: ==30306== Lock acquired, processing the job...
[2025-01-09 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:26:03] Production.INFO: ==30308== Lock acquired, processing the job...
[2025-01-09 06:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:26:03] Production.INFO: Account Balance Start.
[2025-01-09 06:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:26:03] Production.INFO: 117
[2025-01-09 06:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:26:03] Production.INFO: ==30310== Lock acquired, processing the job...
[2025-01-09 06:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:26:03] Production.INFO: ==30302== Releasing lock...
[2025-01-09 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:26:03] Production.INFO: Total Charge 0
[2025-01-09 06:26:03] Production.INFO: CreateAllLog End
[2025-01-09 06:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:26:03] Production.INFO: count ==21
[2025-01-09 06:26:03] Production.INFO: Account Balance End.
[2025-01-09 06:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:26:03] Production.ERROR: done
[2025-01-09 06:26:03] Production.INFO: count ==21
[2025-01-09 06:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:26:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:26:03] Production.INFO: ==30306== Releasing lock...
[2025-01-09 06:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207730') start
[2025-01-09 06:26:03] Production.ERROR: done
[2025-01-09 06:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207730') end
[2025-01-09 06:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:26:03] Production.INFO: 1
[2025-01-09 06:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:26:04] Production.INFO: ==30310== Releasing lock...
[2025-01-09 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:26:04
[end_date_ymd] => 2025-01-09 06:26:04
[RateCDR] => 1
)
[2025-01-09 06:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:26:04' and `end` < '2025-01-09 06:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:26:10] Production.ERROR: CronJobId end10
[2025-01-09 06:26:10] Production.INFO: ==30304== Releasing lock...
[2025-01-09 06:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:26:12] Production.INFO: call_cost start
[2025-01-09 06:26:12] Production.INFO: call_cost end
[2025-01-09 06:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:26:13] Production.INFO: ==30300== Releasing lock...
[2025-01-09 06:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:26:17] Production.INFO: count ==59
[2025-01-09 06:26:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:26:04 - End Time 2025-01-09 06:26:04
[2025-01-09 06:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207731', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207731', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207731', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207731', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:26:17] Production.INFO: ProcessCDR(1,14207731,1,1,2)
[2025-01-09 06:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207731', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207731', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:26:20] Production.INFO: ==30308== Releasing lock...
[2025-01-09 06:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:26:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:27:01] Production.INFO: ==30364== Lock acquired, processing the job...
[2025-01-09 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:27:01] Production.INFO: neon service started
[2025-01-09 11:27:01] Production.INFO: neon service started
[2025-01-09 11:27:01] Production.INFO: ==30364== Releasing lock...
[2025-01-09 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:27:02] Production.INFO: ==30369== Lock acquired, processing the job...
[2025-01-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:27:02] Production.INFO: ==30369== Releasing lock...
[2025-01-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:27:02] Production.INFO: ==30367== Lock acquired, processing the job...
[2025-01-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:27:02] Production.INFO: ==30367== Releasing lock...
[2025-01-09 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:27:03] Production.INFO: ==30375== Lock acquired, processing the job...
[2025-01-09 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:27:03] Production.INFO: ==30381== Lock acquired, processing the job...
[2025-01-09 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:27:03] Production.INFO: ==30371== Lock acquired, processing the job...
[2025-01-09 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:27:03] Production.INFO: count ==21
[2025-01-09 06:27:03] Production.INFO: ==30373== Lock acquired, processing the job...
[2025-01-09 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:27:03] Production.INFO: count ==21
[2025-01-09 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207732') start
[2025-01-09 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:27:03] Production.INFO: ==30377== Lock acquired, processing the job...
[2025-01-09 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:27:03] Production.INFO: ==30379== Lock acquired, processing the job...
[2025-01-09 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207732') end
[2025-01-09 06:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:27:03] Production.INFO: 1
[2025-01-09 06:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:27:03] Production.INFO: Account Balance Start.
[2025-01-09 06:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:27:03] Production.INFO: 117
[2025-01-09 06:27:03] Production.INFO: ==30381== Releasing lock...
[2025-01-09 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:27:04] Production.INFO: Total Charge 0
[2025-01-09 06:27:04] Production.INFO: CreateAllLog End
[2025-01-09 06:27:04] Production.INFO: ==30373== Releasing lock...
[2025-01-09 06:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:27:04] Production.ERROR: done
[2025-01-09 06:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:27:04] Production.INFO: Account Balance End.
[2025-01-09 06:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:27:04] Production.INFO: ==30377== Releasing lock...
[2025-01-09 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:27:04] Production.ERROR: done
[2025-01-09 06:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:27:05
[end_date_ymd] => 2025-01-09 06:27:05
[RateCDR] => 1
)
[2025-01-09 06:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:27:05' and `end` < '2025-01-09 06:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:27:11] Production.ERROR: CronJobId end10
[2025-01-09 06:27:11] Production.INFO: ==30375== Releasing lock...
[2025-01-09 06:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:27:13] Production.INFO: call_cost start
[2025-01-09 06:27:13] Production.INFO: call_cost end
[2025-01-09 06:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:27:14] Production.INFO: ==30371== Releasing lock...
[2025-01-09 06:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:27:19] Production.INFO: count ==59
[2025-01-09 06:27:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:27:05 - End Time 2025-01-09 06:27:05
[2025-01-09 06:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207736', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207736', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207736', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207736', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:27:19] Production.INFO: ProcessCDR(1,14207736,1,1,2)
[2025-01-09 06:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207736', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207736', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:27:22] Production.INFO: ==30379== Releasing lock...
[2025-01-09 06:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:27:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:28:02] Production.INFO: ==30438== Lock acquired, processing the job...
[2025-01-09 11:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:28:02] Production.INFO: neon service started
[2025-01-09 11:28:02] Production.INFO: neon service started
[2025-01-09 11:28:02] Production.INFO: ==30438== Releasing lock...
[2025-01-09 11:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:28:02] Production.INFO: ==30440== Lock acquired, processing the job...
[2025-01-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:28:02] Production.INFO: ==30440== Releasing lock...
[2025-01-09 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:28:03] Production.INFO: ==30442== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:28:03] Production.INFO: ==30442== Releasing lock...
[2025-01-09 11:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:28:03] Production.INFO: ==30444== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:28:03] Production.INFO: ==30446== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:28:03] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:28:03] Production.INFO: ==30448== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:28:03] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:28:03] Production.INFO: Account Balance Start.
[2025-01-09 06:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:28:03] Production.INFO: 117
[2025-01-09 06:28:03] Production.INFO: ==30455== Lock acquired, processing the job...
[2025-01-09 06:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:28:03] Production.INFO: Total Charge 0
[2025-01-09 06:28:03] Production.INFO: CreateAllLog End
[2025-01-09 06:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:28:04] Production.INFO: count ==21
[2025-01-09 06:28:04] Production.INFO: ==30446== Releasing lock...
[2025-01-09 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:28:04] Production.INFO: count ==21
[2025-01-09 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207740') start
[2025-01-09 06:28:04] Production.ERROR: done
[2025-01-09 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207740') end
[2025-01-09 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:28:04] Production.INFO: 1
[2025-01-09 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:28:04] Production.INFO: Account Balance End.
[2025-01-09 06:28:04] Production.INFO: ==30455== Releasing lock...
[2025-01-09 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:28:04] Production.INFO: ==30450== Releasing lock...
[2025-01-09 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:28:04] Production.ERROR: done
[2025-01-09 06:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:28:05
[end_date_ymd] => 2025-01-09 06:28:05
[RateCDR] => 1
)
[2025-01-09 06:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:28:05' and `end` < '2025-01-09 06:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:28:10] Production.ERROR: CronJobId end10
[2025-01-09 06:28:10] Production.INFO: ==30448== Releasing lock...
[2025-01-09 06:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:28:13] Production.INFO: call_cost start
[2025-01-09 06:28:13] Production.INFO: call_cost end
[2025-01-09 06:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:28:14] Production.INFO: ==30444== Releasing lock...
[2025-01-09 06:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:28:18] Production.INFO: count ==59
[2025-01-09 06:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:28:05 - End Time 2025-01-09 06:28:05
[2025-01-09 06:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207741', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207741', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207741', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207741', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:28:18] Production.INFO: ProcessCDR(1,14207741,1,1,2)
[2025-01-09 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207741', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207741', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:28:21] Production.INFO: ==30452== Releasing lock...
[2025-01-09 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:28:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:29:01] Production.INFO: ==30507== Lock acquired, processing the job...
[2025-01-09 11:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:29:01] Production.INFO: neon service started
[2025-01-09 11:29:01] Production.INFO: neon service started
[2025-01-09 11:29:01] Production.INFO: ==30507== Releasing lock...
[2025-01-09 11:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:29:02] Production.INFO: ==30509== Lock acquired, processing the job...
[2025-01-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:29:02] Production.INFO: ==30511== Lock acquired, processing the job...
[2025-01-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:29:02] Production.INFO: ==30511== Releasing lock...
[2025-01-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:29:02] Production.INFO: ==30509== Releasing lock...
[2025-01-09 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:29:03] Production.INFO: ==30514== Lock acquired, processing the job...
[2025-01-09 06:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:29:03] Production.INFO: ==30518== Lock acquired, processing the job...
[2025-01-09 06:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:29:03] Production.INFO: ==30520== Lock acquired, processing the job...
[2025-01-09 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:29:03] Production.INFO: Account Balance Start.
[2025-01-09 06:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:29:03] Production.INFO: 117
[2025-01-09 06:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:29:03] Production.INFO: ==30516== Lock acquired, processing the job...
[2025-01-09 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:29:03] Production.INFO: Total Charge 0
[2025-01-09 06:29:03] Production.INFO: CreateAllLog End
[2025-01-09 06:29:03] Production.INFO: ==30522== Lock acquired, processing the job...
[2025-01-09 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:29:03] Production.INFO: ==30524== Lock acquired, processing the job...
[2025-01-09 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:29:03] Production.INFO: Account Balance End.
[2025-01-09 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:29:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:29:03] Production.INFO: ==30520== Releasing lock...
[2025-01-09 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:29:03] Production.INFO: count ==21
[2025-01-09 06:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:29:03] Production.INFO: count ==21
[2025-01-09 06:29:03] Production.INFO: ==30516== Releasing lock...
[2025-01-09 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207745') start
[2025-01-09 06:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207745') end
[2025-01-09 06:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:29:04] Production.INFO: 1
[2025-01-09 06:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:29:04] Production.INFO: ==30524== Releasing lock...
[2025-01-09 06:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:29:04] Production.ERROR: done
[2025-01-09 06:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:29:04] Production.ERROR: done
[2025-01-09 06:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:29:05
[end_date_ymd] => 2025-01-09 06:29:05
[RateCDR] => 1
)
[2025-01-09 06:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:29:05' and `end` < '2025-01-09 06:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:29:10] Production.ERROR: CronJobId end10
[2025-01-09 06:29:10] Production.INFO: ==30518== Releasing lock...
[2025-01-09 06:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:29:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:29:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:29:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:29:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:29:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:29:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:29:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:29:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:29:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:29:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:29:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:29:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:29:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:29:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:29:12] Production.INFO: call_cost start
[2025-01-09 06:29:12] Production.INFO: call_cost end
[2025-01-09 06:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:29:13] Production.INFO: ==30514== Releasing lock...
[2025-01-09 06:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:29:19] Production.INFO: count ==59
[2025-01-09 06:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:29:05 - End Time 2025-01-09 06:29:05
[2025-01-09 06:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207746', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207746', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207746', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207746', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:29:19] Production.INFO: ProcessCDR(1,14207746,1,1,2)
[2025-01-09 06:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207746', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207746', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:29:22] Production.INFO: ==30522== Releasing lock...
[2025-01-09 06:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:29:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:30:02] Production.INFO: ==30579== Lock acquired, processing the job...
[2025-01-09 11:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:30:02] Production.INFO: neon service started
[2025-01-09 11:30:02] Production.INFO: neon service started
[2025-01-09 11:30:02] Production.INFO: ==30579== Releasing lock...
[2025-01-09 11:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:30:02] Production.INFO: ==30581== Lock acquired, processing the job...
[2025-01-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:30:02] Production.INFO: ==30583== Lock acquired, processing the job...
[2025-01-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:30:02] Production.INFO: ==30581== Releasing lock...
[2025-01-09 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:30:02] Production.INFO: ==30583== Releasing lock...
[2025-01-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:30:03] Production.INFO: ==30585== Lock acquired, processing the job...
[2025-01-09 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 06:30:03] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-01-09 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 06:30:03] Production.INFO: ==30585== Releasing lock...
[2025-01-09 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 06:30:03] Production.INFO: ==30589== Lock acquired, processing the job...
[2025-01-09 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:30:03] Production.INFO: ==30595== Lock acquired, processing the job...
[2025-01-09 06:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:30:04] Production.INFO: ==30591== Lock acquired, processing the job...
[2025-01-09 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:30:04] Production.INFO: ==30593== Lock acquired, processing the job...
[2025-01-09 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:30:04] Production.INFO: ==30589== Releasing lock...
[2025-01-09 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:30:04] Production.INFO: ==30598== Lock acquired, processing the job...
[2025-01-09 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 06:30:04] Production.INFO: Account Balance Start.
[2025-01-09 06:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:30:04] Production.INFO: 117
[2025-01-09 06:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:30:04] Production.ERROR: done
[2025-01-09 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:30:04] Production.INFO: ==30600== Lock acquired, processing the job...
[2025-01-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:30:04] Production.ERROR: done
[2025-01-09 06:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:30:04] Production.INFO: Total Charge 0
[2025-01-09 06:30:04] Production.INFO: CreateAllLog End
[2025-01-09 06:30:04] Production.INFO: count ==21
[2025-01-09 06:30:04] Production.ERROR: done
[2025-01-09 06:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 06:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207752', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 06:30:04] Production.INFO: count ==21
[2025-01-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207751') start
[2025-01-09 06:30:04] Production.INFO: Account Balance End.
[2025-01-09 06:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:30:04] Production.INFO: ==30593== Releasing lock...
[2025-01-09 06:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207751') end
[2025-01-09 06:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:30:04] Production.INFO: 1
[2025-01-09 06:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:30:04] Production.INFO: ==30600== Releasing lock...
[2025-01-09 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:30:05
[end_date_ymd] => 2025-01-09 06:30:05
[RateCDR] => 1
)
[2025-01-09 06:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:30:05' and `end` < '2025-01-09 06:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207752', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 06:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 06:30:09] Production.INFO: ProcessCDR(1,14207752,1,1,2)
[2025-01-09 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207752,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207752,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:30:09] Production.INFO: ==30598== Releasing lock...
[2025-01-09 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 06:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:30: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-01-09 06:30:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:30:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:30:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:30:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:30:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:30:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:30:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:30:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:30:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:30:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:30:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:30:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:30:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:30:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:30:11] Production.INFO: call_cost start
[2025-01-09 06:30:11] Production.INFO: call_cost end
[2025-01-09 06:30:12] Production.ERROR: CronJobId end10
[2025-01-09 06:30:12] Production.INFO: ==30591== Releasing lock...
[2025-01-09 06:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:30:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:30:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:30:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:30:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:30:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:30:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:30:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:30:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:30:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:30:12] Production.INFO: ==30587== Releasing lock...
[2025-01-09 06:30:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:30:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:30:18] Production.INFO: count ==61
[2025-01-09 06:30:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:30:05 - End Time 2025-01-09 06:30:05
[2025-01-09 06:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207750', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207750', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207750', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207750', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:30:18] Production.INFO: ProcessCDR(1,14207750,1,1,2)
[2025-01-09 06:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207750', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207750', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:30:21] Production.INFO: ==30595== Releasing lock...
[2025-01-09 06:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:30:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:31:01] Production.INFO: ==30653== Lock acquired, processing the job...
[2025-01-09 11:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:31:01] Production.INFO: neon service started
[2025-01-09 11:31:01] Production.INFO: neon service started
[2025-01-09 11:31:01] Production.INFO: ==30653== Releasing lock...
[2025-01-09 11:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:31:01] Production.INFO: ==30655== Lock acquired, processing the job...
[2025-01-09 06:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:31:02] Production.INFO: ==30655== Releasing lock...
[2025-01-09 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:31:02] Production.INFO: ==30657== Lock acquired, processing the job...
[2025-01-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:31:02] Production.INFO: ==30657== Releasing lock...
[2025-01-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:31:03] Production.INFO: ==30662== Lock acquired, processing the job...
[2025-01-09 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:31:03] Production.INFO: ==30670== Lock acquired, processing the job...
[2025-01-09 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:31:03] Production.INFO: ==30660== Lock acquired, processing the job...
[2025-01-09 06:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:31:03] Production.INFO: ==30664== Lock acquired, processing the job...
[2025-01-09 06:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:31:03] Production.INFO: ==30666== Lock acquired, processing the job...
[2025-01-09 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:31:03] Production.INFO: count ==21
[2025-01-09 06:31:03] Production.INFO: ==30668== Lock acquired, processing the job...
[2025-01-09 06:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:31:03] Production.INFO: count ==21
[2025-01-09 06:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:31:03] Production.INFO: Account Balance Start.
[2025-01-09 06:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:31:03] Production.INFO: 117
[2025-01-09 06:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207753') start
[2025-01-09 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:31:03] Production.INFO: Total Charge 0
[2025-01-09 06:31:03] Production.INFO: CreateAllLog End
[2025-01-09 06:31:03] Production.INFO: ==30662== Releasing lock...
[2025-01-09 06:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207753') end
[2025-01-09 06:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:31:03] Production.INFO: 1
[2025-01-09 06:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:31:03] Production.INFO: ==30670== Releasing lock...
[2025-01-09 06:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:31:03] Production.ERROR: done
[2025-01-09 06:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:31:03] Production.INFO: Account Balance End.
[2025-01-09 06:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:31:03] Production.INFO: ==30666== Releasing lock...
[2025-01-09 06:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:31:03] Production.ERROR: done
[2025-01-09 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:31:05
[end_date_ymd] => 2025-01-09 06:31:05
[RateCDR] => 1
)
[2025-01-09 06:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:31:05' and `end` < '2025-01-09 06:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:31:10] Production.ERROR: CronJobId end10
[2025-01-09 06:31:10] Production.INFO: ==30664== Releasing lock...
[2025-01-09 06:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:31:12] Production.INFO: call_cost start
[2025-01-09 06:31:12] Production.INFO: call_cost end
[2025-01-09 06:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:31:13] Production.INFO: ==30660== Releasing lock...
[2025-01-09 06:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:31:19] Production.INFO: count ==61
[2025-01-09 06:31:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:31:05 - End Time 2025-01-09 06:31:05
[2025-01-09 06:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207757', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207757', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207757', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207757', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:31:19] Production.INFO: ProcessCDR(1,14207757,1,1,2)
[2025-01-09 06:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207757', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207757', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:31:22] Production.INFO: ==30668== Releasing lock...
[2025-01-09 06:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:31:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:32:01] Production.INFO: ==30728== Lock acquired, processing the job...
[2025-01-09 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:32:02] Production.INFO: neon service started
[2025-01-09 11:32:02] Production.INFO: neon service started
[2025-01-09 11:32:02] Production.INFO: ==30728== Releasing lock...
[2025-01-09 11:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:32:02] Production.INFO: ==30730== Lock acquired, processing the job...
[2025-01-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:32:02] Production.INFO: ==30732== Lock acquired, processing the job...
[2025-01-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:32:02] Production.INFO: ==30732== Releasing lock...
[2025-01-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:32:02] Production.INFO: ==30730== Releasing lock...
[2025-01-09 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:32:03] Production.INFO: ==30735== Lock acquired, processing the job...
[2025-01-09 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:32:03] Production.INFO: ==30737== Lock acquired, processing the job...
[2025-01-09 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:32:03] Production.INFO: ==30743== Lock acquired, processing the job...
[2025-01-09 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:32:04] Production.INFO: ==30739== Lock acquired, processing the job...
[2025-01-09 06:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:32:04] Production.INFO: ==30741== Lock acquired, processing the job...
[2025-01-09 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:32:04] Production.INFO: ==30745== Lock acquired, processing the job...
[2025-01-09 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:32:04] Production.ERROR: done
[2025-01-09 06:32:04] Production.INFO: Account Balance Start.
[2025-01-09 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:32:04] Production.INFO: 117
[2025-01-09 06:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:32:04] Production.INFO: ==30737== Releasing lock...
[2025-01-09 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:32:04] Production.INFO: Total Charge 0
[2025-01-09 06:32:04] Production.INFO: count ==21
[2025-01-09 06:32:04] Production.INFO: CreateAllLog End
[2025-01-09 06:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:32:04] Production.INFO: count ==21
[2025-01-09 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207761') start
[2025-01-09 06:32:04] Production.ERROR: done
[2025-01-09 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207761') end
[2025-01-09 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:32:04] Production.INFO: 1
[2025-01-09 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:32:04] Production.INFO: ==30745== Releasing lock...
[2025-01-09 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:32:04] Production.INFO: Account Balance End.
[2025-01-09 06:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:32:04] Production.INFO: ==30741== Releasing lock...
[2025-01-09 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:32:05
[end_date_ymd] => 2025-01-09 06:32:05
[RateCDR] => 1
)
[2025-01-09 06:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:32:05' and `end` < '2025-01-09 06:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:32:10] Production.ERROR: CronJobId end10
[2025-01-09 06:32:10] Production.INFO: ==30739== Releasing lock...
[2025-01-09 06:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:32:12] Production.INFO: call_cost start
[2025-01-09 06:32:12] Production.INFO: call_cost end
[2025-01-09 06:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:32:13] Production.INFO: ==30735== Releasing lock...
[2025-01-09 06:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:32:19] Production.INFO: count ==61
[2025-01-09 06:32:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:32:05 - End Time 2025-01-09 06:32:05
[2025-01-09 06:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207762', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207762', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207762', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207762', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:32:19] Production.INFO: ProcessCDR(1,14207762,1,1,2)
[2025-01-09 06:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207762', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207762', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:32:22] Production.INFO: ==30743== Releasing lock...
[2025-01-09 06:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:32:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:33:01] Production.INFO: ==30802== Lock acquired, processing the job...
[2025-01-09 11:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:33:01] Production.INFO: neon service started
[2025-01-09 11:33:01] Production.INFO: neon service started
[2025-01-09 11:33:01] Production.INFO: ==30802== Releasing lock...
[2025-01-09 11:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:33:02] Production.INFO: ==30806== Lock acquired, processing the job...
[2025-01-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:33:02] Production.INFO: ==30806== Releasing lock...
[2025-01-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:33:02] Production.INFO: ==30804== Lock acquired, processing the job...
[2025-01-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:33:02] Production.INFO: ==30804== Releasing lock...
[2025-01-09 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:33:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:33:03] Production.INFO: ==30817== Lock acquired, processing the job...
[2025-01-09 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:33:03] Production.INFO: ==30809== Lock acquired, processing the job...
[2025-01-09 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:33:03] Production.INFO: ==30811== Lock acquired, processing the job...
[2025-01-09 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:33:03] Production.INFO: ==30819== Lock acquired, processing the job...
[2025-01-09 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:33:03] Production.INFO: ==30813== Lock acquired, processing the job...
[2025-01-09 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:33:03] Production.INFO: ==30815== Lock acquired, processing the job...
[2025-01-09 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:33:03] Production.INFO: Account Balance Start.
[2025-01-09 06:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:33:03] Production.ERROR: done
[2025-01-09 06:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:33:03] Production.INFO: 117
[2025-01-09 06:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:33:03] Production.INFO: Total Charge 0
[2025-01-09 06:33:03] Production.INFO: count ==21
[2025-01-09 06:33:03] Production.INFO: CreateAllLog End
[2025-01-09 06:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:33:03] Production.INFO: count ==21
[2025-01-09 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207765') start
[2025-01-09 06:33:03] Production.ERROR: done
[2025-01-09 06:33:03] Production.INFO: ==30811== Releasing lock...
[2025-01-09 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207765') end
[2025-01-09 06:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:33:03] Production.INFO: 1
[2025-01-09 06:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:33:03] Production.INFO: Account Balance End.
[2025-01-09 06:33:04] Production.INFO: ==30819== Releasing lock...
[2025-01-09 06:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:33:04] Production.INFO: ==30815== Releasing lock...
[2025-01-09 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:33:04
[end_date_ymd] => 2025-01-09 06:33:04
[RateCDR] => 1
)
[2025-01-09 06:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:33:04' and `end` < '2025-01-09 06:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:33:11] Production.ERROR: CronJobId end10
[2025-01-09 06:33:11] Production.INFO: ==30813== Releasing lock...
[2025-01-09 06:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:33:13] Production.INFO: call_cost start
[2025-01-09 06:33:13] Production.INFO: call_cost end
[2025-01-09 06:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:33:14] Production.INFO: ==30809== Releasing lock...
[2025-01-09 06:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:33:17] Production.INFO: count ==61
[2025-01-09 06:33:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:33:04 - End Time 2025-01-09 06:33:04
[2025-01-09 06:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207767', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207767', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207767', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207767', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:33:17] Production.INFO: ProcessCDR(1,14207767,1,1,2)
[2025-01-09 06:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207767', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207767', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:33:21] Production.INFO: ==30817== Releasing lock...
[2025-01-09 06:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:33:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:34:02] Production.INFO: ==30912== Lock acquired, processing the job...
[2025-01-09 11:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:34:02] Production.INFO: neon service started
[2025-01-09 11:34:02] Production.INFO: neon service started
[2025-01-09 11:34:02] Production.INFO: ==30912== Releasing lock...
[2025-01-09 11:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:34:02] Production.INFO: ==30916== Lock acquired, processing the job...
[2025-01-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:34:02] Production.INFO: ==30916== Releasing lock...
[2025-01-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:34:02] Production.INFO: ==30914== Lock acquired, processing the job...
[2025-01-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:34:02] Production.INFO: ==30914== Releasing lock...
[2025-01-09 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:34:03] Production.INFO: ==30923== Lock acquired, processing the job...
[2025-01-09 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:34:04] Production.INFO: ==30919== Lock acquired, processing the job...
[2025-01-09 06:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:34:04] Production.INFO: ==30921== Lock acquired, processing the job...
[2025-01-09 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:34:04] Production.INFO: ==30925== Lock acquired, processing the job...
[2025-01-09 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:34:04] Production.INFO: ==30927== Lock acquired, processing the job...
[2025-01-09 06:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:34:04] Production.INFO: ==30929== Lock acquired, processing the job...
[2025-01-09 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:34:04] Production.INFO: Account Balance Start.
[2025-01-09 06:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:34:04] Production.INFO: 117
[2025-01-09 06:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:34:04] Production.INFO: ==30921== Releasing lock...
[2025-01-09 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:34:04] Production.INFO: count ==21
[2025-01-09 06:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:34:04] Production.INFO: count ==21
[2025-01-09 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207771') start
[2025-01-09 06:34:04] Production.ERROR: done
[2025-01-09 06:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:34:04] Production.INFO: Total Charge 0
[2025-01-09 06:34:04] Production.INFO: CreateAllLog End
[2025-01-09 06:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207771') end
[2025-01-09 06:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:34:04] Production.INFO: 1
[2025-01-09 06:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:34:04] Production.INFO: ==30929== Releasing lock...
[2025-01-09 06:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:34:04] Production.ERROR: done
[2025-01-09 06:34:04] Production.INFO: Account Balance End.
[2025-01-09 06:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:34:04] Production.INFO: ==30925== Releasing lock...
[2025-01-09 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:34:05
[end_date_ymd] => 2025-01-09 06:34:05
[RateCDR] => 1
)
[2025-01-09 06:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:34:05' and `end` < '2025-01-09 06:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:34:10] Production.ERROR: CronJobId end10
[2025-01-09 06:34:10] Production.INFO: ==30923== Releasing lock...
[2025-01-09 06:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:34:13] Production.INFO: call_cost start
[2025-01-09 06:34:13] Production.INFO: call_cost end
[2025-01-09 06:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:34:14] Production.INFO: ==30919== Releasing lock...
[2025-01-09 06:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:34:18] Production.INFO: count ==61
[2025-01-09 06:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:34:05 - End Time 2025-01-09 06:34:05
[2025-01-09 06:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207772', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207772', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207772', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207772', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:34:18] Production.INFO: ProcessCDR(1,14207772,1,1,2)
[2025-01-09 06:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207772', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207772', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:34:22] Production.INFO: ==30927== Releasing lock...
[2025-01-09 06:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:34:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:35:01] Production.INFO: ==30981== Lock acquired, processing the job...
[2025-01-09 11:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:35:01] Production.INFO: neon service started
[2025-01-09 11:35:01] Production.INFO: neon service started
[2025-01-09 11:35:01] Production.INFO: ==30981== Releasing lock...
[2025-01-09 11:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:35:01] Production.INFO: ==30984== Lock acquired, processing the job...
[2025-01-09 06:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:35:02] Production.INFO: ==30984== Releasing lock...
[2025-01-09 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:35:02] Production.INFO: ==30986== Lock acquired, processing the job...
[2025-01-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:35:02] Production.INFO: ==30986== Releasing lock...
[2025-01-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:35:02] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-01-09 06:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:35:03] Production.INFO: ==30998== Lock acquired, processing the job...
[2025-01-09 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:35:03] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-01-09 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:35:03] Production.INFO: ==30992== Lock acquired, processing the job...
[2025-01-09 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:35:03] Production.INFO: ==30994== Lock acquired, processing the job...
[2025-01-09 06:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:35:03] Production.INFO: count ==21
[2025-01-09 06:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:35:03] Production.INFO: count ==21
[2025-01-09 06:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207774') start
[2025-01-09 06:35:03] Production.INFO: ==30996== Lock acquired, processing the job...
[2025-01-09 06:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207774') end
[2025-01-09 06:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:35:03] Production.INFO: 1
[2025-01-09 06:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:35:03] Production.INFO: Account Balance Start.
[2025-01-09 06:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:35:03] Production.INFO: 117
[2025-01-09 06:35:03] Production.INFO: ==30998== Releasing lock...
[2025-01-09 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:35:03] Production.INFO: ==30990== Releasing lock...
[2025-01-09 06:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:35:03] Production.ERROR: done
[2025-01-09 06:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:35:04] Production.ERROR: done
[2025-01-09 06:35:04] Production.INFO: Total Charge 0
[2025-01-09 06:35:04] Production.INFO: CreateAllLog End
[2025-01-09 06:35:04] Production.INFO: Account Balance End.
[2025-01-09 06:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:35:04] Production.INFO: ==30994== Releasing lock...
[2025-01-09 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:35:05
[end_date_ymd] => 2025-01-09 06:35:05
[RateCDR] => 1
)
[2025-01-09 06:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:35:05' and `end` < '2025-01-09 06:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:35:10] Production.ERROR: CronJobId end10
[2025-01-09 06:35:10] Production.INFO: ==30992== Releasing lock...
[2025-01-09 06:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:35:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:35:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:35:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:35:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:35:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:35:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:35:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:35:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:35:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:35:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:35:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:35:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:35:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:35:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:35:12] Production.INFO: call_cost start
[2025-01-09 06:35:12] Production.INFO: call_cost end
[2025-01-09 06:35:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:35:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:35:13] Production.INFO: ==30988== Releasing lock...
[2025-01-09 06:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:35:17] Production.INFO: count ==61
[2025-01-09 06:35:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:35:05 - End Time 2025-01-09 06:35:05
[2025-01-09 06:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207777', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207777', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207777', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207777', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:35:17] Production.INFO: ProcessCDR(1,14207777,1,1,2)
[2025-01-09 06:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207777', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207777', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:35:20] Production.INFO: ==30996== Releasing lock...
[2025-01-09 06:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:35:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:36:01] Production.INFO: ==31052== Lock acquired, processing the job...
[2025-01-09 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:36:01] Production.INFO: neon service started
[2025-01-09 11:36:01] Production.INFO: neon service started
[2025-01-09 11:36:01] Production.INFO: ==31052== Releasing lock...
[2025-01-09 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:36:02] Production.INFO: ==31054== Lock acquired, processing the job...
[2025-01-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:36:02] Production.INFO: ==31054== Releasing lock...
[2025-01-09 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:36:02] Production.INFO: ==31056== Lock acquired, processing the job...
[2025-01-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:36:02] Production.INFO: ==31056== Releasing lock...
[2025-01-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:36:03] Production.INFO: ==31060== Lock acquired, processing the job...
[2025-01-09 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:36:03] Production.INFO: ==31069== Lock acquired, processing the job...
[2025-01-09 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:36:03] Production.INFO: ==31058== Lock acquired, processing the job...
[2025-01-09 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:36:03] Production.INFO: ==31060== Releasing lock...
[2025-01-09 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:36:03] Production.INFO: ==31062== Lock acquired, processing the job...
[2025-01-09 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:36:03] Production.INFO: count ==21
[2025-01-09 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:36:03] Production.INFO: count ==21
[2025-01-09 06:36:03] Production.INFO: ==31064== Lock acquired, processing the job...
[2025-01-09 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207779') start
[2025-01-09 06:36:03] Production.INFO: ==31067== Lock acquired, processing the job...
[2025-01-09 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207779') end
[2025-01-09 06:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:36:03] Production.INFO: 1
[2025-01-09 06:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:36:03] Production.INFO: Account Balance Start.
[2025-01-09 06:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:36:03] Production.INFO: 117
[2025-01-09 06:36:03] Production.INFO: ==31069== Releasing lock...
[2025-01-09 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:36:03] Production.INFO: Total Charge 0
[2025-01-09 06:36:04] Production.INFO: CreateAllLog End
[2025-01-09 06:36:04] Production.ERROR: done
[2025-01-09 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:36:04] Production.INFO: Account Balance End.
[2025-01-09 06:36:04] Production.ERROR: done
[2025-01-09 06:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:36:04] Production.INFO: ==31064== Releasing lock...
[2025-01-09 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:36:05
[end_date_ymd] => 2025-01-09 06:36:05
[RateCDR] => 1
)
[2025-01-09 06:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:36:05' and `end` < '2025-01-09 06:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:36:10] Production.ERROR: CronJobId end10
[2025-01-09 06:36:10] Production.INFO: ==31062== Releasing lock...
[2025-01-09 06:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:36:12] Production.INFO: call_cost start
[2025-01-09 06:36:12] Production.INFO: call_cost end
[2025-01-09 06:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:36:13] Production.INFO: ==31058== Releasing lock...
[2025-01-09 06:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:36:18] Production.INFO: count ==61
[2025-01-09 06:36:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:36:05 - End Time 2025-01-09 06:36:05
[2025-01-09 06:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207782', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207782', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207782', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207782', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:36:18] Production.INFO: ProcessCDR(1,14207782,1,1,2)
[2025-01-09 06:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207782', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207782', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:36:21] Production.INFO: ==31067== Releasing lock...
[2025-01-09 06:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:36:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:37:01] Production.INFO: ==31122== Lock acquired, processing the job...
[2025-01-09 11:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:37:01] Production.INFO: neon service started
[2025-01-09 11:37:01] Production.INFO: neon service started
[2025-01-09 11:37:01] Production.INFO: ==31122== Releasing lock...
[2025-01-09 11:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:37:01] Production.INFO: ==31124== Lock acquired, processing the job...
[2025-01-09 06:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:37:02] Production.INFO: ==31124== Releasing lock...
[2025-01-09 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:37:02] Production.INFO: ==31126== Lock acquired, processing the job...
[2025-01-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:37:02] Production.INFO: ==31126== Releasing lock...
[2025-01-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:37:02] Production.INFO: ==31128== Lock acquired, processing the job...
[2025-01-09 06:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:37:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:37:02] Production.INFO: ==31132== Lock acquired, processing the job...
[2025-01-09 06:37:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:37:02] Production.INFO: ==31134== Lock acquired, processing the job...
[2025-01-09 06:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:37:02] Production.INFO: Account Balance Start.
[2025-01-09 06:37:02] Production.INFO: CreateAllLog Start
[2025-01-09 06:37:02] Production.INFO: 117
[2025-01-09 06:37:02] Production.INFO: Date 2025-01-08
[2025-01-09 06:37:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:37:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:37:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:37:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:37:02] Production.INFO: Reseller ==> 0
[2025-01-09 06:37:02] Production.INFO: ==31130== Lock acquired, processing the job...
[2025-01-09 06:37:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:37:03] Production.INFO: Total Charge 0
[2025-01-09 06:37:03] Production.INFO: CreateAllLog End
[2025-01-09 06:37:03] Production.INFO: Account Balance End.
[2025-01-09 06:37:03] Production.INFO: ==31138== Lock acquired, processing the job...
[2025-01-09 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:37:03] Production.INFO: ==31136== Lock acquired, processing the job...
[2025-01-09 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:37:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:37:03] Production.INFO: ==31134== Releasing lock...
[2025-01-09 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:37:03] Production.INFO: ==31130== Releasing lock...
[2025-01-09 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:37:03] Production.INFO: count ==21
[2025-01-09 06:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:37:03] Production.INFO: count ==21
[2025-01-09 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207786') start
[2025-01-09 06:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207786') end
[2025-01-09 06:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:37:03] Production.INFO: 1
[2025-01-09 06:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:37:03] Production.INFO: ==31138== Releasing lock...
[2025-01-09 06:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:37:03] Production.ERROR: done
[2025-01-09 06:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:37:03] Production.ERROR: done
[2025-01-09 06:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:37:04
[end_date_ymd] => 2025-01-09 06:37:04
[RateCDR] => 1
)
[2025-01-09 06:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:37:04' and `end` < '2025-01-09 06:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:37:10] Production.ERROR: CronJobId end10
[2025-01-09 06:37:10] Production.INFO: ==31132== Releasing lock...
[2025-01-09 06:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:37:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:37:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:37:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:37:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:37:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:37:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:37:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:37:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:37:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:37:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:37:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:37:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:37:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:37:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:37:11] Production.INFO: call_cost start
[2025-01-09 06:37:11] Production.INFO: call_cost end
[2025-01-09 06:37:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:37:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:37:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:37:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:37:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:37:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:37:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:37:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:37:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:37:12] Production.INFO: ==31128== Releasing lock...
[2025-01-09 06:37:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:37:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:37:17] Production.INFO: count ==61
[2025-01-09 06:37:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:37:04 - End Time 2025-01-09 06:37:04
[2025-01-09 06:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207787', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207787', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207787', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207787', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:37:17] Production.INFO: ProcessCDR(1,14207787,1,1,2)
[2025-01-09 06:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:37:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207787', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:37:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207787', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:37:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:37:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:37:20] Production.INFO: ==31136== Releasing lock...
[2025-01-09 06:37:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:37:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:38:01] Production.INFO: ==31193== Lock acquired, processing the job...
[2025-01-09 11:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:38:01] Production.INFO: neon service started
[2025-01-09 11:38:01] Production.INFO: neon service started
[2025-01-09 11:38:01] Production.INFO: ==31193== Releasing lock...
[2025-01-09 11:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:38:02] Production.INFO: ==31195== Lock acquired, processing the job...
[2025-01-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:38:02] Production.INFO: ==31195== Releasing lock...
[2025-01-09 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:38:02] Production.INFO: ==31197== Lock acquired, processing the job...
[2025-01-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:38:02] Production.INFO: ==31197== Releasing lock...
[2025-01-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:38:03] Production.INFO: ==31205== Lock acquired, processing the job...
[2025-01-09 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:38:03] Production.INFO: ==31203== Lock acquired, processing the job...
[2025-01-09 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:38:03] Production.INFO: Account Balance Start.
[2025-01-09 06:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:38:03] Production.INFO: 117
[2025-01-09 06:38:03] Production.INFO: ==31199== Lock acquired, processing the job...
[2025-01-09 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:38:03] Production.INFO: ==31201== Lock acquired, processing the job...
[2025-01-09 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:38:03] Production.INFO: Total Charge 0
[2025-01-09 06:38:03] Production.INFO: CreateAllLog End
[2025-01-09 06:38:03] Production.INFO: ==31207== Lock acquired, processing the job...
[2025-01-09 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:38:03] Production.INFO: ==31210== Lock acquired, processing the job...
[2025-01-09 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:38:04] Production.INFO: Account Balance End.
[2025-01-09 06:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:38:04] Production.INFO: ==31205== Releasing lock...
[2025-01-09 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:38:04] Production.INFO: count ==21
[2025-01-09 06:38:04] Production.ERROR: done
[2025-01-09 06:38:04] Production.INFO: ==31201== Releasing lock...
[2025-01-09 06:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:38:04] Production.INFO: count ==21
[2025-01-09 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207791') start
[2025-01-09 06:38:04] Production.ERROR: done
[2025-01-09 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207791') end
[2025-01-09 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:38:04] Production.INFO: 1
[2025-01-09 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:38:04] Production.INFO: ==31210== Releasing lock...
[2025-01-09 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:38:05
[end_date_ymd] => 2025-01-09 06:38:05
[RateCDR] => 1
)
[2025-01-09 06:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:38:05' and `end` < '2025-01-09 06:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:38:11] Production.ERROR: CronJobId end10
[2025-01-09 06:38:11] Production.INFO: ==31203== Releasing lock...
[2025-01-09 06:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:38:14] Production.INFO: call_cost start
[2025-01-09 06:38:14] Production.INFO: call_cost end
[2025-01-09 06:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:38:15] Production.INFO: ==31199== Releasing lock...
[2025-01-09 06:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:38:18] Production.INFO: count ==61
[2025-01-09 06:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:38:05 - End Time 2025-01-09 06:38:05
[2025-01-09 06:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207792', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207792', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207792', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207792', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:38:18] Production.INFO: ProcessCDR(1,14207792,1,1,2)
[2025-01-09 06:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207792', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207792', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:38:21] Production.INFO: ==31207== Releasing lock...
[2025-01-09 06:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:38:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:39:02] Production.INFO: ==31264== Lock acquired, processing the job...
[2025-01-09 11:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:39:02] Production.INFO: neon service started
[2025-01-09 11:39:02] Production.INFO: neon service started
[2025-01-09 11:39:02] Production.INFO: ==31264== Releasing lock...
[2025-01-09 11:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:39:03] Production.INFO: ==31266== Lock acquired, processing the job...
[2025-01-09 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:39:03] Production.INFO: ==31268== Lock acquired, processing the job...
[2025-01-09 11:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:39:03] Production.INFO: ==31268== Releasing lock...
[2025-01-09 11:39:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:39:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:39:03] Production.INFO: ==31266== Releasing lock...
[2025-01-09 06:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:39:04] Production.INFO: ==31277== Lock acquired, processing the job...
[2025-01-09 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:39:04] Production.INFO: Account Balance Start.
[2025-01-09 06:39:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:39:04] Production.INFO: 117
[2025-01-09 06:39:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:39:04] Production.INFO: ==31271== Lock acquired, processing the job...
[2025-01-09 06:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:39:04] Production.INFO: ==31281== Lock acquired, processing the job...
[2025-01-09 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:39:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:39:04] Production.INFO: Total Charge 0
[2025-01-09 06:39:04] Production.INFO: ==31275== Lock acquired, processing the job...
[2025-01-09 06:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:39:04] Production.INFO: ==31273== Lock acquired, processing the job...
[2025-01-09 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:39:04] Production.INFO: CreateAllLog End
[2025-01-09 06:39:04] Production.INFO: ==31279== Lock acquired, processing the job...
[2025-01-09 06:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 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-01-09 06:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:39:04] Production.INFO: count ==21
[2025-01-09 06:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:39:04] Production.INFO: count ==21
[2025-01-09 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207795') start
[2025-01-09 06:39:04] Production.INFO: Account Balance End.
[2025-01-09 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207795') end
[2025-01-09 06:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:39:04] Production.INFO: 1
[2025-01-09 06:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:39:04] Production.INFO: ==31277== Releasing lock...
[2025-01-09 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:39:04] Production.INFO: ==31281== Releasing lock...
[2025-01-09 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:39:04] Production.INFO: ==31273== Releasing lock...
[2025-01-09 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:39:04] Production.ERROR: done
[2025-01-09 06:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:39:05] Production.ERROR: done
[2025-01-09 06:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:39:06
[end_date_ymd] => 2025-01-09 06:39:06
[RateCDR] => 1
)
[2025-01-09 06:39:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:39:06' and `end` < '2025-01-09 06: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-01-09 06:39:11] Production.ERROR: CronJobId end10
[2025-01-09 06:39:11] Production.INFO: ==31275== Releasing lock...
[2025-01-09 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:39:13] Production.INFO: call_cost start
[2025-01-09 06:39:13] Production.INFO: call_cost end
[2025-01-09 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:39:14] Production.INFO: ==31271== Releasing lock...
[2025-01-09 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:39:20] Production.INFO: count ==61
[2025-01-09 06:39:20] Production.ERROR: pbx CDR StartTime 2025-01-09 03:39:06 - End Time 2025-01-09 06:39:06
[2025-01-09 06:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207797', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207797', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207797', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207797', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:39:20] Production.INFO: ProcessCDR(1,14207797,1,1,2)
[2025-01-09 06:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207797', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207797', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:39:23] Production.INFO: ==31279== Releasing lock...
[2025-01-09 06:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:39:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:40:02] Production.INFO: ==31334== Lock acquired, processing the job...
[2025-01-09 11:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:40:02] Production.INFO: neon service started
[2025-01-09 11:40:02] Production.INFO: neon service started
[2025-01-09 11:40:02] Production.INFO: ==31334== Releasing lock...
[2025-01-09 11:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:40:02] Production.INFO: ==31337== Lock acquired, processing the job...
[2025-01-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:40:02] Production.INFO: ==31339== Lock acquired, processing the job...
[2025-01-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:40:02] Production.INFO: ==31339== Releasing lock...
[2025-01-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:40:02] Production.INFO: ==31337== Releasing lock...
[2025-01-09 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:40:03] Production.INFO: ==31341== Lock acquired, processing the job...
[2025-01-09 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 06:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 06:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 06:40:03] Production.INFO: ==31341== Releasing lock...
[2025-01-09 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 06:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 06:40:03] Production.INFO: ==31343== Lock acquired, processing the job...
[2025-01-09 06:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:40:03] Production.INFO: ==31345== Lock acquired, processing the job...
[2025-01-09 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:40:04] Production.INFO: ==31355== Lock acquired, processing the job...
[2025-01-09 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:40:04] Production.INFO: ==31347== Lock acquired, processing the job...
[2025-01-09 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:40:04] Production.INFO: ==31349== Lock acquired, processing the job...
[2025-01-09 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:40:04] Production.INFO: ==31351== Lock acquired, processing the job...
[2025-01-09 06:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:40:04] Production.INFO: Account Balance Start.
[2025-01-09 06:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:40:04] Production.INFO: 117
[2025-01-09 06:40:04] Production.INFO: count ==21
[2025-01-09 06:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:40:04] Production.INFO: ==31345== Releasing lock...
[2025-01-09 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:40:04] Production.INFO: count ==21
[2025-01-09 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:40:04] Production.INFO: ==31353== Lock acquired, processing the job...
[2025-01-09 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207800') start
[2025-01-09 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207800') end
[2025-01-09 06:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:40:04] Production.INFO: 1
[2025-01-09 06:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:40:04] Production.INFO: Total Charge 0
[2025-01-09 06:40:04] Production.INFO: CreateAllLog End
[2025-01-09 06:40:04] Production.INFO: ==31355== Releasing lock...
[2025-01-09 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:40:04] Production.ERROR: done
[2025-01-09 06:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:40:04] Production.ERROR: done
[2025-01-09 06:40:04] Production.ERROR: done
[2025-01-09 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207802', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 06:40:05] Production.INFO: Account Balance End.
[2025-01-09 06:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 06:40:05] Production.INFO: ==31349== Releasing lock...
[2025-01-09 06:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:40:06
[end_date_ymd] => 2025-01-09 06:40:06
[RateCDR] => 1
)
[2025-01-09 06:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:40:06' and `end` < '2025-01-09 06:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207802', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 06:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 06:40:08] Production.INFO: ProcessCDR(1,14207802,1,1,2)
[2025-01-09 06:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207802,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207802,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:40:08] Production.INFO: ==31353== Releasing lock...
[2025-01-09 06:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 06:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:40:12] Production.ERROR: CronJobId end10
[2025-01-09 06:40:12] Production.INFO: ==31347== Releasing lock...
[2025-01-09 06:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:40:15] Production.INFO: call_cost start
[2025-01-09 06:40:15] Production.INFO: call_cost end
[2025-01-09 06:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:40:16] Production.INFO: ==31343== Releasing lock...
[2025-01-09 06:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:40:18] Production.INFO: count ==61
[2025-01-09 06:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:40:06 - End Time 2025-01-09 06:40:06
[2025-01-09 06:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207803', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207803', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207803', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207803', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:40:18] Production.INFO: ProcessCDR(1,14207803,1,1,2)
[2025-01-09 06:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207803', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207803', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:40:21] Production.INFO: ==31351== Releasing lock...
[2025-01-09 06:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:40:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:41:01] Production.INFO: ==31411== Lock acquired, processing the job...
[2025-01-09 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:41:01] Production.INFO: neon service started
[2025-01-09 11:41:01] Production.INFO: neon service started
[2025-01-09 11:41:01] Production.INFO: ==31411== Releasing lock...
[2025-01-09 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:41:01] Production.INFO: ==31415== Lock acquired, processing the job...
[2025-01-09 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:41:01] Production.INFO: ==31415== Releasing lock...
[2025-01-09 11:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:41:02] Production.INFO: ==31413== Lock acquired, processing the job...
[2025-01-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:41:02] Production.INFO: ==31413== Releasing lock...
[2025-01-09 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:41:03] Production.INFO: ==31423== Lock acquired, processing the job...
[2025-01-09 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:41:03] Production.INFO: ==31426== Lock acquired, processing the job...
[2025-01-09 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:41:03] Production.INFO: ==31417== Lock acquired, processing the job...
[2025-01-09 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:41:03] Production.INFO: ==31419== Lock acquired, processing the job...
[2025-01-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:41:03] Production.INFO: Account Balance Start.
[2025-01-09 06:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:41:03] Production.INFO: 117
[2025-01-09 06:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:41:03] Production.INFO: ==31421== Lock acquired, processing the job...
[2025-01-09 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:41:03] Production.INFO: ==31428== Lock acquired, processing the job...
[2025-01-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:41:03] Production.INFO: Total Charge 0
[2025-01-09 06:41:03] Production.INFO: CreateAllLog End
[2025-01-09 06:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:41:03] Production.INFO: count ==21
[2025-01-09 06:41:03] Production.ERROR: done
[2025-01-09 06:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:41:03] Production.INFO: count ==21
[2025-01-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207807') start
[2025-01-09 06:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207807') end
[2025-01-09 06:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:41:03] Production.INFO: 1
[2025-01-09 06:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:41:03] Production.INFO: ==31419== Releasing lock...
[2025-01-09 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:41:03] Production.INFO: ==31428== Releasing lock...
[2025-01-09 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:41:03] Production.ERROR: done
[2025-01-09 06:41:03] Production.INFO: Account Balance End.
[2025-01-09 06:41:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:41:03] Production.INFO: ==31423== Releasing lock...
[2025-01-09 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:41:04
[end_date_ymd] => 2025-01-09 06:41:04
[RateCDR] => 1
)
[2025-01-09 06:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:41:04' and `end` < '2025-01-09 06:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:41:10] Production.ERROR: CronJobId end10
[2025-01-09 06:41:10] Production.INFO: ==31421== Releasing lock...
[2025-01-09 06:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:41:12] Production.INFO: call_cost start
[2025-01-09 06:41:12] Production.INFO: call_cost end
[2025-01-09 06:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:41:13] Production.INFO: ==31417== Releasing lock...
[2025-01-09 06:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:41:18] Production.INFO: count ==61
[2025-01-09 06:41:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:41:04 - End Time 2025-01-09 06:41:04
[2025-01-09 06:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207808', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207808', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207808', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207808', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:41:18] Production.INFO: ProcessCDR(1,14207808,1,1,2)
[2025-01-09 06:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207808', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207808', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:41:21] Production.INFO: ==31426== Releasing lock...
[2025-01-09 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:41:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:42:01] Production.INFO: ==31482== Lock acquired, processing the job...
[2025-01-09 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:42:01] Production.INFO: neon service started
[2025-01-09 11:42:01] Production.INFO: neon service started
[2025-01-09 11:42:01] Production.INFO: ==31482== Releasing lock...
[2025-01-09 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:42:02] Production.INFO: ==31484== Lock acquired, processing the job...
[2025-01-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:42:02] Production.INFO: ==31486== Lock acquired, processing the job...
[2025-01-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:42:02] Production.INFO: ==31486== Releasing lock...
[2025-01-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:42:02] Production.INFO: ==31484== Releasing lock...
[2025-01-09 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:42:03] Production.INFO: ==31491== Lock acquired, processing the job...
[2025-01-09 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:42:03] Production.INFO: ==31499== Lock acquired, processing the job...
[2025-01-09 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:42:03] Production.INFO: ==31491== Releasing lock...
[2025-01-09 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:42:03] Production.INFO: ==31489== Lock acquired, processing the job...
[2025-01-09 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:42:03] Production.INFO: count ==21
[2025-01-09 06:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:42:03] Production.INFO: count ==21
[2025-01-09 06:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207810') start
[2025-01-09 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:42:03] Production.INFO: ==31493== Lock acquired, processing the job...
[2025-01-09 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:42:03] Production.INFO: ==31495== Lock acquired, processing the job...
[2025-01-09 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207810') end
[2025-01-09 06:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:42:03] Production.INFO: 1
[2025-01-09 06:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:42:03] Production.INFO: ==31497== Lock acquired, processing the job...
[2025-01-09 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:42:03] Production.INFO: ==31499== Releasing lock...
[2025-01-09 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:42:03] Production.INFO: Account Balance Start.
[2025-01-09 06:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:42:03] Production.INFO: 117
[2025-01-09 06:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:42:04] Production.INFO: Total Charge 0
[2025-01-09 06:42:04] Production.INFO: CreateAllLog End
[2025-01-09 06:42:04] Production.ERROR: done
[2025-01-09 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:42:04] Production.INFO: Account Balance End.
[2025-01-09 06:42:04] Production.ERROR: done
[2025-01-09 06:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:42:04] Production.INFO: ==31495== Releasing lock...
[2025-01-09 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:42:05
[end_date_ymd] => 2025-01-09 06:42:05
[RateCDR] => 1
)
[2025-01-09 06:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:42:05' and `end` < '2025-01-09 06:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:42:10] Production.ERROR: CronJobId end10
[2025-01-09 06:42:10] Production.INFO: ==31493== Releasing lock...
[2025-01-09 06:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:42:13] Production.INFO: call_cost start
[2025-01-09 06:42:13] Production.INFO: call_cost end
[2025-01-09 06:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:42:14] Production.INFO: ==31489== Releasing lock...
[2025-01-09 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:42:18] Production.INFO: count ==61
[2025-01-09 06:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:42:05 - End Time 2025-01-09 06:42:05
[2025-01-09 06:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207813', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207813', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207813', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207813', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:42:18] Production.INFO: ProcessCDR(1,14207813,1,1,2)
[2025-01-09 06:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207813', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207813', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:42:21] Production.INFO: ==31497== Releasing lock...
[2025-01-09 06:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:42:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:43:02] Production.INFO: ==31555== Lock acquired, processing the job...
[2025-01-09 11:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:43:02] Production.INFO: neon service started
[2025-01-09 11:43:02] Production.INFO: neon service started
[2025-01-09 11:43:02] Production.INFO: ==31555== Releasing lock...
[2025-01-09 11:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:43:02] Production.INFO: ==31558== Lock acquired, processing the job...
[2025-01-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:43:02] Production.INFO: ==31558== Releasing lock...
[2025-01-09 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:43:03] Production.INFO: ==31560== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:43:03] Production.INFO: ==31560== Releasing lock...
[2025-01-09 11:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:43:03] Production.INFO: ==31566== Lock acquired, processing the job...
[2025-01-09 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:43:03] Production.INFO: ==31568== Lock acquired, processing the job...
[2025-01-09 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:43:03] Production.INFO: Account Balance Start.
[2025-01-09 06:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:43:03] Production.INFO: 117
[2025-01-09 06:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:43:03] Production.INFO: ==31562== Lock acquired, processing the job...
[2025-01-09 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:43:03] Production.INFO: Total Charge 0
[2025-01-09 06:43:03] Production.INFO: CreateAllLog End
[2025-01-09 06:43:03] Production.INFO: ==31564== Lock acquired, processing the job...
[2025-01-09 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:43:04] Production.INFO: ==31570== Lock acquired, processing the job...
[2025-01-09 06:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:43:04] Production.INFO: Account Balance End.
[2025-01-09 06:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:43:04] Production.INFO: ==31568== Releasing lock...
[2025-01-09 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:43:04] Production.INFO: ==31572== Lock acquired, processing the job...
[2025-01-09 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:43:04] Production.INFO: ==31564== Releasing lock...
[2025-01-09 06:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 06:43:04] Production.INFO: count ==21
[2025-01-09 06:43:04] Production.ERROR: done
[2025-01-09 06:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:43:04] Production.INFO: count ==21
[2025-01-09 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207817') start
[2025-01-09 06:43:04] Production.ERROR: done
[2025-01-09 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207817') end
[2025-01-09 06:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:43:04] Production.INFO: 1
[2025-01-09 06:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:43:04] Production.INFO: ==31572== Releasing lock...
[2025-01-09 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:43:05
[end_date_ymd] => 2025-01-09 06:43:05
[RateCDR] => 1
)
[2025-01-09 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:43:05' and `end` < '2025-01-09 06:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:43:10] Production.ERROR: CronJobId end10
[2025-01-09 06:43:10] Production.INFO: ==31566== Releasing lock...
[2025-01-09 06:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:43:14] Production.INFO: call_cost start
[2025-01-09 06:43:14] Production.INFO: call_cost end
[2025-01-09 06:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:43:15] Production.INFO: ==31562== Releasing lock...
[2025-01-09 06:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:43:19] Production.INFO: count ==61
[2025-01-09 06:43:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:43:05 - End Time 2025-01-09 06:43:05
[2025-01-09 06:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207818', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207818', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207818', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207818', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:43:19] Production.INFO: ProcessCDR(1,14207818,1,1,2)
[2025-01-09 06:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207818', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207818', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:43:22] Production.INFO: ==31570== Releasing lock...
[2025-01-09 06:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:43:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:44:01] Production.INFO: ==31641== Lock acquired, processing the job...
[2025-01-09 11:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:44:01] Production.INFO: neon service started
[2025-01-09 11:44:01] Production.INFO: neon service started
[2025-01-09 11:44:01] Production.INFO: ==31641== Releasing lock...
[2025-01-09 11:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:44:02] Production.INFO: ==31645== Lock acquired, processing the job...
[2025-01-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:44:02] Production.INFO: ==31645== Releasing lock...
[2025-01-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:44:02] Production.INFO: ==31643== Lock acquired, processing the job...
[2025-01-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:44:02] Production.INFO: ==31643== Releasing lock...
[2025-01-09 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:44:03] Production.INFO: ==31648== Lock acquired, processing the job...
[2025-01-09 06:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:44:03] Production.INFO: ==31654== Lock acquired, processing the job...
[2025-01-09 06:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:44:03] Production.INFO: ==31652== Lock acquired, processing the job...
[2025-01-09 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:44:03] Production.INFO: Account Balance Start.
[2025-01-09 06:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:44:03] Production.INFO: 117
[2025-01-09 06:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:44:03] Production.INFO: ==31650== Lock acquired, processing the job...
[2025-01-09 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:44:03] Production.INFO: Total Charge 0
[2025-01-09 06:44:03] Production.INFO: ==31656== Lock acquired, processing the job...
[2025-01-09 06:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:44:03] Production.INFO: CreateAllLog End
[2025-01-09 06:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:44:03] Production.INFO: ==31658== Lock acquired, processing the job...
[2025-01-09 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:44:03] Production.INFO: Account Balance End.
[2025-01-09 06:44:03] Production.INFO: ==31650== Releasing lock...
[2025-01-09 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:44:04] Production.INFO: ==31654== Releasing lock...
[2025-01-09 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:44:04] Production.INFO: count ==21
[2025-01-09 06:44:04] Production.ERROR: done
[2025-01-09 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:44:04] Production.INFO: count ==21
[2025-01-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207822') start
[2025-01-09 06:44:04] Production.ERROR: done
[2025-01-09 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207822') end
[2025-01-09 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:44:04] Production.INFO: 1
[2025-01-09 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:44:04] Production.INFO: ==31658== Releasing lock...
[2025-01-09 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:44:05
[end_date_ymd] => 2025-01-09 06:44:05
[RateCDR] => 1
)
[2025-01-09 06:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:44:05' and `end` < '2025-01-09 06:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:44:11] Production.ERROR: CronJobId end10
[2025-01-09 06:44:11] Production.INFO: ==31652== Releasing lock...
[2025-01-09 06:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:44:12] Production.INFO: call_cost start
[2025-01-09 06:44:12] Production.INFO: call_cost end
[2025-01-09 06:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:44:13] Production.INFO: ==31648== Releasing lock...
[2025-01-09 06:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:44:18] Production.INFO: count ==61
[2025-01-09 06:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:44:05 - End Time 2025-01-09 06:44:05
[2025-01-09 06:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207823', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207823', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207823', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207823', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:44:18] Production.INFO: ProcessCDR(1,14207823,1,1,2)
[2025-01-09 06:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207823', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207823', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:44:21] Production.INFO: ==31656== Releasing lock...
[2025-01-09 06:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:45:02] Production.INFO: ==31745== Lock acquired, processing the job...
[2025-01-09 11:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:45:02] Production.INFO: neon service started
[2025-01-09 11:45:02] Production.INFO: neon service started
[2025-01-09 11:45:02] Production.INFO: ==31745== Releasing lock...
[2025-01-09 11:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:45:02] Production.INFO: ==31747== Lock acquired, processing the job...
[2025-01-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:45:02] Production.INFO: ==31747== Releasing lock...
[2025-01-09 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:45:02] Production.INFO: ==31749== Lock acquired, processing the job...
[2025-01-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:45:02] Production.INFO: ==31749== Releasing lock...
[2025-01-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:45:03] Production.INFO: ==31759== Lock acquired, processing the job...
[2025-01-09 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:45:03] Production.INFO: ==31757== Lock acquired, processing the job...
[2025-01-09 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:45:03] Production.INFO: ==31751== Lock acquired, processing the job...
[2025-01-09 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:45:03] Production.INFO: ==31753== Lock acquired, processing the job...
[2025-01-09 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:45:03] Production.INFO: Account Balance Start.
[2025-01-09 06:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:45:03] Production.INFO: 117
[2025-01-09 06:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:45:03] Production.INFO: ==31755== Lock acquired, processing the job...
[2025-01-09 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:45:03] Production.INFO: ==31761== Lock acquired, processing the job...
[2025-01-09 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:45:04] Production.ERROR: done
[2025-01-09 06:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:45:04] Production.INFO: count ==21
[2025-01-09 06:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:45:04] Production.INFO: count ==21
[2025-01-09 06:45:04] Production.INFO: Total Charge 0
[2025-01-09 06:45:04] Production.ERROR: done
[2025-01-09 06:45:04] Production.INFO: CreateAllLog End
[2025-01-09 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207827') start
[2025-01-09 06:45:04] Production.INFO: ==31753== Releasing lock...
[2025-01-09 06:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:45:04] Production.INFO: Account Balance End.
[2025-01-09 06:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207827') end
[2025-01-09 06:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:45:04] Production.INFO: 1
[2025-01-09 06:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:45:04] Production.INFO: ==31761== Releasing lock...
[2025-01-09 06:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:45:04] Production.INFO: ==31757== Releasing lock...
[2025-01-09 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:45:05
[end_date_ymd] => 2025-01-09 06:45:05
[RateCDR] => 1
)
[2025-01-09 06:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:45:05' and `end` < '2025-01-09 06:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:45:10] Production.ERROR: CronJobId end10
[2025-01-09 06:45:10] Production.INFO: ==31755== Releasing lock...
[2025-01-09 06:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:45:13] Production.INFO: call_cost start
[2025-01-09 06:45:13] Production.INFO: call_cost end
[2025-01-09 06:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:45:14] Production.INFO: ==31751== Releasing lock...
[2025-01-09 06:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:45:17] Production.INFO: count ==61
[2025-01-09 06:45:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:45:05 - End Time 2025-01-09 06:45:05
[2025-01-09 06:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207828', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207828', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207828', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207828', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:45:17] Production.INFO: ProcessCDR(1,14207828,1,1,2)
[2025-01-09 06:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207828', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207828', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:45:21] Production.INFO: ==31759== Releasing lock...
[2025-01-09 06:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:45:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:46:01] Production.INFO: ==31851== Lock acquired, processing the job...
[2025-01-09 11:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:46:01] Production.INFO: neon service started
[2025-01-09 11:46:01] Production.INFO: neon service started
[2025-01-09 11:46:01] Production.INFO: ==31851== Releasing lock...
[2025-01-09 11:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:46:01] Production.INFO: ==31855== Lock acquired, processing the job...
[2025-01-09 11:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:46:01] Production.INFO: ==31855== Releasing lock...
[2025-01-09 11:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:46:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:46:02] Production.INFO: ==31853== Lock acquired, processing the job...
[2025-01-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:46:02] Production.INFO: ==31853== Releasing lock...
[2025-01-09 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:46:03] Production.INFO: ==31857== Lock acquired, processing the job...
[2025-01-09 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:46:03] Production.INFO: ==31864== Lock acquired, processing the job...
[2025-01-09 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:46:03] Production.INFO: ==31862== Lock acquired, processing the job...
[2025-01-09 06:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:46:03] Production.INFO: ==31859== Lock acquired, processing the job...
[2025-01-09 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:46:03] Production.INFO: Account Balance Start.
[2025-01-09 06:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:46:03] Production.INFO: 117
[2025-01-09 06:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:46:03] Production.INFO: ==31866== Lock acquired, processing the job...
[2025-01-09 06:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:46:03] Production.INFO: Total Charge 0
[2025-01-09 06:46:03] Production.INFO: CreateAllLog End
[2025-01-09 06:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:46:03] Production.INFO: ==31868== Lock acquired, processing the job...
[2025-01-09 06:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:46:03] Production.INFO: ==31859== Releasing lock...
[2025-01-09 06:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:46:03] Production.INFO: Account Balance End.
[2025-01-09 06:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:46:03] Production.INFO: count ==21
[2025-01-09 06:46:03] Production.ERROR: done
[2025-01-09 06:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:46:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:46:03] Production.INFO: count ==21
[2025-01-09 06:46:03] Production.INFO: ==31864== Releasing lock...
[2025-01-09 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207832') start
[2025-01-09 06:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207832') end
[2025-01-09 06:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:46:03] Production.INFO: 1
[2025-01-09 06:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:46:04] Production.ERROR: done
[2025-01-09 06:46:04] Production.INFO: ==31868== Releasing lock...
[2025-01-09 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:46:04
[end_date_ymd] => 2025-01-09 06:46:04
[RateCDR] => 1
)
[2025-01-09 06:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:46:04' and `end` < '2025-01-09 06:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:46:11] Production.ERROR: CronJobId end10
[2025-01-09 06:46:11] Production.INFO: ==31862== Releasing lock...
[2025-01-09 06:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:46:13] Production.INFO: call_cost start
[2025-01-09 06:46:13] Production.INFO: call_cost end
[2025-01-09 06:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:46:14] Production.INFO: ==31857== Releasing lock...
[2025-01-09 06:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:46:18] Production.INFO: count ==61
[2025-01-09 06:46:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:46:04 - End Time 2025-01-09 06:46:04
[2025-01-09 06:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207833', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207833', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207833', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207833', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:46:18] Production.INFO: ProcessCDR(1,14207833,1,1,2)
[2025-01-09 06:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:46:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:46:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207833', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207833', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:46:21] Production.INFO: ==31866== Releasing lock...
[2025-01-09 06:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:46:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:47:01] Production.INFO: ==31934== Lock acquired, processing the job...
[2025-01-09 11:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:47:01] Production.INFO: neon service started
[2025-01-09 11:47:02] Production.INFO: neon service started
[2025-01-09 11:47:02] Production.INFO: ==31934== Releasing lock...
[2025-01-09 11:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:47:02] Production.INFO: ==31936== Lock acquired, processing the job...
[2025-01-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:47:02] Production.INFO: ==31938== Lock acquired, processing the job...
[2025-01-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:47:02] Production.INFO: ==31938== Releasing lock...
[2025-01-09 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:47:02] Production.INFO: ==31936== Releasing lock...
[2025-01-09 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:47:03] Production.INFO: ==31943== Lock acquired, processing the job...
[2025-01-09 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:47:03] Production.INFO: ==31945== Lock acquired, processing the job...
[2025-01-09 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:47:03] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-01-09 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:47:03] Production.INFO: ==31943== Releasing lock...
[2025-01-09 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:47:03] Production.INFO: Account Balance Start.
[2025-01-09 06:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:47:03] Production.INFO: 117
[2025-01-09 06:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:47:03] Production.INFO: ==31941== Lock acquired, processing the job...
[2025-01-09 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:47:04] Production.INFO: Total Charge 0
[2025-01-09 06:47:04] Production.INFO: CreateAllLog End
[2025-01-09 06:47:04] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-01-09 06:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:47:04] Production.INFO: Account Balance End.
[2025-01-09 06:47:04] Production.INFO: ==31951== Lock acquired, processing the job...
[2025-01-09 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:47:04] Production.INFO: ==31947== Releasing lock...
[2025-01-09 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:47:04] Production.INFO: count ==21
[2025-01-09 06:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:47:04] Production.INFO: count ==21
[2025-01-09 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207837') start
[2025-01-09 06:47:04] Production.ERROR: done
[2025-01-09 06:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207837') end
[2025-01-09 06:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:47:04] Production.INFO: 1
[2025-01-09 06:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:47:04] Production.INFO: ==31951== Releasing lock...
[2025-01-09 06:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:47:04] Production.ERROR: done
[2025-01-09 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:47:05
[end_date_ymd] => 2025-01-09 06:47:05
[RateCDR] => 1
)
[2025-01-09 06:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:47:05' and `end` < '2025-01-09 06:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:47:10] Production.ERROR: CronJobId end10
[2025-01-09 06:47:10] Production.INFO: ==31945== Releasing lock...
[2025-01-09 06:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:47:13] Production.INFO: call_cost start
[2025-01-09 06:47:13] Production.INFO: call_cost end
[2025-01-09 06:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:47:14] Production.INFO: ==31941== Releasing lock...
[2025-01-09 06:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:47:18] Production.INFO: count ==61
[2025-01-09 06:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:47:05 - End Time 2025-01-09 06:47:05
[2025-01-09 06:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207838', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207838', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207838', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207838', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:47:18] Production.INFO: ProcessCDR(1,14207838,1,1,2)
[2025-01-09 06:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207838', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207838', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:47:21] Production.INFO: ==31949== Releasing lock...
[2025-01-09 06:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:47:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:48:01] Production.INFO: ==32004== Lock acquired, processing the job...
[2025-01-09 11:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:48:01] Production.INFO: neon service started
[2025-01-09 11:48:01] Production.INFO: neon service started
[2025-01-09 11:48:01] Production.INFO: ==32004== Releasing lock...
[2025-01-09 11:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:48:01] Production.INFO: ==32006== Lock acquired, processing the job...
[2025-01-09 06:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:48:02] Production.INFO: ==32006== Releasing lock...
[2025-01-09 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:48:02] Production.INFO: ==32008== Lock acquired, processing the job...
[2025-01-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:48:02] Production.INFO: ==32008== Releasing lock...
[2025-01-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:48:02] Production.INFO: ==32016== Lock acquired, processing the job...
[2025-01-09 06:48:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:48:03] Production.INFO: ==32020== Lock acquired, processing the job...
[2025-01-09 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:48:03] Production.INFO: Account Balance Start.
[2025-01-09 06:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:48:03] Production.INFO: 117
[2025-01-09 06:48:03] Production.INFO: ==32010== Lock acquired, processing the job...
[2025-01-09 06:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:48:03] Production.INFO: ==32012== Lock acquired, processing the job...
[2025-01-09 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:48:03] Production.INFO: ==32014== Lock acquired, processing the job...
[2025-01-09 06:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 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-01-09 06:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:48:03] Production.INFO: count ==21
[2025-01-09 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-01-09 06:48:03] Production.INFO: count ==21
[2025-01-09 06:48:03] Production.INFO: ==32018== Lock acquired, processing the job...
[2025-01-09 06:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207840') start
[2025-01-09 06:48:03] Production.INFO: Total Charge 0
[2025-01-09 06:48:03] Production.INFO: CreateAllLog End
[2025-01-09 06:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207840') end
[2025-01-09 06:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:48:03] Production.INFO: 1
[2025-01-09 06:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:48:03] Production.INFO: ==32020== Releasing lock...
[2025-01-09 06:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:48:03] Production.INFO: ==32012== Releasing lock...
[2025-01-09 06:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:48:03] Production.INFO: Account Balance End.
[2025-01-09 06:48:03] Production.ERROR: done
[2025-01-09 06:48:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:48:03] Production.INFO: ==32016== Releasing lock...
[2025-01-09 06:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:48:03] Production.ERROR: done
[2025-01-09 06:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:48:04
[end_date_ymd] => 2025-01-09 06:48:04
[RateCDR] => 1
)
[2025-01-09 06:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:48:04' and `end` < '2025-01-09 06:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:48:10] Production.ERROR: CronJobId end10
[2025-01-09 06:48:10] Production.INFO: ==32014== Releasing lock...
[2025-01-09 06:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:48:12] Production.INFO: call_cost start
[2025-01-09 06:48:12] Production.INFO: call_cost end
[2025-01-09 06:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:48:13] Production.INFO: ==32010== Releasing lock...
[2025-01-09 06:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:48:18] Production.INFO: count ==61
[2025-01-09 06:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:48:04 - End Time 2025-01-09 06:48:04
[2025-01-09 06:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207843', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207843', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207843', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207843', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:48:18] Production.INFO: ProcessCDR(1,14207843,1,1,2)
[2025-01-09 06:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:48:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:48:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:48:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:48:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207843', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207843', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:48:21] Production.INFO: ==32018== Releasing lock...
[2025-01-09 06:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:48:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:49:01] Production.INFO: ==32116== Lock acquired, processing the job...
[2025-01-09 11:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:49:01] Production.INFO: neon service started
[2025-01-09 11:49:01] Production.INFO: neon service started
[2025-01-09 11:49:01] Production.INFO: ==32116== Releasing lock...
[2025-01-09 11:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:49:02] Production.INFO: ==32121== Lock acquired, processing the job...
[2025-01-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:49:02] Production.INFO: ==32121== Releasing lock...
[2025-01-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:49:02] Production.INFO: ==32119== Lock acquired, processing the job...
[2025-01-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:49:02] Production.INFO: ==32119== Releasing lock...
[2025-01-09 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:49:03] Production.INFO: ==32123== Lock acquired, processing the job...
[2025-01-09 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:49:03] Production.INFO: ==32127== Lock acquired, processing the job...
[2025-01-09 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:49:03] Production.INFO: ==32129== Lock acquired, processing the job...
[2025-01-09 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:49:03] Production.INFO: ==32125== Lock acquired, processing the job...
[2025-01-09 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:49:03] Production.INFO: ==32131== Lock acquired, processing the job...
[2025-01-09 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:49:03] Production.INFO: ==32133== Lock acquired, processing the job...
[2025-01-09 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:49:03] Production.INFO: Account Balance Start.
[2025-01-09 06:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:49:03] Production.INFO: 117
[2025-01-09 06:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:49:03] Production.INFO: Total Charge 0
[2025-01-09 06:49:03] Production.INFO: count ==21
[2025-01-09 06:49:03] Production.INFO: CreateAllLog End
[2025-01-09 06:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:49:03] Production.INFO: count ==21
[2025-01-09 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207846') start
[2025-01-09 06:49:03] Production.ERROR: done
[2025-01-09 06:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:49:04] Production.ERROR: done
[2025-01-09 06:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207846') end
[2025-01-09 06:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:49:04] Production.INFO: 1
[2025-01-09 06:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:49:04] Production.INFO: ==32133== Releasing lock...
[2025-01-09 06:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:49:04] Production.INFO: Account Balance End.
[2025-01-09 06:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:49:04] Production.INFO: ==32129== Releasing lock...
[2025-01-09 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:49:04] Production.INFO: ==32125== Releasing lock...
[2025-01-09 06:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:49:05
[end_date_ymd] => 2025-01-09 06:49:05
[RateCDR] => 1
)
[2025-01-09 06:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:49:05' and `end` < '2025-01-09 06:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:49:10] Production.ERROR: CronJobId end10
[2025-01-09 06:49:10] Production.INFO: ==32127== Releasing lock...
[2025-01-09 06:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:49:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:49:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:49:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:49:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:49:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:49:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:49:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:49:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:49:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:49:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:49:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:49:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:49:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:49:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:49:12] Production.INFO: call_cost start
[2025-01-09 06:49:12] Production.INFO: call_cost end
[2025-01-09 06:49:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:49:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:49:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:49:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:49:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:49:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:49:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:49:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:49:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:49:12] Production.INFO: ==32123== Releasing lock...
[2025-01-09 06:49:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:49:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:49:18] Production.INFO: count ==61
[2025-01-09 06:49:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:49:05 - End Time 2025-01-09 06:49:05
[2025-01-09 06:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207848', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207848', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207848', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207848', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:49:18] Production.INFO: ProcessCDR(1,14207848,1,1,2)
[2025-01-09 06:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207848', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207848', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:49:22] Production.INFO: ==32131== Releasing lock...
[2025-01-09 06:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:49:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:50:02] Production.INFO: ==32187== Lock acquired, processing the job...
[2025-01-09 11:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:50:02] Production.INFO: neon service started
[2025-01-09 11:50:02] Production.INFO: neon service started
[2025-01-09 11:50:02] Production.INFO: ==32187== Releasing lock...
[2025-01-09 11:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:50:02] Production.INFO: ==32191== Lock acquired, processing the job...
[2025-01-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:50:02] Production.INFO: ==32191== Releasing lock...
[2025-01-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:50:02] Production.INFO: ==32189== Lock acquired, processing the job...
[2025-01-09 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:50:03] Production.INFO: ==32189== Releasing lock...
[2025-01-09 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:50:03] Production.INFO: ==32198== Lock acquired, processing the job...
[2025-01-09 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:50:03] Production.INFO: ==32196== Lock acquired, processing the job...
[2025-01-09 06:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:50:04] Production.INFO: ==32194== Lock acquired, processing the job...
[2025-01-09 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 06:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:50:04] Production.INFO: ==32202== Lock acquired, processing the job...
[2025-01-09 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:50:04] Production.ERROR: CronJob PID - 32196
[2025-01-09 06:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 06:50:04] Production.ERROR: CronJob ID - 5
[2025-01-09 06:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 06:50:00
[2025-01-09 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 06:50:04] Production.ERROR: CronJob PID - 32198
[2025-01-09 06:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 06:50:04] Production.ERROR: CronJob ID - 7
[2025-01-09 06:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 06:50:00
[2025-01-09 06:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 06:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 06:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 06:50:04] Production.INFO: ==32194== Releasing lock...
[2025-01-09 06:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 06:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 06:50:04] Production.INFO: ==32198== Releasing lock...
[2025-01-09 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:50:04] Production.INFO: ==32206== Lock acquired, processing the job...
[2025-01-09 06:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 06:50:04] Production.INFO: Account Balance Start.
[2025-01-09 06:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:50:04] Production.INFO: 117
[2025-01-09 06:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:50:04] Production.INFO: Total Charge 0
[2025-01-09 06:50:04] Production.INFO: CreateAllLog End
[2025-01-09 06:50:04] Production.INFO: ==32200== Lock acquired, processing the job...
[2025-01-09 06:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:50:04] Production.INFO: ==32204== Lock acquired, processing the job...
[2025-01-09 06:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:50:04] Production.INFO: ==32208== Lock acquired, processing the job...
[2025-01-09 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:50:04] Production.ERROR: done
[2025-01-09 06:50:04] Production.INFO: Account Balance End.
[2025-01-09 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207852', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 06:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:50:04] Production.INFO: ==32202== Releasing lock...
[2025-01-09 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:50:04] Production.INFO: count ==21
[2025-01-09 06:50:04] Production.ERROR: done
[2025-01-09 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:50:04] Production.INFO: count ==21
[2025-01-09 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207853') start
[2025-01-09 06:50:05] Production.ERROR: done
[2025-01-09 06:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207853') end
[2025-01-09 06:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:50:05] Production.INFO: 1
[2025-01-09 06:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:50:05] Production.INFO: ==32208== Releasing lock...
[2025-01-09 06:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:50:06
[end_date_ymd] => 2025-01-09 06:50:06
[RateCDR] => 1
)
[2025-01-09 06:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:50:06' and `end` < '2025-01-09 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-01-09 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207852', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 06:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 06:50:09] Production.INFO: ProcessCDR(1,14207852,1,1,2)
[2025-01-09 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207852,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207852,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:50:09] Production.INFO: ==32206== Releasing lock...
[2025-01-09 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 06:50:12] Production.ERROR: CronJobId end10
[2025-01-09 06:50:12] Production.INFO: ==32200== Releasing lock...
[2025-01-09 06:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:50:14] Production.INFO: call_cost start
[2025-01-09 06:50:14] Production.INFO: call_cost end
[2025-01-09 06:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:50:15] Production.INFO: ==32196== Releasing lock...
[2025-01-09 06:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:50:18] Production.INFO: count ==61
[2025-01-09 06:50:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:50:06 - End Time 2025-01-09 06:50:06
[2025-01-09 06:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207854', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207854', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207854', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207854', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:50:18] Production.INFO: ProcessCDR(1,14207854,1,1,2)
[2025-01-09 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207854', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207854', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:50:22] Production.INFO: ==32204== Releasing lock...
[2025-01-09 06:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:50:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:51:01] Production.INFO: ==32261== Lock acquired, processing the job...
[2025-01-09 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:51:01] Production.INFO: neon service started
[2025-01-09 11:51:01] Production.INFO: neon service started
[2025-01-09 11:51:01] Production.INFO: ==32261== Releasing lock...
[2025-01-09 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:51:02] Production.INFO: ==32263== Lock acquired, processing the job...
[2025-01-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:51:02] Production.INFO: ==32265== Lock acquired, processing the job...
[2025-01-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 06:51:02] Production.INFO: ==32263== Releasing lock...
[2025-01-09 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:51:02] Production.INFO: ==32265== Releasing lock...
[2025-01-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:51:03] Production.INFO: ==32271== Lock acquired, processing the job...
[2025-01-09 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:51:03] Production.INFO: ==32267== Lock acquired, processing the job...
[2025-01-09 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:51:03] Production.INFO: ==32278== Lock acquired, processing the job...
[2025-01-09 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:51:03] Production.INFO: ==32269== Lock acquired, processing the job...
[2025-01-09 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:51:03] Production.INFO: ==32273== Lock acquired, processing the job...
[2025-01-09 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:51:03] Production.INFO: ==32276== Lock acquired, processing the job...
[2025-01-09 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:51:03] Production.INFO: count ==21
[2025-01-09 06:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:51:03] Production.INFO: count ==21
[2025-01-09 06:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:51:03] Production.INFO: Account Balance Start.
[2025-01-09 06:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:51:03] Production.INFO: 117
[2025-01-09 06:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207856') start
[2025-01-09 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:51:03] Production.INFO: ==32269== Releasing lock...
[2025-01-09 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207856') end
[2025-01-09 06:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:51:04] Production.INFO: 1
[2025-01-09 06:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:51:04] Production.INFO: Total Charge 0
[2025-01-09 06:51:04] Production.INFO: CreateAllLog End
[2025-01-09 06:51:04] Production.INFO: ==32278== Releasing lock...
[2025-01-09 06:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:51:04] Production.ERROR: done
[2025-01-09 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:51:04] Production.INFO: Account Balance End.
[2025-01-09 06:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:51:04] Production.INFO: ==32273== Releasing lock...
[2025-01-09 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:51:04] Production.ERROR: done
[2025-01-09 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:51:05
[end_date_ymd] => 2025-01-09 06:51:05
[RateCDR] => 1
)
[2025-01-09 06:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:51:05' and `end` < '2025-01-09 06:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:51:11] Production.ERROR: CronJobId end10
[2025-01-09 06:51:11] Production.INFO: ==32271== Releasing lock...
[2025-01-09 06:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:51:13] Production.INFO: call_cost start
[2025-01-09 06:51:13] Production.INFO: call_cost end
[2025-01-09 06:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:51:13] Production.INFO: ==32267== Releasing lock...
[2025-01-09 06:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:51:19] Production.INFO: count ==61
[2025-01-09 06:51:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:51:05 - End Time 2025-01-09 06:51:05
[2025-01-09 06:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207859', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207859', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207859', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207859', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:51:19] Production.INFO: ProcessCDR(1,14207859,1,1,2)
[2025-01-09 06:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207859', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207859', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:51:22] Production.INFO: ==32276== Releasing lock...
[2025-01-09 06:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:51:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:52:02] Production.INFO: ==32332== Lock acquired, processing the job...
[2025-01-09 11:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:52:02] Production.INFO: neon service started
[2025-01-09 11:52:02] Production.INFO: neon service started
[2025-01-09 11:52:02] Production.INFO: ==32332== Releasing lock...
[2025-01-09 11:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:52:02] Production.INFO: ==32336== Lock acquired, processing the job...
[2025-01-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:52:02] Production.INFO: ==32336== Releasing lock...
[2025-01-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:52:03] Production.INFO: ==32334== Lock acquired, processing the job...
[2025-01-09 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:52:03] Production.INFO: ==32334== Releasing lock...
[2025-01-09 06:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:52:04] Production.INFO: ==32341== Lock acquired, processing the job...
[2025-01-09 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:52:04] Production.INFO: ==32347== Lock acquired, processing the job...
[2025-01-09 06:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:52:04] Production.INFO: ==32339== Lock acquired, processing the job...
[2025-01-09 06:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:52:04] Production.INFO: ==32343== Lock acquired, processing the job...
[2025-01-09 06:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:52:04] Production.INFO: ==32345== Lock acquired, processing the job...
[2025-01-09 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:52:04] Production.INFO: ==32349== Lock acquired, processing the job...
[2025-01-09 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:52:04] Production.INFO: ==32341== Releasing lock...
[2025-01-09 06:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:52:04] Production.ERROR: done
[2025-01-09 06:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:52:04] Production.INFO: Account Balance Start.
[2025-01-09 06:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:52:04] Production.INFO: 117
[2025-01-09 06:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:52:04] Production.INFO: count ==21
[2025-01-09 06:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:52:04] Production.INFO: count ==21
[2025-01-09 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207863') start
[2025-01-09 06:52:04] Production.ERROR: done
[2025-01-09 06:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:52:04] Production.INFO: Total Charge 0
[2025-01-09 06:52:04] Production.INFO: CreateAllLog End
[2025-01-09 06:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207863') end
[2025-01-09 06:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:52:05] Production.INFO: 1
[2025-01-09 06:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:52:05] Production.INFO: ==32349== Releasing lock...
[2025-01-09 06:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:52:05] Production.INFO: Account Balance End.
[2025-01-09 06:52:05] Production.ERROR: CronJobId end 12
[2025-01-09 06:52:05] Production.INFO: ==32345== Releasing lock...
[2025-01-09 06:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:52:06
[end_date_ymd] => 2025-01-09 06:52:06
[RateCDR] => 1
)
[2025-01-09 06:52:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:52:06' and `end` < '2025-01-09 06:52:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:52:11] Production.ERROR: CronJobId end10
[2025-01-09 06:52:11] Production.INFO: ==32343== Releasing lock...
[2025-01-09 06:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:52:13] Production.INFO: call_cost start
[2025-01-09 06:52:14] Production.INFO: call_cost end
[2025-01-09 06:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:52:14] Production.INFO: ==32339== Releasing lock...
[2025-01-09 06:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:52:19] Production.INFO: count ==61
[2025-01-09 06:52:19] Production.ERROR: pbx CDR StartTime 2025-01-09 03:52:06 - End Time 2025-01-09 06:52:06
[2025-01-09 06:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207864', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207864', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207864', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207864', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:52:19] Production.INFO: ProcessCDR(1,14207864,1,1,2)
[2025-01-09 06:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207864', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207864', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:52:22] Production.INFO: ==32347== Releasing lock...
[2025-01-09 06:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:52:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:53:01] Production.INFO: ==32401== Lock acquired, processing the job...
[2025-01-09 11:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:53:01] Production.INFO: neon service started
[2025-01-09 11:53:01] Production.INFO: neon service started
[2025-01-09 11:53:01] Production.INFO: ==32401== Releasing lock...
[2025-01-09 11:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:53:02] Production.INFO: ==32404== Lock acquired, processing the job...
[2025-01-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:53:02] Production.INFO: ==32404== Releasing lock...
[2025-01-09 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:53:02] Production.INFO: ==32406== Lock acquired, processing the job...
[2025-01-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:53:02] Production.INFO: ==32406== Releasing lock...
[2025-01-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:53:03] Production.INFO: ==32408== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:53:03] Production.INFO: ==32412== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:53:03] Production.INFO: ==32416== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:53:03] Production.INFO: ==32410== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:53:03] Production.INFO: ==32414== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:53:03] Production.INFO: ==32418== Lock acquired, processing the job...
[2025-01-09 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:53:03] Production.INFO: Account Balance Start.
[2025-01-09 06:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:53:03] Production.INFO: 117
[2025-01-09 06:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:53:03] Production.INFO: count ==21
[2025-01-09 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:53:03] Production.ERROR: done
[2025-01-09 06:53:03] Production.INFO: count ==21
[2025-01-09 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207866') start
[2025-01-09 06:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:53:03] Production.INFO: Total Charge 0
[2025-01-09 06:53:03] Production.INFO: CreateAllLog End
[2025-01-09 06:53:03] Production.INFO: ==32410== Releasing lock...
[2025-01-09 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:53:03] Production.ERROR: done
[2025-01-09 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207866') end
[2025-01-09 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:53:04] Production.INFO: 1
[2025-01-09 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:53:04] Production.INFO: Account Balance End.
[2025-01-09 06:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:53:04] Production.INFO: ==32414== Releasing lock...
[2025-01-09 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:53:04] Production.INFO: ==32418== Releasing lock...
[2025-01-09 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:53:04
[end_date_ymd] => 2025-01-09 06:53:04
[RateCDR] => 1
)
[2025-01-09 06:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:53:04' and `end` < '2025-01-09 06:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:53:10] Production.ERROR: CronJobId end10
[2025-01-09 06:53:10] Production.INFO: ==32412== Releasing lock...
[2025-01-09 06:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:53:13] Production.INFO: call_cost start
[2025-01-09 06:53:13] Production.INFO: call_cost end
[2025-01-09 06:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:53:13] Production.INFO: ==32408== Releasing lock...
[2025-01-09 06:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:53:17] Production.INFO: count ==61
[2025-01-09 06:53:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:53:04 - End Time 2025-01-09 06:53:04
[2025-01-09 06:53:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207869', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207869', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207869', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:53:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207869', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:53:17] Production.INFO: ProcessCDR(1,14207869,1,1,2)
[2025-01-09 06:53:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:53:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:53:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:53:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207869', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:53:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207869', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:53:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:53:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:53:20] Production.INFO: ==32416== Releasing lock...
[2025-01-09 06:53:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:53:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:54:02] Production.INFO: ==32478== Lock acquired, processing the job...
[2025-01-09 11:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:54:02] Production.INFO: neon service started
[2025-01-09 11:54:02] Production.INFO: neon service started
[2025-01-09 11:54:02] Production.INFO: ==32478== Releasing lock...
[2025-01-09 11:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:54:02] Production.INFO: ==32482== Lock acquired, processing the job...
[2025-01-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:54:02] Production.INFO: ==32482== Releasing lock...
[2025-01-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:54:02] Production.INFO: ==32480== Lock acquired, processing the job...
[2025-01-09 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:54:03] Production.INFO: ==32480== Releasing lock...
[2025-01-09 06:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:54:03] Production.INFO: ==32488== Lock acquired, processing the job...
[2025-01-09 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:54:03] Production.INFO: ==32484== Lock acquired, processing the job...
[2025-01-09 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:54:04] Production.INFO: ==32495== Lock acquired, processing the job...
[2025-01-09 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:54:04] Production.INFO: ==32486== Lock acquired, processing the job...
[2025-01-09 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:54:04] Production.INFO: ==32490== Lock acquired, processing the job...
[2025-01-09 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:54:04] Production.INFO: ==32492== Lock acquired, processing the job...
[2025-01-09 06:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:54:04] Production.INFO: count ==21
[2025-01-09 06:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:54:04] Production.INFO: count ==21
[2025-01-09 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207871') start
[2025-01-09 06:54:04] Production.INFO: Account Balance Start.
[2025-01-09 06:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207871') end
[2025-01-09 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:54:04] Production.INFO: 1
[2025-01-09 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:54:04] Production.INFO: ==32486== Releasing lock...
[2025-01-09 06:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:54:04] Production.INFO: 117
[2025-01-09 06:54:04] Production.ERROR: done
[2025-01-09 06:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:54:04] Production.INFO: ==32495== Releasing lock...
[2025-01-09 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:54:04] Production.ERROR: done
[2025-01-09 06:54:04] Production.INFO: Total Charge 0
[2025-01-09 06:54:04] Production.INFO: CreateAllLog End
[2025-01-09 06:54:05] Production.INFO: Account Balance End.
[2025-01-09 06:54:05] Production.ERROR: CronJobId end 12
[2025-01-09 06:54:05] Production.INFO: ==32490== Releasing lock...
[2025-01-09 06:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:54:05
[end_date_ymd] => 2025-01-09 06:54:05
[RateCDR] => 1
)
[2025-01-09 06:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:54:05' and `end` < '2025-01-09 06:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:54:11] Production.ERROR: CronJobId end10
[2025-01-09 06:54:11] Production.INFO: ==32488== Releasing lock...
[2025-01-09 06:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:54:14] Production.INFO: call_cost start
[2025-01-09 06:54:14] Production.INFO: call_cost end
[2025-01-09 06:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:54:14] Production.INFO: ==32484== Releasing lock...
[2025-01-09 06:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:54:18] Production.INFO: count ==61
[2025-01-09 06:54:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:54:05 - End Time 2025-01-09 06:54:05
[2025-01-09 06:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207874', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207874', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207874', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207874', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:54:18] Production.INFO: ProcessCDR(1,14207874,1,1,2)
[2025-01-09 06:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207874', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207874', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:54:21] Production.INFO: ==32492== Releasing lock...
[2025-01-09 06:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:54:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:55:01] Production.INFO: ==32547== Lock acquired, processing the job...
[2025-01-09 11:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:55:01] Production.INFO: neon service started
[2025-01-09 11:55:01] Production.INFO: neon service started
[2025-01-09 11:55:01] Production.INFO: ==32547== Releasing lock...
[2025-01-09 11:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:55:01] Production.INFO: ==32549== Lock acquired, processing the job...
[2025-01-09 06:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:55:02] Production.INFO: ==32549== Releasing lock...
[2025-01-09 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:55:02] Production.INFO: ==32551== Lock acquired, processing the job...
[2025-01-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:55:02] Production.INFO: ==32551== Releasing lock...
[2025-01-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:55:03] Production.INFO: ==32554== Lock acquired, processing the job...
[2025-01-09 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:55:03] Production.INFO: ==32560== Lock acquired, processing the job...
[2025-01-09 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:55:03] Production.INFO: ==32562== Lock acquired, processing the job...
[2025-01-09 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:55:03] Production.INFO: ==32556== Lock acquired, processing the job...
[2025-01-09 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:55:03] Production.INFO: ==32558== Lock acquired, processing the job...
[2025-01-09 06:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:55:03] Production.INFO: Account Balance Start.
[2025-01-09 06:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:55:03] Production.INFO: 117
[2025-01-09 06:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:55:03] Production.INFO: ==32564== Lock acquired, processing the job...
[2025-01-09 06:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:55:03] Production.INFO: Total Charge 0
[2025-01-09 06:55:03] Production.ERROR: done
[2025-01-09 06:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:55:03] Production.INFO: CreateAllLog End
[2025-01-09 06:55:03] Production.ERROR: done
[2025-01-09 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-01-09 06:55:03] Production.INFO: count ==21
[2025-01-09 06:55:03] Production.INFO: Account Balance End.
[2025-01-09 06:55:03] Production.INFO: ==32556== Releasing lock...
[2025-01-09 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 06:55:03] Production.INFO: count ==21
[2025-01-09 06:55:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:55:03] Production.INFO: ==32560== Releasing lock...
[2025-01-09 06:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207878') start
[2025-01-09 06:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207878') end
[2025-01-09 06:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:55:03] Production.INFO: 1
[2025-01-09 06:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:55:04] Production.INFO: ==32564== Releasing lock...
[2025-01-09 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:55:04
[end_date_ymd] => 2025-01-09 06:55:04
[RateCDR] => 1
)
[2025-01-09 06:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:55:04' and `end` < '2025-01-09 06:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:55:11] Production.ERROR: CronJobId end10
[2025-01-09 06:55:11] Production.INFO: ==32558== Releasing lock...
[2025-01-09 06:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:55:12] Production.INFO: call_cost start
[2025-01-09 06:55:12] Production.INFO: call_cost end
[2025-01-09 06:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:55:13] Production.INFO: ==32554== Releasing lock...
[2025-01-09 06:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:55:17] Production.INFO: count ==62
[2025-01-09 06:55:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:55:04 - End Time 2025-01-09 06:55:04
[2025-01-09 06:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207879', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207879', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207879', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207879', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:55:17] Production.INFO: ProcessCDR(1,14207879,1,1,2)
[2025-01-09 06:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207879', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207879', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:55:20] Production.INFO: ==32562== Releasing lock...
[2025-01-09 06:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:55:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:56:02] Production.INFO: ==32620== Lock acquired, processing the job...
[2025-01-09 11:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:56:02] Production.INFO: neon service started
[2025-01-09 11:56:02] Production.INFO: neon service started
[2025-01-09 11:56:02] Production.INFO: ==32620== Releasing lock...
[2025-01-09 11:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:56:02] Production.INFO: ==32622== Lock acquired, processing the job...
[2025-01-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:56:02] Production.INFO: ==32622== Releasing lock...
[2025-01-09 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:56:02] Production.INFO: ==32624== Lock acquired, processing the job...
[2025-01-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:56:02] Production.INFO: ==32624== Releasing lock...
[2025-01-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:56:03] Production.INFO: ==32635== Lock acquired, processing the job...
[2025-01-09 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:56:03] Production.INFO: ==32637== Lock acquired, processing the job...
[2025-01-09 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:56:03] Production.INFO: count ==21
[2025-01-09 06:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:56:03] Production.INFO: count ==21
[2025-01-09 06:56:03] Production.INFO: ==32627== Lock acquired, processing the job...
[2025-01-09 06:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207880') start
[2025-01-09 06:56:03] Production.INFO: ==32629== Lock acquired, processing the job...
[2025-01-09 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:56:03] Production.INFO: ==32631== Lock acquired, processing the job...
[2025-01-09 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:56:03] Production.INFO: ==32633== Lock acquired, processing the job...
[2025-01-09 06:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:56:03] Production.ERROR: done
[2025-01-09 06:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207880') end
[2025-01-09 06:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:56:04] Production.INFO: 1
[2025-01-09 06:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:56:04] Production.INFO: Account Balance Start.
[2025-01-09 06:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 06:56:04] Production.INFO: ==32637== Releasing lock...
[2025-01-09 06:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:56:04] Production.INFO: 117
[2025-01-09 06:56:04] Production.ERROR: done
[2025-01-09 06:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:56:04] Production.INFO: ==32629== Releasing lock...
[2025-01-09 06:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:56:04] Production.INFO: Total Charge 0
[2025-01-09 06:56:04] Production.INFO: CreateAllLog End
[2025-01-09 06:56:04] Production.INFO: Account Balance End.
[2025-01-09 06:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:56:04] Production.INFO: ==32633== Releasing lock...
[2025-01-09 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:56:05
[end_date_ymd] => 2025-01-09 06:56:05
[RateCDR] => 1
)
[2025-01-09 06:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:56:05' and `end` < '2025-01-09 06:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:56:11] Production.ERROR: CronJobId end10
[2025-01-09 06:56:11] Production.INFO: ==32631== Releasing lock...
[2025-01-09 06:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:56:13] Production.INFO: call_cost start
[2025-01-09 06:56:13] Production.INFO: call_cost end
[2025-01-09 06:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:56:14] Production.INFO: ==32627== Releasing lock...
[2025-01-09 06:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:56:18] Production.INFO: count ==62
[2025-01-09 06:56:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:56:05 - End Time 2025-01-09 06:56:05
[2025-01-09 06:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207884', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207884', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207884', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207884', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:56:18] Production.INFO: ProcessCDR(1,14207884,1,1,2)
[2025-01-09 06:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207884', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207884', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:56:22] Production.INFO: ==32635== Releasing lock...
[2025-01-09 06:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:56:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:57:01] Production.INFO: ==32694== Lock acquired, processing the job...
[2025-01-09 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:57:01] Production.INFO: neon service started
[2025-01-09 11:57:01] Production.INFO: neon service started
[2025-01-09 11:57:01] Production.INFO: ==32694== Releasing lock...
[2025-01-09 11:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:57:01] Production.INFO: ==32698== Lock acquired, processing the job...
[2025-01-09 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:57:01] Production.INFO: ==32698== Releasing lock...
[2025-01-09 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:57:02] Production.INFO: ==32696== Lock acquired, processing the job...
[2025-01-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:57:02] Production.INFO: ==32696== Releasing lock...
[2025-01-09 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:57:03] Production.INFO: ==32707== Lock acquired, processing the job...
[2025-01-09 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:57:03] Production.INFO: ==32709== Lock acquired, processing the job...
[2025-01-09 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:57:03] Production.INFO: Account Balance Start.
[2025-01-09 06:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:57:03] Production.INFO: 117
[2025-01-09 06:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:57:03] Production.INFO: Total Charge 0
[2025-01-09 06:57:03] Production.INFO: ==32701== Lock acquired, processing the job...
[2025-01-09 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:57:03] Production.INFO: CreateAllLog End
[2025-01-09 06:57:03] Production.INFO: ==32703== Lock acquired, processing the job...
[2025-01-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:57:03] Production.INFO: ==32705== Lock acquired, processing the job...
[2025-01-09 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:57:03] Production.INFO: ==32711== Lock acquired, processing the job...
[2025-01-09 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:57:03] Production.ERROR: done
[2025-01-09 06:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:57:03] Production.INFO: Account Balance End.
[2025-01-09 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:57:03] Production.ERROR: done
[2025-01-09 06:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:57:03] Production.INFO: ==32707== Releasing lock...
[2025-01-09 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:57:03] Production.INFO: count ==21
[2025-01-09 06:57:03] Production.INFO: ==32703== Releasing lock...
[2025-01-09 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:57:03] Production.INFO: count ==21
[2025-01-09 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207888') start
[2025-01-09 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207888') end
[2025-01-09 06:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:57:03] Production.INFO: 1
[2025-01-09 06:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:57:03] Production.INFO: ==32711== Releasing lock...
[2025-01-09 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:57:04
[end_date_ymd] => 2025-01-09 06:57:04
[RateCDR] => 1
)
[2025-01-09 06:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:57:04' and `end` < '2025-01-09 06:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:57:10] Production.ERROR: CronJobId end10
[2025-01-09 06:57:10] Production.INFO: ==32705== Releasing lock...
[2025-01-09 06:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:57:12] Production.INFO: call_cost start
[2025-01-09 06:57:12] Production.INFO: call_cost end
[2025-01-09 06:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:57:13] Production.INFO: ==32701== Releasing lock...
[2025-01-09 06:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:57:18] Production.INFO: count ==62
[2025-01-09 06:57:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:57:04 - End Time 2025-01-09 06:57:04
[2025-01-09 06:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207889', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207889', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207889', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207889', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:57:18] Production.INFO: ProcessCDR(1,14207889,1,1,2)
[2025-01-09 06:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:57:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:57:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207889', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207889', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:57:21] Production.INFO: ==32709== Releasing lock...
[2025-01-09 06:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:57:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:58:02] Production.INFO: ==32765== Lock acquired, processing the job...
[2025-01-09 11:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:58:02] Production.INFO: neon service started
[2025-01-09 11:58:02] Production.INFO: neon service started
[2025-01-09 11:58:02] Production.INFO: ==32765== Releasing lock...
[2025-01-09 11:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 06:58:02] Production.INFO: ==32767== Lock acquired, processing the job...
[2025-01-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:58:02] Production.INFO: ==32767== Releasing lock...
[2025-01-09 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:58:02] Production.INFO: ==301== Lock acquired, processing the job...
[2025-01-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:58:02] Production.INFO: ==301== Releasing lock...
[2025-01-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:58:03] Production.INFO: ==320== Lock acquired, processing the job...
[2025-01-09 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:58:03] Production.INFO: ==322== Lock acquired, processing the job...
[2025-01-09 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:58:03] Production.INFO: ==304== Lock acquired, processing the job...
[2025-01-09 06:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:58:03] Production.INFO: ==316== Lock acquired, processing the job...
[2025-01-09 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:58:03] Production.INFO: ==318== Lock acquired, processing the job...
[2025-01-09 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:58:03] Production.INFO: ==307== Lock acquired, processing the job...
[2025-01-09 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:58:03] Production.INFO: count ==21
[2025-01-09 06:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:58:03] Production.INFO: count ==21
[2025-01-09 06:58:03] Production.ERROR: done
[2025-01-09 06:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207890') start
[2025-01-09 06:58:03] Production.INFO: Account Balance Start.
[2025-01-09 06:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:58:03] Production.INFO: 117
[2025-01-09 06:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207890') end
[2025-01-09 06:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:58:04] Production.INFO: 1
[2025-01-09 06:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 06:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 06:58:04] Production.INFO: ==322== Releasing lock...
[2025-01-09 06:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:58:04] Production.ERROR: done
[2025-01-09 06:58:04] Production.INFO: Total Charge 0
[2025-01-09 06:58:04] Production.INFO: CreateAllLog End
[2025-01-09 06:58:04] Production.INFO: ==307== Releasing lock...
[2025-01-09 06:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:58:04] Production.INFO: Account Balance End.
[2025-01-09 06:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 06:58:04] Production.INFO: ==318== Releasing lock...
[2025-01-09 06:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:58:05
[end_date_ymd] => 2025-01-09 06:58:05
[RateCDR] => 1
)
[2025-01-09 06:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:58:05' and `end` < '2025-01-09 06:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:58:10] Production.ERROR: CronJobId end10
[2025-01-09 06:58:10] Production.INFO: ==316== Releasing lock...
[2025-01-09 06:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:58:13] Production.INFO: call_cost start
[2025-01-09 06:58:13] Production.INFO: call_cost end
[2025-01-09 06:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:58:13] Production.INFO: ==304== Releasing lock...
[2025-01-09 06:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:58:18] Production.INFO: count ==62
[2025-01-09 06:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 03:58:05 - End Time 2025-01-09 06:58:05
[2025-01-09 06:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207894', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207894', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207894', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207894', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:58:18] Production.INFO: ProcessCDR(1,14207894,1,1,2)
[2025-01-09 06:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207894', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207894', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:58:21] Production.INFO: ==320== Releasing lock...
[2025-01-09 06:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:58:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 11:59:01] Production.INFO: ==387== Lock acquired, processing the job...
[2025-01-09 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 11:59:01] Production.INFO: neon service started
[2025-01-09 11:59:01] Production.INFO: neon service started
[2025-01-09 11:59:01] Production.INFO: ==387== Releasing lock...
[2025-01-09 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:59:01] Production.INFO: ==391== Lock acquired, processing the job...
[2025-01-09 11:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:59:01] Production.INFO: ==391== Releasing lock...
[2025-01-09 11:59:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 11:59:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 06:59:01] Production.INFO: ==389== Lock acquired, processing the job...
[2025-01-09 06:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 06:59:02] Production.INFO: ==389== Releasing lock...
[2025-01-09 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 06:59:02] Production.INFO: ==396== Lock acquired, processing the job...
[2025-01-09 06:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 06:59:02] Production.INFO: ==400== Lock acquired, processing the job...
[2025-01-09 06:59:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 06:59:03] Production.INFO: ==404== Lock acquired, processing the job...
[2025-01-09 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 06:59:03] Production.INFO: Account Balance Start.
[2025-01-09 06:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 06:59:03] Production.INFO: 117
[2025-01-09 06:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 06:59:03] Production.INFO: Total Charge 0
[2025-01-09 06:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:59:03] Production.INFO: CreateAllLog End
[2025-01-09 06:59:03] Production.INFO: count ==21
[2025-01-09 06:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 06:59:03] Production.INFO: count ==21
[2025-01-09 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207897') start
[2025-01-09 06:59:03] Production.INFO: ==396== Releasing lock...
[2025-01-09 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 06:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 06:59:03] Production.INFO: ==394== Lock acquired, processing the job...
[2025-01-09 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 06:59:03] Production.INFO: Account Balance End.
[2025-01-09 06:59:03] Production.INFO: ==398== Lock acquired, processing the job...
[2025-01-09 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 06:59:03] Production.INFO: ==402== Lock acquired, processing the job...
[2025-01-09 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 06:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 06:59:03] Production.INFO: ==400== Releasing lock...
[2025-01-09 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 06:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 06:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207897') end
[2025-01-09 06:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 06:59:03] Production.INFO: 1
[2025-01-09 06:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 06:59:03] Production.INFO: ==404== Releasing lock...
[2025-01-09 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 06:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 06:59:03] Production.ERROR: done
[2025-01-09 06:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 06:59:03] Production.ERROR: done
[2025-01-09 06:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 03:59:04
[end_date_ymd] => 2025-01-09 06:59:04
[RateCDR] => 1
)
[2025-01-09 06:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 03:59:04' and `end` < '2025-01-09 06:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 06:59:10] Production.ERROR: CronJobId end10
[2025-01-09 06:59:10] Production.INFO: ==398== Releasing lock...
[2025-01-09 06:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 06:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 06:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 06:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 06:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 06:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 06:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 06:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 06:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 06:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 06:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 06:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 06:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 06:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 06:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 06:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 06:59:12] Production.INFO: call_cost start
[2025-01-09 06:59:12] Production.INFO: call_cost end
[2025-01-09 06:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 06:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 06:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 06:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 06:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 06:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 06:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 06:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 06:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 06:59:13] Production.INFO: ==394== Releasing lock...
[2025-01-09 06:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 06:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 06:59:17] Production.INFO: count ==62
[2025-01-09 06:59:17] Production.ERROR: pbx CDR StartTime 2025-01-09 03:59:04 - End Time 2025-01-09 06:59:04
[2025-01-09 06:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207899', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207899', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207899', 'tblTempVendorCDR_20' ) start
[2025-01-09 06:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207899', 'tblTempVendorCDR_20' ) end
[2025-01-09 06:59:17] Production.INFO: ProcessCDR(1,14207899,1,1,2)
[2025-01-09 06:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 06:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207899', 'tblTempUsageDetail_20' ) start
[2025-01-09 06:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207899', 'tblTempUsageDetail_20' ) end
[2025-01-09 06:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 06:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 06:59:21] Production.INFO: ==402== Releasing lock...
[2025-01-09 06:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 06:59:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:00:01] Production.INFO: ==459== Lock acquired, processing the job...
[2025-01-09 12:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:00:01] Production.INFO: neon service started
[2025-01-09 12:00:01] Production.INFO: neon service started
[2025-01-09 12:00:01] Production.INFO: ==459== Releasing lock...
[2025-01-09 12:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:00:02] Production.INFO: ==461== Lock acquired, processing the job...
[2025-01-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:00:02] Production.INFO: ==461== Releasing lock...
[2025-01-09 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:00:02] Production.INFO: ==463== Lock acquired, processing the job...
[2025-01-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:00:02] Production.INFO: ==463== Releasing lock...
[2025-01-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:00:03] Production.INFO: ==466== Lock acquired, processing the job...
[2025-01-09 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 07:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 07:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 07:00:03] Production.INFO: ==466== Releasing lock...
[2025-01-09 07:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 07:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 07:00:03] Production.INFO: ==468== Lock acquired, processing the job...
[2025-01-09 07:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:00:03] Production.INFO: ==473== Lock acquired, processing the job...
[2025-01-09 07:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:00:03] Production.INFO: ==479== Lock acquired, processing the job...
[2025-01-09 07:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 07:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:00:03] Production.INFO: ==482== Lock acquired, processing the job...
[2025-01-09 07:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:00:03] Production.INFO: ==470== Lock acquired, processing the job...
[2025-01-09 07:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:00:04] Production.INFO: ==475== Lock acquired, processing the job...
[2025-01-09 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:00:04] Production.INFO: ==477== Lock acquired, processing the job...
[2025-01-09 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:00:04] Production.INFO: count ==21
[2025-01-09 07:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:00:04] Production.INFO: count ==21
[2025-01-09 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207901') start
[2025-01-09 07:00:04] Production.ERROR: done
[2025-01-09 07:00:04] Production.INFO: Account Balance Start.
[2025-01-09 07:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:00:04] Production.INFO: 117
[2025-01-09 07:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207901') end
[2025-01-09 07:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:00:04] Production.INFO: 1
[2025-01-09 07:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 07:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207904', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 07:00:04] Production.INFO: ==482== Releasing lock...
[2025-01-09 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:00:04] Production.INFO: ==470== Releasing lock...
[2025-01-09 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:00:04] Production.INFO: Total Charge 0
[2025-01-09 07:00:04] Production.ERROR: done
[2025-01-09 07:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:00:04] Production.INFO: CreateAllLog End
[2025-01-09 07:00:04] Production.ERROR: done
[2025-01-09 07:00:05] Production.INFO: Account Balance End.
[2025-01-09 07:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 07:00:05] Production.INFO: ==475== Releasing lock...
[2025-01-09 07:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:00:06
[end_date_ymd] => 2025-01-09 07:00:06
[RateCDR] => 1
)
[2025-01-09 07:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:00:06' and `end` < '2025-01-09 07:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207904', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 07:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 07:00:08] Production.INFO: ProcessCDR(1,14207904,1,1,2)
[2025-01-09 07:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:00:08] Production.INFO: ==479== Releasing lock...
[2025-01-09 07:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 07:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:00:13] Production.ERROR: CronJobId end10
[2025-01-09 07:00:13] Production.INFO: ==473== Releasing lock...
[2025-01-09 07:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:00:14] Production.INFO: call_cost start
[2025-01-09 07:00:14] Production.INFO: call_cost end
[2025-01-09 07:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:00:15] Production.INFO: ==468== Releasing lock...
[2025-01-09 07:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:00:19] Production.INFO: count ==62
[2025-01-09 07:00:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:00:06 - End Time 2025-01-09 07:00:06
[2025-01-09 07:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207905', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207905', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207905', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207905', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:00:19] Production.INFO: ProcessCDR(1,14207905,1,1,2)
[2025-01-09 07:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207905', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207905', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:00:22] Production.INFO: ==477== Releasing lock...
[2025-01-09 07:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:00:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:01:02] Production.INFO: ==629== Lock acquired, processing the job...
[2025-01-09 12:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:01:02] Production.INFO: neon service started
[2025-01-09 12:01:02] Production.INFO: neon service started
[2025-01-09 12:01:02] Production.INFO: ==629== Releasing lock...
[2025-01-09 12:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:01:02] Production.INFO: ==643== Lock acquired, processing the job...
[2025-01-09 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:01:03] Production.INFO: ==643== Releasing lock...
[2025-01-09 07:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:01:03] Production.INFO: ==645== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:01:03] Production.INFO: ==645== Releasing lock...
[2025-01-09 12:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:01:03] Production.INFO: ==654== Lock acquired, processing the job...
[2025-01-09 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:01:03] Production.INFO: Account Balance Start.
[2025-01-09 07:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:01:03] Production.INFO: 117
[2025-01-09 07:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:01:03] Production.INFO: ==650== Lock acquired, processing the job...
[2025-01-09 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:01:03] Production.INFO: Total Charge 0
[2025-01-09 07:01:04] Production.INFO: ==648== Lock acquired, processing the job...
[2025-01-09 07:01:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:01:04] Production.INFO: CreateAllLog End
[2025-01-09 07:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:01:04] Production.INFO: ==652== Lock acquired, processing the job...
[2025-01-09 07:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:01:04] Production.INFO: ==663== Lock acquired, processing the job...
[2025-01-09 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:01:04] Production.INFO: Account Balance End.
[2025-01-09 07:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:01:04] Production.INFO: ==654== Releasing lock...
[2025-01-09 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:01:04] Production.INFO: ==656== Lock acquired, processing the job...
[2025-01-09 07:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:01:04] Production.INFO: count ==21
[2025-01-09 07:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:01:04] Production.INFO: count ==21
[2025-01-09 07:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:01:04] Production.INFO: ==650== Releasing lock...
[2025-01-09 07:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207909') start
[2025-01-09 07:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207909') end
[2025-01-09 07:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:01:04] Production.INFO: 1
[2025-01-09 07:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:01:04] Production.INFO: ==663== Releasing lock...
[2025-01-09 07:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:01:04] Production.ERROR: done
[2025-01-09 07:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:01:04] Production.ERROR: done
[2025-01-09 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:01:05
[end_date_ymd] => 2025-01-09 07:01:05
[RateCDR] => 1
)
[2025-01-09 07:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:01:05' and `end` < '2025-01-09 07:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:01:12] Production.ERROR: CronJobId end10
[2025-01-09 07:01:12] Production.INFO: ==652== Releasing lock...
[2025-01-09 07:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:01:13] Production.INFO: call_cost start
[2025-01-09 07:01:13] Production.INFO: call_cost end
[2025-01-09 07:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:01:14] Production.INFO: ==648== Releasing lock...
[2025-01-09 07:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:01:43] Production.INFO: count ==62
[2025-01-09 07:01:43] Production.ERROR: pbx CDR StartTime 2025-01-09 04:01:05 - End Time 2025-01-09 07:01:05
[2025-01-09 07:01:43] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:01:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207910', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:01:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207910', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:01:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207910', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:01:43] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207910', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:01:43] Production.INFO: ProcessCDR(1,14207910,1,1,2)
[2025-01-09 07:01:43] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:01:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:01:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:01:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:01:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207910', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:01:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207910', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:01:46] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:01:46] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:01:46] Production.INFO: ==656== Releasing lock...
[2025-01-09 07:01:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:01:46] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:02:01] Production.INFO: ==733== Lock acquired, processing the job...
[2025-01-09 12:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:02:01] Production.INFO: neon service started
[2025-01-09 12:02:01] Production.INFO: neon service started
[2025-01-09 12:02:01] Production.INFO: ==733== Releasing lock...
[2025-01-09 12:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:02:02] Production.INFO: ==735== Lock acquired, processing the job...
[2025-01-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:02:02] Production.INFO: ==735== Releasing lock...
[2025-01-09 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:02:02] Production.INFO: ==737== Lock acquired, processing the job...
[2025-01-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:02:02] Production.INFO: ==737== Releasing lock...
[2025-01-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:02:03] Production.INFO: ==739== Lock acquired, processing the job...
[2025-01-09 07:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:02:03] Production.INFO: ==743== Lock acquired, processing the job...
[2025-01-09 07:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:02:03] Production.INFO: ==748== Lock acquired, processing the job...
[2025-01-09 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:02:03] Production.INFO: Account Balance Start.
[2025-01-09 07:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:02:03] Production.INFO: 117
[2025-01-09 07:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:02:03] Production.INFO: Total Charge 0
[2025-01-09 07:02:03] Production.INFO: CreateAllLog End
[2025-01-09 07:02:03] Production.INFO: ==741== Lock acquired, processing the job...
[2025-01-09 07:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:02:03] Production.INFO: Account Balance End.
[2025-01-09 07:02:03] Production.INFO: ==754== Lock acquired, processing the job...
[2025-01-09 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:02:03] Production.INFO: ==752== Lock acquired, processing the job...
[2025-01-09 07:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:02:03] Production.INFO: ==748== Releasing lock...
[2025-01-09 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:02:04] Production.INFO: count ==21
[2025-01-09 07:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:02:04] Production.INFO: count ==21
[2025-01-09 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207914') start
[2025-01-09 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207914') end
[2025-01-09 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:02:04] Production.INFO: 1
[2025-01-09 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:02:04] Production.INFO: ==754== Releasing lock...
[2025-01-09 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:02:04] Production.INFO: ==741== Releasing lock...
[2025-01-09 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:02:04] Production.ERROR: done
[2025-01-09 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:02:04] Production.ERROR: done
[2025-01-09 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:02:05
[end_date_ymd] => 2025-01-09 07:02:05
[RateCDR] => 1
)
[2025-01-09 07:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:02:05' and `end` < '2025-01-09 07:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:02:11] Production.ERROR: CronJobId end10
[2025-01-09 07:02:11] Production.INFO: ==743== Releasing lock...
[2025-01-09 07:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:02:12] Production.INFO: call_cost start
[2025-01-09 07:02:12] Production.INFO: call_cost end
[2025-01-09 07:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:02:13] Production.INFO: ==739== Releasing lock...
[2025-01-09 07:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:02:21] Production.INFO: count ==62
[2025-01-09 07:02:21] Production.ERROR: pbx CDR StartTime 2025-01-09 04:02:05 - End Time 2025-01-09 07:02:05
[2025-01-09 07:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207915', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207915', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207915', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207915', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:02:21] Production.INFO: ProcessCDR(1,14207915,1,1,2)
[2025-01-09 07:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207915', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207915', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:02:24] Production.INFO: ==752== Releasing lock...
[2025-01-09 07:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:02:24] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:03:02] Production.INFO: ==808== Lock acquired, processing the job...
[2025-01-09 12:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:03:02] Production.INFO: neon service started
[2025-01-09 12:03:02] Production.INFO: neon service started
[2025-01-09 12:03:02] Production.INFO: ==808== Releasing lock...
[2025-01-09 12:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:03:02] Production.INFO: ==812== Lock acquired, processing the job...
[2025-01-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:03:02] Production.INFO: ==812== Releasing lock...
[2025-01-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:03:02] Production.INFO: ==810== Lock acquired, processing the job...
[2025-01-09 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:03:03] Production.INFO: ==810== Releasing lock...
[2025-01-09 07:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:03:03] Production.INFO: ==818== Lock acquired, processing the job...
[2025-01-09 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:03:04] Production.INFO: ==823== Lock acquired, processing the job...
[2025-01-09 07:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:03:04] Production.INFO: ==814== Lock acquired, processing the job...
[2025-01-09 07:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:03:04] Production.INFO: ==816== Lock acquired, processing the job...
[2025-01-09 07:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:03:04] Production.INFO: ==821== Lock acquired, processing the job...
[2025-01-09 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:03:04] Production.INFO: ==825== Lock acquired, processing the job...
[2025-01-09 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:03:04] Production.INFO: Account Balance Start.
[2025-01-09 07:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:03:04] Production.INFO: 117
[2025-01-09 07:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:03:04] Production.ERROR: done
[2025-01-09 07:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:03:04] Production.INFO: count ==21
[2025-01-09 07:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:03:04] Production.INFO: count ==21
[2025-01-09 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207919') start
[2025-01-09 07:03:04] Production.INFO: Total Charge 0
[2025-01-09 07:03:04] Production.INFO: CreateAllLog End
[2025-01-09 07:03:04] Production.INFO: ==816== Releasing lock...
[2025-01-09 07:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:03:04] Production.ERROR: done
[2025-01-09 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207919') end
[2025-01-09 07:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:03:04] Production.INFO: 1
[2025-01-09 07:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:03:04] Production.INFO: Account Balance End.
[2025-01-09 07:03:04] Production.INFO: ==825== Releasing lock...
[2025-01-09 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:03:04] Production.INFO: ==821== Releasing lock...
[2025-01-09 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:03:05
[end_date_ymd] => 2025-01-09 07:03:05
[RateCDR] => 1
)
[2025-01-09 07:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:03:05' and `end` < '2025-01-09 07:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:03:11] Production.ERROR: CronJobId end10
[2025-01-09 07:03:11] Production.INFO: ==818== Releasing lock...
[2025-01-09 07:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:03:13] Production.INFO: call_cost start
[2025-01-09 07:03:13] Production.INFO: call_cost end
[2025-01-09 07:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:03:14] Production.INFO: ==814== Releasing lock...
[2025-01-09 07:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:03:20] Production.INFO: count ==62
[2025-01-09 07:03:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:03:05 - End Time 2025-01-09 07:03:05
[2025-01-09 07:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207920', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207920', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207920', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207920', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:03:20] Production.INFO: ProcessCDR(1,14207920,1,1,2)
[2025-01-09 07:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207920', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207920', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:03:23] Production.INFO: ==823== Releasing lock...
[2025-01-09 07:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:03:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:04:01] Production.INFO: ==877== Lock acquired, processing the job...
[2025-01-09 12:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:04:01] Production.INFO: neon service started
[2025-01-09 12:04:01] Production.INFO: neon service started
[2025-01-09 12:04:01] Production.INFO: ==877== Releasing lock...
[2025-01-09 12:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:04:02] Production.INFO: ==881== Lock acquired, processing the job...
[2025-01-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:04:02] Production.INFO: ==881== Releasing lock...
[2025-01-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:04:02] Production.INFO: ==879== Lock acquired, processing the job...
[2025-01-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:04:02] Production.INFO: ==879== Releasing lock...
[2025-01-09 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:04:03] Production.INFO: ==890== Lock acquired, processing the job...
[2025-01-09 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:04:03] Production.INFO: ==892== Lock acquired, processing the job...
[2025-01-09 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:04:03] Production.INFO: ==883== Lock acquired, processing the job...
[2025-01-09 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:04:03] Production.INFO: Account Balance Start.
[2025-01-09 07:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:04:03] Production.INFO: ==885== Lock acquired, processing the job...
[2025-01-09 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:04:03] Production.INFO: 117
[2025-01-09 07:04:03] Production.INFO: ==887== Lock acquired, processing the job...
[2025-01-09 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:04:03] Production.INFO: ==894== Lock acquired, processing the job...
[2025-01-09 07:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:04:04] Production.INFO: Total Charge 0
[2025-01-09 07:04:04] Production.INFO: CreateAllLog End
[2025-01-09 07:04:04] Production.ERROR: done
[2025-01-09 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:04:04] Production.INFO: ==885== Releasing lock...
[2025-01-09 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:04:04] Production.INFO: count ==21
[2025-01-09 07:04:04] Production.ERROR: done
[2025-01-09 07:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:04:04] Production.INFO: Account Balance End.
[2025-01-09 07:04:04] Production.INFO: count ==21
[2025-01-09 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207924') start
[2025-01-09 07:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:04:04] Production.INFO: ==890== Releasing lock...
[2025-01-09 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207924') end
[2025-01-09 07:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:04:04] Production.INFO: 1
[2025-01-09 07:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:04:04] Production.INFO: ==894== Releasing lock...
[2025-01-09 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:04:05
[end_date_ymd] => 2025-01-09 07:04:05
[RateCDR] => 1
)
[2025-01-09 07:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:04:05' and `end` < '2025-01-09 07:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:04:10] Production.ERROR: CronJobId end10
[2025-01-09 07:04:10] Production.INFO: ==887== Releasing lock...
[2025-01-09 07:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:04:12] Production.INFO: call_cost start
[2025-01-09 07:04:12] Production.INFO: call_cost end
[2025-01-09 07:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:04:13] Production.INFO: ==883== Releasing lock...
[2025-01-09 07:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:04:22] Production.INFO: count ==65
[2025-01-09 07:04:22] Production.ERROR: pbx CDR StartTime 2025-01-09 04:04:05 - End Time 2025-01-09 07:04:05
[2025-01-09 07:04:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207925', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207925', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207925', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:04:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207925', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:04:22] Production.INFO: ProcessCDR(1,14207925,1,1,2)
[2025-01-09 07:04:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:04:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:04:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:04:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207925', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:04:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207925', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:04:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:04:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:04:26] Production.INFO: ==892== Releasing lock...
[2025-01-09 07:04:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:04:26] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:05:02] Production.INFO: ==1067== Lock acquired, processing the job...
[2025-01-09 12:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:05:02] Production.INFO: neon service started
[2025-01-09 12:05:02] Production.INFO: neon service started
[2025-01-09 12:05:02] Production.INFO: ==1067== Releasing lock...
[2025-01-09 12:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:05:02] Production.INFO: ==1071== Lock acquired, processing the job...
[2025-01-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:05:02] Production.INFO: ==1071== Releasing lock...
[2025-01-09 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:05:02] Production.INFO: ==1069== Lock acquired, processing the job...
[2025-01-09 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:05:03] Production.INFO: ==1069== Releasing lock...
[2025-01-09 07:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:05:03] Production.INFO: ==1084== Lock acquired, processing the job...
[2025-01-09 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:05:03] Production.INFO: ==1082== Lock acquired, processing the job...
[2025-01-09 07:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:05:04] Production.INFO: ==1074== Lock acquired, processing the job...
[2025-01-09 07:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 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-01-09 07:05:04] Production.INFO: ==1076== Lock acquired, processing the job...
[2025-01-09 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:05:04] Production.INFO: ==1078== Lock acquired, processing the job...
[2025-01-09 07:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:05:04] Production.INFO: ==1080== Lock acquired, processing the job...
[2025-01-09 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:05:04] Production.INFO: count ==21
[2025-01-09 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-01-09 07:05:04] Production.INFO: count ==21
[2025-01-09 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207926') start
[2025-01-09 07:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207926') end
[2025-01-09 07:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:05:04] Production.INFO: 1
[2025-01-09 07:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:05:04] Production.ERROR: done
[2025-01-09 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:05:04] Production.INFO: ==1084== Releasing lock...
[2025-01-09 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:05:04] Production.INFO: Account Balance Start.
[2025-01-09 07:05:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:05:04] Production.INFO: 117
[2025-01-09 07:05:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:05:04] Production.ERROR: done
[2025-01-09 07:05:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:05:04] Production.INFO: Total Charge 0
[2025-01-09 07:05:04] Production.INFO: CreateAllLog End
[2025-01-09 07:05:04] Production.INFO: ==1076== Releasing lock...
[2025-01-09 07:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:05:04] Production.INFO: Account Balance End.
[2025-01-09 07:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:05:04] Production.INFO: ==1080== Releasing lock...
[2025-01-09 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:05:05
[end_date_ymd] => 2025-01-09 07:05:05
[RateCDR] => 1
)
[2025-01-09 07:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:05:05' and `end` < '2025-01-09 07:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:05:11] Production.ERROR: CronJobId end10
[2025-01-09 07:05:11] Production.INFO: ==1078== Releasing lock...
[2025-01-09 07:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:05:14] Production.INFO: call_cost start
[2025-01-09 07:05:14] Production.INFO: call_cost end
[2025-01-09 07:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:05:14] Production.INFO: ==1074== Releasing lock...
[2025-01-09 07:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:05:19] Production.INFO: count ==65
[2025-01-09 07:05:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:05:05 - End Time 2025-01-09 07:05:05
[2025-01-09 07:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207930', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207930', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207930', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207930', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:05:19] Production.INFO: ProcessCDR(1,14207930,1,1,2)
[2025-01-09 07:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207930', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207930', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:05:22] Production.INFO: ==1082== Releasing lock...
[2025-01-09 07:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:05:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:06:01] Production.INFO: ==1143== Lock acquired, processing the job...
[2025-01-09 12:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:06:01] Production.INFO: neon service started
[2025-01-09 12:06:01] Production.INFO: neon service started
[2025-01-09 12:06:01] Production.INFO: ==1143== Releasing lock...
[2025-01-09 12:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:06:02] Production.INFO: ==1145== Lock acquired, processing the job...
[2025-01-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:06:02] Production.INFO: ==1145== Releasing lock...
[2025-01-09 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:06:02] Production.INFO: ==1147== Lock acquired, processing the job...
[2025-01-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:06:02] Production.INFO: ==1147== Releasing lock...
[2025-01-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:06:03] Production.INFO: ==1150== Lock acquired, processing the job...
[2025-01-09 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:06:03] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-01-09 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:06:03] Production.INFO: ==1154== Lock acquired, processing the job...
[2025-01-09 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:06:03] Production.INFO: Account Balance Start.
[2025-01-09 07:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:06:03] Production.INFO: ==1152== Lock acquired, processing the job...
[2025-01-09 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:06:03] Production.INFO: 117
[2025-01-09 07:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:06:03] Production.INFO: ==1160== Lock acquired, processing the job...
[2025-01-09 07:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:06:03] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-01-09 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:06:03] Production.INFO: Total Charge 0
[2025-01-09 07:06:03] Production.INFO: CreateAllLog End
[2025-01-09 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 07:06:03] Production.INFO: count ==21
[2025-01-09 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-01-09 07:06:03] Production.INFO: count ==21
[2025-01-09 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207934') start
[2025-01-09 07:06:03] Production.INFO: Account Balance End.
[2025-01-09 07:06:03] Production.INFO: ==1152== Releasing lock...
[2025-01-09 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207934') end
[2025-01-09 07:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:06:03] Production.INFO: 1
[2025-01-09 07:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:06:04] Production.INFO: ==1156== Releasing lock...
[2025-01-09 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:06:04] Production.INFO: ==1160== Releasing lock...
[2025-01-09 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:06:04] Production.ERROR: done
[2025-01-09 07:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:06:04] Production.ERROR: done
[2025-01-09 07:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:06:05
[end_date_ymd] => 2025-01-09 07:06:05
[RateCDR] => 1
)
[2025-01-09 07:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:06:05' and `end` < '2025-01-09 07:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:06:11] Production.ERROR: CronJobId end10
[2025-01-09 07:06:11] Production.INFO: ==1154== Releasing lock...
[2025-01-09 07:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:06:13] Production.INFO: call_cost start
[2025-01-09 07:06:13] Production.INFO: call_cost end
[2025-01-09 07:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:06:14] Production.INFO: ==1150== Releasing lock...
[2025-01-09 07:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:06:20] Production.INFO: count ==65
[2025-01-09 07:06:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:06:05 - End Time 2025-01-09 07:06:05
[2025-01-09 07:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207935', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207935', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207935', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207935', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:06:20] Production.INFO: ProcessCDR(1,14207935,1,1,2)
[2025-01-09 07:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207935', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207935', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:06:23] Production.INFO: ==1158== Releasing lock...
[2025-01-09 07:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:06:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:07:02] Production.INFO: ==1219== Lock acquired, processing the job...
[2025-01-09 12:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:07:02] Production.INFO: neon service started
[2025-01-09 12:07:02] Production.INFO: neon service started
[2025-01-09 12:07:02] Production.INFO: ==1219== Releasing lock...
[2025-01-09 12:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:07:02] Production.INFO: ==1223== Lock acquired, processing the job...
[2025-01-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:07:02] Production.INFO: ==1223== Releasing lock...
[2025-01-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:07:02] Production.INFO: ==1221== Lock acquired, processing the job...
[2025-01-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:07:02] Production.INFO: ==1221== Releasing lock...
[2025-01-09 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:07:03] Production.INFO: ==1226== Lock acquired, processing the job...
[2025-01-09 07:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:07:03] Production.INFO: ==1230== Lock acquired, processing the job...
[2025-01-09 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:07:03] Production.INFO: ==1234== Lock acquired, processing the job...
[2025-01-09 07:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:07:03] Production.INFO: ==1228== Lock acquired, processing the job...
[2025-01-09 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:07:03] Production.INFO: ==1232== Lock acquired, processing the job...
[2025-01-09 07:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:07:04] Production.ERROR: done
[2025-01-09 07:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:07:04] Production.INFO: ==1236== Lock acquired, processing the job...
[2025-01-09 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:07:04] Production.INFO: Account Balance Start.
[2025-01-09 07:07:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:07:04] Production.INFO: 117
[2025-01-09 07:07:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:07:04] Production.ERROR: done
[2025-01-09 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:07:04] Production.INFO: ==1228== Releasing lock...
[2025-01-09 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:07:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:07:04] Production.INFO: count ==21
[2025-01-09 07:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:07:04] Production.INFO: count ==21
[2025-01-09 07:07:04] Production.INFO: Total Charge 0
[2025-01-09 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207940') start
[2025-01-09 07:07:04] Production.INFO: CreateAllLog End
[2025-01-09 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207940') end
[2025-01-09 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:07:04] Production.INFO: 1
[2025-01-09 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:07:04] Production.INFO: Account Balance End.
[2025-01-09 07:07:04] Production.INFO: ==1236== Releasing lock...
[2025-01-09 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:07:04] Production.INFO: ==1232== Releasing lock...
[2025-01-09 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:07:05
[end_date_ymd] => 2025-01-09 07:07:05
[RateCDR] => 1
)
[2025-01-09 07:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:07:05' and `end` < '2025-01-09 07:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:07:12] Production.ERROR: CronJobId end10
[2025-01-09 07:07:12] Production.INFO: ==1230== Releasing lock...
[2025-01-09 07:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:07:14] Production.INFO: call_cost start
[2025-01-09 07:07:14] Production.INFO: call_cost end
[2025-01-09 07:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:07:14] Production.INFO: ==1226== Releasing lock...
[2025-01-09 07:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:07:20] Production.INFO: count ==65
[2025-01-09 07:07:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:07:05 - End Time 2025-01-09 07:07:05
[2025-01-09 07:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207939', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207939', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207939', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207939', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:07:20] Production.INFO: ProcessCDR(1,14207939,1,1,2)
[2025-01-09 07:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207939', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207939', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:07:23] Production.INFO: ==1234== Releasing lock...
[2025-01-09 07:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:07:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:08:01] Production.INFO: ==1378== Lock acquired, processing the job...
[2025-01-09 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:08:01] Production.INFO: neon service started
[2025-01-09 12:08:01] Production.INFO: neon service started
[2025-01-09 12:08:01] Production.INFO: ==1378== Releasing lock...
[2025-01-09 12:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:08:01] Production.INFO: ==1382== Lock acquired, processing the job...
[2025-01-09 12:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:08:01] Production.INFO: ==1382== Releasing lock...
[2025-01-09 12:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:08:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:08:02] Production.INFO: ==1380== Lock acquired, processing the job...
[2025-01-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:08:02] Production.INFO: ==1380== Releasing lock...
[2025-01-09 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:08:03] Production.INFO: ==1391== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:08:03] Production.INFO: ==1395== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:08:03] Production.INFO: Account Balance Start.
[2025-01-09 07:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:08:03] Production.INFO: 117
[2025-01-09 07:08:03] Production.INFO: ==1385== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:08:03] Production.INFO: count ==21
[2025-01-09 07:08:03] Production.INFO: ==1387== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:08:03] Production.INFO: count ==21
[2025-01-09 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207942') start
[2025-01-09 07:08:03] Production.INFO: ==1389== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:08:03] Production.INFO: ==1393== Lock acquired, processing the job...
[2025-01-09 07:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:08:03] Production.INFO: Total Charge 0
[2025-01-09 07:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:08:03] Production.INFO: CreateAllLog End
[2025-01-09 07:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207942') end
[2025-01-09 07:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:08:03] Production.INFO: 1
[2025-01-09 07:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:08:03] Production.INFO: ==1395== Releasing lock...
[2025-01-09 07:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:08:03] Production.INFO: ==1387== Releasing lock...
[2025-01-09 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:08:04] Production.ERROR: done
[2025-01-09 07:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:08:04] Production.INFO: Account Balance End.
[2025-01-09 07:08:04] Production.ERROR: done
[2025-01-09 07:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:08:04] Production.INFO: ==1391== Releasing lock...
[2025-01-09 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:08:05
[end_date_ymd] => 2025-01-09 07:08:05
[RateCDR] => 1
)
[2025-01-09 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:08:05' and `end` < '2025-01-09 07:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:08:12] Production.ERROR: CronJobId end10
[2025-01-09 07:08:12] Production.INFO: ==1389== Releasing lock...
[2025-01-09 07:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:08:13] Production.INFO: call_cost start
[2025-01-09 07:08:13] Production.INFO: call_cost end
[2025-01-09 07:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:08:14] Production.INFO: ==1385== Releasing lock...
[2025-01-09 07:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:08:19] Production.INFO: count ==65
[2025-01-09 07:08:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:08:05 - End Time 2025-01-09 07:08:05
[2025-01-09 07:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207945', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207945', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207945', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207945', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:08:19] Production.INFO: ProcessCDR(1,14207945,1,1,2)
[2025-01-09 07:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207945', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207945', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:08:23] Production.INFO: ==1393== Releasing lock...
[2025-01-09 07:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:08:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:09:01] Production.INFO: ==1450== Lock acquired, processing the job...
[2025-01-09 12:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:09:01] Production.INFO: neon service started
[2025-01-09 12:09:01] Production.INFO: neon service started
[2025-01-09 12:09:01] Production.INFO: ==1450== Releasing lock...
[2025-01-09 12:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:09:02] Production.INFO: ==1452== Lock acquired, processing the job...
[2025-01-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:09:02] Production.INFO: ==1452== Releasing lock...
[2025-01-09 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:09:02] Production.INFO: ==1454== Lock acquired, processing the job...
[2025-01-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:09:02] Production.INFO: ==1454== Releasing lock...
[2025-01-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:09:03] Production.INFO: ==1457== Lock acquired, processing the job...
[2025-01-09 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:09:03] Production.INFO: ==1459== Lock acquired, processing the job...
[2025-01-09 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:09:03] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-01-09 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:09:03] Production.INFO: ==1465== Lock acquired, processing the job...
[2025-01-09 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:09:03] Production.INFO: ==1459== Releasing lock...
[2025-01-09 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:09:03] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-01-09 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:09:03] Production.INFO: ==1467== Lock acquired, processing the job...
[2025-01-09 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:09:03] Production.INFO: count ==21
[2025-01-09 07:09:03] Production.INFO: Account Balance Start.
[2025-01-09 07:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:09:03] Production.INFO: 117
[2025-01-09 07:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:09:04] Production.INFO: count ==21
[2025-01-09 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207948') start
[2025-01-09 07:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:09:04] Production.ERROR: done
[2025-01-09 07:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207948') end
[2025-01-09 07:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:09:04] Production.INFO: 1
[2025-01-09 07:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:09:04] Production.INFO: Total Charge 0
[2025-01-09 07:09:04] Production.INFO: CreateAllLog End
[2025-01-09 07:09:04] Production.INFO: ==1467== Releasing lock...
[2025-01-09 07:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:09:04] Production.ERROR: done
[2025-01-09 07:09:04] Production.INFO: Account Balance End.
[2025-01-09 07:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:09:04] Production.INFO: ==1463== Releasing lock...
[2025-01-09 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:09:05
[end_date_ymd] => 2025-01-09 07:09:05
[RateCDR] => 1
)
[2025-01-09 07:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:09:05' and `end` < '2025-01-09 07:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:09:10] Production.ERROR: CronJobId end10
[2025-01-09 07:09:10] Production.INFO: ==1461== Releasing lock...
[2025-01-09 07:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:09:13] Production.INFO: call_cost start
[2025-01-09 07:09:13] Production.INFO: call_cost end
[2025-01-09 07:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:09:13] Production.INFO: ==1457== Releasing lock...
[2025-01-09 07:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:09:22] Production.INFO: count ==65
[2025-01-09 07:09:22] Production.ERROR: pbx CDR StartTime 2025-01-09 04:09:05 - End Time 2025-01-09 07:09:05
[2025-01-09 07:09:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207950', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207950', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207950', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:09:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207950', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:09:22] Production.INFO: ProcessCDR(1,14207950,1,1,2)
[2025-01-09 07:09:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:09:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207950', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207950', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:09:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:09:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:09:25] Production.INFO: ==1465== Releasing lock...
[2025-01-09 07:09:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:09:25] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:10:02] Production.INFO: ==1553== Lock acquired, processing the job...
[2025-01-09 12:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:10:02] Production.INFO: neon service started
[2025-01-09 12:10:02] Production.INFO: neon service started
[2025-01-09 12:10:02] Production.INFO: ==1553== Releasing lock...
[2025-01-09 12:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:10:02] Production.INFO: ==1558== Lock acquired, processing the job...
[2025-01-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:10:02] Production.INFO: ==1558== Releasing lock...
[2025-01-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:10:02] Production.INFO: ==1555== Lock acquired, processing the job...
[2025-01-09 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:10:03] Production.INFO: ==1555== Releasing lock...
[2025-01-09 07:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:10:04] Production.INFO: ==1565== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:10:04] Production.INFO: ==1560== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 07:10:04] Production.INFO: ==1562== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:10:04] Production.INFO: ==1573== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 07:10:04] Production.ERROR: CronJob PID - 1565
[2025-01-09 07:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 07:10:04] Production.ERROR: CronJob ID - 7
[2025-01-09 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 07:10:00
[2025-01-09 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 07:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 07:10:04] Production.INFO: ==1560== Releasing lock...
[2025-01-09 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 07:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 07:10:04] Production.INFO: Account Balance Start.
[2025-01-09 07:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:10:04] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 07:10:04] Production.INFO: 117
[2025-01-09 07:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:10:04] Production.INFO: ==1567== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:10:04] Production.INFO: ==1565== Releasing lock...
[2025-01-09 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:10:04] Production.INFO: ==1575== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:10:04] Production.INFO: Total Charge 0
[2025-01-09 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:10:04] Production.INFO: CreateAllLog End
[2025-01-09 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:10:04] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-09 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:10:04] Production.ERROR: done
[2025-01-09 07:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 07:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207955', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 07:10:05] Production.ERROR: done
[2025-01-09 07:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:10:05] Production.INFO: count ==21
[2025-01-09 07:10:05] Production.INFO: Account Balance End.
[2025-01-09 07: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-01-09 07:10:05] Production.INFO: count ==21
[2025-01-09 07:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 07:10:05] Production.INFO: ==1573== Releasing lock...
[2025-01-09 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207954') start
[2025-01-09 07:10:05] Production.ERROR: done
[2025-01-09 07:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207954') end
[2025-01-09 07:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:10:05] Production.INFO: 1
[2025-01-09 07:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:10:05] Production.INFO: ==1579== Releasing lock...
[2025-01-09 07:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:10:06
[end_date_ymd] => 2025-01-09 07:10:06
[RateCDR] => 1
)
[2025-01-09 07:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:10:06' and `end` < '2025-01-09 07:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14207955', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 07:10:09] Production.INFO: ProcessCDR(1,14207955,1,1,2)
[2025-01-09 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14207955,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:10:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14207955,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:10:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:10:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:10:10] Production.INFO: ==1577== Releasing lock...
[2025-01-09 07:10:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 07:10:10] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:10:13] Production.ERROR: CronJobId end10
[2025-01-09 07:10:13] Production.INFO: ==1567== Releasing lock...
[2025-01-09 07:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:10:16] Production.INFO: call_cost start
[2025-01-09 07:10:16] Production.INFO: call_cost end
[2025-01-09 07:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:10:16] Production.INFO: ==1562== Releasing lock...
[2025-01-09 07:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:10:22] Production.INFO: count ==65
[2025-01-09 07:10:22] Production.ERROR: pbx CDR StartTime 2025-01-09 04:10:06 - End Time 2025-01-09 07:10:06
[2025-01-09 07:10:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207956', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207956', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207956', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207956', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:10:22] Production.INFO: ProcessCDR(1,14207956,1,1,2)
[2025-01-09 07:10:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:10:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:10:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207956', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207956', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:10:25] Production.INFO: ==1575== Releasing lock...
[2025-01-09 07:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:10:25] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:11:01] Production.INFO: ==1632== Lock acquired, processing the job...
[2025-01-09 12:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:11:01] Production.INFO: neon service started
[2025-01-09 12:11:01] Production.INFO: neon service started
[2025-01-09 12:11:01] Production.INFO: ==1632== Releasing lock...
[2025-01-09 12:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:11:02] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:11:02] Production.INFO: ==1634== Releasing lock...
[2025-01-09 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:11:02] Production.INFO: ==1636== Lock acquired, processing the job...
[2025-01-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:11:02] Production.INFO: ==1636== Releasing lock...
[2025-01-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:11:03] Production.INFO: ==1642== Lock acquired, processing the job...
[2025-01-09 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:11:03] Production.INFO: ==1648== Lock acquired, processing the job...
[2025-01-09 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:11:03] Production.INFO: ==1638== Lock acquired, processing the job...
[2025-01-09 07:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:11:03] Production.INFO: ==1640== Lock acquired, processing the job...
[2025-01-09 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:11:03] Production.INFO: ==1644== Lock acquired, processing the job...
[2025-01-09 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:11:03] Production.INFO: count ==21
[2025-01-09 07:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:11:03] Production.INFO: ==1646== Lock acquired, processing the job...
[2025-01-09 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:11:03] Production.INFO: count ==21
[2025-01-09 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207957') start
[2025-01-09 07:11:03] Production.INFO: Account Balance Start.
[2025-01-09 07:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:11:03] Production.INFO: 117
[2025-01-09 07:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:11:03] Production.INFO: Total Charge 0
[2025-01-09 07:11:03] Production.INFO: CreateAllLog End
[2025-01-09 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207957') end
[2025-01-09 07:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:11:03] Production.INFO: 1
[2025-01-09 07:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:11:04] Production.INFO: ==1648== Releasing lock...
[2025-01-09 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:11:04] Production.INFO: ==1640== Releasing lock...
[2025-01-09 07:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:11:04] Production.INFO: Account Balance End.
[2025-01-09 07:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:11:04] Production.INFO: ==1644== Releasing lock...
[2025-01-09 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:11:04] Production.ERROR: done
[2025-01-09 07:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:11:04] Production.ERROR: done
[2025-01-09 07:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:11:05
[end_date_ymd] => 2025-01-09 07:11:05
[RateCDR] => 1
)
[2025-01-09 07:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:11:05' and `end` < '2025-01-09 07:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:11:10] Production.ERROR: CronJobId end10
[2025-01-09 07:11:10] Production.INFO: ==1642== Releasing lock...
[2025-01-09 07:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:11:13] Production.INFO: call_cost start
[2025-01-09 07:11:13] Production.INFO: call_cost end
[2025-01-09 07:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:11:14] Production.INFO: ==1638== Releasing lock...
[2025-01-09 07:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:11:19] Production.INFO: count ==65
[2025-01-09 07:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:11:05 - End Time 2025-01-09 07:11:05
[2025-01-09 07:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207961', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207961', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207961', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207961', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:11:19] Production.INFO: ProcessCDR(1,14207961,1,1,2)
[2025-01-09 07:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207961', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207961', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:11:23] Production.INFO: ==1646== Releasing lock...
[2025-01-09 07:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:11:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:12:02] Production.INFO: ==1780== Lock acquired, processing the job...
[2025-01-09 12:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:12:02] Production.INFO: neon service started
[2025-01-09 12:12:02] Production.INFO: neon service started
[2025-01-09 12:12:02] Production.INFO: ==1780== Releasing lock...
[2025-01-09 12:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:12:02] Production.INFO: ==1782== Lock acquired, processing the job...
[2025-01-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:12:02] Production.INFO: ==1782== Releasing lock...
[2025-01-09 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:12:03] Production.INFO: ==1784== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:12:03] Production.INFO: ==1784== Releasing lock...
[2025-01-09 12:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:12:03] Production.INFO: ==1789== Lock acquired, processing the job...
[2025-01-09 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:12:03] Production.INFO: ==1797== Lock acquired, processing the job...
[2025-01-09 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:12:04] Production.INFO: ==1787== Lock acquired, processing the job...
[2025-01-09 07:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:12:04] Production.INFO: count ==21
[2025-01-09 07:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:12:04] Production.INFO: ==1791== Lock acquired, processing the job...
[2025-01-09 07:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:12:04] Production.INFO: count ==21
[2025-01-09 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207962') start
[2025-01-09 07:12:04] Production.INFO: ==1793== Lock acquired, processing the job...
[2025-01-09 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:12:04] Production.INFO: ==1795== Lock acquired, processing the job...
[2025-01-09 07:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207962') end
[2025-01-09 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:12:04] Production.INFO: 1
[2025-01-09 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:12:04] Production.INFO: Account Balance Start.
[2025-01-09 07:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:12:04] Production.INFO: 117
[2025-01-09 07:12:04] Production.INFO: ==1797== Releasing lock...
[2025-01-09 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:12:04] Production.INFO: ==1789== Releasing lock...
[2025-01-09 07:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:12:04] Production.INFO: Total Charge 0
[2025-01-09 07:12:04] Production.INFO: CreateAllLog End
[2025-01-09 07:12:04] Production.ERROR: done
[2025-01-09 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:12:04] Production.ERROR: done
[2025-01-09 07:12:04] Production.INFO: Account Balance End.
[2025-01-09 07:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:12:04] Production.INFO: ==1793== Releasing lock...
[2025-01-09 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:12:05
[end_date_ymd] => 2025-01-09 07:12:05
[RateCDR] => 1
)
[2025-01-09 07:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:12:05' and `end` < '2025-01-09 07:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:12:12] Production.ERROR: CronJobId end10
[2025-01-09 07:12:12] Production.INFO: ==1791== Releasing lock...
[2025-01-09 07:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:12:13] Production.INFO: call_cost start
[2025-01-09 07:12:13] Production.INFO: call_cost end
[2025-01-09 07:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:12:14] Production.INFO: ==1787== Releasing lock...
[2025-01-09 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:12:21] Production.INFO: count ==66
[2025-01-09 07:12:21] Production.ERROR: pbx CDR StartTime 2025-01-09 04:12:05 - End Time 2025-01-09 07:12:05
[2025-01-09 07:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207966', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207966', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207966', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207966', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:12:21] Production.INFO: ProcessCDR(1,14207966,1,1,2)
[2025-01-09 07:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207966', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207966', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:12:25] Production.INFO: ==1795== Releasing lock...
[2025-01-09 07:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:12:25] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:13:01] Production.INFO: ==1860== Lock acquired, processing the job...
[2025-01-09 12:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:13:01] Production.INFO: neon service started
[2025-01-09 12:13:01] Production.INFO: neon service started
[2025-01-09 12:13:01] Production.INFO: ==1860== Releasing lock...
[2025-01-09 12:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:13:02] Production.INFO: ==1863== Lock acquired, processing the job...
[2025-01-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:13:02] Production.INFO: ==1865== Lock acquired, processing the job...
[2025-01-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:13:02] Production.INFO: ==1865== Releasing lock...
[2025-01-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:13:02] Production.INFO: ==1863== Releasing lock...
[2025-01-09 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:13:03] Production.INFO: ==1869== Lock acquired, processing the job...
[2025-01-09 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:13:03] Production.INFO: ==1877== Lock acquired, processing the job...
[2025-01-09 07:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:13:03] Production.INFO: ==1867== Lock acquired, processing the job...
[2025-01-09 07:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:13:03] Production.INFO: ==1869== Releasing lock...
[2025-01-09 07:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:13:03] Production.INFO: ==1873== Lock acquired, processing the job...
[2025-01-09 07:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:13:03] Production.INFO: ==1871== Lock acquired, processing the job...
[2025-01-09 07:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:13:03] Production.INFO: ==1875== Lock acquired, processing the job...
[2025-01-09 07:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:13:03] Production.INFO: count ==21
[2025-01-09 07:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:13:03] Production.INFO: count ==21
[2025-01-09 07:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207968') start
[2025-01-09 07:13:04] Production.INFO: Account Balance Start.
[2025-01-09 07:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:13:04] Production.INFO: 117
[2025-01-09 07:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207968') end
[2025-01-09 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:13:04] Production.INFO: 1
[2025-01-09 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:13:04] Production.INFO: Total Charge 0
[2025-01-09 07:13:04] Production.INFO: CreateAllLog End
[2025-01-09 07:13:04] Production.INFO: ==1877== Releasing lock...
[2025-01-09 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:13:04] Production.ERROR: done
[2025-01-09 07:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:13:04] Production.INFO: Account Balance End.
[2025-01-09 07:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:13:04] Production.INFO: ==1873== Releasing lock...
[2025-01-09 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:13:04] Production.ERROR: done
[2025-01-09 07:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:13:05
[end_date_ymd] => 2025-01-09 07:13:05
[RateCDR] => 1
)
[2025-01-09 07:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:13:05' and `end` < '2025-01-09 07:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:13:12] Production.ERROR: CronJobId end10
[2025-01-09 07:13:12] Production.INFO: ==1871== Releasing lock...
[2025-01-09 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:13:14] Production.INFO: call_cost start
[2025-01-09 07:13:14] Production.INFO: call_cost end
[2025-01-09 07:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:13:15] Production.INFO: ==1867== Releasing lock...
[2025-01-09 07:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:13:20] Production.INFO: count ==66
[2025-01-09 07:13:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:13:05 - End Time 2025-01-09 07:13:05
[2025-01-09 07:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207971', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207971', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207971', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207971', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:13:20] Production.INFO: ProcessCDR(1,14207971,1,1,2)
[2025-01-09 07:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207971', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207971', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:13:23] Production.INFO: ==1875== Releasing lock...
[2025-01-09 07:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:13:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:14:02] Production.INFO: ==1934== Lock acquired, processing the job...
[2025-01-09 12:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:14:02] Production.INFO: neon service started
[2025-01-09 12:14:02] Production.INFO: neon service started
[2025-01-09 12:14:02] Production.INFO: ==1934== Releasing lock...
[2025-01-09 12:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:14:02] Production.INFO: ==1936== Lock acquired, processing the job...
[2025-01-09 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:14:02] Production.INFO: ==1938== Lock acquired, processing the job...
[2025-01-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:14:03] Production.INFO: ==1938== Releasing lock...
[2025-01-09 12:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:14:03] Production.INFO: ==1936== Releasing lock...
[2025-01-09 07:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:14:03] Production.INFO: ==1943== Lock acquired, processing the job...
[2025-01-09 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:14:03] Production.INFO: ==1941== Lock acquired, processing the job...
[2025-01-09 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:14:04] Production.INFO: ==1947== Lock acquired, processing the job...
[2025-01-09 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:14:04] Production.INFO: Account Balance Start.
[2025-01-09 07:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:14:04] Production.INFO: 117
[2025-01-09 07:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:14:04] Production.INFO: Total Charge 0
[2025-01-09 07:14:04] Production.INFO: CreateAllLog End
[2025-01-09 07:14:04] Production.INFO: ==1943== Releasing lock...
[2025-01-09 07:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:14:04] Production.INFO: ==1945== Lock acquired, processing the job...
[2025-01-09 07:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:14:04] Production.INFO: Account Balance End.
[2025-01-09 07:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:14:04] Production.INFO: ==1947== Releasing lock...
[2025-01-09 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:14:04] Production.INFO: ==1949== Lock acquired, processing the job...
[2025-01-09 07:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:14:04] Production.INFO: ==1951== Lock acquired, processing the job...
[2025-01-09 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:14:04] Production.INFO: count ==21
[2025-01-09 07:14:04] Production.ERROR: done
[2025-01-09 07:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:14:04] Production.INFO: count ==21
[2025-01-09 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207975') start
[2025-01-09 07:14:05] Production.ERROR: done
[2025-01-09 07:14:05] Production.ERROR: PBX CALL prc_importPBXExtension('14207975') end
[2025-01-09 07:14:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:14:05] Production.INFO: 1
[2025-01-09 07:14:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:14:05] Production.INFO: ==1951== Releasing lock...
[2025-01-09 07:14:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:14:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:14:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:14:06
[end_date_ymd] => 2025-01-09 07:14:06
[RateCDR] => 1
)
[2025-01-09 07: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-01-09 04:14:06' and `end` < '2025-01-09 07: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-01-09 07:14:11] Production.ERROR: CronJobId end10
[2025-01-09 07:14:11] Production.INFO: ==1945== Releasing lock...
[2025-01-09 07:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:14:13] Production.INFO: call_cost start
[2025-01-09 07:14:13] Production.INFO: call_cost end
[2025-01-09 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:14:14] Production.INFO: ==1941== Releasing lock...
[2025-01-09 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:14:21] Production.INFO: count ==66
[2025-01-09 07:14:21] Production.ERROR: pbx CDR StartTime 2025-01-09 04:14:06 - End Time 2025-01-09 07:14:06
[2025-01-09 07:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207976', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207976', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207976', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207976', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:14:21] Production.INFO: ProcessCDR(1,14207976,1,1,2)
[2025-01-09 07:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207976', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207976', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:14:24] Production.INFO: ==1949== Releasing lock...
[2025-01-09 07:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:14:24] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:15:01] Production.INFO: ==2090== Lock acquired, processing the job...
[2025-01-09 12:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:15:01] Production.INFO: neon service started
[2025-01-09 12:15:01] Production.INFO: neon service started
[2025-01-09 12:15:01] Production.INFO: ==2090== Releasing lock...
[2025-01-09 12:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:15:02] Production.INFO: ==2092== Lock acquired, processing the job...
[2025-01-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:15:02] Production.INFO: ==2092== Releasing lock...
[2025-01-09 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:15:02] Production.INFO: ==2094== Lock acquired, processing the job...
[2025-01-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:15:02] Production.INFO: ==2094== Releasing lock...
[2025-01-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:15:03] Production.INFO: ==2096== Lock acquired, processing the job...
[2025-01-09 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:15:03] Production.INFO: ==2102== Lock acquired, processing the job...
[2025-01-09 07:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:15:03] Production.INFO: ==2098== Lock acquired, processing the job...
[2025-01-09 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:15:03] Production.INFO: ==2100== Lock acquired, processing the job...
[2025-01-09 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:15:03] Production.INFO: Account Balance Start.
[2025-01-09 07:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:15:03] Production.INFO: 117
[2025-01-09 07:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:15:03] Production.INFO: ==2106== Lock acquired, processing the job...
[2025-01-09 07:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:15:03] Production.INFO: Total Charge 0
[2025-01-09 07:15:03] Production.INFO: ==2104== Lock acquired, processing the job...
[2025-01-09 07:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:15:03] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 07:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:15:03] Production.INFO: count ==21
[2025-01-09 07:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:15:03] Production.INFO: count ==21
[2025-01-09 07:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207980') start
[2025-01-09 07:15:03] Production.INFO: ==2098== Releasing lock...
[2025-01-09 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:15:03] Production.ERROR: done
[2025-01-09 07:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14207980') end
[2025-01-09 07:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:15:03] Production.INFO: 1
[2025-01-09 07:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:15:04] Production.INFO: ==2106== Releasing lock...
[2025-01-09 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:15:04] Production.ERROR: done
[2025-01-09 07:15:04] Production.INFO: Account Balance End.
[2025-01-09 07:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:15:04] Production.INFO: ==2102== Releasing lock...
[2025-01-09 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:15:04
[end_date_ymd] => 2025-01-09 07:15:04
[RateCDR] => 1
)
[2025-01-09 07:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:15:04' and `end` < '2025-01-09 07:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:15:11] Production.ERROR: CronJobId end10
[2025-01-09 07:15:11] Production.INFO: ==2100== Releasing lock...
[2025-01-09 07:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:15:13] Production.INFO: call_cost start
[2025-01-09 07:15:13] Production.INFO: call_cost end
[2025-01-09 07:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:15:13] Production.INFO: ==2096== Releasing lock...
[2025-01-09 07:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:15:19] Production.INFO: count ==66
[2025-01-09 07:15:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:15:04 - End Time 2025-01-09 07:15:04
[2025-01-09 07:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207981', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207981', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207981', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207981', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:15:19] Production.INFO: ProcessCDR(1,14207981,1,1,2)
[2025-01-09 07:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207981', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207981', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:15:22] Production.INFO: ==2104== Releasing lock...
[2025-01-09 07:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:15:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:16:02] Production.INFO: ==2165== Lock acquired, processing the job...
[2025-01-09 12:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:16:02] Production.INFO: neon service started
[2025-01-09 12:16:02] Production.INFO: neon service started
[2025-01-09 12:16:02] Production.INFO: ==2165== Releasing lock...
[2025-01-09 12:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:16:02] Production.INFO: ==2167== Lock acquired, processing the job...
[2025-01-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:16:02] Production.INFO: ==2167== Releasing lock...
[2025-01-09 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:16:02] Production.INFO: ==2170== Lock acquired, processing the job...
[2025-01-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:16:03] Production.INFO: ==2170== Releasing lock...
[2025-01-09 12:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:16:03] Production.INFO: ==2176== Lock acquired, processing the job...
[2025-01-09 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:16:03] Production.INFO: ==2172== Lock acquired, processing the job...
[2025-01-09 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:16:03] Production.INFO: ==2180== Lock acquired, processing the job...
[2025-01-09 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:16:03] Production.INFO: ==2174== Lock acquired, processing the job...
[2025-01-09 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:16:04] Production.INFO: ==2178== Lock acquired, processing the job...
[2025-01-09 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:16:04] Production.INFO: ==2182== Lock acquired, processing the job...
[2025-01-09 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:16:04] Production.INFO: Account Balance Start.
[2025-01-09 07:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:16:04] Production.INFO: 117
[2025-01-09 07:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:16:04] Production.ERROR: done
[2025-01-09 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:16:04] Production.INFO: count ==21
[2025-01-09 07:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:16:04] Production.INFO: count ==21
[2025-01-09 07:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:16:04] Production.ERROR: done
[2025-01-09 07:16:04] Production.INFO: ==2174== Releasing lock...
[2025-01-09 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207984') start
[2025-01-09 07:16:04] Production.INFO: Total Charge 0
[2025-01-09 07:16:04] Production.INFO: CreateAllLog End
[2025-01-09 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207984') end
[2025-01-09 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:16:04] Production.INFO: 1
[2025-01-09 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:16:04] Production.INFO: Account Balance End.
[2025-01-09 07:16:04] Production.INFO: ==2182== Releasing lock...
[2025-01-09 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:16:04] Production.INFO: ==2178== Releasing lock...
[2025-01-09 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:16:05
[end_date_ymd] => 2025-01-09 07:16:05
[RateCDR] => 1
)
[2025-01-09 07:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:16:05' and `end` < '2025-01-09 07:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:16:10] Production.ERROR: CronJobId end10
[2025-01-09 07:16:10] Production.INFO: ==2176== Releasing lock...
[2025-01-09 07:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:16:13] Production.INFO: call_cost start
[2025-01-09 07:16:13] Production.INFO: call_cost end
[2025-01-09 07:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:16:14] Production.INFO: ==2172== Releasing lock...
[2025-01-09 07:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:16:20] Production.INFO: count ==66
[2025-01-09 07:16:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:16:05 - End Time 2025-01-09 07:16:05
[2025-01-09 07:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207986', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207986', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207986', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207986', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:16:20] Production.INFO: ProcessCDR(1,14207986,1,1,2)
[2025-01-09 07:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207986', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207986', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:16:23] Production.INFO: ==2180== Releasing lock...
[2025-01-09 07:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:16:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:17:01] Production.INFO: ==2237== Lock acquired, processing the job...
[2025-01-09 12:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:17:01] Production.INFO: neon service started
[2025-01-09 12:17:01] Production.INFO: neon service started
[2025-01-09 12:17:01] Production.INFO: ==2237== Releasing lock...
[2025-01-09 12:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:17:02] Production.INFO: ==2241== Lock acquired, processing the job...
[2025-01-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:17:02] Production.INFO: ==2241== Releasing lock...
[2025-01-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:17:02] Production.INFO: ==2239== Lock acquired, processing the job...
[2025-01-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:17:02] Production.INFO: ==2239== Releasing lock...
[2025-01-09 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:17:03] Production.INFO: ==2244== Lock acquired, processing the job...
[2025-01-09 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:17:03] Production.INFO: ==2250== Lock acquired, processing the job...
[2025-01-09 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:17:03] Production.INFO: ==2248== Lock acquired, processing the job...
[2025-01-09 07:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:17:03] Production.INFO: Account Balance Start.
[2025-01-09 07:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:17:03] Production.INFO: 117
[2025-01-09 07:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:17:03] Production.INFO: Total Charge 0
[2025-01-09 07:17:03] Production.INFO: CreateAllLog End
[2025-01-09 07:17:03] Production.INFO: ==2246== Lock acquired, processing the job...
[2025-01-09 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:17:03] Production.INFO: ==2252== Lock acquired, processing the job...
[2025-01-09 07:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:17:03] Production.INFO: Account Balance End.
[2025-01-09 07:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:17:03] Production.INFO: ==2250== Releasing lock...
[2025-01-09 07:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:17:03] Production.INFO: ==2254== Lock acquired, processing the job...
[2025-01-09 07:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:17:03] Production.INFO: ==2246== Releasing lock...
[2025-01-09 07:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:17:04] Production.INFO: count ==21
[2025-01-09 07:17:04] Production.ERROR: done
[2025-01-09 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:17:04] Production.INFO: count ==21
[2025-01-09 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207990') start
[2025-01-09 07:17:04] Production.ERROR: done
[2025-01-09 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207990') end
[2025-01-09 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:17:04] Production.INFO: 1
[2025-01-09 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:17:04] Production.INFO: ==2254== Releasing lock...
[2025-01-09 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:17:05
[end_date_ymd] => 2025-01-09 07:17:05
[RateCDR] => 1
)
[2025-01-09 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:17:05' and `end` < '2025-01-09 07:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:17:10] Production.ERROR: CronJobId end10
[2025-01-09 07:17:10] Production.INFO: ==2248== Releasing lock...
[2025-01-09 07:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:17:12] Production.INFO: call_cost start
[2025-01-09 07:17:12] Production.INFO: call_cost end
[2025-01-09 07:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:17:13] Production.INFO: ==2244== Releasing lock...
[2025-01-09 07:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:17:20] Production.INFO: count ==66
[2025-01-09 07:17:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:17:05 - End Time 2025-01-09 07:17:05
[2025-01-09 07:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207991', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207991', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207991', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207991', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:17:20] Production.INFO: ProcessCDR(1,14207991,1,1,2)
[2025-01-09 07:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207991', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207991', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:17:23] Production.INFO: ==2252== Releasing lock...
[2025-01-09 07:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:17:23] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:18:02] Production.INFO: ==2308== Lock acquired, processing the job...
[2025-01-09 12:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:18:02] Production.INFO: neon service started
[2025-01-09 12:18:02] Production.INFO: neon service started
[2025-01-09 12:18:02] Production.INFO: ==2308== Releasing lock...
[2025-01-09 12:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:18:02] Production.INFO: ==2312== Lock acquired, processing the job...
[2025-01-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:18:02] Production.INFO: ==2312== Releasing lock...
[2025-01-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:18:02] Production.INFO: ==2310== Lock acquired, processing the job...
[2025-01-09 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:18:03] Production.INFO: ==2310== Releasing lock...
[2025-01-09 07:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:18:03] Production.INFO: ==2314== Lock acquired, processing the job...
[2025-01-09 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:18:03] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-01-09 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:18:03] Production.INFO: ==2316== Lock acquired, processing the job...
[2025-01-09 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:18:04] Production.INFO: ==2318== Lock acquired, processing the job...
[2025-01-09 07:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:18:04] Production.INFO: ==2320== Lock acquired, processing the job...
[2025-01-09 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:18:04] Production.INFO: Account Balance Start.
[2025-01-09 07:18:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:18:04] Production.INFO: 117
[2025-01-09 07:18:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:18:04] Production.INFO: ==2322== Lock acquired, processing the job...
[2025-01-09 07:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:18:04] Production.INFO: count ==21
[2025-01-09 07:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:18:04] Production.INFO: count ==21
[2025-01-09 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207993') start
[2025-01-09 07:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:18:04] Production.INFO: ==2316== Releasing lock...
[2025-01-09 07:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207993') end
[2025-01-09 07:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:18:04] Production.INFO: 1
[2025-01-09 07:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:18:04] Production.INFO: Total Charge 0
[2025-01-09 07:18:04] Production.INFO: CreateAllLog End
[2025-01-09 07:18:04] Production.INFO: ==2324== Releasing lock...
[2025-01-09 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:18:04] Production.ERROR: done
[2025-01-09 07:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:18:04] Production.INFO: Account Balance End.
[2025-01-09 07:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:18:04] Production.INFO: ==2320== Releasing lock...
[2025-01-09 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:18:04] Production.ERROR: done
[2025-01-09 07:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:18:05
[end_date_ymd] => 2025-01-09 07:18:05
[RateCDR] => 1
)
[2025-01-09 07:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:18:05' and `end` < '2025-01-09 07:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:18:11] Production.ERROR: CronJobId end10
[2025-01-09 07:18:11] Production.INFO: ==2318== Releasing lock...
[2025-01-09 07:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:18:13] Production.INFO: call_cost start
[2025-01-09 07:18:13] Production.INFO: call_cost end
[2025-01-09 07:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:18:14] Production.INFO: ==2314== Releasing lock...
[2025-01-09 07:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:18:23] Production.INFO: count ==66
[2025-01-09 07:18:23] Production.ERROR: pbx CDR StartTime 2025-01-09 04:18:05 - End Time 2025-01-09 07:18:05
[2025-01-09 07:18:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207996', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14207996', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207996', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:18:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14207996', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:18:23] Production.INFO: ProcessCDR(1,14207996,1,1,2)
[2025-01-09 07:18:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14207996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:18:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14207996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:18:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14207996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:18:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14207996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207996', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:18:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14207996', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:18:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:18:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:18:26] Production.INFO: ==2322== Releasing lock...
[2025-01-09 07:18:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:18:26] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:19:01] Production.INFO: ==2381== Lock acquired, processing the job...
[2025-01-09 12:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:19:01] Production.INFO: neon service started
[2025-01-09 12:19:01] Production.INFO: neon service started
[2025-01-09 12:19:01] Production.INFO: ==2381== Releasing lock...
[2025-01-09 12:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:19:02] Production.INFO: ==2383== Lock acquired, processing the job...
[2025-01-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:19:02] Production.INFO: ==2385== Lock acquired, processing the job...
[2025-01-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:19:02] Production.INFO: ==2385== Releasing lock...
[2025-01-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:19:02] Production.INFO: ==2383== Releasing lock...
[2025-01-09 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:19:03] Production.INFO: ==2394== Lock acquired, processing the job...
[2025-01-09 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:19:03] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-01-09 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:19:03] Production.INFO: Account Balance Start.
[2025-01-09 07:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:19:03] Production.INFO: 117
[2025-01-09 07:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:19:03] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-01-09 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:19:03] Production.INFO: ==2390== Lock acquired, processing the job...
[2025-01-09 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:19:03] Production.INFO: Total Charge 0
[2025-01-09 07:19:03] Production.INFO: ==2392== Lock acquired, processing the job...
[2025-01-09 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:19:03] Production.INFO: CreateAllLog End
[2025-01-09 07:19:03] Production.INFO: ==2396== Lock acquired, processing the job...
[2025-01-09 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:19:03] Production.INFO: Account Balance End.
[2025-01-09 07:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:19:04] Production.INFO: count ==21
[2025-01-09 07:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:19:04] Production.INFO: ==2394== Releasing lock...
[2025-01-09 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:19:04] Production.INFO: count ==21
[2025-01-09 07:19:04] Production.INFO: ==2390== Releasing lock...
[2025-01-09 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207997') start
[2025-01-09 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14207997') end
[2025-01-09 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:19:04] Production.INFO: 1
[2025-01-09 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:19:04] Production.ERROR: done
[2025-01-09 07:19:04] Production.INFO: ==2398== Releasing lock...
[2025-01-09 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:19:04] Production.ERROR: done
[2025-01-09 07:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:19:05
[end_date_ymd] => 2025-01-09 07:19:05
[RateCDR] => 1
)
[2025-01-09 07:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:19:05' and `end` < '2025-01-09 07:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:19:11] Production.ERROR: CronJobId end10
[2025-01-09 07:19:11] Production.INFO: ==2392== Releasing lock...
[2025-01-09 07:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:19:13] Production.INFO: call_cost start
[2025-01-09 07:19:13] Production.INFO: call_cost end
[2025-01-09 07:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:19:14] Production.INFO: ==2388== Releasing lock...
[2025-01-09 07:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:19:18] Production.INFO: count ==66
[2025-01-09 07:19:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:19:05 - End Time 2025-01-09 07:19:05
[2025-01-09 07:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208001', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208001', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208001', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208001', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:19:18] Production.INFO: ProcessCDR(1,14208001,1,1,2)
[2025-01-09 07:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208001', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208001', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:19:21] Production.INFO: ==2396== Releasing lock...
[2025-01-09 07:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:19:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:20:02] Production.INFO: ==2451== Lock acquired, processing the job...
[2025-01-09 12:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:20:02] Production.INFO: neon service started
[2025-01-09 12:20:02] Production.INFO: neon service started
[2025-01-09 12:20:02] Production.INFO: ==2451== Releasing lock...
[2025-01-09 12:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:20:02] Production.INFO: ==2453== Lock acquired, processing the job...
[2025-01-09 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:20:02] Production.INFO: ==2455== Lock acquired, processing the job...
[2025-01-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:20:02] Production.INFO: ==2455== Releasing lock...
[2025-01-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:20:03] Production.INFO: ==2453== Releasing lock...
[2025-01-09 07:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:20:03] Production.INFO: ==2458== Lock acquired, processing the job...
[2025-01-09 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 07:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 07:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 07:20:03] Production.INFO: ==2458== Releasing lock...
[2025-01-09 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 07:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 07:20:03] Production.INFO: ==2460== Lock acquired, processing the job...
[2025-01-09 07:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:20:03] Production.INFO: ==2462== Lock acquired, processing the job...
[2025-01-09 07:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:20:04] Production.INFO: ==2464== Lock acquired, processing the job...
[2025-01-09 07:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:20:04] Production.INFO: ==2470== Lock acquired, processing the job...
[2025-01-09 07:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 07:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:20:04] Production.INFO: ==2466== Lock acquired, processing the job...
[2025-01-09 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:20:04] Production.INFO: ==2462== Releasing lock...
[2025-01-09 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:20:04] Production.INFO: ==2468== Lock acquired, processing the job...
[2025-01-09 07:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:20:04] Production.INFO: ==2472== Lock acquired, processing the job...
[2025-01-09 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:20:04] Production.INFO: Account Balance Start.
[2025-01-09 07:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:20:04] Production.INFO: 117
[2025-01-09 07:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:20:04] Production.ERROR: done
[2025-01-09 07:20:04] Production.INFO: Total Charge 0
[2025-01-09 07:20:04] Production.INFO: CreateAllLog End
[2025-01-09 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:20:04] Production.INFO: count ==21
[2025-01-09 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:20:04] Production.INFO: count ==21
[2025-01-09 07:20:04] Production.ERROR: done
[2025-01-09 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208006', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208005') start
[2025-01-09 07:20:04] Production.INFO: Account Balance End.
[2025-01-09 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208005') end
[2025-01-09 07:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:20:04] Production.INFO: 1
[2025-01-09 07:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:20:04] Production.INFO: ==2466== Releasing lock...
[2025-01-09 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:20:04] Production.INFO: ==2472== Releasing lock...
[2025-01-09 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:20:05] Production.ERROR: done
[2025-01-09 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:20:06
[end_date_ymd] => 2025-01-09 07:20:06
[RateCDR] => 1
)
[2025-01-09 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:20:06' and `end` < '2025-01-09 07:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208006', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 07:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 07:20:09] Production.INFO: ProcessCDR(1,14208006,1,1,2)
[2025-01-09 07:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208006,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208006,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:20:09] Production.INFO: ==2470== Releasing lock...
[2025-01-09 07:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 07:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:20:14] Production.ERROR: CronJobId end10
[2025-01-09 07:20:14] Production.INFO: ==2464== Releasing lock...
[2025-01-09 07:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:20:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:20:16] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:20:16] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:20:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:20:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:20:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:20:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:20:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:20:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:20:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:20:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:20:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:20:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:20:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:20:16] Production.INFO: call_cost start
[2025-01-09 07:20:16] Production.INFO: call_cost end
[2025-01-09 07:20:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:20:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:20:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:20:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:20:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:20:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:20:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:20:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:20:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:20:17] Production.INFO: ==2460== Releasing lock...
[2025-01-09 07:20:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:20:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:20:19] Production.INFO: count ==60
[2025-01-09 07:20:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:20:06 - End Time 2025-01-09 07:20:06
[2025-01-09 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208007', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208007', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208007', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208007', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:20:19] Production.INFO: ProcessCDR(1,14208007,1,1,2)
[2025-01-09 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208007', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208007', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:20:22] Production.INFO: ==2468== Releasing lock...
[2025-01-09 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:20:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:21:01] Production.INFO: ==2565== Lock acquired, processing the job...
[2025-01-09 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:21:01] Production.INFO: neon service started
[2025-01-09 12:21:01] Production.INFO: neon service started
[2025-01-09 12:21:01] Production.INFO: ==2565== Releasing lock...
[2025-01-09 12:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:21:01] Production.INFO: ==2567== Lock acquired, processing the job...
[2025-01-09 07:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:21:02] Production.INFO: ==2567== Releasing lock...
[2025-01-09 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:21:02] Production.INFO: ==2569== Lock acquired, processing the job...
[2025-01-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:21:02] Production.INFO: ==2569== Releasing lock...
[2025-01-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:21:02] Production.INFO: ==2582== Lock acquired, processing the job...
[2025-01-09 07:21:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:21:03] Production.INFO: count ==21
[2025-01-09 07:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:21:03] Production.INFO: count ==21
[2025-01-09 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208008') start
[2025-01-09 07:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208008') end
[2025-01-09 07:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:21:03] Production.INFO: 1
[2025-01-09 07:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:21:03] Production.INFO: ==2582== Releasing lock...
[2025-01-09 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:21:03] Production.INFO: ==2572== Lock acquired, processing the job...
[2025-01-09 07:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:21:03] Production.INFO: ==2574== Lock acquired, processing the job...
[2025-01-09 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:21:03] Production.INFO: ==2576== Lock acquired, processing the job...
[2025-01-09 07:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:21:03] Production.INFO: ==2580== Lock acquired, processing the job...
[2025-01-09 07:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:21:03] Production.INFO: ==2578== Lock acquired, processing the job...
[2025-01-09 07:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:21:03] Production.INFO: Account Balance Start.
[2025-01-09 07:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:21:03] Production.INFO: 117
[2025-01-09 07:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:21:03] Production.INFO: ==2574== Releasing lock...
[2025-01-09 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:21:03] Production.INFO: Total Charge 0
[2025-01-09 07:21:03] Production.INFO: CreateAllLog End
[2025-01-09 07:21:03] Production.ERROR: done
[2025-01-09 07:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:21:04] Production.INFO: Account Balance End.
[2025-01-09 07:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:21:04] Production.INFO: ==2578== Releasing lock...
[2025-01-09 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:21:04] Production.ERROR: done
[2025-01-09 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:21:05
[end_date_ymd] => 2025-01-09 07:21:05
[RateCDR] => 1
)
[2025-01-09 07:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:21:05' and `end` < '2025-01-09 07:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:21:11] Production.ERROR: CronJobId end10
[2025-01-09 07:21:11] Production.INFO: ==2576== Releasing lock...
[2025-01-09 07:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:21:13] Production.INFO: call_cost start
[2025-01-09 07:21:14] Production.INFO: call_cost end
[2025-01-09 07:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:21:14] Production.INFO: ==2572== Releasing lock...
[2025-01-09 07:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:21:18] Production.INFO: count ==58
[2025-01-09 07:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:21:05 - End Time 2025-01-09 07:21:05
[2025-01-09 07:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208012', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208012', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208012', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208012', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:21:18] Production.INFO: ProcessCDR(1,14208012,1,1,2)
[2025-01-09 07:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208012', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208012', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:21:21] Production.INFO: ==2580== Releasing lock...
[2025-01-09 07:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:21:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:22:02] Production.INFO: ==2637== Lock acquired, processing the job...
[2025-01-09 12:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:22:02] Production.INFO: neon service started
[2025-01-09 12:22:02] Production.INFO: neon service started
[2025-01-09 12:22:02] Production.INFO: ==2637== Releasing lock...
[2025-01-09 12:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:22:02] Production.INFO: ==2639== Lock acquired, processing the job...
[2025-01-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:22:02] Production.INFO: ==2639== Releasing lock...
[2025-01-09 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:22:02] Production.INFO: ==2641== Lock acquired, processing the job...
[2025-01-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:22:02] Production.INFO: ==2641== Releasing lock...
[2025-01-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:22:03] Production.INFO: ==2652== Lock acquired, processing the job...
[2025-01-09 07:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:22:03] Production.INFO: ==2654== Lock acquired, processing the job...
[2025-01-09 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:22:03] Production.INFO: ==2645== Lock acquired, processing the job...
[2025-01-09 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:22:03] Production.INFO: ==2643== Lock acquired, processing the job...
[2025-01-09 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:22:03] Production.INFO: ==2647== Lock acquired, processing the job...
[2025-01-09 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:22:03] Production.INFO: count ==21
[2025-01-09 07:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:22:03] Production.INFO: ==2650== Lock acquired, processing the job...
[2025-01-09 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:22:03] Production.INFO: count ==21
[2025-01-09 07:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208013') start
[2025-01-09 07:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208013') end
[2025-01-09 07:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:22:03] Production.INFO: 1
[2025-01-09 07:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:22:03] Production.INFO: Account Balance Start.
[2025-01-09 07:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:22:03] Production.INFO: 117
[2025-01-09 07:22:04] Production.INFO: ==2654== Releasing lock...
[2025-01-09 07:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:22:04] Production.ERROR: done
[2025-01-09 07:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:22:04] Production.ERROR: done
[2025-01-09 07:22:04] Production.INFO: Total Charge 0
[2025-01-09 07:22:04] Production.INFO: CreateAllLog End
[2025-01-09 07:22:04] Production.INFO: ==2645== Releasing lock...
[2025-01-09 07:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:22:04] Production.INFO: Account Balance End.
[2025-01-09 07:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:22:04] Production.INFO: ==2650== Releasing lock...
[2025-01-09 07:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:22:05
[end_date_ymd] => 2025-01-09 07:22:05
[RateCDR] => 1
)
[2025-01-09 07:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:22:05' and `end` < '2025-01-09 07:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:22:12] Production.ERROR: CronJobId end10
[2025-01-09 07:22:12] Production.INFO: ==2647== Releasing lock...
[2025-01-09 07:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:22:14] Production.INFO: call_cost start
[2025-01-09 07:22:14] Production.INFO: call_cost end
[2025-01-09 07:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:22:15] Production.INFO: ==2643== Releasing lock...
[2025-01-09 07:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:22:34] Production.INFO: count ==58
[2025-01-09 07:22:34] Production.ERROR: pbx CDR StartTime 2025-01-09 04:22:05 - End Time 2025-01-09 07:22:05
[2025-01-09 07:22:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:22:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208017', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:22:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208017', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:22:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208017', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:22:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208017', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:22:34] Production.INFO: ProcessCDR(1,14208017,1,1,2)
[2025-01-09 07:22:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:22:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:22:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:22:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:22:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208017', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:22:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208017', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:22:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:22:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:22:38] Production.INFO: ==2652== Releasing lock...
[2025-01-09 07:22:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:22:38] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:23:01] Production.INFO: ==2712== Lock acquired, processing the job...
[2025-01-09 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:23:01] Production.INFO: neon service started
[2025-01-09 12:23:01] Production.INFO: neon service started
[2025-01-09 12:23:01] Production.INFO: ==2712== Releasing lock...
[2025-01-09 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:23:01] Production.INFO: ==2714== Lock acquired, processing the job...
[2025-01-09 07:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:23:02] Production.INFO: ==2716== Lock acquired, processing the job...
[2025-01-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:23:02] Production.INFO: ==2714== Releasing lock...
[2025-01-09 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:23:02] Production.INFO: ==2716== Releasing lock...
[2025-01-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:23:02] Production.INFO: ==2718== Lock acquired, processing the job...
[2025-01-09 07:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:23:02] Production.INFO: ==2720== Lock acquired, processing the job...
[2025-01-09 07:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:23:02] Production.INFO: ==2722== Lock acquired, processing the job...
[2025-01-09 07:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:23:03] Production.INFO: ==2724== Lock acquired, processing the job...
[2025-01-09 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:23:03] Production.INFO: ==2720== Releasing lock...
[2025-01-09 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:23:03] Production.INFO: ==2726== Lock acquired, processing the job...
[2025-01-09 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:23:03] Production.INFO: ==2728== Lock acquired, processing the job...
[2025-01-09 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:23:03] Production.INFO: Account Balance Start.
[2025-01-09 07:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:23:03] Production.INFO: 117
[2025-01-09 07:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:23:03] Production.INFO: count ==21
[2025-01-09 07:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:23:03] Production.INFO: count ==21
[2025-01-09 07:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208021') start
[2025-01-09 07:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:23:03] Production.ERROR: done
[2025-01-09 07:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208021') end
[2025-01-09 07:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:23:03] Production.INFO: 1
[2025-01-09 07:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:23:03] Production.INFO: ==2728== Releasing lock...
[2025-01-09 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:23:03] Production.INFO: Total Charge 0
[2025-01-09 07:23:03] Production.INFO: CreateAllLog End
[2025-01-09 07:23:03] Production.ERROR: done
[2025-01-09 07:23:04] Production.INFO: Account Balance End.
[2025-01-09 07:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:23:04] Production.INFO: ==2724== Releasing lock...
[2025-01-09 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:23:04
[end_date_ymd] => 2025-01-09 07:23:04
[RateCDR] => 1
)
[2025-01-09 07:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:23:04' and `end` < '2025-01-09 07:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:23:11] Production.ERROR: CronJobId end10
[2025-01-09 07:23:11] Production.INFO: ==2722== Releasing lock...
[2025-01-09 07:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:23:13] Production.INFO: call_cost start
[2025-01-09 07:23:13] Production.INFO: call_cost end
[2025-01-09 07:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:23:14] Production.INFO: ==2718== Releasing lock...
[2025-01-09 07:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:23:19] Production.INFO: count ==58
[2025-01-09 07:23:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:23:04 - End Time 2025-01-09 07:23:04
[2025-01-09 07:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208022', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208022', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208022', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208022', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:23:19] Production.INFO: ProcessCDR(1,14208022,1,1,2)
[2025-01-09 07:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208022', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208022', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:23:22] Production.INFO: ==2726== Releasing lock...
[2025-01-09 07:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:23:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:24:01] Production.INFO: ==2782== Lock acquired, processing the job...
[2025-01-09 12:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:24:02] Production.INFO: neon service started
[2025-01-09 12:24:02] Production.INFO: neon service started
[2025-01-09 12:24:02] Production.INFO: ==2782== Releasing lock...
[2025-01-09 12:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:24:02] Production.INFO: ==2784== Lock acquired, processing the job...
[2025-01-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:24:02] Production.INFO: ==2784== Releasing lock...
[2025-01-09 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:24:02] Production.INFO: ==2786== Lock acquired, processing the job...
[2025-01-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:24:02] Production.INFO: ==2786== Releasing lock...
[2025-01-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:24:03] Production.INFO: ==2792== Lock acquired, processing the job...
[2025-01-09 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:24:03] Production.INFO: ==2798== Lock acquired, processing the job...
[2025-01-09 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:24:03] Production.INFO: ==2788== Lock acquired, processing the job...
[2025-01-09 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:24:04] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-01-09 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:24:04] Production.INFO: count ==21
[2025-01-09 07:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:24:04] Production.INFO: count ==21
[2025-01-09 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208023') start
[2025-01-09 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208023') end
[2025-01-09 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:24:04] Production.INFO: 1
[2025-01-09 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:24:04] Production.INFO: ==2794== Lock acquired, processing the job...
[2025-01-09 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:24:04] Production.INFO: ==2796== Lock acquired, processing the job...
[2025-01-09 07:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:24:04] Production.INFO: ==2798== Releasing lock...
[2025-01-09 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:24:04] Production.INFO: Account Balance Start.
[2025-01-09 07:24:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:24:04] Production.INFO: 117
[2025-01-09 07:24:04] Production.INFO: ==2790== Releasing lock...
[2025-01-09 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:24:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:24:04] Production.ERROR: done
[2025-01-09 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:24:04] Production.INFO: Total Charge 0
[2025-01-09 07:24:04] Production.INFO: CreateAllLog End
[2025-01-09 07:24:04] Production.ERROR: done
[2025-01-09 07:24:05] Production.INFO: Account Balance End.
[2025-01-09 07:24:05] Production.ERROR: CronJobId end 12
[2025-01-09 07:24:05] Production.INFO: ==2794== Releasing lock...
[2025-01-09 07:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:24:05
[end_date_ymd] => 2025-01-09 07:24:05
[RateCDR] => 1
)
[2025-01-09 07:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:24:05' and `end` < '2025-01-09 07:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:24:11] Production.ERROR: CronJobId end10
[2025-01-09 07:24:11] Production.INFO: ==2792== Releasing lock...
[2025-01-09 07:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:24:13] Production.INFO: call_cost start
[2025-01-09 07:24:13] Production.INFO: call_cost end
[2025-01-09 07:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:24:14] Production.INFO: ==2788== Releasing lock...
[2025-01-09 07:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:24:18] Production.INFO: count ==58
[2025-01-09 07:24:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:24:05 - End Time 2025-01-09 07:24:05
[2025-01-09 07:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208027', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208027', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208027', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208027', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:24:18] Production.INFO: ProcessCDR(1,14208027,1,1,2)
[2025-01-09 07:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208027', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208027', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:24:21] Production.INFO: ==2796== Releasing lock...
[2025-01-09 07:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:24:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:25:01] Production.INFO: ==2853== Lock acquired, processing the job...
[2025-01-09 12:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:25:01] Production.INFO: neon service started
[2025-01-09 12:25:01] Production.INFO: neon service started
[2025-01-09 12:25:01] Production.INFO: ==2853== Releasing lock...
[2025-01-09 12:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:25:01] Production.INFO: ==2855== Lock acquired, processing the job...
[2025-01-09 07:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:25:02] Production.INFO: ==2855== Releasing lock...
[2025-01-09 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:25:02] Production.INFO: ==2857== Lock acquired, processing the job...
[2025-01-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:25:02] Production.INFO: ==2857== Releasing lock...
[2025-01-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:25:02] Production.INFO: ==2859== Lock acquired, processing the job...
[2025-01-09 07:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:25:02] Production.INFO: ==2863== Lock acquired, processing the job...
[2025-01-09 07:25:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:25:02] Production.INFO: ==2861== Lock acquired, processing the job...
[2025-01-09 07:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:25:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:25:03] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-01-09 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:25:03] Production.INFO: ==2869== Lock acquired, processing the job...
[2025-01-09 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:25:03] Production.INFO: Account Balance Start.
[2025-01-09 07:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:25:03] Production.INFO: 117
[2025-01-09 07:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:25:03] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-01-09 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:25:03] Production.INFO: Total Charge 0
[2025-01-09 07:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:25:03] Production.INFO: CreateAllLog End
[2025-01-09 07:25:03] Production.INFO: count ==21
[2025-01-09 07:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:25:03] Production.INFO: count ==21
[2025-01-09 07:25:03] Production.INFO: ==2861== Releasing lock...
[2025-01-09 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208031') start
[2025-01-09 07:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208031') end
[2025-01-09 07:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:25:03] Production.INFO: 1
[2025-01-09 07:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:25:03] Production.ERROR: done
[2025-01-09 07:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:25:03] Production.INFO: ==2869== Releasing lock...
[2025-01-09 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:25:03] Production.ERROR: done
[2025-01-09 07:25:03] Production.INFO: Account Balance End.
[2025-01-09 07:25:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:25:03] Production.INFO: ==2865== Releasing lock...
[2025-01-09 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:25:04
[end_date_ymd] => 2025-01-09 07:25:04
[RateCDR] => 1
)
[2025-01-09 07:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:25:04' and `end` < '2025-01-09 07:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:25:09] Production.ERROR: CronJobId end10
[2025-01-09 07:25:09] Production.INFO: ==2863== Releasing lock...
[2025-01-09 07:25:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:25:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:25:12] Production.INFO: call_cost start
[2025-01-09 07:25:12] Production.INFO: call_cost end
[2025-01-09 07:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:25:13] Production.INFO: ==2859== Releasing lock...
[2025-01-09 07:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:25:17] Production.INFO: count ==58
[2025-01-09 07:25:17] Production.ERROR: pbx CDR StartTime 2025-01-09 04:25:04 - End Time 2025-01-09 07:25:04
[2025-01-09 07:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208032', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208032', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208032', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208032', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:25:17] Production.INFO: ProcessCDR(1,14208032,1,1,2)
[2025-01-09 07:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208032', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208032', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:25:20] Production.INFO: ==2867== Releasing lock...
[2025-01-09 07:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:25:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:26:01] Production.INFO: ==2926== Lock acquired, processing the job...
[2025-01-09 12:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:26:01] Production.INFO: neon service started
[2025-01-09 12:26:01] Production.INFO: neon service started
[2025-01-09 12:26:01] Production.INFO: ==2926== Releasing lock...
[2025-01-09 12:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:26:02] Production.INFO: ==2930== Lock acquired, processing the job...
[2025-01-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:26:02] Production.INFO: ==2930== Releasing lock...
[2025-01-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:26:02] Production.INFO: ==2928== Lock acquired, processing the job...
[2025-01-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:26:02] Production.INFO: ==2928== Releasing lock...
[2025-01-09 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:26:03] Production.INFO: ==2935== Lock acquired, processing the job...
[2025-01-09 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:26:03] Production.INFO: ==2943== Lock acquired, processing the job...
[2025-01-09 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:26:03] Production.INFO: ==2933== Lock acquired, processing the job...
[2025-01-09 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:26:03] Production.INFO: ==2937== Lock acquired, processing the job...
[2025-01-09 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:26:04] Production.INFO: ==2935== Releasing lock...
[2025-01-09 07:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 07:26:04] Production.INFO: ==2939== Lock acquired, processing the job...
[2025-01-09 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:26:04] Production.INFO: count ==21
[2025-01-09 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-01-09 07:26:04] Production.INFO: count ==21
[2025-01-09 07:26:04] Production.INFO: ==2941== Lock acquired, processing the job...
[2025-01-09 07:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208034') start
[2025-01-09 07:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:26:04] Production.INFO: Account Balance Start.
[2025-01-09 07:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:26:04] Production.INFO: 117
[2025-01-09 07:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208034') end
[2025-01-09 07:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:26:04] Production.INFO: 1
[2025-01-09 07:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:26:04] Production.INFO: ==2943== Releasing lock...
[2025-01-09 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:26:04] Production.INFO: Total Charge 0
[2025-01-09 07:26:04] Production.INFO: CreateAllLog End
[2025-01-09 07:26:04] Production.ERROR: done
[2025-01-09 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:26:04] Production.ERROR: done
[2025-01-09 07:26:04] Production.INFO: Account Balance End.
[2025-01-09 07:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:26:04] Production.INFO: ==2939== Releasing lock...
[2025-01-09 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:26:05
[end_date_ymd] => 2025-01-09 07:26:05
[RateCDR] => 1
)
[2025-01-09 07:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:26:05' and `end` < '2025-01-09 07:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:26:11] Production.ERROR: CronJobId end10
[2025-01-09 07:26:11] Production.INFO: ==2937== Releasing lock...
[2025-01-09 07:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:26:13] Production.INFO: call_cost start
[2025-01-09 07:26:13] Production.INFO: call_cost end
[2025-01-09 07:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:26:14] Production.INFO: ==2933== Releasing lock...
[2025-01-09 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:26:19] Production.INFO: count ==58
[2025-01-09 07:26:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:26:05 - End Time 2025-01-09 07:26:05
[2025-01-09 07:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208037', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208037', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208037', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208037', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:26:19] Production.INFO: ProcessCDR(1,14208037,1,1,2)
[2025-01-09 07:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208037', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208037', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:26:22] Production.INFO: ==2941== Releasing lock...
[2025-01-09 07:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:26:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:27:01] Production.INFO: ==2997== Lock acquired, processing the job...
[2025-01-09 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:27:01] Production.INFO: neon service started
[2025-01-09 12:27:01] Production.INFO: neon service started
[2025-01-09 12:27:01] Production.INFO: ==2997== Releasing lock...
[2025-01-09 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:27:01] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-01-09 07:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:27:02] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-01-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:27:02] Production.INFO: ==2999== Releasing lock...
[2025-01-09 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:27:02] Production.INFO: ==3001== Releasing lock...
[2025-01-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:27:02] Production.INFO: ==3009== Lock acquired, processing the job...
[2025-01-09 07:27:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:27:02] Production.INFO: ==3003== Lock acquired, processing the job...
[2025-01-09 07:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:27:02] Production.INFO: Account Balance Start.
[2025-01-09 07:27:02] Production.INFO: CreateAllLog Start
[2025-01-09 07:27:02] Production.INFO: 117
[2025-01-09 07:27:02] Production.INFO: ==3005== Lock acquired, processing the job...
[2025-01-09 07:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:27:02] Production.INFO: Date 2025-01-08
[2025-01-09 07:27:02] Production.INFO: Reseller ==> 0
[2025-01-09 07:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:27:03] Production.INFO: ==3014== Lock acquired, processing the job...
[2025-01-09 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:27:03] Production.INFO: ==3007== Lock acquired, processing the job...
[2025-01-09 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:27:03] Production.INFO: Total Charge 0
[2025-01-09 07:27:03] Production.INFO: CreateAllLog End
[2025-01-09 07:27:03] Production.INFO: ==3011== Lock acquired, processing the job...
[2025-01-09 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:27:03] Production.INFO: ==3005== Releasing lock...
[2025-01-09 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:27:03] Production.INFO: count ==21
[2025-01-09 07:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:27:03] Production.INFO: count ==21
[2025-01-09 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208041') start
[2025-01-09 07:27:03] Production.INFO: Account Balance End.
[2025-01-09 07:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:27:03] Production.INFO: ==3009== Releasing lock...
[2025-01-09 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208041') end
[2025-01-09 07:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:27:03] Production.INFO: 1
[2025-01-09 07:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:27:03] Production.ERROR: done
[2025-01-09 07:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:27:03] Production.INFO: ==3014== Releasing lock...
[2025-01-09 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:27:03] Production.ERROR: done
[2025-01-09 07:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:27:04
[end_date_ymd] => 2025-01-09 07:27:04
[RateCDR] => 1
)
[2025-01-09 07:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:27:04' and `end` < '2025-01-09 07:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:27:10] Production.ERROR: CronJobId end10
[2025-01-09 07:27:10] Production.INFO: ==3007== Releasing lock...
[2025-01-09 07:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:27:12] Production.INFO: call_cost start
[2025-01-09 07:27:12] Production.INFO: call_cost end
[2025-01-09 07:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:27:13] Production.INFO: ==3003== Releasing lock...
[2025-01-09 07:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:27:19] Production.INFO: count ==58
[2025-01-09 07:27:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:27:04 - End Time 2025-01-09 07:27:04
[2025-01-09 07:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208042', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208042', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208042', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208042', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:27:19] Production.INFO: ProcessCDR(1,14208042,1,1,2)
[2025-01-09 07:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208042,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208042,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208042', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208042', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:27:22] Production.INFO: ==3011== Releasing lock...
[2025-01-09 07:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:27:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:28:01] Production.INFO: ==3068== Lock acquired, processing the job...
[2025-01-09 12:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:28:01] Production.INFO: neon service started
[2025-01-09 12:28:01] Production.INFO: neon service started
[2025-01-09 12:28:01] Production.INFO: ==3068== Releasing lock...
[2025-01-09 12:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:28:02] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-01-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:28:02] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-01-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:28:02] Production.INFO: ==3072== Releasing lock...
[2025-01-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:28:02] Production.INFO: ==3070== Releasing lock...
[2025-01-09 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:28:03] Production.INFO: ==3079== Lock acquired, processing the job...
[2025-01-09 07:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:28:03] Production.INFO: ==3083== Lock acquired, processing the job...
[2025-01-09 07:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:28:03] Production.INFO: ==3075== Lock acquired, processing the job...
[2025-01-09 07:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:28:03] Production.INFO: ==3077== Lock acquired, processing the job...
[2025-01-09 07:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:28:03] Production.INFO: ==3081== Lock acquired, processing the job...
[2025-01-09 07:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:28:03] Production.INFO: ==3085== Lock acquired, processing the job...
[2025-01-09 07:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:28:03] Production.ERROR: done
[2025-01-09 07:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:28:03] Production.INFO: Account Balance Start.
[2025-01-09 07:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:28:03] Production.INFO: 117
[2025-01-09 07:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 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-01-09 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:28:03] Production.INFO: count ==21
[2025-01-09 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-01-09 07:28:03] Production.INFO: count ==21
[2025-01-09 07:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208044') start
[2025-01-09 07:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:28:03] Production.ERROR: done
[2025-01-09 07:28:03] Production.INFO: Total Charge 0
[2025-01-09 07:28:03] Production.INFO: CreateAllLog End
[2025-01-09 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208044') end
[2025-01-09 07:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:28:04] Production.INFO: 1
[2025-01-09 07:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:28:04] Production.INFO: ==3077== Releasing lock...
[2025-01-09 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:28:04] Production.INFO: ==3085== Releasing lock...
[2025-01-09 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:28:04] Production.INFO: Account Balance End.
[2025-01-09 07:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:28:04] Production.INFO: ==3081== Releasing lock...
[2025-01-09 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:28:04
[end_date_ymd] => 2025-01-09 07:28:04
[RateCDR] => 1
)
[2025-01-09 07:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:28:04' and `end` < '2025-01-09 07:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:28:10] Production.ERROR: CronJobId end10
[2025-01-09 07:28:10] Production.INFO: ==3079== Releasing lock...
[2025-01-09 07:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:28:13] Production.INFO: call_cost start
[2025-01-09 07:28:13] Production.INFO: call_cost end
[2025-01-09 07:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:28:14] Production.INFO: ==3075== Releasing lock...
[2025-01-09 07:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:28:18] Production.INFO: count ==58
[2025-01-09 07:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:28:04 - End Time 2025-01-09 07:28:04
[2025-01-09 07:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208047', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208047', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208047', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208047', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:28:18] Production.INFO: ProcessCDR(1,14208047,1,1,2)
[2025-01-09 07:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208047', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208047', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:28:21] Production.INFO: ==3083== Releasing lock...
[2025-01-09 07:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:28:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:29:02] Production.INFO: ==3141== Lock acquired, processing the job...
[2025-01-09 12:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:29:02] Production.INFO: neon service started
[2025-01-09 12:29:02] Production.INFO: neon service started
[2025-01-09 12:29:02] Production.INFO: ==3141== Releasing lock...
[2025-01-09 12:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:29:02] Production.INFO: ==3143== Lock acquired, processing the job...
[2025-01-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:29:02] Production.INFO: ==3143== Releasing lock...
[2025-01-09 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:29:02] Production.INFO: ==3145== Lock acquired, processing the job...
[2025-01-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:29:02] Production.INFO: ==3145== Releasing lock...
[2025-01-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:29:03] Production.INFO: ==3155== Lock acquired, processing the job...
[2025-01-09 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:29:03] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-01-09 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:29:03] Production.INFO: ==3147== Lock acquired, processing the job...
[2025-01-09 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:29:03] Production.INFO: ==3149== Lock acquired, processing the job...
[2025-01-09 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:29:03] Production.INFO: ==3151== Lock acquired, processing the job...
[2025-01-09 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:29:03] Production.INFO: ==3153== Lock acquired, processing the job...
[2025-01-09 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:29:03] Production.ERROR: done
[2025-01-09 07:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:29:03] Production.INFO: Account Balance Start.
[2025-01-09 07:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:29:03] Production.INFO: 117
[2025-01-09 07:29:03] Production.INFO: count ==21
[2025-01-09 07:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:29:04] Production.INFO: count ==21
[2025-01-09 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208048') start
[2025-01-09 07:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:29:04] Production.ERROR: done
[2025-01-09 07:29:04] Production.INFO: Total Charge 0
[2025-01-09 07:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208048') end
[2025-01-09 07:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:29:04] Production.INFO: 1
[2025-01-09 07:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:29:04] Production.INFO: ==3149== Releasing lock...
[2025-01-09 07:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:29:04] Production.INFO: CreateAllLog End
[2025-01-09 07:29:04] Production.INFO: ==3157== Releasing lock...
[2025-01-09 07:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:29:04] Production.INFO: Account Balance End.
[2025-01-09 07:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:29:04] Production.INFO: ==3153== Releasing lock...
[2025-01-09 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:29:05
[end_date_ymd] => 2025-01-09 07:29:05
[RateCDR] => 1
)
[2025-01-09 07:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:29:05' and `end` < '2025-01-09 07:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:29:10] Production.ERROR: CronJobId end10
[2025-01-09 07:29:10] Production.INFO: ==3151== Releasing lock...
[2025-01-09 07:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:29:13] Production.INFO: call_cost start
[2025-01-09 07:29:13] Production.INFO: call_cost end
[2025-01-09 07:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:29:14] Production.INFO: ==3147== Releasing lock...
[2025-01-09 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:29:17] Production.INFO: count ==58
[2025-01-09 07:29:17] Production.ERROR: pbx CDR StartTime 2025-01-09 04:29:05 - End Time 2025-01-09 07:29:05
[2025-01-09 07:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208052', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208052', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208052', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208052', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:29:17] Production.INFO: ProcessCDR(1,14208052,1,1,2)
[2025-01-09 07:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208052', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208052', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:29:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:29:20] Production.INFO: ==3155== Releasing lock...
[2025-01-09 07:29:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:29:20] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:30:01] Production.INFO: ==3217== Lock acquired, processing the job...
[2025-01-09 12:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:30:01] Production.INFO: neon service started
[2025-01-09 12:30:01] Production.INFO: neon service started
[2025-01-09 12:30:01] Production.INFO: ==3217== Releasing lock...
[2025-01-09 12:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:30:01] Production.INFO: ==3219== Lock acquired, processing the job...
[2025-01-09 07:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:30:02] Production.INFO: ==3221== Lock acquired, processing the job...
[2025-01-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:30:02] Production.INFO: ==3221== Releasing lock...
[2025-01-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:30:02] Production.INFO: ==3219== Releasing lock...
[2025-01-09 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:30:03] Production.INFO: ==3228== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:30:03] Production.INFO: ==3224== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 07:30:03] Production.INFO: ==3226== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 07:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 07:30:03] Production.ERROR: CronJob PID - 3226
[2025-01-09 07:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 07:30:03] Production.ERROR: CronJob ID - 5
[2025-01-09 07:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 07:30:00
[2025-01-09 07:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 07:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 07:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 07:30:03] Production.ERROR: CronJob PID - 3228
[2025-01-09 07:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 07:30:03] Production.ERROR: CronJob ID - 7
[2025-01-09 07:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 07:30:00
[2025-01-09 07:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 07:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 07:30:03] Production.INFO: ==3230== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 07:30:03] Production.INFO: ==3224== Releasing lock...
[2025-01-09 07:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 07:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 07:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:30:03] Production.INFO: ==3236== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 07:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:30:03] Production.INFO: ==3232== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:30:03] Production.INFO: ==3234== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:30:03] Production.INFO: ==3228== Releasing lock...
[2025-01-09 07:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:30:03] Production.INFO: ==3238== Lock acquired, processing the job...
[2025-01-09 07:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:30:03] Production.INFO: Account Balance Start.
[2025-01-09 07:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:30:03] Production.INFO: 117
[2025-01-09 07:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:30:04] Production.INFO: Total Charge 0
[2025-01-09 07:30:04] Production.INFO: CreateAllLog End
[2025-01-09 07:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:30:04] Production.INFO: count ==21
[2025-01-09 07:30:04] Production.ERROR: done
[2025-01-09 07:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:30:04] Production.ERROR: done
[2025-01-09 07:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:30:04] Production.INFO: count ==21
[2025-01-09 07:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 07:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208057', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208056') start
[2025-01-09 07:30:04] Production.ERROR: done
[2025-01-09 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208056') end
[2025-01-09 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:30:04] Production.INFO: 1
[2025-01-09 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:30:04] Production.INFO: ==3238== Releasing lock...
[2025-01-09 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:30:04] Production.INFO: Account Balance End.
[2025-01-09 07:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:30:04] Production.INFO: ==3232== Releasing lock...
[2025-01-09 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:30:05
[end_date_ymd] => 2025-01-09 07:30:05
[RateCDR] => 1
)
[2025-01-09 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-01-09 04:30:05' and `end` < '2025-01-09 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-01-09 07:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208057', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 07:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 07:30:08] Production.INFO: ProcessCDR(1,14208057,1,1,2)
[2025-01-09 07:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208057,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208057,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:30:09] Production.INFO: ==3236== Releasing lock...
[2025-01-09 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:30:13] Production.ERROR: CronJobId end10
[2025-01-09 07:30:13] Production.INFO: ==3230== Releasing lock...
[2025-01-09 07:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:30:14] Production.INFO: call_cost start
[2025-01-09 07:30:14] Production.INFO: call_cost end
[2025-01-09 07:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:30:15] Production.INFO: ==3226== Releasing lock...
[2025-01-09 07:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:30:18] Production.INFO: count ==54
[2025-01-09 07:30:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:30:05 - End Time 2025-01-09 07:30:05
[2025-01-09 07:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208058', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208058', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208058', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208058', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:30:18] Production.INFO: ProcessCDR(1,14208058,1,1,2)
[2025-01-09 07:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208058', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208058', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:30:21] Production.INFO: ==3234== Releasing lock...
[2025-01-09 07:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:30:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:31:02] Production.INFO: ==3294== Lock acquired, processing the job...
[2025-01-09 12:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:31:02] Production.INFO: neon service started
[2025-01-09 12:31:02] Production.INFO: neon service started
[2025-01-09 12:31:02] Production.INFO: ==3294== Releasing lock...
[2025-01-09 12:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:31:02] Production.INFO: ==3296== Lock acquired, processing the job...
[2025-01-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:31:02] Production.INFO: ==3296== Releasing lock...
[2025-01-09 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:31:02] Production.INFO: ==3298== Lock acquired, processing the job...
[2025-01-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:31:02] Production.INFO: ==3298== Releasing lock...
[2025-01-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:31:03] Production.INFO: ==3300== Lock acquired, processing the job...
[2025-01-09 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:31:03] Production.INFO: ==3306== Lock acquired, processing the job...
[2025-01-09 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:31:03] Production.INFO: Account Balance Start.
[2025-01-09 07:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:31:03] Production.INFO: 117
[2025-01-09 07:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:31:03] Production.INFO: ==3302== Lock acquired, processing the job...
[2025-01-09 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:31:03] Production.INFO: Total Charge 0
[2025-01-09 07:31:03] Production.INFO: CreateAllLog End
[2025-01-09 07:31:03] Production.INFO: ==3304== Lock acquired, processing the job...
[2025-01-09 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:31:03] Production.INFO: ==3308== Lock acquired, processing the job...
[2025-01-09 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:31:03] Production.INFO: ==3310== Lock acquired, processing the job...
[2025-01-09 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:31:03] Production.INFO: Account Balance End.
[2025-01-09 07:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:31:03] Production.INFO: ==3306== Releasing lock...
[2025-01-09 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:31:04] Production.INFO: ==3302== Releasing lock...
[2025-01-09 07:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:31:04] Production.ERROR: done
[2025-01-09 07:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:31:04] Production.INFO: count ==21
[2025-01-09 07:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:31:04] Production.INFO: count ==21
[2025-01-09 07:31:04] Production.ERROR: done
[2025-01-09 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208062') start
[2025-01-09 07:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208062') end
[2025-01-09 07:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:31:04] Production.INFO: 1
[2025-01-09 07:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:31:04] Production.INFO: ==3310== Releasing lock...
[2025-01-09 07:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:31:05
[end_date_ymd] => 2025-01-09 07:31:05
[RateCDR] => 1
)
[2025-01-09 07:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:31:05' and `end` < '2025-01-09 07:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:31:11] Production.ERROR: CronJobId end10
[2025-01-09 07:31:11] Production.INFO: ==3304== Releasing lock...
[2025-01-09 07:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:31:12] Production.INFO: call_cost start
[2025-01-09 07:31:12] Production.INFO: call_cost end
[2025-01-09 07:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:31:13] Production.INFO: ==3300== Releasing lock...
[2025-01-09 07:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:31:18] Production.INFO: count ==54
[2025-01-09 07:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:31:05 - End Time 2025-01-09 07:31:05
[2025-01-09 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208063', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208063', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208063', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208063', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:31:18] Production.INFO: ProcessCDR(1,14208063,1,1,2)
[2025-01-09 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208063', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208063', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:31:22] Production.INFO: ==3308== Releasing lock...
[2025-01-09 07:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:31:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:32:01] Production.INFO: ==3363== Lock acquired, processing the job...
[2025-01-09 12:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:32:01] Production.INFO: neon service started
[2025-01-09 12:32:01] Production.INFO: neon service started
[2025-01-09 12:32:01] Production.INFO: ==3363== Releasing lock...
[2025-01-09 12:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:32:01] Production.INFO: ==3367== Lock acquired, processing the job...
[2025-01-09 12:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:32:01] Production.INFO: ==3367== Releasing lock...
[2025-01-09 12:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:32:02] Production.INFO: ==3365== Lock acquired, processing the job...
[2025-01-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:32:02] Production.INFO: ==3365== Releasing lock...
[2025-01-09 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:32:03] Production.INFO: ==3370== Lock acquired, processing the job...
[2025-01-09 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:32:03] Production.INFO: ==3374== Lock acquired, processing the job...
[2025-01-09 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:32:03] Production.INFO: ==3376== Lock acquired, processing the job...
[2025-01-09 07:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:32:03] Production.INFO: ==3372== Lock acquired, processing the job...
[2025-01-09 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:32:03] Production.INFO: Account Balance Start.
[2025-01-09 07:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:32:03] Production.INFO: 117
[2025-01-09 07:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:32:03] Production.INFO: ==3378== Lock acquired, processing the job...
[2025-01-09 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:32:03] Production.INFO: Total Charge 0
[2025-01-09 07:32:03] Production.INFO: ==3380== Lock acquired, processing the job...
[2025-01-09 07:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:32:03] Production.INFO: CreateAllLog End
[2025-01-09 07:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:32:03] Production.INFO: count ==21
[2025-01-09 07:32:03] Production.INFO: ==3372== Releasing lock...
[2025-01-09 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:32:03] Production.INFO: count ==21
[2025-01-09 07:32:03] Production.ERROR: done
[2025-01-09 07:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208067') start
[2025-01-09 07:32:04] Production.ERROR: done
[2025-01-09 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208067') end
[2025-01-09 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:32:04] Production.INFO: 1
[2025-01-09 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:32:04] Production.INFO: ==3380== Releasing lock...
[2025-01-09 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:32:04] Production.INFO: Account Balance End.
[2025-01-09 07:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:32:04] Production.INFO: ==3376== Releasing lock...
[2025-01-09 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:32:04
[end_date_ymd] => 2025-01-09 07:32:04
[RateCDR] => 1
)
[2025-01-09 07:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:32:04' and `end` < '2025-01-09 07:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:32:10] Production.ERROR: CronJobId end10
[2025-01-09 07:32:10] Production.INFO: ==3374== Releasing lock...
[2025-01-09 07:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:32:12] Production.INFO: call_cost start
[2025-01-09 07:32:12] Production.INFO: call_cost end
[2025-01-09 07:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:32:13] Production.INFO: ==3370== Releasing lock...
[2025-01-09 07:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:32:18] Production.INFO: count ==54
[2025-01-09 07:32:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:32:04 - End Time 2025-01-09 07:32:04
[2025-01-09 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208068', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208068', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208068', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208068', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:32:18] Production.INFO: ProcessCDR(1,14208068,1,1,2)
[2025-01-09 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208068', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208068', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:32:21] Production.INFO: ==3378== Releasing lock...
[2025-01-09 07:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:32:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:33:01] Production.INFO: ==3436== Lock acquired, processing the job...
[2025-01-09 12:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:33:01] Production.INFO: neon service started
[2025-01-09 12:33:01] Production.INFO: neon service started
[2025-01-09 12:33:01] Production.INFO: ==3436== Releasing lock...
[2025-01-09 12:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:33:02] Production.INFO: ==3438== Lock acquired, processing the job...
[2025-01-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:33:02] Production.INFO: ==3438== Releasing lock...
[2025-01-09 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:33:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:33:02] Production.INFO: ==3440== Lock acquired, processing the job...
[2025-01-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:33:02] Production.INFO: ==3440== Releasing lock...
[2025-01-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:33:03] Production.INFO: ==3442== Lock acquired, processing the job...
[2025-01-09 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:33:03] Production.INFO: ==3444== Lock acquired, processing the job...
[2025-01-09 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:33:03] Production.INFO: ==3446== Lock acquired, processing the job...
[2025-01-09 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:33:03] Production.INFO: ==3448== Lock acquired, processing the job...
[2025-01-09 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:33:03] Production.INFO: ==3450== Lock acquired, processing the job...
[2025-01-09 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:33:03] Production.INFO: Account Balance Start.
[2025-01-09 07:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:33:03] Production.INFO: 117
[2025-01-09 07:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:33:03] Production.INFO: Total Charge 0
[2025-01-09 07:33:03] Production.INFO: CreateAllLog End
[2025-01-09 07:33:03] Production.INFO: ==3452== Lock acquired, processing the job...
[2025-01-09 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:33:03] Production.INFO: ==3444== Releasing lock...
[2025-01-09 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:33:03] Production.INFO: Account Balance End.
[2025-01-09 07:33:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:33:03] Production.INFO: ==3448== Releasing lock...
[2025-01-09 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:33:04] Production.ERROR: done
[2025-01-09 07:33:04] Production.INFO: count ==21
[2025-01-09 07:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:33:04] Production.INFO: count ==21
[2025-01-09 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208072') start
[2025-01-09 07:33:04] Production.ERROR: done
[2025-01-09 07:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208072') end
[2025-01-09 07:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:33:04] Production.INFO: 1
[2025-01-09 07:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:33:04] Production.INFO: ==3452== Releasing lock...
[2025-01-09 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:33:05
[end_date_ymd] => 2025-01-09 07:33:05
[RateCDR] => 1
)
[2025-01-09 07:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:33:05' and `end` < '2025-01-09 07:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:33:10] Production.ERROR: CronJobId end10
[2025-01-09 07:33:10] Production.INFO: ==3446== Releasing lock...
[2025-01-09 07:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:33:12] Production.INFO: call_cost start
[2025-01-09 07:33:12] Production.INFO: call_cost end
[2025-01-09 07:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:33:13] Production.INFO: ==3442== Releasing lock...
[2025-01-09 07:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:33:19] Production.INFO: count ==54
[2025-01-09 07:33:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:33:05 - End Time 2025-01-09 07:33:05
[2025-01-09 07:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208073', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208073', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208073', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208073', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:33:19] Production.INFO: ProcessCDR(1,14208073,1,1,2)
[2025-01-09 07:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208073', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208073', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:33:22] Production.INFO: ==3450== Releasing lock...
[2025-01-09 07:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:33:22] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:34:02] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-01-09 12:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:34:02] Production.INFO: neon service started
[2025-01-09 12:34:02] Production.INFO: neon service started
[2025-01-09 12:34:02] Production.INFO: ==3525== Releasing lock...
[2025-01-09 12:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:34:02] Production.INFO: ==3527== Lock acquired, processing the job...
[2025-01-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:34:02] Production.INFO: ==3527== Releasing lock...
[2025-01-09 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:34:03] Production.INFO: ==3530== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:34:03] Production.INFO: ==3530== Releasing lock...
[2025-01-09 12:34:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:34:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:34:03] Production.INFO: ==3534== Lock acquired, processing the job...
[2025-01-09 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:34:03] Production.INFO: ==3532== Lock acquired, processing the job...
[2025-01-09 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:34:03] Production.INFO: ==3542== Lock acquired, processing the job...
[2025-01-09 07:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:34:03] Production.INFO: ==3536== Lock acquired, processing the job...
[2025-01-09 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:34:04] Production.INFO: ==3538== Lock acquired, processing the job...
[2025-01-09 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:34:04] Production.INFO: ==3540== Lock acquired, processing the job...
[2025-01-09 07:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:34:04] Production.INFO: ==3534== Releasing lock...
[2025-01-09 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:34:04] Production.INFO: Account Balance Start.
[2025-01-09 07:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:34:04] Production.INFO: 117
[2025-01-09 07:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:34:04] Production.INFO: count ==21
[2025-01-09 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:34:04] Production.INFO: count ==21
[2025-01-09 07:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208076') start
[2025-01-09 07:34:04] Production.INFO: Total Charge 0
[2025-01-09 07:34:04] Production.INFO: CreateAllLog End
[2025-01-09 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208076') end
[2025-01-09 07:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:34:04] Production.INFO: 1
[2025-01-09 07:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:34:04] Production.ERROR: done
[2025-01-09 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:34:04] Production.INFO: ==3542== Releasing lock...
[2025-01-09 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:34:04] Production.ERROR: done
[2025-01-09 07:34:04] Production.INFO: Account Balance End.
[2025-01-09 07:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:34:04] Production.INFO: ==3538== Releasing lock...
[2025-01-09 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:34:05
[end_date_ymd] => 2025-01-09 07:34:05
[RateCDR] => 1
)
[2025-01-09 07:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:34:05' and `end` < '2025-01-09 07:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:34:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:34:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:34:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:34:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:34:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:34:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:34:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:34:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:34:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:34:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:34:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:34:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:34:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:34:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:34:15] Production.ERROR: CronJobId end10
[2025-01-09 07:34:15] Production.INFO: ==3536== Releasing lock...
[2025-01-09 07:34:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:34:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:34:15] Production.INFO: call_cost start
[2025-01-09 07:34:15] Production.INFO: call_cost end
[2025-01-09 07:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:34:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:34:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:34:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:34:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:34:16] Production.INFO: ==3532== Releasing lock...
[2025-01-09 07:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:34:18] Production.INFO: count ==54
[2025-01-09 07:34:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:34:05 - End Time 2025-01-09 07:34:05
[2025-01-09 07:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208078', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208078', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208078', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208078', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:34:18] Production.INFO: ProcessCDR(1,14208078,1,1,2)
[2025-01-09 07:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208078', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208078', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:34:21] Production.INFO: ==3540== Releasing lock...
[2025-01-09 07:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:34:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:35:01] Production.INFO: ==3596== Lock acquired, processing the job...
[2025-01-09 12:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:35:01] Production.INFO: neon service started
[2025-01-09 12:35:01] Production.INFO: neon service started
[2025-01-09 12:35:01] Production.INFO: ==3596== Releasing lock...
[2025-01-09 12:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:35:02] Production.INFO: ==3600== Lock acquired, processing the job...
[2025-01-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:35:02] Production.INFO: ==3600== Releasing lock...
[2025-01-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:35:02] Production.INFO: ==3598== Lock acquired, processing the job...
[2025-01-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:35:02] Production.INFO: ==3598== Releasing lock...
[2025-01-09 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:35:03] Production.INFO: ==3604== Lock acquired, processing the job...
[2025-01-09 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:35:03] Production.INFO: ==3602== Lock acquired, processing the job...
[2025-01-09 07:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:35:03] Production.INFO: ==3613== Lock acquired, processing the job...
[2025-01-09 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:35:03] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-01-09 07:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:35:03] Production.INFO: ==3606== Lock acquired, processing the job...
[2025-01-09 07:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:35:03] Production.INFO: count ==21
[2025-01-09 07:35:03] Production.INFO: ==3610== Lock acquired, processing the job...
[2025-01-09 07:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:35:03] Production.INFO: count ==21
[2025-01-09 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208081') start
[2025-01-09 07:35:03] Production.INFO: Account Balance Start.
[2025-01-09 07:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:35:03] Production.INFO: 117
[2025-01-09 07:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:35:03] Production.INFO: ==3604== Releasing lock...
[2025-01-09 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208081') end
[2025-01-09 07:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:35:03] Production.INFO: 1
[2025-01-09 07:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:35:03] Production.INFO: Total Charge 0
[2025-01-09 07:35:03] Production.INFO: CreateAllLog End
[2025-01-09 07:35:03] Production.INFO: ==3613== Releasing lock...
[2025-01-09 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:35:04] Production.ERROR: done
[2025-01-09 07:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:35:04] Production.INFO: Account Balance End.
[2025-01-09 07:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:35:04] Production.INFO: ==3608== Releasing lock...
[2025-01-09 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:35:04] Production.ERROR: done
[2025-01-09 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:35:05
[end_date_ymd] => 2025-01-09 07:35:05
[RateCDR] => 1
)
[2025-01-09 07:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:35:05' and `end` < '2025-01-09 07:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:35:13] Production.ERROR: CronJobId end10
[2025-01-09 07:35:13] Production.INFO: ==3606== Releasing lock...
[2025-01-09 07:35:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:35:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:35:14] Production.INFO: call_cost start
[2025-01-09 07:35:14] Production.INFO: call_cost end
[2025-01-09 07:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:35:15] Production.INFO: ==3602== Releasing lock...
[2025-01-09 07:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:35:18] Production.INFO: count ==54
[2025-01-09 07:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:35:05 - End Time 2025-01-09 07:35:05
[2025-01-09 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208083', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208083', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208083', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208083', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:35:18] Production.INFO: ProcessCDR(1,14208083,1,1,2)
[2025-01-09 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208083', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208083', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:35:21] Production.INFO: ==3610== Releasing lock...
[2025-01-09 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:36:02] Production.INFO: ==3704== Lock acquired, processing the job...
[2025-01-09 12:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:36:02] Production.INFO: neon service started
[2025-01-09 12:36:02] Production.INFO: neon service started
[2025-01-09 12:36:02] Production.INFO: ==3704== Releasing lock...
[2025-01-09 12:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:36:02] Production.INFO: ==3706== Lock acquired, processing the job...
[2025-01-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:36:02] Production.INFO: ==3706== Releasing lock...
[2025-01-09 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:36:02] Production.INFO: ==3708== Lock acquired, processing the job...
[2025-01-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:36:03] Production.INFO: ==3708== Releasing lock...
[2025-01-09 12:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:36:03] Production.INFO: ==3713== Lock acquired, processing the job...
[2025-01-09 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:36:03] Production.INFO: ==3711== Lock acquired, processing the job...
[2025-01-09 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:36:03] Production.INFO: ==3715== Lock acquired, processing the job...
[2025-01-09 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:36:03] Production.INFO: ==3719== Lock acquired, processing the job...
[2025-01-09 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:36:03] Production.INFO: ==3713== Releasing lock...
[2025-01-09 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:36:03] Production.INFO: ==3721== Lock acquired, processing the job...
[2025-01-09 07:36:03] Production.INFO: ==3717== Lock acquired, processing the job...
[2025-01-09 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:36:04] Production.INFO: Account Balance Start.
[2025-01-09 07:36:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:36:04] Production.INFO: 117
[2025-01-09 07:36:04] Production.INFO: count ==21
[2025-01-09 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:36:04] Production.INFO: count ==21
[2025-01-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208087') start
[2025-01-09 07:36:04] Production.ERROR: done
[2025-01-09 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:36:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208087') end
[2025-01-09 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:36:04] Production.INFO: 1
[2025-01-09 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:36:04] Production.INFO: ==3721== Releasing lock...
[2025-01-09 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:36:04] Production.ERROR: done
[2025-01-09 07:36:04] Production.INFO: Total Charge 0
[2025-01-09 07:36:04] Production.INFO: CreateAllLog End
[2025-01-09 07:36:04] Production.INFO: Account Balance End.
[2025-01-09 07:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:36:04] Production.INFO: ==3717== Releasing lock...
[2025-01-09 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:36:05
[end_date_ymd] => 2025-01-09 07:36:05
[RateCDR] => 1
)
[2025-01-09 07:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:36:05' and `end` < '2025-01-09 07:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:36:11] Production.ERROR: CronJobId end10
[2025-01-09 07:36:11] Production.INFO: ==3715== Releasing lock...
[2025-01-09 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:36:12] Production.INFO: call_cost start
[2025-01-09 07:36:12] Production.INFO: call_cost end
[2025-01-09 07:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:36:13] Production.INFO: ==3711== Releasing lock...
[2025-01-09 07:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:36:17] Production.INFO: count ==54
[2025-01-09 07:36:17] Production.ERROR: pbx CDR StartTime 2025-01-09 04:36:05 - End Time 2025-01-09 07:36:05
[2025-01-09 07:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208088', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208088', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208088', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208088', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:36:17] Production.INFO: ProcessCDR(1,14208088,1,1,2)
[2025-01-09 07:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208088', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208088', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:36:21] Production.INFO: ==3719== Releasing lock...
[2025-01-09 07:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:36:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:37:01] Production.INFO: ==3773== Lock acquired, processing the job...
[2025-01-09 12:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:37:01] Production.INFO: neon service started
[2025-01-09 12:37:01] Production.INFO: neon service started
[2025-01-09 12:37:01] Production.INFO: ==3773== Releasing lock...
[2025-01-09 12:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:37:01] Production.INFO: ==3777== Lock acquired, processing the job...
[2025-01-09 12:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:37:01] Production.INFO: ==3777== Releasing lock...
[2025-01-09 12:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:37:02] Production.INFO: ==3775== Lock acquired, processing the job...
[2025-01-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:37:02] Production.INFO: ==3775== Releasing lock...
[2025-01-09 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:37:03] Production.INFO: ==3786== Lock acquired, processing the job...
[2025-01-09 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:37:03] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-01-09 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:37:03] Production.INFO: Account Balance Start.
[2025-01-09 07:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:37:03] Production.INFO: 117
[2025-01-09 07:37:03] Production.INFO: ==3788== Lock acquired, processing the job...
[2025-01-09 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:37:03] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-01-09 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:37:03] Production.INFO: ==3784== Lock acquired, processing the job...
[2025-01-09 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:37:03] Production.INFO: Total Charge 0
[2025-01-09 07:37:03] Production.INFO: CreateAllLog End
[2025-01-09 07:37:03] Production.INFO: ==3790== Lock acquired, processing the job...
[2025-01-09 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:37:03] Production.ERROR: done
[2025-01-09 07:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:37:03] Production.INFO: count ==21
[2025-01-09 07:37:03] Production.ERROR: done
[2025-01-09 07:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:37:03] Production.INFO: count ==21
[2025-01-09 07:37:03] Production.INFO: Account Balance End.
[2025-01-09 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208092') start
[2025-01-09 07:37:03] Production.INFO: ==3782== Releasing lock...
[2025-01-09 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:37:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:37:03] Production.INFO: ==3786== Releasing lock...
[2025-01-09 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208092') end
[2025-01-09 07:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:37:03] Production.INFO: 1
[2025-01-09 07:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:37:03] Production.INFO: ==3790== Releasing lock...
[2025-01-09 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:37:04
[end_date_ymd] => 2025-01-09 07:37:04
[RateCDR] => 1
)
[2025-01-09 07:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:37:04' and `end` < '2025-01-09 07:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:37:10] Production.ERROR: CronJobId end10
[2025-01-09 07:37:10] Production.INFO: ==3784== Releasing lock...
[2025-01-09 07:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:37:13] Production.INFO: call_cost start
[2025-01-09 07:37:13] Production.INFO: call_cost end
[2025-01-09 07:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:37:14] Production.INFO: ==3780== Releasing lock...
[2025-01-09 07:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:37:18] Production.INFO: count ==54
[2025-01-09 07:37:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:37:04 - End Time 2025-01-09 07:37:04
[2025-01-09 07:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208093', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208093', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208093', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208093', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:37:18] Production.INFO: ProcessCDR(1,14208093,1,1,2)
[2025-01-09 07:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208093', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208093', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:37:21] Production.INFO: ==3788== Releasing lock...
[2025-01-09 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:38:01] Production.INFO: ==3848== Lock acquired, processing the job...
[2025-01-09 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:38:01] Production.INFO: neon service started
[2025-01-09 12:38:01] Production.INFO: neon service started
[2025-01-09 12:38:01] Production.INFO: ==3848== Releasing lock...
[2025-01-09 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:38:02] Production.INFO: ==3850== Lock acquired, processing the job...
[2025-01-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:38:02] Production.INFO: ==3850== Releasing lock...
[2025-01-09 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:38:02] Production.INFO: ==3852== Lock acquired, processing the job...
[2025-01-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:38:02] Production.INFO: ==3852== Releasing lock...
[2025-01-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:38:03] Production.INFO: ==3855== Lock acquired, processing the job...
[2025-01-09 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:38:03] Production.INFO: ==3857== Lock acquired, processing the job...
[2025-01-09 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:38:03] Production.INFO: ==3859== Lock acquired, processing the job...
[2025-01-09 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:38:03] Production.INFO: ==3861== Lock acquired, processing the job...
[2025-01-09 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:38:03] Production.INFO: ==3863== Lock acquired, processing the job...
[2025-01-09 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:38:03] Production.INFO: Account Balance Start.
[2025-01-09 07:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:38:03] Production.INFO: 117
[2025-01-09 07:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:38:03] Production.INFO: ==3865== Lock acquired, processing the job...
[2025-01-09 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:38:03] Production.INFO: Total Charge 0
[2025-01-09 07:38:03] Production.INFO: CreateAllLog End
[2025-01-09 07:38:03] Production.INFO: ==3857== Releasing lock...
[2025-01-09 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:38:03] Production.INFO: count ==21
[2025-01-09 07:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:38:03] Production.INFO: count ==21
[2025-01-09 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208097') start
[2025-01-09 07:38:03] Production.ERROR: done
[2025-01-09 07:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:38:03] Production.INFO: Account Balance End.
[2025-01-09 07:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:38:04] Production.INFO: ==3861== Releasing lock...
[2025-01-09 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208097') end
[2025-01-09 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:38:04] Production.INFO: 1
[2025-01-09 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:38:04] Production.ERROR: done
[2025-01-09 07:38:04] Production.INFO: ==3865== Releasing lock...
[2025-01-09 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:38:05
[end_date_ymd] => 2025-01-09 07:38:05
[RateCDR] => 1
)
[2025-01-09 07:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:38:05' and `end` < '2025-01-09 07:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:38:10] Production.ERROR: CronJobId end10
[2025-01-09 07:38:10] Production.INFO: ==3859== Releasing lock...
[2025-01-09 07:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:38:13] Production.INFO: call_cost start
[2025-01-09 07:38:13] Production.INFO: call_cost end
[2025-01-09 07:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:38:14] Production.INFO: ==3855== Releasing lock...
[2025-01-09 07:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:38:18] Production.INFO: count ==55
[2025-01-09 07:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:38:05 - End Time 2025-01-09 07:38:05
[2025-01-09 07:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208098', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208098', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208098', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208098', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:38:18] Production.INFO: ProcessCDR(1,14208098,1,1,2)
[2025-01-09 07:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208098', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208098', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:38:21] Production.INFO: ==3863== Releasing lock...
[2025-01-09 07:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:38:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:39:01] Production.INFO: ==3918== Lock acquired, processing the job...
[2025-01-09 12:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:39:01] Production.INFO: neon service started
[2025-01-09 12:39:01] Production.INFO: neon service started
[2025-01-09 12:39:01] Production.INFO: ==3918== Releasing lock...
[2025-01-09 12:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:39:02] Production.INFO: ==3920== Lock acquired, processing the job...
[2025-01-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:39:02] Production.INFO: ==3922== Lock acquired, processing the job...
[2025-01-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:39:02] Production.INFO: ==3920== Releasing lock...
[2025-01-09 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:39:02] Production.INFO: ==3922== Releasing lock...
[2025-01-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:39:03] Production.INFO: ==3924== Lock acquired, processing the job...
[2025-01-09 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:39:03] Production.INFO: ==3926== Lock acquired, processing the job...
[2025-01-09 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:39:03] Production.INFO: ==3928== Lock acquired, processing the job...
[2025-01-09 07:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:39:03] Production.INFO: ==3931== Lock acquired, processing the job...
[2025-01-09 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:39:03] Production.INFO: Account Balance Start.
[2025-01-09 07:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:39:03] Production.INFO: 117
[2025-01-09 07:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:39:03] Production.INFO: ==3933== Lock acquired, processing the job...
[2025-01-09 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:39:03] Production.INFO: ==3935== Lock acquired, processing the job...
[2025-01-09 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:39:03] Production.INFO: Total Charge 0
[2025-01-09 07:39:03] Production.INFO: CreateAllLog End
[2025-01-09 07:39:03] Production.INFO: ==3926== Releasing lock...
[2025-01-09 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:39:03] Production.INFO: Account Balance End.
[2025-01-09 07:39:03] Production.INFO: count ==21
[2025-01-09 07:39:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:39:03] Production.INFO: ==3931== Releasing lock...
[2025-01-09 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:39:03] Production.ERROR: done
[2025-01-09 07:39:03] Production.INFO: count ==21
[2025-01-09 07:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208102') start
[2025-01-09 07:39:04] Production.ERROR: done
[2025-01-09 07:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208102') end
[2025-01-09 07:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:39:04] Production.INFO: 1
[2025-01-09 07:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:39:04] Production.INFO: ==3935== Releasing lock...
[2025-01-09 07:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:39:05
[end_date_ymd] => 2025-01-09 07:39:05
[RateCDR] => 1
)
[2025-01-09 07:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:39:05' and `end` < '2025-01-09 07:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:39:11] Production.ERROR: CronJobId end10
[2025-01-09 07:39:11] Production.INFO: ==3928== Releasing lock...
[2025-01-09 07:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:39:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:39:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:39:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:39:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:39:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:39:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:39:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:39:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:39:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:39:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:39:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:39:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:39:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:39:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:39:12] Production.INFO: call_cost start
[2025-01-09 07:39:12] Production.INFO: call_cost end
[2025-01-09 07:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:39:13] Production.INFO: ==3924== Releasing lock...
[2025-01-09 07:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:39:18] Production.INFO: count ==55
[2025-01-09 07:39:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:39:05 - End Time 2025-01-09 07:39:05
[2025-01-09 07:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208103', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208103', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208103', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208103', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:39:18] Production.INFO: ProcessCDR(1,14208103,1,1,2)
[2025-01-09 07:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208103', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208103', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:39:21] Production.INFO: ==3933== Releasing lock...
[2025-01-09 07:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:39:21] Production.INFO: 28 MB #Memory Used#
[2025-01-09 12:40:02] Production.INFO: ==3988== Lock acquired, processing the job...
[2025-01-09 12:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:40:02] Production.INFO: neon service started
[2025-01-09 12:40:02] Production.INFO: neon service started
[2025-01-09 12:40:02] Production.INFO: ==3988== Releasing lock...
[2025-01-09 12:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:40:02] Production.INFO: ==3990== Lock acquired, processing the job...
[2025-01-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:40:02] Production.INFO: ==3990== Releasing lock...
[2025-01-09 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:40:02] Production.INFO: ==3992== Lock acquired, processing the job...
[2025-01-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:40:03] Production.INFO: ==3992== Releasing lock...
[2025-01-09 12:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:40:03] Production.INFO: ==3995== Lock acquired, processing the job...
[2025-01-09 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 07:40:04] Production.INFO: ==3997== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 07:40:04] Production.INFO: ==4001== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 07:40:04] Production.INFO: ==3995== Releasing lock...
[2025-01-09 07:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 07:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 07:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:40:04] Production.INFO: ==3999== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:40:04] Production.INFO: ==4007== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 07:40:04] Production.INFO: ==4003== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:40:04] Production.INFO: ==4005== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:40:04] Production.INFO: Account Balance Start.
[2025-01-09 07:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:40:04] Production.INFO: 117
[2025-01-09 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:40:04] Production.INFO: ==4009== Lock acquired, processing the job...
[2025-01-09 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:40:04] Production.ERROR: done
[2025-01-09 07:40:04] Production.INFO: ==3999== Releasing lock...
[2025-01-09 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:40:04] Production.INFO: Total Charge 0
[2025-01-09 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:40:04] Production.INFO: CreateAllLog End
[2025-01-09 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208107', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 07:40:04] Production.INFO: count ==21
[2025-01-09 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:40:04] Production.INFO: count ==21
[2025-01-09 07:40:04] Production.ERROR: done
[2025-01-09 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208108') start
[2025-01-09 07:40:04] Production.INFO: Account Balance End.
[2025-01-09 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208108') end
[2025-01-09 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:40:04] Production.INFO: 1
[2025-01-09 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:40:04] Production.ERROR: done
[2025-01-09 07:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:40:04] Production.INFO: ==4003== Releasing lock...
[2025-01-09 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:40:04] Production.INFO: ==4009== Releasing lock...
[2025-01-09 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:40:06
[end_date_ymd] => 2025-01-09 07:40:06
[RateCDR] => 1
)
[2025-01-09 07:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:40:06' and `end` < '2025-01-09 07:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208107', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 07:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 07:40:08] Production.INFO: ProcessCDR(1,14208107,1,1,2)
[2025-01-09 07:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208107,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208107,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:40:08] Production.INFO: ==4007== Releasing lock...
[2025-01-09 07:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 07:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:40:12] Production.ERROR: CronJobId end10
[2025-01-09 07:40:12] Production.INFO: ==4001== Releasing lock...
[2025-01-09 07:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:40:15] Production.INFO: call_cost start
[2025-01-09 07:40:15] Production.INFO: call_cost end
[2025-01-09 07:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:40:16] Production.INFO: ==3997== Releasing lock...
[2025-01-09 07:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:40:19] Production.INFO: count ==76
[2025-01-09 07:40:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:40:06 - End Time 2025-01-09 07:40:06
[2025-01-09 07:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208109', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208109', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208109', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208109', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:40:19] Production.INFO: ProcessCDR(1,14208109,1,1,2)
[2025-01-09 07:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208109', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208109', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:40:22] Production.INFO: ==4005== Releasing lock...
[2025-01-09 07:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:40:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:41:01] Production.INFO: ==4063== Lock acquired, processing the job...
[2025-01-09 12:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:41:01] Production.INFO: neon service started
[2025-01-09 12:41:01] Production.INFO: neon service started
[2025-01-09 12:41:01] Production.INFO: ==4063== Releasing lock...
[2025-01-09 12:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:41:01] Production.INFO: ==4067== Lock acquired, processing the job...
[2025-01-09 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:41:01] Production.INFO: ==4067== Releasing lock...
[2025-01-09 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:41:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:41:02] Production.INFO: ==4065== Lock acquired, processing the job...
[2025-01-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:41:02] Production.INFO: ==4065== Releasing lock...
[2025-01-09 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:41:03] Production.INFO: ==4070== Lock acquired, processing the job...
[2025-01-09 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:41:03] Production.INFO: ==4072== Lock acquired, processing the job...
[2025-01-09 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:41:03] Production.INFO: ==4078== Lock acquired, processing the job...
[2025-01-09 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:41:03] Production.INFO: ==4074== Lock acquired, processing the job...
[2025-01-09 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:41:03] Production.INFO: ==4076== Lock acquired, processing the job...
[2025-01-09 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:41:03] Production.INFO: ==4080== Lock acquired, processing the job...
[2025-01-09 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:41:03] Production.INFO: ==4072== Releasing lock...
[2025-01-09 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:41:03] Production.INFO: Account Balance Start.
[2025-01-09 07:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:41:03] Production.INFO: 117
[2025-01-09 07:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:41:03] Production.ERROR: done
[2025-01-09 07:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 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-01-09 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:41:03] Production.INFO: count ==21
[2025-01-09 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-01-09 07:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:41:03] Production.INFO: count ==21
[2025-01-09 07:41:03] Production.ERROR: done
[2025-01-09 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208113') start
[2025-01-09 07:41:03] Production.INFO: Total Charge 0
[2025-01-09 07:41:03] Production.INFO: CreateAllLog End
[2025-01-09 07:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208113') end
[2025-01-09 07:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:41:03] Production.INFO: 1
[2025-01-09 07:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:41:03] Production.INFO: ==4080== Releasing lock...
[2025-01-09 07:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:41:03] Production.INFO: Account Balance End.
[2025-01-09 07:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:41:04] Production.INFO: ==4076== Releasing lock...
[2025-01-09 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:41:04
[end_date_ymd] => 2025-01-09 07:41:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 04:41:04' and `end` < '2025-01-09 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-01-09 07:41:10] Production.ERROR: CronJobId end10
[2025-01-09 07:41:10] Production.INFO: ==4074== Releasing lock...
[2025-01-09 07:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:41:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:41:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:41:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:41:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:41:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:41:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:41:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:41:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:41:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:41:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:41:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:41:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:41:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:41:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:41:12] Production.INFO: call_cost start
[2025-01-09 07:41:12] Production.INFO: call_cost end
[2025-01-09 07:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:41:13] Production.INFO: ==4070== Releasing lock...
[2025-01-09 07:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:41:18] Production.INFO: count ==79
[2025-01-09 07:41:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:41:04 - End Time 2025-01-09 07:41:04
[2025-01-09 07:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208114', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208114', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208114', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208114', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:41:18] Production.INFO: ProcessCDR(1,14208114,1,1,2)
[2025-01-09 07:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208114', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208114', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:41:21] Production.INFO: ==4078== Releasing lock...
[2025-01-09 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:41:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:42:01] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-01-09 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:42:01] Production.INFO: neon service started
[2025-01-09 12:42:01] Production.INFO: neon service started
[2025-01-09 12:42:01] Production.INFO: ==4135== Releasing lock...
[2025-01-09 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:42:02] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-01-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:42:02] Production.INFO: ==4139== Lock acquired, processing the job...
[2025-01-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:42:02] Production.INFO: ==4139== Releasing lock...
[2025-01-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:42:02] Production.INFO: ==4137== Releasing lock...
[2025-01-09 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:42:03] Production.INFO: ==4146== Lock acquired, processing the job...
[2025-01-09 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:42:03] Production.INFO: ==4152== Lock acquired, processing the job...
[2025-01-09 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:42:03] Production.INFO: count ==21
[2025-01-09 07:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:42:03] Production.INFO: ==4142== Lock acquired, processing the job...
[2025-01-09 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:42:03] Production.INFO: count ==21
[2025-01-09 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208115') start
[2025-01-09 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:42:03] Production.INFO: ==4144== Lock acquired, processing the job...
[2025-01-09 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208115') end
[2025-01-09 07:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:42:04] Production.INFO: 1
[2025-01-09 07:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:42:04] Production.INFO: ==4148== Lock acquired, processing the job...
[2025-01-09 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:42:04] Production.INFO: ==4152== Releasing lock...
[2025-01-09 07:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:42:04] Production.INFO: ==4150== Lock acquired, processing the job...
[2025-01-09 07:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:42:04] Production.INFO: Account Balance Start.
[2025-01-09 07:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:42:04] Production.INFO: 117
[2025-01-09 07:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:42:04] Production.INFO: Total Charge 0
[2025-01-09 07:42:04] Production.INFO: CreateAllLog End
[2025-01-09 07:42:04] Production.ERROR: done
[2025-01-09 07:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:42:04] Production.INFO: Account Balance End.
[2025-01-09 07:42:04] Production.INFO: ==4144== Releasing lock...
[2025-01-09 07:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:42:04] Production.ERROR: done
[2025-01-09 07:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:42:04] Production.INFO: ==4148== Releasing lock...
[2025-01-09 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:42:05
[end_date_ymd] => 2025-01-09 07:42:05
[RateCDR] => 1
)
[2025-01-09 07:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:42:05' and `end` < '2025-01-09 07:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:42:10] Production.ERROR: CronJobId end10
[2025-01-09 07:42:10] Production.INFO: ==4146== Releasing lock...
[2025-01-09 07:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:42:13] Production.INFO: call_cost start
[2025-01-09 07:42:13] Production.INFO: call_cost end
[2025-01-09 07:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:42:13] Production.INFO: ==4142== Releasing lock...
[2025-01-09 07:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:42:18] Production.INFO: count ==79
[2025-01-09 07:42:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:42:05 - End Time 2025-01-09 07:42:05
[2025-01-09 07:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208119', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208119', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208119', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208119', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:42:18] Production.INFO: ProcessCDR(1,14208119,1,1,2)
[2025-01-09 07:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208119', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208119', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:42:21] Production.INFO: ==4150== Releasing lock...
[2025-01-09 07:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:42:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:43:02] Production.INFO: ==4205== Lock acquired, processing the job...
[2025-01-09 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:43:02] Production.INFO: neon service started
[2025-01-09 12:43:02] Production.INFO: neon service started
[2025-01-09 12:43:02] Production.INFO: ==4205== Releasing lock...
[2025-01-09 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:43:02] Production.INFO: ==4207== Lock acquired, processing the job...
[2025-01-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:43:02] Production.INFO: ==4209== Lock acquired, processing the job...
[2025-01-09 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:43:02] Production.INFO: ==4207== Releasing lock...
[2025-01-09 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:43:03] Production.INFO: ==4209== Releasing lock...
[2025-01-09 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:43:03] Production.INFO: ==4220== Lock acquired, processing the job...
[2025-01-09 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:43:03] Production.INFO: ==4222== Lock acquired, processing the job...
[2025-01-09 07:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:43:03] Production.INFO: ==4212== Lock acquired, processing the job...
[2025-01-09 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:43:04] Production.INFO: ==4214== Lock acquired, processing the job...
[2025-01-09 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:43:04] Production.INFO: count ==21
[2025-01-09 07:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:43:04] Production.INFO: count ==21
[2025-01-09 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208120') start
[2025-01-09 07:43:04] Production.INFO: ==4216== Lock acquired, processing the job...
[2025-01-09 07:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:43:04] Production.INFO: ==4218== Lock acquired, processing the job...
[2025-01-09 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:43:04] Production.ERROR: done
[2025-01-09 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208120') end
[2025-01-09 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:43:04] Production.INFO: 1
[2025-01-09 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:43:04] Production.INFO: Account Balance Start.
[2025-01-09 07:43:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:43:04] Production.INFO: 117
[2025-01-09 07:43:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:43:04] Production.INFO: ==4222== Releasing lock...
[2025-01-09 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:43:04] Production.ERROR: done
[2025-01-09 07:43:04] Production.INFO: Total Charge 0
[2025-01-09 07:43:04] Production.INFO: CreateAllLog End
[2025-01-09 07:43:04] Production.INFO: ==4214== Releasing lock...
[2025-01-09 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:43:04] Production.INFO: Account Balance End.
[2025-01-09 07:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:43:04] Production.INFO: ==4218== Releasing lock...
[2025-01-09 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:43:05
[end_date_ymd] => 2025-01-09 07:43:05
[RateCDR] => 1
)
[2025-01-09 07:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:43:05' and `end` < '2025-01-09 07:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:43:10] Production.ERROR: CronJobId end10
[2025-01-09 07:43:10] Production.INFO: ==4216== Releasing lock...
[2025-01-09 07:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:43:12] Production.INFO: call_cost start
[2025-01-09 07:43:12] Production.INFO: call_cost end
[2025-01-09 07:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:43:13] Production.INFO: ==4212== Releasing lock...
[2025-01-09 07:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:43:19] Production.INFO: count ==79
[2025-01-09 07:43:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:43:05 - End Time 2025-01-09 07:43:05
[2025-01-09 07:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208124', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208124', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208124', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208124', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:43:19] Production.INFO: ProcessCDR(1,14208124,1,1,2)
[2025-01-09 07:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208124', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208124', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:43:22] Production.INFO: ==4220== Releasing lock...
[2025-01-09 07:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:43:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:44:01] Production.INFO: ==4279== Lock acquired, processing the job...
[2025-01-09 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:44:01] Production.INFO: neon service started
[2025-01-09 12:44:01] Production.INFO: neon service started
[2025-01-09 12:44:01] Production.INFO: ==4279== Releasing lock...
[2025-01-09 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:44:02] Production.INFO: ==4281== Lock acquired, processing the job...
[2025-01-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:44:02] Production.INFO: ==4283== Lock acquired, processing the job...
[2025-01-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:44:02] Production.INFO: ==4283== Releasing lock...
[2025-01-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:44:02] Production.INFO: ==4281== Releasing lock...
[2025-01-09 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:44:03] Production.INFO: ==4286== Lock acquired, processing the job...
[2025-01-09 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:44:03] Production.INFO: ==4288== Lock acquired, processing the job...
[2025-01-09 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:44:03] Production.INFO: ==4294== Lock acquired, processing the job...
[2025-01-09 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:44:03] Production.INFO: ==4290== Lock acquired, processing the job...
[2025-01-09 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:44:03] Production.INFO: ==4292== Lock acquired, processing the job...
[2025-01-09 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:44:03] Production.INFO: ==4297== Lock acquired, processing the job...
[2025-01-09 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:44:03] Production.INFO: ==4288== Releasing lock...
[2025-01-09 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:44:03] Production.INFO: Account Balance Start.
[2025-01-09 07:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:44:03] Production.INFO: 117
[2025-01-09 07:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:44:03] Production.ERROR: done
[2025-01-09 07:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:44:04] Production.INFO: count ==21
[2025-01-09 07:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:44:04] Production.INFO: count ==21
[2025-01-09 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208128') start
[2025-01-09 07:44:04] Production.ERROR: done
[2025-01-09 07:44:04] Production.INFO: Total Charge 0
[2025-01-09 07:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208128') end
[2025-01-09 07:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:44:04] Production.INFO: 1
[2025-01-09 07:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:44:04] Production.INFO: CreateAllLog End
[2025-01-09 07:44:04] Production.INFO: ==4297== Releasing lock...
[2025-01-09 07:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:44:04] Production.INFO: Account Balance End.
[2025-01-09 07:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:44:04] Production.INFO: ==4292== Releasing lock...
[2025-01-09 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:44:05
[end_date_ymd] => 2025-01-09 07:44:05
[RateCDR] => 1
)
[2025-01-09 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-01-09 04:44:05' and `end` < '2025-01-09 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-01-09 07:44:11] Production.ERROR: CronJobId end10
[2025-01-09 07:44:11] Production.INFO: ==4290== Releasing lock...
[2025-01-09 07:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:44:13] Production.INFO: call_cost start
[2025-01-09 07:44:13] Production.INFO: call_cost end
[2025-01-09 07:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:44:14] Production.INFO: ==4286== Releasing lock...
[2025-01-09 07:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:44:18] Production.INFO: count ==79
[2025-01-09 07:44:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:44:05 - End Time 2025-01-09 07:44:05
[2025-01-09 07:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208129', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208129', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208129', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208129', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:44:18] Production.INFO: ProcessCDR(1,14208129,1,1,2)
[2025-01-09 07:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208129', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208129', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:44:21] Production.INFO: ==4294== Releasing lock...
[2025-01-09 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:44:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:45:02] Production.INFO: ==4354== Lock acquired, processing the job...
[2025-01-09 12:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:45:02] Production.INFO: neon service started
[2025-01-09 12:45:02] Production.INFO: neon service started
[2025-01-09 12:45:02] Production.INFO: ==4354== Releasing lock...
[2025-01-09 12:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:45:02] Production.INFO: ==4356== Lock acquired, processing the job...
[2025-01-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:45:02] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-01-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:45:02] Production.INFO: ==4356== Releasing lock...
[2025-01-09 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:45:02] Production.INFO: ==4358== Releasing lock...
[2025-01-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:45:03] Production.INFO: ==4369== Lock acquired, processing the job...
[2025-01-09 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:45:03] Production.INFO: ==4371== Lock acquired, processing the job...
[2025-01-09 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:45:03] Production.INFO: ==4361== Lock acquired, processing the job...
[2025-01-09 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:45:03] Production.INFO: ==4363== Lock acquired, processing the job...
[2025-01-09 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:45:03] Production.INFO: ==4365== Lock acquired, processing the job...
[2025-01-09 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:45:03] Production.INFO: ==4367== Lock acquired, processing the job...
[2025-01-09 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:45:03] Production.INFO: count ==21
[2025-01-09 07:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:45:03] Production.INFO: count ==21
[2025-01-09 07:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208130') start
[2025-01-09 07:45:03] Production.INFO: Account Balance Start.
[2025-01-09 07:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:45:03] Production.INFO: 117
[2025-01-09 07:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:45:04] Production.INFO: Total Charge 0
[2025-01-09 07:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208130') end
[2025-01-09 07:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:45:04] Production.INFO: 1
[2025-01-09 07:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:45:04] Production.INFO: CreateAllLog End
[2025-01-09 07:45:04] Production.INFO: ==4371== Releasing lock...
[2025-01-09 07:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:45:04] Production.ERROR: done
[2025-01-09 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:45:04] Production.INFO: ==4363== Releasing lock...
[2025-01-09 07:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:45:04] Production.ERROR: done
[2025-01-09 07:45:04] Production.INFO: Account Balance End.
[2025-01-09 07:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:45:04] Production.INFO: ==4367== Releasing lock...
[2025-01-09 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:45:05
[end_date_ymd] => 2025-01-09 07:45:05
[RateCDR] => 1
)
[2025-01-09 07:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:45:05' and `end` < '2025-01-09 07:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:45:10] Production.ERROR: CronJobId end10
[2025-01-09 07:45:10] Production.INFO: ==4365== Releasing lock...
[2025-01-09 07:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:45:13] Production.INFO: call_cost start
[2025-01-09 07:45:13] Production.INFO: call_cost end
[2025-01-09 07:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:45:14] Production.INFO: ==4361== Releasing lock...
[2025-01-09 07:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:45:18] Production.INFO: count ==80
[2025-01-09 07:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:45:05 - End Time 2025-01-09 07:45:05
[2025-01-09 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208134', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208134', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208134', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208134', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:45:18] Production.INFO: ProcessCDR(1,14208134,1,1,2)
[2025-01-09 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208134', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208134', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:45:22] Production.INFO: ==4369== Releasing lock...
[2025-01-09 07:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:45:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:46:01] Production.INFO: ==4427== Lock acquired, processing the job...
[2025-01-09 12:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:46:01] Production.INFO: neon service started
[2025-01-09 12:46:01] Production.INFO: neon service started
[2025-01-09 12:46:01] Production.INFO: ==4427== Releasing lock...
[2025-01-09 12:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:46:01] Production.INFO: ==4429== Lock acquired, processing the job...
[2025-01-09 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:46:02] Production.INFO: ==4429== Releasing lock...
[2025-01-09 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:46:02] Production.INFO: ==4431== Lock acquired, processing the job...
[2025-01-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:46:02] Production.INFO: ==4431== Releasing lock...
[2025-01-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:46:03] Production.INFO: ==4443== Lock acquired, processing the job...
[2025-01-09 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:46:03] Production.INFO: ==4437== Lock acquired, processing the job...
[2025-01-09 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:46:03] Production.INFO: ==4433== Lock acquired, processing the job...
[2025-01-09 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:46:03] Production.INFO: ==4435== Lock acquired, processing the job...
[2025-01-09 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:46:03] Production.INFO: ==4439== Lock acquired, processing the job...
[2025-01-09 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:46:03] Production.INFO: count ==21
[2025-01-09 07:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:46:03] Production.INFO: count ==21
[2025-01-09 07:46:03] Production.INFO: ==4441== Lock acquired, processing the job...
[2025-01-09 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208135') start
[2025-01-09 07:46:03] Production.INFO: Account Balance Start.
[2025-01-09 07:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:46:03] Production.INFO: 117
[2025-01-09 07:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208135') end
[2025-01-09 07:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:46:03] Production.INFO: 1
[2025-01-09 07:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:46:03] Production.INFO: ==4435== Releasing lock...
[2025-01-09 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:46:03] Production.INFO: ==4443== Releasing lock...
[2025-01-09 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:46:03] Production.ERROR: done
[2025-01-09 07:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:46:03] Production.INFO: Total Charge 0
[2025-01-09 07:46:03] Production.INFO: CreateAllLog End
[2025-01-09 07:46:04] Production.ERROR: done
[2025-01-09 07:46:04] Production.INFO: Account Balance End.
[2025-01-09 07:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:46:04] Production.INFO: ==4439== Releasing lock...
[2025-01-09 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:46:05
[end_date_ymd] => 2025-01-09 07:46:05
[RateCDR] => 1
)
[2025-01-09 07:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:46:05' and `end` < '2025-01-09 07:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:46:10] Production.ERROR: CronJobId end10
[2025-01-09 07:46:10] Production.INFO: ==4437== Releasing lock...
[2025-01-09 07:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:46:12] Production.INFO: call_cost start
[2025-01-09 07:46:12] Production.INFO: call_cost end
[2025-01-09 07:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:46:13] Production.INFO: ==4433== Releasing lock...
[2025-01-09 07:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:46:18] Production.INFO: count ==80
[2025-01-09 07:46:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:46:05 - End Time 2025-01-09 07:46:05
[2025-01-09 07:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208139', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208139', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208139', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208139', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:46:18] Production.INFO: ProcessCDR(1,14208139,1,1,2)
[2025-01-09 07:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208139', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208139', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:46:21] Production.INFO: ==4441== Releasing lock...
[2025-01-09 07:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:46:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:47:02] Production.INFO: ==4499== Lock acquired, processing the job...
[2025-01-09 12:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:47:02] Production.INFO: neon service started
[2025-01-09 12:47:02] Production.INFO: neon service started
[2025-01-09 12:47:02] Production.INFO: ==4499== Releasing lock...
[2025-01-09 12:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:47:02] Production.INFO: ==4501== Lock acquired, processing the job...
[2025-01-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:47:02] Production.INFO: ==4501== Releasing lock...
[2025-01-09 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:47:02] Production.INFO: ==4503== Lock acquired, processing the job...
[2025-01-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:47:02] Production.INFO: ==4503== Releasing lock...
[2025-01-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:47:03] Production.INFO: ==4505== Lock acquired, processing the job...
[2025-01-09 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:47:03] Production.INFO: ==4507== Lock acquired, processing the job...
[2025-01-09 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:47:03] Production.INFO: ==4513== Lock acquired, processing the job...
[2025-01-09 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:47:03] Production.INFO: ==4509== Lock acquired, processing the job...
[2025-01-09 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:47:03] Production.INFO: ==4515== Lock acquired, processing the job...
[2025-01-09 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:47:03] Production.INFO: ==4511== Lock acquired, processing the job...
[2025-01-09 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:47:03] Production.INFO: ==4507== Releasing lock...
[2025-01-09 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:47:03] Production.ERROR: done
[2025-01-09 07:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:47:03] Production.INFO: Account Balance Start.
[2025-01-09 07:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:47:03] Production.INFO: 117
[2025-01-09 07:47:04] Production.INFO: count ==21
[2025-01-09 07:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:47:04] Production.INFO: count ==21
[2025-01-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208142') start
[2025-01-09 07:47:04] Production.ERROR: done
[2025-01-09 07:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:47:04] Production.INFO: Total Charge 0
[2025-01-09 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208142') end
[2025-01-09 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:47:04] Production.INFO: 1
[2025-01-09 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:47:04] Production.INFO: CreateAllLog End
[2025-01-09 07:47:04] Production.INFO: ==4515== Releasing lock...
[2025-01-09 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:47:04] Production.INFO: Account Balance End.
[2025-01-09 07:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:47:04] Production.INFO: ==4511== Releasing lock...
[2025-01-09 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:47:04
[end_date_ymd] => 2025-01-09 07:47:04
[RateCDR] => 1
)
[2025-01-09 07:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:47:04' and `end` < '2025-01-09 07:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:47:11] Production.ERROR: CronJobId end10
[2025-01-09 07:47:11] Production.INFO: ==4509== Releasing lock...
[2025-01-09 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:47:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:47:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:47:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:47:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:47:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:47:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:47:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:47:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:47:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:47:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:47:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:47:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:47:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:47:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:47:12] Production.INFO: call_cost start
[2025-01-09 07:47:12] Production.INFO: call_cost end
[2025-01-09 07:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:47:13] Production.INFO: ==4505== Releasing lock...
[2025-01-09 07:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:47:18] Production.INFO: count ==80
[2025-01-09 07:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:47:04 - End Time 2025-01-09 07:47:04
[2025-01-09 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208144', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208144', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208144', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208144', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:47:18] Production.INFO: ProcessCDR(1,14208144,1,1,2)
[2025-01-09 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208144', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208144', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:47:22] Production.INFO: ==4513== Releasing lock...
[2025-01-09 07:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:47:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:48:01] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-01-09 12:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:48:01] Production.INFO: neon service started
[2025-01-09 12:48:01] Production.INFO: neon service started
[2025-01-09 12:48:01] Production.INFO: ==4569== Releasing lock...
[2025-01-09 12:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:48:02] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-01-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:48:02] Production.INFO: ==4578== Lock acquired, processing the job...
[2025-01-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:48:02] Production.INFO: ==4578== Releasing lock...
[2025-01-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:48:02] Production.INFO: ==4571== Releasing lock...
[2025-01-09 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:48:03] Production.INFO: ==4585== Lock acquired, processing the job...
[2025-01-09 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:48:03] Production.INFO: ==4593== Lock acquired, processing the job...
[2025-01-09 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:48:03] Production.INFO: count ==21
[2025-01-09 07:48:03] Production.INFO: ==4583== Lock acquired, processing the job...
[2025-01-09 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 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-01-09 07:48:03] Production.INFO: count ==21
[2025-01-09 07:48:03] Production.INFO: ==4587== Lock acquired, processing the job...
[2025-01-09 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208146') start
[2025-01-09 07:48:03] Production.INFO: ==4589== Lock acquired, processing the job...
[2025-01-09 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208146') end
[2025-01-09 07:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:48:03] Production.INFO: 1
[2025-01-09 07:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:48:03] Production.INFO: ==4591== Lock acquired, processing the job...
[2025-01-09 07:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:48:03] Production.INFO: ==4585== Releasing lock...
[2025-01-09 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:48:03] Production.INFO: ==4593== Releasing lock...
[2025-01-09 07:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:48:03] Production.INFO: Account Balance Start.
[2025-01-09 07:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:48:03] Production.INFO: 117
[2025-01-09 07:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:48:03] Production.INFO: Total Charge 0
[2025-01-09 07:48:03] Production.INFO: CreateAllLog End
[2025-01-09 07:48:03] Production.INFO: Account Balance End.
[2025-01-09 07:48:04] Production.ERROR: done
[2025-01-09 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:48:04] Production.INFO: ==4589== Releasing lock...
[2025-01-09 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:48:04] Production.ERROR: done
[2025-01-09 07:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:48:04
[end_date_ymd] => 2025-01-09 07:48:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 04:48:04' and `end` < '2025-01-09 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-01-09 07:48:10] Production.ERROR: CronJobId end10
[2025-01-09 07:48:10] Production.INFO: ==4587== Releasing lock...
[2025-01-09 07:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:48:12] Production.INFO: call_cost start
[2025-01-09 07:48:12] Production.INFO: call_cost end
[2025-01-09 07:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:48:13] Production.INFO: ==4583== Releasing lock...
[2025-01-09 07:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:48:19] Production.INFO: count ==81
[2025-01-09 07:48:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:48:04 - End Time 2025-01-09 07:48:04
[2025-01-09 07:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208149', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208149', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208149', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208149', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:48:19] Production.INFO: ProcessCDR(1,14208149,1,1,2)
[2025-01-09 07:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208149', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208149', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:48:22] Production.INFO: ==4591== Releasing lock...
[2025-01-09 07:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:48:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:49:01] Production.INFO: ==4649== Lock acquired, processing the job...
[2025-01-09 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:49:01] Production.INFO: neon service started
[2025-01-09 12:49:01] Production.INFO: neon service started
[2025-01-09 12:49:01] Production.INFO: ==4649== Releasing lock...
[2025-01-09 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:49:02] Production.INFO: ==4651== Lock acquired, processing the job...
[2025-01-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:49:02] Production.INFO: ==4653== Lock acquired, processing the job...
[2025-01-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:49:02] Production.INFO: ==4653== Releasing lock...
[2025-01-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:49:02] Production.INFO: ==4651== Releasing lock...
[2025-01-09 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:49:03] Production.INFO: ==4655== Lock acquired, processing the job...
[2025-01-09 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:49:03] Production.INFO: ==4663== Lock acquired, processing the job...
[2025-01-09 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:49:03] Production.INFO: ==4666== Lock acquired, processing the job...
[2025-01-09 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:49:03] Production.INFO: ==4661== Lock acquired, processing the job...
[2025-01-09 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:49:03] Production.INFO: ==4657== Lock acquired, processing the job...
[2025-01-09 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:49:03] Production.INFO: ==4659== Lock acquired, processing the job...
[2025-01-09 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:49:03] Production.INFO: count ==21
[2025-01-09 07:49:04] Production.ERROR: done
[2025-01-09 07:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 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-01-09 07:49:04] Production.INFO: count ==21
[2025-01-09 07:49:04] Production.INFO: Account Balance Start.
[2025-01-09 07:49:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:49:04] Production.INFO: 117
[2025-01-09 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208151') start
[2025-01-09 07:49:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:49:04] Production.INFO: Total Charge 0
[2025-01-09 07:49:04] Production.INFO: CreateAllLog End
[2025-01-09 07:49:04] Production.ERROR: done
[2025-01-09 07:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208151') end
[2025-01-09 07:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:49:04] Production.INFO: 1
[2025-01-09 07:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:49:04] Production.INFO: ==4657== Releasing lock...
[2025-01-09 07:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:49:04] Production.INFO: ==4666== Releasing lock...
[2025-01-09 07:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:49:04] Production.INFO: Account Balance End.
[2025-01-09 07:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:49:04] Production.INFO: ==4661== Releasing lock...
[2025-01-09 07:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:49:05
[end_date_ymd] => 2025-01-09 07:49:05
[RateCDR] => 1
)
[2025-01-09 07:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:49:05' and `end` < '2025-01-09 07:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:49:10] Production.ERROR: CronJobId end10
[2025-01-09 07:49:10] Production.INFO: ==4659== Releasing lock...
[2025-01-09 07:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:49:12] Production.INFO: call_cost start
[2025-01-09 07:49:12] Production.INFO: call_cost end
[2025-01-09 07:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:49:13] Production.INFO: ==4655== Releasing lock...
[2025-01-09 07:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:49:18] Production.INFO: count ==81
[2025-01-09 07:49:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:49:05 - End Time 2025-01-09 07:49:05
[2025-01-09 07:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208154', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208154', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208154', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208154', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:49:18] Production.INFO: ProcessCDR(1,14208154,1,1,2)
[2025-01-09 07:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208154', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208154', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:49:21] Production.INFO: ==4663== Releasing lock...
[2025-01-09 07:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:49:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:50:02] Production.INFO: ==4723== Lock acquired, processing the job...
[2025-01-09 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:50:02] Production.INFO: neon service started
[2025-01-09 12:50:02] Production.INFO: neon service started
[2025-01-09 12:50:02] Production.INFO: ==4723== Releasing lock...
[2025-01-09 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:50:02] Production.INFO: ==4725== Lock acquired, processing the job...
[2025-01-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:50:02] Production.INFO: ==4725== Releasing lock...
[2025-01-09 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:50:03] Production.INFO: ==4727== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:50:03] Production.INFO: ==4727== Releasing lock...
[2025-01-09 12:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:50:03] Production.INFO: ==4730== Lock acquired, processing the job...
[2025-01-09 07:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 07:50:04] Production.INFO: ==4734== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:50:04] Production.INFO: ==4738== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:50:04] Production.INFO: ==4732== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 07:50:04] Production.ERROR: CronJob PID - 4732
[2025-01-09 07:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 07:50:04] Production.ERROR: CronJob ID - 5
[2025-01-09 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 07:50:00
[2025-01-09 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 07:50:04] Production.ERROR: CronJob PID - 4734
[2025-01-09 07:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 07:50:04] Production.ERROR: CronJob ID - 7
[2025-01-09 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 07:50:00
[2025-01-09 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 07:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:50:04] Production.INFO: ==4742== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 07:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 07:50:04] Production.INFO: ==4730== Releasing lock...
[2025-01-09 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 07:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:50:04] Production.INFO: ==4736== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:50:04] Production.INFO: ==4740== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:50:04] Production.INFO: ==4744== Lock acquired, processing the job...
[2025-01-09 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:50:04] Production.INFO: Account Balance Start.
[2025-01-09 07:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:50:04] Production.INFO: 117
[2025-01-09 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:50:04] Production.ERROR: done
[2025-01-09 07:50:04] Production.INFO: ==4734== Releasing lock...
[2025-01-09 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:50:04] Production.INFO: Total Charge 0
[2025-01-09 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208159', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:50:04] Production.INFO: CreateAllLog End
[2025-01-09 07:50:04] Production.INFO: count ==21
[2025-01-09 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:50:04] Production.INFO: count ==21
[2025-01-09 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208158') start
[2025-01-09 07:50:04] Production.ERROR: done
[2025-01-09 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208158') end
[2025-01-09 07:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:50:04] Production.INFO: 1
[2025-01-09 07:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:50:04] Production.ERROR: done
[2025-01-09 07:50:04] Production.INFO: ==4744== Releasing lock...
[2025-01-09 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:50:05] Production.INFO: Account Balance End.
[2025-01-09 07:50:05] Production.ERROR: CronJobId end 12
[2025-01-09 07:50:05] Production.INFO: ==4738== Releasing lock...
[2025-01-09 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:50:05
[end_date_ymd] => 2025-01-09 07:50:05
[RateCDR] => 1
)
[2025-01-09 07:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:50:05' and `end` < '2025-01-09 07:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:50:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208159', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 07:50:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 07:50:07] Production.INFO: ProcessCDR(1,14208159,1,1,2)
[2025-01-09 07:50:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208159,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:50:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208159,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:50:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:50:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:50:07] Production.INFO: ==4742== Releasing lock...
[2025-01-09 07:50:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 07:50:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 07:50:13] Production.ERROR: CronJobId end10
[2025-01-09 07:50:13] Production.INFO: ==4736== Releasing lock...
[2025-01-09 07:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:50:14] Production.INFO: call_cost start
[2025-01-09 07:50:14] Production.INFO: call_cost end
[2025-01-09 07:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:50:15] Production.INFO: ==4732== Releasing lock...
[2025-01-09 07:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:50:18] Production.INFO: count ==88
[2025-01-09 07:50:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:50:05 - End Time 2025-01-09 07:50:05
[2025-01-09 07:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208160', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208160', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208160', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208160', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:50:18] Production.INFO: ProcessCDR(1,14208160,1,1,2)
[2025-01-09 07:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208160', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208160', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:50:21] Production.INFO: ==4740== Releasing lock...
[2025-01-09 07:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:50:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:51:01] Production.INFO: ==4803== Lock acquired, processing the job...
[2025-01-09 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:51:01] Production.INFO: neon service started
[2025-01-09 12:51:01] Production.INFO: neon service started
[2025-01-09 12:51:01] Production.INFO: ==4803== Releasing lock...
[2025-01-09 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:51:01] Production.INFO: ==4805== Lock acquired, processing the job...
[2025-01-09 07:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:51:02] Production.INFO: ==4805== Releasing lock...
[2025-01-09 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:51:02] Production.INFO: ==4807== Lock acquired, processing the job...
[2025-01-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:51:02] Production.INFO: ==4807== Releasing lock...
[2025-01-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:51:03] Production.INFO: ==4810== Lock acquired, processing the job...
[2025-01-09 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:51:03] Production.INFO: ==4814== Lock acquired, processing the job...
[2025-01-09 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:51:03] Production.INFO: ==4818== Lock acquired, processing the job...
[2025-01-09 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:51:03] Production.INFO: ==4812== Lock acquired, processing the job...
[2025-01-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:51:03] Production.INFO: ==4816== Lock acquired, processing the job...
[2025-01-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:51:03] Production.INFO: ==4820== Lock acquired, processing the job...
[2025-01-09 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:51:03] Production.INFO: Account Balance Start.
[2025-01-09 07:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:51:03] Production.INFO: 117
[2025-01-09 07:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:51:03] Production.INFO: count ==21
[2025-01-09 07:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:51:03] Production.INFO: count ==21
[2025-01-09 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208164') start
[2025-01-09 07:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:51:03] Production.INFO: Total Charge 0
[2025-01-09 07:51:03] Production.ERROR: done
[2025-01-09 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:51:03] Production.INFO: ==4812== Releasing lock...
[2025-01-09 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:51:03] Production.INFO: CreateAllLog End
[2025-01-09 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208164') end
[2025-01-09 07:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:51:03] Production.INFO: 1
[2025-01-09 07:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:51:03] Production.INFO: ==4820== Releasing lock...
[2025-01-09 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:51:03] Production.ERROR: done
[2025-01-09 07:51:03] Production.INFO: Account Balance End.
[2025-01-09 07:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:51:03] Production.INFO: ==4816== Releasing lock...
[2025-01-09 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:51:04
[end_date_ymd] => 2025-01-09 07:51:04
[RateCDR] => 1
)
[2025-01-09 07:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:51:04' and `end` < '2025-01-09 07:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:51:10] Production.ERROR: CronJobId end10
[2025-01-09 07:51:10] Production.INFO: ==4814== Releasing lock...
[2025-01-09 07:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:51:13] Production.INFO: call_cost start
[2025-01-09 07:51:13] Production.INFO: call_cost end
[2025-01-09 07:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:51:13] Production.INFO: ==4810== Releasing lock...
[2025-01-09 07:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:51:17] Production.INFO: count ==99
[2025-01-09 07:51:17] Production.ERROR: pbx CDR StartTime 2025-01-09 04:51:04 - End Time 2025-01-09 07:51:04
[2025-01-09 07:51:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208165', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208165', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208165', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:51:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208165', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:51:17] Production.INFO: ProcessCDR(1,14208165,1,1,2)
[2025-01-09 07:51:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:51:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:51:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:51:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:51:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208165', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208165', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:51:21] Production.INFO: ==4818== Releasing lock...
[2025-01-09 07:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:51:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:52:02] Production.INFO: ==4917== Lock acquired, processing the job...
[2025-01-09 12:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:52:02] Production.INFO: neon service started
[2025-01-09 12:52:02] Production.INFO: neon service started
[2025-01-09 12:52:02] Production.INFO: ==4917== Releasing lock...
[2025-01-09 12:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:52:02] Production.INFO: ==4920== Lock acquired, processing the job...
[2025-01-09 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:52:02] Production.INFO: ==4922== Lock acquired, processing the job...
[2025-01-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:52:02] Production.INFO: ==4922== Releasing lock...
[2025-01-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:52:03] Production.INFO: ==4920== Releasing lock...
[2025-01-09 07:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 07:52:04] Production.INFO: ==4924== Lock acquired, processing the job...
[2025-01-09 07:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:52:04] Production.INFO: ==4926== Lock acquired, processing the job...
[2025-01-09 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:52:04] Production.INFO: ==4928== Lock acquired, processing the job...
[2025-01-09 07:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:52:04] Production.INFO: ==4930== Lock acquired, processing the job...
[2025-01-09 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:52:04] Production.INFO: Account Balance Start.
[2025-01-09 07:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 07:52:04] Production.INFO: ==4932== Lock acquired, processing the job...
[2025-01-09 07:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:52:04] Production.INFO: 117
[2025-01-09 07:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:52:04] Production.INFO: Total Charge 0
[2025-01-09 07:52:04] Production.INFO: CreateAllLog End
[2025-01-09 07:52:04] Production.INFO: ==4934== Lock acquired, processing the job...
[2025-01-09 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:52:04] Production.INFO: ==4926== Releasing lock...
[2025-01-09 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:52:04] Production.ERROR: done
[2025-01-09 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:52:04] Production.INFO: count ==21
[2025-01-09 07:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:52:04] Production.INFO: count ==21
[2025-01-09 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208169') start
[2025-01-09 07:52:04] Production.INFO: Account Balance End.
[2025-01-09 07:52:04] Production.ERROR: done
[2025-01-09 07:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:52:04] Production.INFO: ==4930== Releasing lock...
[2025-01-09 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14208169') end
[2025-01-09 07:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:52:05] Production.INFO: 1
[2025-01-09 07:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:52:05] Production.INFO: ==4934== Releasing lock...
[2025-01-09 07:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:52:05
[end_date_ymd] => 2025-01-09 07:52:05
[RateCDR] => 1
)
[2025-01-09 07:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:52:05' and `end` < '2025-01-09 07:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:52:10] Production.ERROR: CronJobId end10
[2025-01-09 07:52:10] Production.INFO: ==4928== Releasing lock...
[2025-01-09 07:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:52:13] Production.INFO: call_cost start
[2025-01-09 07:52:13] Production.INFO: call_cost end
[2025-01-09 07:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:52:14] Production.INFO: ==4924== Releasing lock...
[2025-01-09 07:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:52:20] Production.INFO: count ==100
[2025-01-09 07:52:20] Production.ERROR: pbx CDR StartTime 2025-01-09 04:52:05 - End Time 2025-01-09 07:52:05
[2025-01-09 07:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208170', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208170', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208170', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208170', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:52:20] Production.INFO: ProcessCDR(1,14208170,1,1,2)
[2025-01-09 07:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208170', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208170', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:52:23] Production.INFO: ==4932== Releasing lock...
[2025-01-09 07:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:52:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:53:01] Production.INFO: ==4994== Lock acquired, processing the job...
[2025-01-09 12:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:53:01] Production.INFO: neon service started
[2025-01-09 12:53:01] Production.INFO: neon service started
[2025-01-09 12:53:01] Production.INFO: ==4994== Releasing lock...
[2025-01-09 12:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:53:01] Production.INFO: ==4996== Lock acquired, processing the job...
[2025-01-09 07:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:53:02] Production.INFO: ==4996== Releasing lock...
[2025-01-09 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:53:02] Production.INFO: ==4998== Lock acquired, processing the job...
[2025-01-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:53:02] Production.INFO: ==4998== Releasing lock...
[2025-01-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:53:03] Production.INFO: ==5002== Lock acquired, processing the job...
[2025-01-09 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:53:03] Production.INFO: ==5000== Lock acquired, processing the job...
[2025-01-09 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:53:03] Production.INFO: ==5008== Lock acquired, processing the job...
[2025-01-09 07:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:53:03] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-01-09 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:53:03] Production.INFO: ==5004== Lock acquired, processing the job...
[2025-01-09 07:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:53:03] Production.INFO: ==5010== Lock acquired, processing the job...
[2025-01-09 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:53:03] Production.INFO: ==5002== Releasing lock...
[2025-01-09 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:53:03] Production.INFO: Account Balance Start.
[2025-01-09 07:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:53:03] Production.INFO: 117
[2025-01-09 07:53:03] Production.INFO: count ==21
[2025-01-09 07:53:03] Production.ERROR: done
[2025-01-09 07:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:53:03] Production.INFO: count ==21
[2025-01-09 07:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208173') start
[2025-01-09 07:53:03] Production.ERROR: done
[2025-01-09 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:53:03] Production.INFO: Total Charge 0
[2025-01-09 07:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208173') end
[2025-01-09 07:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:53:03] Production.INFO: 1
[2025-01-09 07:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:53:03] Production.INFO: CreateAllLog End
[2025-01-09 07:53:03] Production.INFO: ==5010== Releasing lock...
[2025-01-09 07:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:53:04] Production.INFO: Account Balance End.
[2025-01-09 07:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:53:04] Production.INFO: ==5006== Releasing lock...
[2025-01-09 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:53:04
[end_date_ymd] => 2025-01-09 07:53:04
[RateCDR] => 1
)
[2025-01-09 07:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:53:04' and `end` < '2025-01-09 07:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:53:10] Production.ERROR: CronJobId end10
[2025-01-09 07:53:10] Production.INFO: ==5004== Releasing lock...
[2025-01-09 07:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:53:13] Production.INFO: call_cost start
[2025-01-09 07:53:13] Production.INFO: call_cost end
[2025-01-09 07:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:53:14] Production.INFO: ==5000== Releasing lock...
[2025-01-09 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:53:18] Production.INFO: count ==100
[2025-01-09 07:53:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:53:04 - End Time 2025-01-09 07:53:04
[2025-01-09 07:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208175', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208175', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208175', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208175', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:53:18] Production.INFO: ProcessCDR(1,14208175,1,1,2)
[2025-01-09 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208175', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208175', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:53:21] Production.INFO: ==5008== Releasing lock...
[2025-01-09 07:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:53:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:54:02] Production.INFO: ==5070== Lock acquired, processing the job...
[2025-01-09 12:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:54:02] Production.INFO: neon service started
[2025-01-09 12:54:02] Production.INFO: neon service started
[2025-01-09 12:54:02] Production.INFO: ==5070== Releasing lock...
[2025-01-09 12:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:54:02] Production.INFO: ==5072== Lock acquired, processing the job...
[2025-01-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:54:02] Production.INFO: ==5074== Lock acquired, processing the job...
[2025-01-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 07:54:02] Production.INFO: ==5072== Releasing lock...
[2025-01-09 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:54:02] Production.INFO: ==5074== Releasing lock...
[2025-01-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:54:03] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-01-09 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:54:03] Production.INFO: Account Balance Start.
[2025-01-09 07:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:54:03] Production.INFO: 117
[2025-01-09 07:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:54:03] Production.INFO: ==5087== Lock acquired, processing the job...
[2025-01-09 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:54:03] Production.INFO: ==5076== Lock acquired, processing the job...
[2025-01-09 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:54:03] Production.INFO: Total Charge 0
[2025-01-09 07:54:03] Production.INFO: CreateAllLog End
[2025-01-09 07:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:54:04] Production.INFO: count ==21
[2025-01-09 07:54:04] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-01-09 07:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:54:04] Production.INFO: ==5078== Lock acquired, processing the job...
[2025-01-09 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:54:04] Production.INFO: count ==21
[2025-01-09 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208177') start
[2025-01-09 07:54:04] Production.INFO: ==5085== Lock acquired, processing the job...
[2025-01-09 07:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:54:04] Production.INFO: Account Balance End.
[2025-01-09 07:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208177') end
[2025-01-09 07:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:54:04] Production.INFO: 1
[2025-01-09 07:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:54:04] Production.INFO: ==5087== Releasing lock...
[2025-01-09 07:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:54:04] Production.INFO: ==5082== Releasing lock...
[2025-01-09 07:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:54:04] Production.INFO: ==5078== Releasing lock...
[2025-01-09 07:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:54:04] Production.ERROR: done
[2025-01-09 07:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:54:04] Production.ERROR: done
[2025-01-09 07:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:54:05
[end_date_ymd] => 2025-01-09 07:54:05
[RateCDR] => 1
)
[2025-01-09 07:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:54:05' and `end` < '2025-01-09 07:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:54:11] Production.ERROR: CronJobId end10
[2025-01-09 07:54:11] Production.INFO: ==5080== Releasing lock...
[2025-01-09 07:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:54:13] Production.INFO: call_cost start
[2025-01-09 07:54:13] Production.INFO: call_cost end
[2025-01-09 07:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:54:14] Production.INFO: ==5076== Releasing lock...
[2025-01-09 07:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:54:19] Production.INFO: count ==100
[2025-01-09 07:54:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:54:05 - End Time 2025-01-09 07:54:05
[2025-01-09 07:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208180', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208180', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208180', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208180', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:54:19] Production.INFO: ProcessCDR(1,14208180,1,1,2)
[2025-01-09 07:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208180', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208180', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:54:22] Production.INFO: ==5085== Releasing lock...
[2025-01-09 07:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:54:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:55:01] Production.INFO: ==5145== Lock acquired, processing the job...
[2025-01-09 12:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:55:01] Production.INFO: neon service started
[2025-01-09 12:55:01] Production.INFO: neon service started
[2025-01-09 12:55:01] Production.INFO: ==5145== Releasing lock...
[2025-01-09 12:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:55:01] Production.INFO: ==5148== Lock acquired, processing the job...
[2025-01-09 07:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:55:02] Production.INFO: ==5148== Releasing lock...
[2025-01-09 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:55:02] Production.INFO: ==5150== Lock acquired, processing the job...
[2025-01-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:55:02] Production.INFO: ==5150== Releasing lock...
[2025-01-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:55:03] Production.INFO: ==5152== Lock acquired, processing the job...
[2025-01-09 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:55:03] Production.INFO: ==5158== Lock acquired, processing the job...
[2025-01-09 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:55:03] Production.INFO: ==5154== Lock acquired, processing the job...
[2025-01-09 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:55:03] Production.INFO: ==5156== Lock acquired, processing the job...
[2025-01-09 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:55:03] Production.INFO: ==5162== Lock acquired, processing the job...
[2025-01-09 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:55:03] Production.INFO: ==5160== Lock acquired, processing the job...
[2025-01-09 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:55:03] Production.INFO: Account Balance Start.
[2025-01-09 07:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:55:03] Production.INFO: 117
[2025-01-09 07:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:55:03] Production.INFO: count ==21
[2025-01-09 07:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:55:03] Production.INFO: count ==21
[2025-01-09 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208183') start
[2025-01-09 07:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:55:03] Production.INFO: Total Charge 0
[2025-01-09 07:55:03] Production.INFO: CreateAllLog End
[2025-01-09 07:55:03] Production.INFO: ==5154== Releasing lock...
[2025-01-09 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208183') end
[2025-01-09 07:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:55:03] Production.INFO: 1
[2025-01-09 07:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:55:03] Production.ERROR: done
[2025-01-09 07:55:03] Production.INFO: ==5162== Releasing lock...
[2025-01-09 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:55:04] Production.ERROR: done
[2025-01-09 07:55:04] Production.INFO: Account Balance End.
[2025-01-09 07:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:55:04] Production.INFO: ==5158== Releasing lock...
[2025-01-09 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:55:04
[end_date_ymd] => 2025-01-09 07:55:04
[RateCDR] => 1
)
[2025-01-09 07:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:55:04' and `end` < '2025-01-09 07:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:55:11] Production.ERROR: CronJobId end10
[2025-01-09 07:55:11] Production.INFO: ==5156== Releasing lock...
[2025-01-09 07:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:55:12] Production.INFO: call_cost start
[2025-01-09 07:55:12] Production.INFO: call_cost end
[2025-01-09 07:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:55:13] Production.INFO: ==5152== Releasing lock...
[2025-01-09 07:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:55:17] Production.INFO: count ==103
[2025-01-09 07:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:55:04 - End Time 2025-01-09 07:55:04
[2025-01-09 07:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208185', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208185', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208185', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208185', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:55:18] Production.INFO: ProcessCDR(1,14208185,1,1,2)
[2025-01-09 07:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208185', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208185', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:55:21] Production.INFO: ==5160== Releasing lock...
[2025-01-09 07:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:55:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:56:01] Production.INFO: ==5226== Lock acquired, processing the job...
[2025-01-09 12:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:56:01] Production.INFO: neon service started
[2025-01-09 12:56:01] Production.INFO: neon service started
[2025-01-09 12:56:01] Production.INFO: ==5226== Releasing lock...
[2025-01-09 12:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:56:02] Production.INFO: ==5228== Lock acquired, processing the job...
[2025-01-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:56:02] Production.INFO: ==5228== Releasing lock...
[2025-01-09 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:56:02] Production.INFO: ==5230== Lock acquired, processing the job...
[2025-01-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:56:02] Production.INFO: ==5230== Releasing lock...
[2025-01-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:56:03] Production.INFO: ==5232== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:56:03] Production.INFO: ==5234== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:56:03] Production.INFO: ==5238== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:56:03] Production.INFO: Account Balance Start.
[2025-01-09 07:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:56:03] Production.INFO: 117
[2025-01-09 07:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:56:03] Production.INFO: ==5236== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:56:03] Production.INFO: Total Charge 0
[2025-01-09 07:56:03] Production.INFO: CreateAllLog End
[2025-01-09 07:56:03] Production.INFO: ==5234== Releasing lock...
[2025-01-09 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:56:03] Production.INFO: ==5242== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:56:03] Production.INFO: ==5240== Lock acquired, processing the job...
[2025-01-09 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:56:03] Production.INFO: Account Balance End.
[2025-01-09 07:56:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:56:03] Production.INFO: ==5238== Releasing lock...
[2025-01-09 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:56:04] Production.INFO: count ==21
[2025-01-09 07:56:04] Production.ERROR: done
[2025-01-09 07:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:56:04] Production.INFO: count ==21
[2025-01-09 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208189') start
[2025-01-09 07:56:04] Production.ERROR: done
[2025-01-09 07:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208189') end
[2025-01-09 07:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:56:04] Production.INFO: 1
[2025-01-09 07:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:56:04] Production.INFO: ==5242== Releasing lock...
[2025-01-09 07:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:56:05
[end_date_ymd] => 2025-01-09 07:56:05
[RateCDR] => 1
)
[2025-01-09 07:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:56:05' and `end` < '2025-01-09 07:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:56:10] Production.ERROR: CronJobId end10
[2025-01-09 07:56:10] Production.INFO: ==5236== Releasing lock...
[2025-01-09 07:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:56:12] Production.INFO: call_cost start
[2025-01-09 07:56:12] Production.INFO: call_cost end
[2025-01-09 07:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:56:13] Production.INFO: ==5232== Releasing lock...
[2025-01-09 07:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:56:18] Production.INFO: count ==103
[2025-01-09 07:56:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:56:05 - End Time 2025-01-09 07:56:05
[2025-01-09 07:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208190', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208190', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208190', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208190', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:56:18] Production.INFO: ProcessCDR(1,14208190,1,1,2)
[2025-01-09 07:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208190', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208190', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:56:21] Production.INFO: ==5240== Releasing lock...
[2025-01-09 07:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:56:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:57:01] Production.INFO: ==5299== Lock acquired, processing the job...
[2025-01-09 12:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:57:01] Production.INFO: neon service started
[2025-01-09 12:57:01] Production.INFO: neon service started
[2025-01-09 12:57:01] Production.INFO: ==5299== Releasing lock...
[2025-01-09 12:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:57:01] Production.INFO: ==5301== Lock acquired, processing the job...
[2025-01-09 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:57:01] Production.INFO: ==5301== Releasing lock...
[2025-01-09 07:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:57:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:57:02] Production.INFO: ==5303== Lock acquired, processing the job...
[2025-01-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:57:02] Production.INFO: ==5303== Releasing lock...
[2025-01-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:57:02] Production.INFO: ==5308== Lock acquired, processing the job...
[2025-01-09 07:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:57:02] Production.INFO: ==5306== Lock acquired, processing the job...
[2025-01-09 07:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:57:02] Production.INFO: ==5312== Lock acquired, processing the job...
[2025-01-09 07:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:57:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:57:02] Production.INFO: Account Balance Start.
[2025-01-09 07:57:02] Production.INFO: CreateAllLog Start
[2025-01-09 07:57:02] Production.INFO: 117
[2025-01-09 07:57:02] Production.INFO: Date 2025-01-08
[2025-01-09 07:57:02] Production.INFO: Reseller ==> 0
[2025-01-09 07:57:02] Production.INFO: ==5310== Lock acquired, processing the job...
[2025-01-09 07:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:57:02] Production.INFO: ==5314== Lock acquired, processing the job...
[2025-01-09 07:57:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:57:03] Production.INFO: ==5308== Releasing lock...
[2025-01-09 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:57:03] Production.INFO: Total Charge 0
[2025-01-09 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:57:03] Production.INFO: CreateAllLog End
[2025-01-09 07:57:03] Production.INFO: ==5316== Lock acquired, processing the job...
[2025-01-09 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:57:03] Production.INFO: count ==21
[2025-01-09 07:57:03] Production.ERROR: done
[2025-01-09 07:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:57:03] Production.INFO: Account Balance End.
[2025-01-09 07:57:03] Production.INFO: count ==21
[2025-01-09 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208194') start
[2025-01-09 07:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 07:57:03] Production.INFO: ==5312== Releasing lock...
[2025-01-09 07:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208194') end
[2025-01-09 07:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:57:03] Production.INFO: 1
[2025-01-09 07:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:57:03] Production.INFO: ==5316== Releasing lock...
[2025-01-09 07:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:57:03] Production.ERROR: done
[2025-01-09 07:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:57:04
[end_date_ymd] => 2025-01-09 07:57:04
[RateCDR] => 1
)
[2025-01-09 07:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:57:04' and `end` < '2025-01-09 07:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:57:11] Production.ERROR: CronJobId end10
[2025-01-09 07:57:11] Production.INFO: ==5310== Releasing lock...
[2025-01-09 07:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:57:13] Production.INFO: call_cost start
[2025-01-09 07:57:13] Production.INFO: call_cost end
[2025-01-09 07:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:57:13] Production.INFO: ==5306== Releasing lock...
[2025-01-09 07:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:57:17] Production.INFO: count ==110
[2025-01-09 07:57:17] Production.ERROR: pbx CDR StartTime 2025-01-09 04:57:04 - End Time 2025-01-09 07:57:04
[2025-01-09 07:57:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208195', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208195', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208195', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:57:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208195', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:57:17] Production.INFO: ProcessCDR(1,14208195,1,1,2)
[2025-01-09 07:57:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208195', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208195', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:57:22] Production.INFO: ==5314== Releasing lock...
[2025-01-09 07:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:57:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 12:58:01] Production.INFO: ==5375== Lock acquired, processing the job...
[2025-01-09 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:58:01] Production.INFO: neon service started
[2025-01-09 12:58:01] Production.INFO: neon service started
[2025-01-09 12:58:01] Production.INFO: ==5375== Releasing lock...
[2025-01-09 12:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:58:02] Production.INFO: ==5377== Lock acquired, processing the job...
[2025-01-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:58:02] Production.INFO: ==5377== Releasing lock...
[2025-01-09 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:58:02] Production.INFO: ==5379== Lock acquired, processing the job...
[2025-01-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:58:02] Production.INFO: ==5379== Releasing lock...
[2025-01-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:58:03] Production.INFO: ==5393== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:58:03] Production.INFO: ==5391== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 07:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:58:03] Production.INFO: ==5385== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:58:03] Production.INFO: ==5383== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:58:03] Production.INFO: count ==21
[2025-01-09 07:58:03] Production.INFO: ==5387== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:58:03] Production.INFO: count ==21
[2025-01-09 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208196') start
[2025-01-09 07:58:03] Production.INFO: ==5389== Lock acquired, processing the job...
[2025-01-09 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208196') end
[2025-01-09 07:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:58:03] Production.INFO: 1
[2025-01-09 07:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:58:03] Production.INFO: ==5393== Releasing lock...
[2025-01-09 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:58:03] Production.ERROR: done
[2025-01-09 07:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:58:03] Production.INFO: Account Balance Start.
[2025-01-09 07:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:58:03] Production.INFO: 117
[2025-01-09 07:58:03] Production.INFO: ==5385== Releasing lock...
[2025-01-09 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:58:03] Production.ERROR: done
[2025-01-09 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 07:58:04] Production.INFO: Total Charge 0
[2025-01-09 07:58:04] Production.INFO: CreateAllLog End
[2025-01-09 07:58:04] Production.INFO: Account Balance End.
[2025-01-09 07:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:58:04] Production.INFO: ==5389== Releasing lock...
[2025-01-09 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:58:04
[end_date_ymd] => 2025-01-09 07:58:04
[RateCDR] => 1
)
[2025-01-09 07:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:58:04' and `end` < '2025-01-09 07:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:58:11] Production.ERROR: CronJobId end10
[2025-01-09 07:58:11] Production.INFO: ==5387== Releasing lock...
[2025-01-09 07:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:58:13] Production.INFO: call_cost start
[2025-01-09 07:58:13] Production.INFO: call_cost end
[2025-01-09 07:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:58:14] Production.INFO: ==5383== Releasing lock...
[2025-01-09 07:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:58:18] Production.INFO: count ==110
[2025-01-09 07:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 04:58:04 - End Time 2025-01-09 07:58:04
[2025-01-09 07:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208200', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208200', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208200', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208200', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:58:18] Production.INFO: ProcessCDR(1,14208200,1,1,2)
[2025-01-09 07:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208200', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208200', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:58:21] Production.INFO: ==5391== Releasing lock...
[2025-01-09 07:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:58:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 12:59:02] Production.INFO: ==5459== Lock acquired, processing the job...
[2025-01-09 12:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 12:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 12:59:02] Production.INFO: neon service started
[2025-01-09 12:59:02] Production.INFO: neon service started
[2025-01-09 12:59:02] Production.INFO: ==5459== Releasing lock...
[2025-01-09 12:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 12:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 07:59:02] Production.INFO: ==5461== Lock acquired, processing the job...
[2025-01-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 07:59:02] Production.INFO: ==5461== Releasing lock...
[2025-01-09 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:59:02] Production.INFO: ==5463== Lock acquired, processing the job...
[2025-01-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:59:03] Production.INFO: ==5463== Releasing lock...
[2025-01-09 12:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 12:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 07:59:03] Production.INFO: ==5471== Lock acquired, processing the job...
[2025-01-09 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 07:59:03] Production.INFO: ==5465== Lock acquired, processing the job...
[2025-01-09 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 07:59:03] Production.INFO: Account Balance Start.
[2025-01-09 07:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 07:59:03] Production.INFO: 117
[2025-01-09 07:59:03] Production.INFO: ==5476== Lock acquired, processing the job...
[2025-01-09 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 07:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 07:59:03] Production.INFO: ==5469== Lock acquired, processing the job...
[2025-01-09 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 07:59:03] Production.INFO: ==5467== Lock acquired, processing the job...
[2025-01-09 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 07:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 07:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 07:59:03] Production.INFO: Total Charge 0
[2025-01-09 07:59:03] Production.INFO: CreateAllLog End
[2025-01-09 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 07:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 07:59:03] Production.INFO: ==5474== Lock acquired, processing the job...
[2025-01-09 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 07:59:03] Production.INFO: count ==21
[2025-01-09 07:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 07:59:04] Production.INFO: count ==21
[2025-01-09 07:59:04] Production.INFO: Account Balance End.
[2025-01-09 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208203') start
[2025-01-09 07:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 07:59:04] Production.INFO: ==5471== Releasing lock...
[2025-01-09 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208203') end
[2025-01-09 07:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 07:59:04] Production.INFO: 1
[2025-01-09 07:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 07:59:04] Production.INFO: ==5467== Releasing lock...
[2025-01-09 07:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 07:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 07:59:04] Production.INFO: ==5476== Releasing lock...
[2025-01-09 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 07:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 07:59:04] Production.ERROR: done
[2025-01-09 07:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 07:59:04] Production.ERROR: done
[2025-01-09 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 04:59:05
[end_date_ymd] => 2025-01-09 07:59:05
[RateCDR] => 1
)
[2025-01-09 07:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 04:59:05' and `end` < '2025-01-09 07:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 07:59:11] Production.ERROR: CronJobId end10
[2025-01-09 07:59:11] Production.INFO: ==5469== Releasing lock...
[2025-01-09 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 07:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 07:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 07:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 07:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 07:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 07:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 07:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 07:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 07:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 07:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 07:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 07:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 07:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 07:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 07:59:13] Production.INFO: call_cost start
[2025-01-09 07:59:13] Production.INFO: call_cost end
[2025-01-09 07:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 07:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 07:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 07:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 07:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 07:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 07:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 07:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 07:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 07:59:14] Production.INFO: ==5465== Releasing lock...
[2025-01-09 07:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 07:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 07:59:19] Production.INFO: count ==110
[2025-01-09 07:59:19] Production.ERROR: pbx CDR StartTime 2025-01-09 04:59:05 - End Time 2025-01-09 07:59:05
[2025-01-09 07:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 07:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208205', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208205', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208205', 'tblTempVendorCDR_20' ) start
[2025-01-09 07:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208205', 'tblTempVendorCDR_20' ) end
[2025-01-09 07:59:19] Production.INFO: ProcessCDR(1,14208205,1,1,2)
[2025-01-09 07:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 07:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208205', 'tblTempUsageDetail_20' ) start
[2025-01-09 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208205', 'tblTempUsageDetail_20' ) end
[2025-01-09 07:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 07:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 07:59:22] Production.INFO: ==5474== Releasing lock...
[2025-01-09 07:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 07:59:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 13:00:01] Production.INFO: ==5535== Lock acquired, processing the job...
[2025-01-09 13:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:00:01] Production.INFO: neon service started
[2025-01-09 13:00:01] Production.INFO: neon service started
[2025-01-09 13:00:01] Production.INFO: ==5535== Releasing lock...
[2025-01-09 13:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:00:02] Production.INFO: ==5537== Lock acquired, processing the job...
[2025-01-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:00:02] Production.INFO: ==5539== Lock acquired, processing the job...
[2025-01-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:00:02] Production.INFO: ==5539== Releasing lock...
[2025-01-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 08:00:02] Production.INFO: ==5537== Releasing lock...
[2025-01-09 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:00:03] Production.INFO: ==5547== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:00:03] Production.INFO: ==5541== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 08:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 08:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:00:03] Production.ERROR: CronJob PID - 5547
[2025-01-09 08:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 08:00:03] Production.ERROR: CronJob ID - 10
[2025-01-09 08:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 08:00:00
[2025-01-09 08:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 08:00:03] Production.INFO: ==5541== Releasing lock...
[2025-01-09 08:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 08:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:00:03] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:00:03] Production.INFO: ==5543== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:00:03] Production.INFO: ==5555== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:00:03] Production.INFO: ==5545== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:00:03] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:00:03] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-01-09 08:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 08:00:03] Production.INFO: count ==21
[2025-01-09 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:00:04] Production.ERROR: done
[2025-01-09 08:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:00:04] Production.INFO: count ==21
[2025-01-09 08:00:04] Production.INFO: Account Balance Start.
[2025-01-09 08:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:00:04] Production.INFO: 117
[2025-01-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208207') start
[2025-01-09 08:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:00:04] Production.ERROR: done
[2025-01-09 08:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208207') end
[2025-01-09 08:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:00:04] Production.INFO: 1
[2025-01-09 08:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:00:04] Production.INFO: ==5545== Releasing lock...
[2025-01-09 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:00:04] Production.INFO: ==5555== Releasing lock...
[2025-01-09 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:00:04] Production.INFO: Total Charge 0
[2025-01-09 08:00:04] Production.INFO: CreateAllLog End
[2025-01-09 08:00:04] Production.ERROR: done
[2025-01-09 08:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 08:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208211', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 08:00:04] Production.INFO: Account Balance End.
[2025-01-09 08:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:00:04] Production.INFO: ==5549== Releasing lock...
[2025-01-09 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:00:05
[end_date_ymd] => 2025-01-09 08:00:05
[RateCDR] => 1
)
[2025-01-09 08:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:00:05' and `end` < '2025-01-09 08:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208211', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 08:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 08:00:08] Production.INFO: ProcessCDR(1,14208211,1,1,2)
[2025-01-09 08:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208211,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208211,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:00:08] Production.INFO: ==5553== Releasing lock...
[2025-01-09 08:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 08:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 08:00:13] Production.ERROR: CronJobId end10
[2025-01-09 08:00:13] Production.INFO: ==5547== Releasing lock...
[2025-01-09 08:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:00:14] Production.INFO: call_cost start
[2025-01-09 08:00:14] Production.INFO: call_cost end
[2025-01-09 08:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:00:15] Production.INFO: ==5543== Releasing lock...
[2025-01-09 08:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:00:18] Production.INFO: count ==116
[2025-01-09 08:00:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:00:05 - End Time 2025-01-09 08:00:05
[2025-01-09 08:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208210', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208210', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208210', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208210', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:00:18] Production.INFO: ProcessCDR(1,14208210,1,1,2)
[2025-01-09 08:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208210', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208210', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:00:22] Production.INFO: ==5551== Releasing lock...
[2025-01-09 08:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:00:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 13:01:02] Production.INFO: ==5619== Lock acquired, processing the job...
[2025-01-09 13:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:01:02] Production.INFO: neon service started
[2025-01-09 13:01:02] Production.INFO: neon service started
[2025-01-09 13:01:02] Production.INFO: ==5619== Releasing lock...
[2025-01-09 13:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:01:02] Production.INFO: ==5628== Lock acquired, processing the job...
[2025-01-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:01:02] Production.INFO: ==5628== Releasing lock...
[2025-01-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:01:02] Production.INFO: ==5626== Lock acquired, processing the job...
[2025-01-09 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:01:03] Production.INFO: ==5626== Releasing lock...
[2025-01-09 08:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:01:03] Production.INFO: ==5637== Lock acquired, processing the job...
[2025-01-09 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:01:03] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-01-09 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:01:03] Production.INFO: ==5632== Lock acquired, processing the job...
[2025-01-09 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:01:03] Production.INFO: Account Balance Start.
[2025-01-09 08:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:01:03] Production.INFO: 117
[2025-01-09 08:01:03] Production.INFO: ==5634== Lock acquired, processing the job...
[2025-01-09 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:01:03] Production.INFO: ==5639== Lock acquired, processing the job...
[2025-01-09 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:01:03] Production.INFO: Total Charge 0
[2025-01-09 08:01:03] Production.INFO: CreateAllLog End
[2025-01-09 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:01:04] Production.INFO: ==5641== Lock acquired, processing the job...
[2025-01-09 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:01:04] Production.INFO: count ==21
[2025-01-09 08:01:04] Production.INFO: ==5632== Releasing lock...
[2025-01-09 08:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:01:04] Production.INFO: count ==21
[2025-01-09 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208215') start
[2025-01-09 08:01:04] Production.ERROR: done
[2025-01-09 08:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:01:04] Production.INFO: Account Balance End.
[2025-01-09 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208215') end
[2025-01-09 08:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:01:04] Production.INFO: 1
[2025-01-09 08:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:01:04] Production.INFO: ==5637== Releasing lock...
[2025-01-09 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:01:04] Production.ERROR: done
[2025-01-09 08:01:04] Production.INFO: ==5641== Releasing lock...
[2025-01-09 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:01:05
[end_date_ymd] => 2025-01-09 08:01:05
[RateCDR] => 1
)
[2025-01-09 08:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:01:05' and `end` < '2025-01-09 08:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:01:12] Production.ERROR: CronJobId end10
[2025-01-09 08:01:12] Production.INFO: ==5634== Releasing lock...
[2025-01-09 08:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:01:14] Production.INFO: call_cost start
[2025-01-09 08:01:14] Production.INFO: call_cost end
[2025-01-09 08:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:01:15] Production.INFO: ==5630== Releasing lock...
[2025-01-09 08:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:01:18] Production.INFO: count ==121
[2025-01-09 08:01:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:01:05 - End Time 2025-01-09 08:01:05
[2025-01-09 08:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208216', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208216', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208216', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208216', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:01:18] Production.INFO: ProcessCDR(1,14208216,1,1,2)
[2025-01-09 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208216', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208216', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:01:22] Production.INFO: ==5639== Releasing lock...
[2025-01-09 08:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:01:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-09 13:02:01] Production.INFO: ==5696== Lock acquired, processing the job...
[2025-01-09 13:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:02:01] Production.INFO: neon service started
[2025-01-09 13:02:01] Production.INFO: neon service started
[2025-01-09 13:02:01] Production.INFO: ==5696== Releasing lock...
[2025-01-09 13:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:02:01] Production.INFO: ==5698== Lock acquired, processing the job...
[2025-01-09 08:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:02:02] Production.INFO: ==5698== Releasing lock...
[2025-01-09 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:02:02] Production.INFO: ==5700== Lock acquired, processing the job...
[2025-01-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:02:02] Production.INFO: ==5700== Releasing lock...
[2025-01-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:02:02] Production.INFO: ==5704== Lock acquired, processing the job...
[2025-01-09 08:02:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:02:03] Production.INFO: ==5702== Lock acquired, processing the job...
[2025-01-09 08:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:02:03] Production.INFO: ==5712== Lock acquired, processing the job...
[2025-01-09 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:02:03] Production.INFO: ==5706== Lock acquired, processing the job...
[2025-01-09 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:02:03] Production.INFO: count ==21
[2025-01-09 08:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:02:03] Production.INFO: ==5704== Releasing lock...
[2025-01-09 08:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:02:03] Production.INFO: ==5708== Lock acquired, processing the job...
[2025-01-09 08:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:02:03] Production.INFO: count ==21
[2025-01-09 08:02:03] Production.INFO: ==5710== Lock acquired, processing the job...
[2025-01-09 08:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208218') start
[2025-01-09 08:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208218') end
[2025-01-09 08:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:02:03] Production.INFO: 1
[2025-01-09 08:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:02:03] Production.INFO: Account Balance Start.
[2025-01-09 08:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:02:03] Production.INFO: 117
[2025-01-09 08:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:02:03] Production.INFO: ==5712== Releasing lock...
[2025-01-09 08:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:02:03] Production.ERROR: done
[2025-01-09 08:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:02:03] Production.INFO: Total Charge 0
[2025-01-09 08:02:03] Production.INFO: CreateAllLog End
[2025-01-09 08:02:03] Production.ERROR: done
[2025-01-09 08:02:04] Production.INFO: Account Balance End.
[2025-01-09 08:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:02:04] Production.INFO: ==5708== Releasing lock...
[2025-01-09 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:02:05
[end_date_ymd] => 2025-01-09 08:02:05
[RateCDR] => 1
)
[2025-01-09 08:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:02:05' and `end` < '2025-01-09 08:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:02:10] Production.ERROR: CronJobId end10
[2025-01-09 08:02:10] Production.INFO: ==5706== Releasing lock...
[2025-01-09 08:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:02:13] Production.INFO: call_cost start
[2025-01-09 08:02:13] Production.INFO: call_cost end
[2025-01-09 08:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:02:13] Production.INFO: ==5702== Releasing lock...
[2025-01-09 08:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:02:17] Production.INFO: count ==131
[2025-01-09 08:02:17] Production.ERROR: pbx CDR StartTime 2025-01-09 05:02:05 - End Time 2025-01-09 08:02:05
[2025-01-09 08:02:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208221', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208221', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:02:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208221', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208221', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:02:18] Production.INFO: ProcessCDR(1,14208221,1,1,2)
[2025-01-09 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:02:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:02:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208221', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208221', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:02:21] Production.INFO: ==5710== Releasing lock...
[2025-01-09 08:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:02:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 13:03:01] Production.INFO: ==5766== Lock acquired, processing the job...
[2025-01-09 13:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:03:01] Production.INFO: neon service started
[2025-01-09 13:03:01] Production.INFO: neon service started
[2025-01-09 13:03:01] Production.INFO: ==5766== Releasing lock...
[2025-01-09 13:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:03:02] Production.INFO: ==5768== Lock acquired, processing the job...
[2025-01-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:03:02] Production.INFO: ==5770== Lock acquired, processing the job...
[2025-01-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:03:02] Production.INFO: ==5770== Releasing lock...
[2025-01-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:03:02] Production.INFO: ==5768== Releasing lock...
[2025-01-09 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:03:03] Production.INFO: ==5774== Lock acquired, processing the job...
[2025-01-09 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:03:03] Production.INFO: ==5783== Lock acquired, processing the job...
[2025-01-09 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:03:03] Production.INFO: ==5772== Lock acquired, processing the job...
[2025-01-09 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:03:03] Production.INFO: ==5774== Releasing lock...
[2025-01-09 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:03:03] Production.INFO: count ==21
[2025-01-09 08:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:03:03] Production.INFO: count ==21
[2025-01-09 08:03:03] Production.INFO: ==5779== Lock acquired, processing the job...
[2025-01-09 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208223') start
[2025-01-09 08:03:03] Production.INFO: ==5776== Lock acquired, processing the job...
[2025-01-09 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:03:03] Production.INFO: ==5781== Lock acquired, processing the job...
[2025-01-09 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208223') end
[2025-01-09 08:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:03:03] Production.INFO: 1
[2025-01-09 08:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:03:03] Production.INFO: Account Balance Start.
[2025-01-09 08:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:03:03] Production.INFO: 117
[2025-01-09 08:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:03:04] Production.INFO: ==5783== Releasing lock...
[2025-01-09 08:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:03:04] Production.INFO: Total Charge 0
[2025-01-09 08:03:04] Production.INFO: CreateAllLog End
[2025-01-09 08:03:04] Production.ERROR: done
[2025-01-09 08:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:03:04] Production.INFO: Account Balance End.
[2025-01-09 08:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:03:04] Production.INFO: ==5779== Releasing lock...
[2025-01-09 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:03:04] Production.ERROR: done
[2025-01-09 08:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:03:05
[end_date_ymd] => 2025-01-09 08:03:05
[RateCDR] => 1
)
[2025-01-09 08:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:03:05' and `end` < '2025-01-09 08:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:03:11] Production.ERROR: CronJobId end10
[2025-01-09 08:03:11] Production.INFO: ==5776== Releasing lock...
[2025-01-09 08:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:03:12] Production.INFO: call_cost start
[2025-01-09 08:03:12] Production.INFO: call_cost end
[2025-01-09 08:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:03:13] Production.INFO: ==5772== Releasing lock...
[2025-01-09 08:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:03:18] Production.INFO: count ==132
[2025-01-09 08:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:03:05 - End Time 2025-01-09 08:03:05
[2025-01-09 08:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208226', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208226', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208226', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208226', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:03:18] Production.INFO: ProcessCDR(1,14208226,1,1,2)
[2025-01-09 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208226', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208226', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:03:22] Production.INFO: ==5781== Releasing lock...
[2025-01-09 08:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:03:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 13:04:01] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-01-09 13:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:04:01] Production.INFO: neon service started
[2025-01-09 13:04:01] Production.INFO: neon service started
[2025-01-09 13:04:01] Production.INFO: ==5836== Releasing lock...
[2025-01-09 13:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:04:01] Production.INFO: ==5838== Lock acquired, processing the job...
[2025-01-09 08:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:04:02] Production.INFO: ==5838== Releasing lock...
[2025-01-09 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:04:02] Production.INFO: ==5840== Lock acquired, processing the job...
[2025-01-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:04:02] Production.INFO: ==5840== Releasing lock...
[2025-01-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:04:02] Production.INFO: ==5846== Lock acquired, processing the job...
[2025-01-09 08:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:04:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:04:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:04:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:04:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:04:03] Production.INFO: ==5852== Lock acquired, processing the job...
[2025-01-09 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:04:03] Production.INFO: ==5844== Lock acquired, processing the job...
[2025-01-09 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:04:03] Production.INFO: ==5842== Lock acquired, processing the job...
[2025-01-09 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:04:03] Production.INFO: ==5848== Lock acquired, processing the job...
[2025-01-09 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:04:03] Production.INFO: count ==21
[2025-01-09 08:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:04:03] Production.INFO: count ==21
[2025-01-09 08:04:03] Production.INFO: ==5850== Lock acquired, processing the job...
[2025-01-09 08:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208227') start
[2025-01-09 08:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:04:03] Production.INFO: Account Balance Start.
[2025-01-09 08:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:04:03] Production.INFO: 117
[2025-01-09 08:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208227') end
[2025-01-09 08:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:04:03] Production.INFO: 1
[2025-01-09 08:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:04:03] Production.INFO: Total Charge 0
[2025-01-09 08:04:03] Production.INFO: CreateAllLog End
[2025-01-09 08:04:03] Production.INFO: ==5852== Releasing lock...
[2025-01-09 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:04:03] Production.INFO: ==5844== Releasing lock...
[2025-01-09 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:04:03] Production.ERROR: done
[2025-01-09 08:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:04:03] Production.INFO: Account Balance End.
[2025-01-09 08:04:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:04:03] Production.INFO: ==5848== Releasing lock...
[2025-01-09 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:04:03] Production.ERROR: done
[2025-01-09 08:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:04:04
[end_date_ymd] => 2025-01-09 08:04:04
[RateCDR] => 1
)
[2025-01-09 08:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:04:04' and `end` < '2025-01-09 08:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:04:09] Production.ERROR: CronJobId end10
[2025-01-09 08:04:09] Production.INFO: ==5846== Releasing lock...
[2025-01-09 08:04:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:04:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:04:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:04:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:04:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:04:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:04:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:04:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:04:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:04:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:04:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:04:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:04:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:04:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:04:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:04:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:04:12] Production.INFO: call_cost start
[2025-01-09 08:04:12] Production.INFO: call_cost end
[2025-01-09 08:04:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:04:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:04:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:04:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:04:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:04:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:04:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:04:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:04:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:04:12] Production.INFO: ==5842== Releasing lock...
[2025-01-09 08:04:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:04:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:04:18] Production.INFO: count ==132
[2025-01-09 08:04:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:04:04 - End Time 2025-01-09 08:04:04
[2025-01-09 08:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208231', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208231', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208231', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208231', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:04:18] Production.INFO: ProcessCDR(1,14208231,1,1,2)
[2025-01-09 08:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208231', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208231', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:04:21] Production.INFO: ==5850== Releasing lock...
[2025-01-09 08:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:04:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 13:05:01] Production.INFO: ==5906== Lock acquired, processing the job...
[2025-01-09 13:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:05:01] Production.INFO: neon service started
[2025-01-09 13:05:01] Production.INFO: neon service started
[2025-01-09 13:05:01] Production.INFO: ==5906== Releasing lock...
[2025-01-09 13:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:05:02] Production.INFO: ==5909== Lock acquired, processing the job...
[2025-01-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:05:02] Production.INFO: ==5911== Lock acquired, processing the job...
[2025-01-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:05:02] Production.INFO: ==5911== Releasing lock...
[2025-01-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:05:02] Production.INFO: ==5909== Releasing lock...
[2025-01-09 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:05:03] Production.INFO: ==5913== Lock acquired, processing the job...
[2025-01-09 08:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:05:03] Production.INFO: ==5919== Lock acquired, processing the job...
[2025-01-09 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:05:03] Production.INFO: ==5921== Lock acquired, processing the job...
[2025-01-09 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:05:03] Production.INFO: Account Balance Start.
[2025-01-09 08:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:05:03] Production.INFO: 117
[2025-01-09 08:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:05:03] Production.INFO: ==5915== Lock acquired, processing the job...
[2025-01-09 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:05:03] Production.INFO: Total Charge 0
[2025-01-09 08:05:03] Production.INFO: CreateAllLog End
[2025-01-09 08:05:03] Production.INFO: ==5917== Lock acquired, processing the job...
[2025-01-09 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:05:03] Production.INFO: ==5923== Lock acquired, processing the job...
[2025-01-09 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:05:03] Production.ERROR: done
[2025-01-09 08:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:05:04] Production.INFO: Account Balance End.
[2025-01-09 08:05:04] Production.INFO: count ==21
[2025-01-09 08:05:04] Production.ERROR: done
[2025-01-09 08:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:05:04] Production.INFO: ==5919== Releasing lock...
[2025-01-09 08:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:05:04] Production.INFO: count ==21
[2025-01-09 08:05:04] Production.INFO: ==5915== Releasing lock...
[2025-01-09 08:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208235') start
[2025-01-09 08:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208235') end
[2025-01-09 08:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:05:04] Production.INFO: 1
[2025-01-09 08:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:05:04] Production.INFO: ==5923== Releasing lock...
[2025-01-09 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:05:05
[end_date_ymd] => 2025-01-09 08:05:05
[RateCDR] => 1
)
[2025-01-09 08:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:05:05' and `end` < '2025-01-09 08:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:05:10] Production.ERROR: CronJobId end10
[2025-01-09 08:05:10] Production.INFO: ==5917== Releasing lock...
[2025-01-09 08:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:05:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:05:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:05:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:05:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:05:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:05:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:05:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:05:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:05:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:05:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:05:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:05:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:05:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:05:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:05:12] Production.INFO: call_cost start
[2025-01-09 08:05:12] Production.INFO: call_cost end
[2025-01-09 08:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:05:13] Production.INFO: ==5913== Releasing lock...
[2025-01-09 08:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:05:18] Production.INFO: count ==132
[2025-01-09 08:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:05:05 - End Time 2025-01-09 08:05:05
[2025-01-09 08:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208236', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208236', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208236', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208236', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:05:18] Production.INFO: ProcessCDR(1,14208236,1,1,2)
[2025-01-09 08:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208236', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208236', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:05:21] Production.INFO: ==5921== Releasing lock...
[2025-01-09 08:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:05:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 13:06:02] Production.INFO: ==5978== Lock acquired, processing the job...
[2025-01-09 13:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:06:02] Production.INFO: neon service started
[2025-01-09 13:06:02] Production.INFO: neon service started
[2025-01-09 13:06:02] Production.INFO: ==5978== Releasing lock...
[2025-01-09 13:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:06:02] Production.INFO: ==5980== Lock acquired, processing the job...
[2025-01-09 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:06:02] Production.INFO: ==5982== Lock acquired, processing the job...
[2025-01-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:06:03] Production.INFO: ==5982== Releasing lock...
[2025-01-09 13:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:06:03] Production.INFO: ==5980== Releasing lock...
[2025-01-09 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:06:03] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-01-09 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:06:04] Production.INFO: ==5995== Lock acquired, processing the job...
[2025-01-09 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:06:04] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-01-09 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 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-01-09 08:06:04] Production.INFO: count ==21
[2025-01-09 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-01-09 08:06:04] Production.INFO: count ==21
[2025-01-09 08:06:04] Production.INFO: ==5989== Lock acquired, processing the job...
[2025-01-09 08:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:06:04] Production.INFO: ==5991== Lock acquired, processing the job...
[2025-01-09 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208238') start
[2025-01-09 08:06:04] Production.INFO: ==5993== Lock acquired, processing the job...
[2025-01-09 08:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208238') end
[2025-01-09 08:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:06:04] Production.INFO: 1
[2025-01-09 08:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:06:04] Production.INFO: ==5995== Releasing lock...
[2025-01-09 08:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:06:04] Production.INFO: Account Balance Start.
[2025-01-09 08:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:06:04] Production.INFO: 117
[2025-01-09 08:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:06:04] Production.ERROR: done
[2025-01-09 08:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:06:04] Production.INFO: ==5987== Releasing lock...
[2025-01-09 08:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:06:04] Production.ERROR: done
[2025-01-09 08:06:04] Production.INFO: Total Charge 0
[2025-01-09 08:06:04] Production.INFO: CreateAllLog End
[2025-01-09 08:06:05] Production.INFO: Account Balance End.
[2025-01-09 08:06:05] Production.ERROR: CronJobId end 12
[2025-01-09 08:06:05] Production.INFO: ==5991== Releasing lock...
[2025-01-09 08:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:06:05
[end_date_ymd] => 2025-01-09 08:06:05
[RateCDR] => 1
)
[2025-01-09 08:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:06:05' and `end` < '2025-01-09 08:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:06:12] Production.ERROR: CronJobId end10
[2025-01-09 08:06:12] Production.INFO: ==5989== Releasing lock...
[2025-01-09 08:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:06:13] Production.INFO: call_cost start
[2025-01-09 08:06:13] Production.INFO: call_cost end
[2025-01-09 08:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:06:13] Production.INFO: ==5985== Releasing lock...
[2025-01-09 08:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:06:18] Production.INFO: count ==133
[2025-01-09 08:06:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:06:05 - End Time 2025-01-09 08:06:05
[2025-01-09 08:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208241', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208241', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208241', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208241', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:06:18] Production.INFO: ProcessCDR(1,14208241,1,1,2)
[2025-01-09 08:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208241', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208241', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:06:22] Production.INFO: ==5993== Releasing lock...
[2025-01-09 08:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:06:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-09 13:07:01] Production.INFO: ==6091== Lock acquired, processing the job...
[2025-01-09 13:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:07:01] Production.INFO: neon service started
[2025-01-09 13:07:01] Production.INFO: neon service started
[2025-01-09 13:07:01] Production.INFO: ==6091== Releasing lock...
[2025-01-09 13:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:07:02] Production.INFO: ==6093== Lock acquired, processing the job...
[2025-01-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:07:02] Production.INFO: ==6093== Releasing lock...
[2025-01-09 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:07:02] Production.INFO: ==6095== Lock acquired, processing the job...
[2025-01-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:07:02] Production.INFO: ==6095== Releasing lock...
[2025-01-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:07:03] Production.INFO: ==6098== Lock acquired, processing the job...
[2025-01-09 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:07:03] Production.INFO: ==6102== Lock acquired, processing the job...
[2025-01-09 08:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:07:03] Production.INFO: ==6108== Lock acquired, processing the job...
[2025-01-09 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:07:03] Production.INFO: ==6100== Lock acquired, processing the job...
[2025-01-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:07:03] Production.INFO: ==6104== Lock acquired, processing the job...
[2025-01-09 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:07:03] Production.INFO: ==6106== Lock acquired, processing the job...
[2025-01-09 08:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:07:03] Production.INFO: count ==21
[2025-01-09 08:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:07:03] Production.INFO: count ==21
[2025-01-09 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208243') start
[2025-01-09 08:07:03] Production.INFO: Account Balance Start.
[2025-01-09 08:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:07:03] Production.INFO: 117
[2025-01-09 08:07:03] Production.INFO: ==6100== Releasing lock...
[2025-01-09 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208243') end
[2025-01-09 08:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:07:03] Production.INFO: 1
[2025-01-09 08:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:07:03] Production.INFO: Total Charge 0
[2025-01-09 08:07:03] Production.INFO: CreateAllLog End
[2025-01-09 08:07:03] Production.INFO: ==6108== Releasing lock...
[2025-01-09 08:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:07:04] Production.ERROR: done
[2025-01-09 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:07:04] Production.INFO: Account Balance End.
[2025-01-09 08:07:04] Production.ERROR: done
[2025-01-09 08:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:07:04] Production.INFO: ==6104== Releasing lock...
[2025-01-09 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:07:05
[end_date_ymd] => 2025-01-09 08:07:05
[RateCDR] => 1
)
[2025-01-09 08:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:07:05' and `end` < '2025-01-09 08:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:07:10] Production.ERROR: CronJobId end10
[2025-01-09 08:07:10] Production.INFO: ==6102== Releasing lock...
[2025-01-09 08:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:07:12] Production.INFO: call_cost start
[2025-01-09 08:07:12] Production.INFO: call_cost end
[2025-01-09 08:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:07:13] Production.INFO: ==6098== Releasing lock...
[2025-01-09 08:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:07:19] Production.INFO: count ==150
[2025-01-09 08:07:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:07:05 - End Time 2025-01-09 08:07:05
[2025-01-09 08:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208246', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208246', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208246', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208246', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:07:19] Production.INFO: ProcessCDR(1,14208246,1,1,2)
[2025-01-09 08:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208246', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208246', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:07:22] Production.INFO: ==6106== Releasing lock...
[2025-01-09 08:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:07:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 13:08:02] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-09 13:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:08:02] Production.INFO: neon service started
[2025-01-09 13:08:02] Production.INFO: neon service started
[2025-01-09 13:08:02] Production.INFO: ==6167== Releasing lock...
[2025-01-09 13:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:08:02] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-01-09 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:08:02] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-01-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:08:02] Production.INFO: ==6171== Releasing lock...
[2025-01-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:08:03] Production.INFO: ==6169== Releasing lock...
[2025-01-09 08:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:08:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-01-09 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:08:04] Production.INFO: ==6182== Lock acquired, processing the job...
[2025-01-09 08:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:08:04] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-01-09 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:08:04] Production.INFO: ==6180== Lock acquired, processing the job...
[2025-01-09 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:08:04] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-01-09 08:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:08:04] Production.INFO: ==6184== Lock acquired, processing the job...
[2025-01-09 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:08:04] Production.ERROR: done
[2025-01-09 08:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:08:04] Production.INFO: Account Balance Start.
[2025-01-09 08:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:08:04] Production.INFO: 117
[2025-01-09 08:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 08:08:04] Production.INFO: count ==21
[2025-01-09 08:08:04] Production.ERROR: done
[2025-01-09 08:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 08:08:04] Production.INFO: count ==21
[2025-01-09 08:08:04] Production.INFO: ==6176== Releasing lock...
[2025-01-09 08:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208250') start
[2025-01-09 08:08:04] Production.INFO: Total Charge 0
[2025-01-09 08:08:04] Production.INFO: CreateAllLog End
[2025-01-09 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208250') end
[2025-01-09 08:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:08:04] Production.INFO: 1
[2025-01-09 08:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:08:04] Production.INFO: Account Balance End.
[2025-01-09 08:08:04] Production.INFO: ==6184== Releasing lock...
[2025-01-09 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:08:04] Production.INFO: ==6180== Releasing lock...
[2025-01-09 08:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:08:05
[end_date_ymd] => 2025-01-09 08:08:05
[RateCDR] => 1
)
[2025-01-09 08:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:08:05' and `end` < '2025-01-09 08:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:08:11] Production.ERROR: CronJobId end10
[2025-01-09 08:08:11] Production.INFO: ==6178== Releasing lock...
[2025-01-09 08:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:08:12] Production.INFO: call_cost start
[2025-01-09 08:08:12] Production.INFO: call_cost end
[2025-01-09 08:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:08:13] Production.INFO: ==6174== Releasing lock...
[2025-01-09 08:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:08:18] Production.INFO: count ==155
[2025-01-09 08:08:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:08:05 - End Time 2025-01-09 08:08:05
[2025-01-09 08:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208251', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208251', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208251', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208251', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:08:18] Production.INFO: ProcessCDR(1,14208251,1,1,2)
[2025-01-09 08:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208251', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208251', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:08:23] Production.INFO: ==6182== Releasing lock...
[2025-01-09 08:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:08:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 13:09:01] Production.INFO: ==6239== Lock acquired, processing the job...
[2025-01-09 13:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:09:01] Production.INFO: neon service started
[2025-01-09 13:09:01] Production.INFO: neon service started
[2025-01-09 13:09:01] Production.INFO: ==6239== Releasing lock...
[2025-01-09 13:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:09:01] Production.INFO: ==6243== Lock acquired, processing the job...
[2025-01-09 13:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:09:01] Production.INFO: ==6243== Releasing lock...
[2025-01-09 13:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:09:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:09:02] Production.INFO: ==6241== Lock acquired, processing the job...
[2025-01-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:09:02] Production.INFO: ==6241== Releasing lock...
[2025-01-09 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:09:03] Production.INFO: ==6246== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:09:03] Production.INFO: ==6248== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:09:03] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:09:03] Production.INFO: ==6248== Releasing lock...
[2025-01-09 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:09:03] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:09:03] Production.INFO: ==6256== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:09:03] Production.INFO: ==6254== Lock acquired, processing the job...
[2025-01-09 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:09:03] Production.INFO: count ==21
[2025-01-09 08:09:03] Production.INFO: Account Balance Start.
[2025-01-09 08:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:09:03] Production.INFO: 117
[2025-01-09 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:09:03] Production.INFO: count ==21
[2025-01-09 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208254') start
[2025-01-09 08:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:09:03] Production.INFO: Total Charge 0
[2025-01-09 08:09:03] Production.INFO: CreateAllLog End
[2025-01-09 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208254') end
[2025-01-09 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:09:04] Production.INFO: 1
[2025-01-09 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:09:04] Production.ERROR: done
[2025-01-09 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:09:04] Production.INFO: ==6256== Releasing lock...
[2025-01-09 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:09:04] Production.ERROR: done
[2025-01-09 08:09:04] Production.INFO: Account Balance End.
[2025-01-09 08:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:09:04] Production.INFO: ==6252== Releasing lock...
[2025-01-09 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:09:05
[end_date_ymd] => 2025-01-09 08:09:05
[RateCDR] => 1
)
[2025-01-09 08:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:09:05' and `end` < '2025-01-09 08:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:09:10] Production.ERROR: CronJobId end10
[2025-01-09 08:09:10] Production.INFO: ==6250== Releasing lock...
[2025-01-09 08:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:09:12] Production.INFO: call_cost start
[2025-01-09 08:09:12] Production.INFO: call_cost end
[2025-01-09 08:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:09:13] Production.INFO: ==6246== Releasing lock...
[2025-01-09 08:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:09:18] Production.INFO: count ==156
[2025-01-09 08:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:09:05 - End Time 2025-01-09 08:09:05
[2025-01-09 08:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208256', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208256', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208256', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208256', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:09:18] Production.INFO: ProcessCDR(1,14208256,1,1,2)
[2025-01-09 08:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208256', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208256', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:09:21] Production.INFO: ==6254== Releasing lock...
[2025-01-09 08:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:09:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-09 13:10:01] Production.INFO: ==6312== Lock acquired, processing the job...
[2025-01-09 13:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:10:01] Production.INFO: neon service started
[2025-01-09 13:10:02] Production.INFO: neon service started
[2025-01-09 13:10:02] Production.INFO: ==6312== Releasing lock...
[2025-01-09 13:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:10:02] Production.INFO: ==6316== Lock acquired, processing the job...
[2025-01-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:10:02] Production.INFO: ==6314== Lock acquired, processing the job...
[2025-01-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:10:02] Production.INFO: ==6316== Releasing lock...
[2025-01-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:10:02] Production.INFO: ==6314== Releasing lock...
[2025-01-09 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:10:03] Production.INFO: ==6323== Lock acquired, processing the job...
[2025-01-09 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:10:03] Production.INFO: ==6325== Lock acquired, processing the job...
[2025-01-09 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:10:03] Production.INFO: ==6319== Lock acquired, processing the job...
[2025-01-09 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 08:10:04] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-01-09 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:10:04] Production.ERROR: CronJob PID - 6323
[2025-01-09 08:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 08:10:04] Production.ERROR: CronJob ID - 7
[2025-01-09 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:10:00
[2025-01-09 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:10:04] Production.ERROR: CronJob PID - 6325
[2025-01-09 08:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 08:10:04] Production.ERROR: CronJob ID - 10
[2025-01-09 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:10:00
[2025-01-09 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:10:04] Production.ERROR: CronJob PID - 6333
[2025-01-09 08:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 08:10:04] Production.ERROR: CronJob ID - 19
[2025-01-09 08:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:10:00
[2025-01-09 08:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 08:10:04] Production.INFO: ==6319== Releasing lock...
[2025-01-09 08:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 08:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:10:04] Production.INFO: ==6321== Lock acquired, processing the job...
[2025-01-09 08:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:10:04] Production.INFO: ==6323== Releasing lock...
[2025-01-09 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:10:04] Production.INFO: ==6327== Lock acquired, processing the job...
[2025-01-09 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:10:04] Production.INFO: count ==21
[2025-01-09 08:10:04] Production.INFO: ==6331== Lock acquired, processing the job...
[2025-01-09 08:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 08:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:10:04] Production.INFO: Account Balance Start.
[2025-01-09 08:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:10:04] Production.INFO: 117
[2025-01-09 08:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:10:04] Production.INFO: count ==21
[2025-01-09 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208258') start
[2025-01-09 08:10:04] Production.INFO: ==6329== Lock acquired, processing the job...
[2025-01-09 08:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:10:04] Production.INFO: Total Charge 0
[2025-01-09 08:10:04] Production.INFO: CreateAllLog End
[2025-01-09 08:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208258') end
[2025-01-09 08:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:10:04] Production.INFO: 1
[2025-01-09 08:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:10:04] Production.INFO: ==6333== Releasing lock...
[2025-01-09 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:10:04] Production.INFO: Account Balance End.
[2025-01-09 08:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:10:04] Production.INFO: ==6327== Releasing lock...
[2025-01-09 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:10:04] Production.ERROR: done
[2025-01-09 08:10:05] Production.ERROR: done
[2025-01-09 08:10:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 08:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208261', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 08:10:05] Production.ERROR: done
[2025-01-09 08:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:10:06
[end_date_ymd] => 2025-01-09 08:10:06
[RateCDR] => 1
)
[2025-01-09 08:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:10:06' and `end` < '2025-01-09 08:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208261', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 08:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 08:10:09] Production.INFO: ProcessCDR(1,14208261,1,1,2)
[2025-01-09 08:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208261,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208261,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:10:09] Production.INFO: ==6331== Releasing lock...
[2025-01-09 08:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 08:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 08:10:11] Production.ERROR: CronJobId end10
[2025-01-09 08:10:11] Production.INFO: ==6325== Releasing lock...
[2025-01-09 08:10:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:10:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:10:15] Production.INFO: call_cost start
[2025-01-09 08:10:15] Production.INFO: call_cost end
[2025-01-09 08:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:10:16] Production.INFO: ==6321== Releasing lock...
[2025-01-09 08:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:10:19] Production.INFO: count ==173
[2025-01-09 08:10:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:10:06 - End Time 2025-01-09 08:10:06
[2025-01-09 08:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208262', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208262', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208262', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208262', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:10:19] Production.INFO: ProcessCDR(1,14208262,1,1,2)
[2025-01-09 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208262', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208262', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:10:23] Production.INFO: ==6329== Releasing lock...
[2025-01-09 08:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:10:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-09 13:11:01] Production.INFO: ==6389== Lock acquired, processing the job...
[2025-01-09 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:11:01] Production.INFO: neon service started
[2025-01-09 13:11:01] Production.INFO: neon service started
[2025-01-09 13:11:01] Production.INFO: ==6389== Releasing lock...
[2025-01-09 13:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:11:02] Production.INFO: ==6391== Lock acquired, processing the job...
[2025-01-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:11:02] Production.INFO: ==6394== Lock acquired, processing the job...
[2025-01-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:11:02] Production.INFO: ==6394== Releasing lock...
[2025-01-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:11:02] Production.INFO: ==6391== Releasing lock...
[2025-01-09 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:11:03] Production.INFO: ==6406== Lock acquired, processing the job...
[2025-01-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:11:03] Production.INFO: ==6404== Lock acquired, processing the job...
[2025-01-09 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:11:03] Production.INFO: ==6396== Lock acquired, processing the job...
[2025-01-09 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:11:03] Production.INFO: ==6398== Lock acquired, processing the job...
[2025-01-09 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:11:03] Production.INFO: count ==21
[2025-01-09 08:11:03] Production.INFO: ==6402== Lock acquired, processing the job...
[2025-01-09 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:11:03] Production.INFO: ==6400== Lock acquired, processing the job...
[2025-01-09 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:11:03] Production.INFO: count ==21
[2025-01-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208263') start
[2025-01-09 08:11:03] Production.ERROR: done
[2025-01-09 08:11:03] Production.INFO: Account Balance Start.
[2025-01-09 08:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:11:03] Production.INFO: 117
[2025-01-09 08:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:11:03] Production.INFO: Total Charge 0
[2025-01-09 08:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208263') end
[2025-01-09 08:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:11:03] Production.INFO: 1
[2025-01-09 08:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:11:03] Production.INFO: CreateAllLog End
[2025-01-09 08:11:03] Production.INFO: ==6406== Releasing lock...
[2025-01-09 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:11:03] Production.ERROR: done
[2025-01-09 08:11:03] Production.INFO: ==6398== Releasing lock...
[2025-01-09 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:11:04] Production.INFO: Account Balance End.
[2025-01-09 08:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:11:04] Production.INFO: ==6402== Releasing lock...
[2025-01-09 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:11:04
[end_date_ymd] => 2025-01-09 08:11:04
[RateCDR] => 1
)
[2025-01-09 08:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:11:04' and `end` < '2025-01-09 08:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:11:11] Production.ERROR: CronJobId end10
[2025-01-09 08:11:11] Production.INFO: ==6400== Releasing lock...
[2025-01-09 08:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:11:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:11:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:11:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:11:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:11:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:11:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:11:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:11:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:11:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:11:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:11:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:11:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:11:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:11:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:11:12] Production.INFO: call_cost start
[2025-01-09 08:11:12] Production.INFO: call_cost end
[2025-01-09 08:11:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:11:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:11:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:11:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:11:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:11:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:11:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:11:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:11:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:11:12] Production.INFO: ==6396== Releasing lock...
[2025-01-09 08:11:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:11:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:11:19] Production.INFO: count ==192
[2025-01-09 08:11:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:11:04 - End Time 2025-01-09 08:11:04
[2025-01-09 08:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208267', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208267', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208267', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208267', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:11:19] Production.INFO: ProcessCDR(1,14208267,1,1,2)
[2025-01-09 08:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208267', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208267', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:11:23] Production.INFO: ==6404== Releasing lock...
[2025-01-09 08:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:11:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-09 13:12:02] Production.INFO: ==6460== Lock acquired, processing the job...
[2025-01-09 13:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:12:02] Production.INFO: neon service started
[2025-01-09 13:12:02] Production.INFO: neon service started
[2025-01-09 13:12:02] Production.INFO: ==6460== Releasing lock...
[2025-01-09 13:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:12:02] Production.INFO: ==6464== Lock acquired, processing the job...
[2025-01-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:12:02] Production.INFO: ==6464== Releasing lock...
[2025-01-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:12:02] Production.INFO: ==6462== Lock acquired, processing the job...
[2025-01-09 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:12:03] Production.INFO: ==6462== Releasing lock...
[2025-01-09 08:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:12:03] Production.INFO: ==6471== Lock acquired, processing the job...
[2025-01-09 08:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:12:03] Production.INFO: ==6477== Lock acquired, processing the job...
[2025-01-09 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:12:03] Production.INFO: ==6467== Lock acquired, processing the job...
[2025-01-09 08:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:12:04] Production.INFO: ==6469== Lock acquired, processing the job...
[2025-01-09 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:12:04] Production.INFO: ==6473== Lock acquired, processing the job...
[2025-01-09 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:12:04] Production.INFO: count ==21
[2025-01-09 08:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:12:04] Production.INFO: count ==21
[2025-01-09 08:12:04] Production.INFO: ==6475== Lock acquired, processing the job...
[2025-01-09 08:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208269') start
[2025-01-09 08:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:12:04] Production.INFO: Account Balance Start.
[2025-01-09 08:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:12:04] Production.INFO: 117
[2025-01-09 08:12:04] Production.INFO: ==6469== Releasing lock...
[2025-01-09 08:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208269') end
[2025-01-09 08:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:12:04] Production.INFO: 1
[2025-01-09 08:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:12:04] Production.INFO: ==6477== Releasing lock...
[2025-01-09 08:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:12:04] Production.INFO: Total Charge 0
[2025-01-09 08:12:04] Production.INFO: CreateAllLog End
[2025-01-09 08:12:04] Production.ERROR: done
[2025-01-09 08:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:12:04] Production.INFO: Account Balance End.
[2025-01-09 08:12:04] Production.ERROR: done
[2025-01-09 08:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:12:04] Production.INFO: ==6473== Releasing lock...
[2025-01-09 08:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:12:05
[end_date_ymd] => 2025-01-09 08:12:05
[RateCDR] => 1
)
[2025-01-09 08:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:12:05' and `end` < '2025-01-09 08:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:12:12] Production.ERROR: CronJobId end10
[2025-01-09 08:12:12] Production.INFO: ==6471== Releasing lock...
[2025-01-09 08:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:12:13] Production.INFO: call_cost start
[2025-01-09 08:12:13] Production.INFO: call_cost end
[2025-01-09 08:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:12:14] Production.INFO: ==6467== Releasing lock...
[2025-01-09 08:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:12:18] Production.INFO: count ==204
[2025-01-09 08:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:12:05 - End Time 2025-01-09 08:12:05
[2025-01-09 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208272', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208272', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208272', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208272', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:12:18] Production.INFO: ProcessCDR(1,14208272,1,1,2)
[2025-01-09 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208272', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208272', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:12:22] Production.INFO: ==6475== Releasing lock...
[2025-01-09 08:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:12:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-09 13:13:01] Production.INFO: ==6531== Lock acquired, processing the job...
[2025-01-09 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:13:01] Production.INFO: neon service started
[2025-01-09 13:13:01] Production.INFO: neon service started
[2025-01-09 13:13:01] Production.INFO: ==6531== Releasing lock...
[2025-01-09 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:13:01] Production.INFO: ==6533== Lock acquired, processing the job...
[2025-01-09 08:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:13:02] Production.INFO: ==6533== Releasing lock...
[2025-01-09 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:13:02] Production.INFO: ==6535== Lock acquired, processing the job...
[2025-01-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:13:02] Production.INFO: ==6535== Releasing lock...
[2025-01-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:13:03] Production.INFO: ==6541== Lock acquired, processing the job...
[2025-01-09 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:13:03] Production.INFO: ==6537== Lock acquired, processing the job...
[2025-01-09 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:13:03] Production.INFO: ==6547== Lock acquired, processing the job...
[2025-01-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:13:03] Production.INFO: ==6539== Lock acquired, processing the job...
[2025-01-09 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:13:03] Production.INFO: ==6543== Lock acquired, processing the job...
[2025-01-09 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:13:03] Production.INFO: ==6545== Lock acquired, processing the job...
[2025-01-09 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:13:03] Production.INFO: count ==21
[2025-01-09 08:13:03] Production.INFO: Account Balance Start.
[2025-01-09 08:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:13:03] Production.INFO: 117
[2025-01-09 08:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:13:03] Production.INFO: count ==21
[2025-01-09 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208274') start
[2025-01-09 08:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:13:03] Production.INFO: Total Charge 0
[2025-01-09 08:13:03] Production.INFO: CreateAllLog End
[2025-01-09 08:13:03] Production.INFO: ==6539== Releasing lock...
[2025-01-09 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208274') end
[2025-01-09 08:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:13:03] Production.INFO: 1
[2025-01-09 08:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:13:03] Production.INFO: Account Balance End.
[2025-01-09 08:13:03] Production.INFO: ==6547== Releasing lock...
[2025-01-09 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:13:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:13:03] Production.INFO: ==6543== Releasing lock...
[2025-01-09 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:13:03] Production.ERROR: done
[2025-01-09 08:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:13:04] Production.ERROR: done
[2025-01-09 08:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:13:04
[end_date_ymd] => 2025-01-09 08:13:04
[RateCDR] => 1
)
[2025-01-09 08:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:13:04' and `end` < '2025-01-09 08:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:13:10] Production.ERROR: CronJobId end10
[2025-01-09 08:13:10] Production.INFO: ==6541== Releasing lock...
[2025-01-09 08:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:13:12] Production.INFO: call_cost start
[2025-01-09 08:13:12] Production.INFO: call_cost end
[2025-01-09 08:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:13:13] Production.INFO: ==6537== Releasing lock...
[2025-01-09 08:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:13:17] Production.INFO: count ==209
[2025-01-09 08:13:17] Production.ERROR: pbx CDR StartTime 2025-01-09 05:13:04 - End Time 2025-01-09 08:13:04
[2025-01-09 08:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208277', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208277', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208277', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208277', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:13:17] Production.INFO: ProcessCDR(1,14208277,1,1,2)
[2025-01-09 08:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208277', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208277', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:13:21] Production.INFO: ==6545== Releasing lock...
[2025-01-09 08:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:13:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-09 13:14:02] Production.INFO: ==6605== Lock acquired, processing the job...
[2025-01-09 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:14:02] Production.INFO: neon service started
[2025-01-09 13:14:02] Production.INFO: neon service started
[2025-01-09 13:14:02] Production.INFO: ==6605== Releasing lock...
[2025-01-09 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:14:02] Production.INFO: ==6607== Lock acquired, processing the job...
[2025-01-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:14:02] Production.INFO: ==6607== Releasing lock...
[2025-01-09 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:14:02] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-01-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:14:02] Production.INFO: ==6609== Releasing lock...
[2025-01-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:14:03] Production.INFO: ==6613== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:14:03] Production.INFO: ==6615== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:14:03] Production.INFO: ==6619== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:14:03] Production.INFO: ==6611== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:14:03] Production.INFO: ==6621== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:14:03] Production.INFO: ==6617== Lock acquired, processing the job...
[2025-01-09 08:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:14:03] Production.INFO: ==6613== Releasing lock...
[2025-01-09 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:14:03] Production.ERROR: done
[2025-01-09 08:14:03] Production.INFO: Account Balance Start.
[2025-01-09 08:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:14:03] Production.INFO: 117
[2025-01-09 08:14:03] Production.INFO: count ==21
[2025-01-09 08:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:14:03] Production.INFO: count ==21
[2025-01-09 08:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208279') start
[2025-01-09 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:14:04] Production.INFO: Total Charge 0
[2025-01-09 08:14:04] Production.INFO: CreateAllLog End
[2025-01-09 08:14:04] Production.ERROR: done
[2025-01-09 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208279') end
[2025-01-09 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:14:04] Production.INFO: 1
[2025-01-09 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:14:04] Production.INFO: ==6621== Releasing lock...
[2025-01-09 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:14:04] Production.INFO: Account Balance End.
[2025-01-09 08:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:14:04] Production.INFO: ==6617== Releasing lock...
[2025-01-09 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:14:05
[end_date_ymd] => 2025-01-09 08:14:05
[RateCDR] => 1
)
[2025-01-09 08:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:14:05' and `end` < '2025-01-09 08:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:14:10] Production.ERROR: CronJobId end10
[2025-01-09 08:14:10] Production.INFO: ==6615== Releasing lock...
[2025-01-09 08:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:14:13] Production.INFO: call_cost start
[2025-01-09 08:14:13] Production.INFO: call_cost end
[2025-01-09 08:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:14:14] Production.INFO: ==6611== Releasing lock...
[2025-01-09 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:14:18] Production.INFO: count ==212
[2025-01-09 08:14:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:14:05 - End Time 2025-01-09 08:14:05
[2025-01-09 08:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208282', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208282', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208282', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208282', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:14:18] Production.INFO: ProcessCDR(1,14208282,1,1,2)
[2025-01-09 08:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208282', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208282', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:14:22] Production.INFO: ==6619== Releasing lock...
[2025-01-09 08:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:14:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-09 13:15:01] Production.INFO: ==6678== Lock acquired, processing the job...
[2025-01-09 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:15:01] Production.INFO: neon service started
[2025-01-09 13:15:01] Production.INFO: neon service started
[2025-01-09 13:15:01] Production.INFO: ==6678== Releasing lock...
[2025-01-09 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:15:01] Production.INFO: ==6680== Lock acquired, processing the job...
[2025-01-09 08:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:15:02] Production.INFO: ==6682== Lock acquired, processing the job...
[2025-01-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:15:02] Production.INFO: ==6680== Releasing lock...
[2025-01-09 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:15:02] Production.INFO: ==6682== Releasing lock...
[2025-01-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:15:02] Production.INFO: ==6684== Lock acquired, processing the job...
[2025-01-09 08:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:15:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:15:02] Production.INFO: ==6686== Lock acquired, processing the job...
[2025-01-09 08:15:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:15:02] Production.INFO: ==6688== Lock acquired, processing the job...
[2025-01-09 08:15:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:15:03] Production.INFO: ==6690== Lock acquired, processing the job...
[2025-01-09 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:15:03] Production.INFO: ==6694== Lock acquired, processing the job...
[2025-01-09 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:15:03] Production.INFO: ==6692== Lock acquired, processing the job...
[2025-01-09 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:15:03] Production.INFO: ==6686== Releasing lock...
[2025-01-09 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:15:03] Production.INFO: Account Balance Start.
[2025-01-09 08:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:15:03] Production.INFO: 117
[2025-01-09 08:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:15:03] Production.INFO: count ==21
[2025-01-09 08:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:15:03] Production.INFO: count ==21
[2025-01-09 08:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208286') start
[2025-01-09 08:15:03] Production.INFO: Total Charge 0
[2025-01-09 08:15:03] Production.INFO: CreateAllLog End
[2025-01-09 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208286') end
[2025-01-09 08:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:15:03] Production.INFO: 1
[2025-01-09 08:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:15:03] Production.INFO: Account Balance End.
[2025-01-09 08:15:03] Production.INFO: ==6694== Releasing lock...
[2025-01-09 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:15:03] Production.ERROR: done
[2025-01-09 08:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:15:03] Production.INFO: ==6690== Releasing lock...
[2025-01-09 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:15:03] Production.ERROR: done
[2025-01-09 08:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:15:04
[end_date_ymd] => 2025-01-09 08:15:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 05:15:04' and `end` < '2025-01-09 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-01-09 08:15:11] Production.ERROR: CronJobId end10
[2025-01-09 08:15:11] Production.INFO: ==6688== Releasing lock...
[2025-01-09 08:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:15:13] Production.INFO: call_cost start
[2025-01-09 08:15:13] Production.INFO: call_cost end
[2025-01-09 08:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:15:13] Production.INFO: ==6684== Releasing lock...
[2025-01-09 08:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:15:18] Production.INFO: count ==229
[2025-01-09 08:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:15:04 - End Time 2025-01-09 08:15:04
[2025-01-09 08:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208287', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208287', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208287', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208287', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:15:18] Production.INFO: ProcessCDR(1,14208287,1,1,2)
[2025-01-09 08:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208287', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208287', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:15:22] Production.INFO: ==6692== Releasing lock...
[2025-01-09 08:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:15:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-09 13:16:01] Production.INFO: ==6747== Lock acquired, processing the job...
[2025-01-09 13:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:16:01] Production.INFO: neon service started
[2025-01-09 13:16:01] Production.INFO: neon service started
[2025-01-09 13:16:01] Production.INFO: ==6747== Releasing lock...
[2025-01-09 13:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:16:02] Production.INFO: ==6751== Lock acquired, processing the job...
[2025-01-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:16:02] Production.INFO: ==6751== Releasing lock...
[2025-01-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:16:02] Production.INFO: ==6749== Lock acquired, processing the job...
[2025-01-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:16:02] Production.INFO: ==6749== Releasing lock...
[2025-01-09 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:16:03] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-01-09 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:16:03] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-01-09 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:16:03] Production.INFO: ==6754== Lock acquired, processing the job...
[2025-01-09 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:16:03] Production.INFO: ==6756== Lock acquired, processing the job...
[2025-01-09 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:16:03] Production.INFO: count ==21
[2025-01-09 08:16:03] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-01-09 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:16:03] Production.INFO: count ==21
[2025-01-09 08:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208288') start
[2025-01-09 08:16:03] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-01-09 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:16:03] Production.INFO: Account Balance Start.
[2025-01-09 08:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:16:03] Production.INFO: 117
[2025-01-09 08:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208288') end
[2025-01-09 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:16:04] Production.INFO: 1
[2025-01-09 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:16:04] Production.INFO: ==6764== Releasing lock...
[2025-01-09 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:16:04] Production.INFO: Total Charge 0
[2025-01-09 08:16:04] Production.INFO: CreateAllLog End
[2025-01-09 08:16:04] Production.INFO: ==6756== Releasing lock...
[2025-01-09 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:16:04] Production.ERROR: done
[2025-01-09 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:16:04] Production.INFO: Account Balance End.
[2025-01-09 08:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:16:04] Production.INFO: ==6760== Releasing lock...
[2025-01-09 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:16:04] Production.ERROR: done
[2025-01-09 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:16:05
[end_date_ymd] => 2025-01-09 08:16:05
[RateCDR] => 1
)
[2025-01-09 08:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:16:05' and `end` < '2025-01-09 08:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:16:11] Production.ERROR: CronJobId end10
[2025-01-09 08:16:11] Production.INFO: ==6758== Releasing lock...
[2025-01-09 08:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:16:12] Production.INFO: call_cost start
[2025-01-09 08:16:12] Production.INFO: call_cost end
[2025-01-09 08:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:16:13] Production.INFO: ==6754== Releasing lock...
[2025-01-09 08:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:16:18] Production.INFO: count ==240
[2025-01-09 08:16:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:16:05 - End Time 2025-01-09 08:16:05
[2025-01-09 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208292', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208292', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208292', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208292', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:16:18] Production.INFO: ProcessCDR(1,14208292,1,1,2)
[2025-01-09 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208292', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208292', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:16:23] Production.INFO: ==6762== Releasing lock...
[2025-01-09 08:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:16:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-09 13:17:02] Production.INFO: ==6818== Lock acquired, processing the job...
[2025-01-09 13:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:17:02] Production.INFO: neon service started
[2025-01-09 13:17:02] Production.INFO: neon service started
[2025-01-09 13:17:02] Production.INFO: ==6818== Releasing lock...
[2025-01-09 13:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:17:02] Production.INFO: ==6820== Lock acquired, processing the job...
[2025-01-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:17:02] Production.INFO: ==6820== Releasing lock...
[2025-01-09 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:17:03] Production.INFO: ==6822== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:17:03] Production.INFO: ==6822== Releasing lock...
[2025-01-09 13:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:17:03] Production.INFO: ==6833== Lock acquired, processing the job...
[2025-01-09 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:17:03] Production.INFO: ==6825== Lock acquired, processing the job...
[2025-01-09 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:17:03] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-01-09 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:17:03] Production.INFO: ==6827== Lock acquired, processing the job...
[2025-01-09 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:17:03] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-01-09 08:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:17:04] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-01-09 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:17:04] Production.INFO: Account Balance Start.
[2025-01-09 08:17:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:17:04] Production.INFO: count ==21
[2025-01-09 08:17:04] Production.INFO: 117
[2025-01-09 08:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:17:04] Production.INFO: count ==21
[2025-01-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208294') start
[2025-01-09 08:17:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:17:04] Production.ERROR: done
[2025-01-09 08:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208294') end
[2025-01-09 08:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:17:04] Production.INFO: 1
[2025-01-09 08:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:17:04] Production.INFO: ==6835== Releasing lock...
[2025-01-09 08:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:17:04] Production.INFO: Total Charge 0
[2025-01-09 08:17:04] Production.ERROR: done
[2025-01-09 08:17:04] Production.INFO: ==6827== Releasing lock...
[2025-01-09 08:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:17:04] Production.INFO: CreateAllLog End
[2025-01-09 08:17:04] Production.INFO: Account Balance End.
[2025-01-09 08:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:17:04] Production.INFO: ==6831== Releasing lock...
[2025-01-09 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:17:05
[end_date_ymd] => 2025-01-09 08:17:05
[RateCDR] => 1
)
[2025-01-09 08:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:17:05' and `end` < '2025-01-09 08:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:17:11] Production.ERROR: CronJobId end10
[2025-01-09 08:17:11] Production.INFO: ==6829== Releasing lock...
[2025-01-09 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:17:14] Production.INFO: call_cost start
[2025-01-09 08:17:14] Production.INFO: call_cost end
[2025-01-09 08:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:17:14] Production.INFO: ==6825== Releasing lock...
[2025-01-09 08:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:17:18] Production.INFO: count ==247
[2025-01-09 08:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:17:05 - End Time 2025-01-09 08:17:05
[2025-01-09 08:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208297', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208297', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208297', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208297', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:17:18] Production.INFO: ProcessCDR(1,14208297,1,1,2)
[2025-01-09 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208297', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208297', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:17:22] Production.INFO: ==6833== Releasing lock...
[2025-01-09 08:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:17:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-09 13:18:01] Production.INFO: ==6902== Lock acquired, processing the job...
[2025-01-09 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:18:01] Production.INFO: neon service started
[2025-01-09 13:18:01] Production.INFO: neon service started
[2025-01-09 13:18:01] Production.INFO: ==6902== Releasing lock...
[2025-01-09 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:18:02] Production.INFO: ==6906== Lock acquired, processing the job...
[2025-01-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:18:02] Production.INFO: ==6906== Releasing lock...
[2025-01-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:18:02] Production.INFO: ==6904== Lock acquired, processing the job...
[2025-01-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:18:02] Production.INFO: ==6904== Releasing lock...
[2025-01-09 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:18:03] Production.INFO: ==6911== Lock acquired, processing the job...
[2025-01-09 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:18:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-09 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:18:03] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-09 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:18:03] Production.INFO: Account Balance Start.
[2025-01-09 08:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:18:03] Production.INFO: 117
[2025-01-09 08:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:18:03] Production.INFO: Total Charge 0
[2025-01-09 08:18:03] Production.INFO: CreateAllLog End
[2025-01-09 08:18:03] Production.INFO: ==6913== Lock acquired, processing the job...
[2025-01-09 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:18:03] Production.INFO: Account Balance End.
[2025-01-09 08:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:18:03] Production.INFO: ==6917== Releasing lock...
[2025-01-09 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:18:03] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-01-09 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:18:03] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-01-09 08:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:18:04] Production.INFO: ==6913== Releasing lock...
[2025-01-09 08:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:18:04] Production.ERROR: done
[2025-01-09 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:18:04] Production.INFO: count ==21
[2025-01-09 08:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:18:04] Production.INFO: count ==21
[2025-01-09 08:18:04] Production.ERROR: done
[2025-01-09 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208301') start
[2025-01-09 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208301') end
[2025-01-09 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:18:04] Production.INFO: 1
[2025-01-09 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:18:04] Production.INFO: ==6921== Releasing lock...
[2025-01-09 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:18:05
[end_date_ymd] => 2025-01-09 08:18:05
[RateCDR] => 1
)
[2025-01-09 08:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:18:05' and `end` < '2025-01-09 08:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:18:11] Production.ERROR: CronJobId end10
[2025-01-09 08:18:11] Production.INFO: ==6915== Releasing lock...
[2025-01-09 08:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:18:12] Production.INFO: call_cost start
[2025-01-09 08:18:12] Production.INFO: call_cost end
[2025-01-09 08:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:18:13] Production.INFO: ==6911== Releasing lock...
[2025-01-09 08:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:18:18] Production.INFO: count ==254
[2025-01-09 08:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:18:05 - End Time 2025-01-09 08:18:05
[2025-01-09 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208302', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208302', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208302', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208302', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:18:18] Production.INFO: ProcessCDR(1,14208302,1,1,2)
[2025-01-09 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208302', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208302', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:18:22] Production.INFO: ==6919== Releasing lock...
[2025-01-09 08:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:18:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-09 13:19:02] Production.INFO: ==6974== Lock acquired, processing the job...
[2025-01-09 13:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:19:02] Production.INFO: neon service started
[2025-01-09 13:19:02] Production.INFO: neon service started
[2025-01-09 13:19:02] Production.INFO: ==6974== Releasing lock...
[2025-01-09 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:19:02] Production.INFO: ==6976== Lock acquired, processing the job...
[2025-01-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:19:02] Production.INFO: ==6976== Releasing lock...
[2025-01-09 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:19:02] Production.INFO: ==6978== Lock acquired, processing the job...
[2025-01-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:19:02] Production.INFO: ==6978== Releasing lock...
[2025-01-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:19:03] Production.INFO: ==6981== Lock acquired, processing the job...
[2025-01-09 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:19:03] Production.INFO: ==6987== Lock acquired, processing the job...
[2025-01-09 08:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:19:03] Production.INFO: ==6983== Lock acquired, processing the job...
[2025-01-09 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:19:03] Production.INFO: ==6989== Lock acquired, processing the job...
[2025-01-09 08:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:19:03] Production.INFO: ==6985== Lock acquired, processing the job...
[2025-01-09 08:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:19:03] Production.INFO: Account Balance Start.
[2025-01-09 08:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:19:03] Production.INFO: 117
[2025-01-09 08:19:03] Production.INFO: ==6991== Lock acquired, processing the job...
[2025-01-09 08:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:19:04] Production.ERROR: done
[2025-01-09 08:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:19:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:19:04] Production.ERROR: done
[2025-01-09 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:19:04] Production.INFO: Total Charge 0
[2025-01-09 08:19:04] Production.INFO: CreateAllLog End
[2025-01-09 08:19:04] Production.INFO: count ==21
[2025-01-09 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:19:04] Production.INFO: count ==21
[2025-01-09 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208306') start
[2025-01-09 08:19:04] Production.INFO: ==6983== Releasing lock...
[2025-01-09 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208306') end
[2025-01-09 08:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:19:04] Production.INFO: 1
[2025-01-09 08:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:19:04] Production.INFO: ==6991== Releasing lock...
[2025-01-09 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:19:04] Production.INFO: Account Balance End.
[2025-01-09 08:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:19:04] Production.INFO: ==6987== Releasing lock...
[2025-01-09 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:19:05
[end_date_ymd] => 2025-01-09 08:19:05
[RateCDR] => 1
)
[2025-01-09 08:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:19:05' and `end` < '2025-01-09 08:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:19:11] Production.ERROR: CronJobId end10
[2025-01-09 08:19:11] Production.INFO: ==6985== Releasing lock...
[2025-01-09 08:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:19:13] Production.INFO: call_cost start
[2025-01-09 08:19:13] Production.INFO: call_cost end
[2025-01-09 08:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:19:14] Production.INFO: ==6981== Releasing lock...
[2025-01-09 08:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:19:19] Production.INFO: count ==260
[2025-01-09 08:19:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:19:05 - End Time 2025-01-09 08:19:05
[2025-01-09 08:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208307', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208307', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208307', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208307', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:19:19] Production.INFO: ProcessCDR(1,14208307,1,1,2)
[2025-01-09 08:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208307', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208307', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:19:22] Production.INFO: ==6989== Releasing lock...
[2025-01-09 08:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:19:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:20:01] Production.INFO: ==7044== Lock acquired, processing the job...
[2025-01-09 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:20:01] Production.INFO: neon service started
[2025-01-09 13:20:01] Production.INFO: neon service started
[2025-01-09 13:20:01] Production.INFO: ==7044== Releasing lock...
[2025-01-09 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:20:01] Production.INFO: ==7046== Lock acquired, processing the job...
[2025-01-09 08:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:20:02] Production.INFO: ==7046== Releasing lock...
[2025-01-09 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:20:02] Production.INFO: ==7048== Lock acquired, processing the job...
[2025-01-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:20:02] Production.INFO: ==7048== Releasing lock...
[2025-01-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:20:03] Production.INFO: ==7051== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 08:20:03] Production.INFO: ==7063== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 08:20:03] Production.INFO: ==7061== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 08:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:20:03] Production.ERROR: CronJob PID - 7063
[2025-01-09 08:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 08:20:03] Production.ERROR: CronJob ID - 17
[2025-01-09 08:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 08:20:00
[2025-01-09 08:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 08:20:03] Production.INFO: ==7051== Releasing lock...
[2025-01-09 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:20:03] Production.INFO: ==7053== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:20:03] Production.INFO: ==7055== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:20:03] Production.INFO: ==7059== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:20:03] Production.INFO: ==7057== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:20:03] Production.INFO: ==7065== Lock acquired, processing the job...
[2025-01-09 08:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:20:03] Production.ERROR: done
[2025-01-09 08:20:03] Production.INFO: Account Balance Start.
[2025-01-09 08:20:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:20:03] Production.INFO: 117
[2025-01-09 08:20:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:20:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 08:20:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208310', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 08:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:20:04] Production.ERROR: done
[2025-01-09 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:20:04] Production.INFO: Total Charge 0
[2025-01-09 08:20:04] Production.INFO: CreateAllLog End
[2025-01-09 08:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:20:04] Production.INFO: count ==21
[2025-01-09 08:20:04] Production.ERROR: done
[2025-01-09 08:20:04] Production.INFO: ==7055== Releasing lock...
[2025-01-09 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:20:04] Production.INFO: count ==21
[2025-01-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208312') start
[2025-01-09 08:20:04] Production.INFO: Account Balance End.
[2025-01-09 08:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:20:04] Production.INFO: ==7059== Releasing lock...
[2025-01-09 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208312') end
[2025-01-09 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:20:04] Production.INFO: 1
[2025-01-09 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:20:04] Production.INFO: ==7065== Releasing lock...
[2025-01-09 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:20:05
[end_date_ymd] => 2025-01-09 08:20:05
[RateCDR] => 1
)
[2025-01-09 08:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:20:05' and `end` < '2025-01-09 08:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208310', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 08:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 08:20:08] Production.INFO: ProcessCDR(1,14208310,1,1,2)
[2025-01-09 08:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208310,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208310,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:20:08] Production.INFO: ==7063== Releasing lock...
[2025-01-09 08:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 08:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 08:20:12] Production.ERROR: CronJobId end10
[2025-01-09 08:20:12] Production.INFO: ==7057== Releasing lock...
[2025-01-09 08:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:20:15] Production.INFO: call_cost start
[2025-01-09 08:20:15] Production.INFO: call_cost end
[2025-01-09 08:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:20:16] Production.INFO: ==7053== Releasing lock...
[2025-01-09 08:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:20:18] Production.INFO: count ==271
[2025-01-09 08:20:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:20:05 - End Time 2025-01-09 08:20:05
[2025-01-09 08:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208313', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208313', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208313', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208313', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:20:18] Production.INFO: ProcessCDR(1,14208313,1,1,2)
[2025-01-09 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208313', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208313', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:20:23] Production.INFO: ==7061== Releasing lock...
[2025-01-09 08:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:20:23] Production.INFO: 30.5 MB #Memory Used#
[2025-01-09 13:21:02] Production.INFO: ==7122== Lock acquired, processing the job...
[2025-01-09 13:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:21:02] Production.INFO: neon service started
[2025-01-09 13:21:02] Production.INFO: neon service started
[2025-01-09 13:21:02] Production.INFO: ==7122== Releasing lock...
[2025-01-09 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:21:02] Production.INFO: ==7124== Lock acquired, processing the job...
[2025-01-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:21:02] Production.INFO: ==7124== Releasing lock...
[2025-01-09 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:21:02] Production.INFO: ==7126== Lock acquired, processing the job...
[2025-01-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:21:02] Production.INFO: ==7126== Releasing lock...
[2025-01-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:21:03] Production.INFO: ==7135== Lock acquired, processing the job...
[2025-01-09 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:21:03] Production.INFO: Account Balance Start.
[2025-01-09 08:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:21:03] Production.INFO: 117
[2025-01-09 08:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:21:03] Production.INFO: ==7139== Lock acquired, processing the job...
[2025-01-09 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:21:03] Production.INFO: Total Charge 0
[2025-01-09 08:21:03] Production.INFO: ==7128== Lock acquired, processing the job...
[2025-01-09 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:21:03] Production.INFO: CreateAllLog End
[2025-01-09 08:21:03] Production.INFO: ==7130== Lock acquired, processing the job...
[2025-01-09 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:21:03] Production.INFO: ==7132== Lock acquired, processing the job...
[2025-01-09 08:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:21:03] Production.INFO: Account Balance End.
[2025-01-09 08:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:21:03] Production.INFO: ==7135== Releasing lock...
[2025-01-09 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:21:03] Production.INFO: count ==21
[2025-01-09 08:21:03] Production.INFO: ==7137== Lock acquired, processing the job...
[2025-01-09 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:21:03] Production.INFO: count ==21
[2025-01-09 08:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208315') start
[2025-01-09 08:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:21:04] Production.INFO: ==7130== Releasing lock...
[2025-01-09 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208315') end
[2025-01-09 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:21:04] Production.INFO: 1
[2025-01-09 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:21:04] Production.INFO: ==7139== Releasing lock...
[2025-01-09 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:21:04] Production.ERROR: done
[2025-01-09 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:21:04] Production.ERROR: done
[2025-01-09 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:21:05
[end_date_ymd] => 2025-01-09 08:21:05
[RateCDR] => 1
)
[2025-01-09 08:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:21:05' and `end` < '2025-01-09 08:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:21:10] Production.ERROR: CronJobId end10
[2025-01-09 08:21:10] Production.INFO: ==7132== Releasing lock...
[2025-01-09 08:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:21:12] Production.INFO: call_cost start
[2025-01-09 08:21:12] Production.INFO: call_cost end
[2025-01-09 08:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:21:13] Production.INFO: ==7128== Releasing lock...
[2025-01-09 08:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:21:18] Production.INFO: count ==283
[2025-01-09 08:21:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:21:05 - End Time 2025-01-09 08:21:05
[2025-01-09 08:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208318', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208318', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208318', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208318', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:21:18] Production.INFO: ProcessCDR(1,14208318,1,1,2)
[2025-01-09 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208318', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208318', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:21:22] Production.INFO: ==7137== Releasing lock...
[2025-01-09 08:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:21:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-09 13:22:01] Production.INFO: ==7193== Lock acquired, processing the job...
[2025-01-09 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:22:01] Production.INFO: neon service started
[2025-01-09 13:22:01] Production.INFO: neon service started
[2025-01-09 13:22:01] Production.INFO: ==7193== Releasing lock...
[2025-01-09 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:22:02] Production.INFO: ==7195== Lock acquired, processing the job...
[2025-01-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:22:02] Production.INFO: ==7197== Lock acquired, processing the job...
[2025-01-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:22:02] Production.INFO: ==7197== Releasing lock...
[2025-01-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:22:02] Production.INFO: ==7195== Releasing lock...
[2025-01-09 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:22:03] Production.INFO: ==7206== Lock acquired, processing the job...
[2025-01-09 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:22:03] Production.INFO: ==7208== Lock acquired, processing the job...
[2025-01-09 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:22:03] Production.INFO: Account Balance Start.
[2025-01-09 08:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:22:03] Production.INFO: 117
[2025-01-09 08:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:22:03] Production.INFO: Total Charge 0
[2025-01-09 08:22:03] Production.INFO: ==7204== Lock acquired, processing the job...
[2025-01-09 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:22:03] Production.INFO: CreateAllLog End
[2025-01-09 08:22:03] Production.INFO: ==7200== Lock acquired, processing the job...
[2025-01-09 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:22:03] Production.INFO: ==7202== Lock acquired, processing the job...
[2025-01-09 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:22:03] Production.INFO: ==7210== Lock acquired, processing the job...
[2025-01-09 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:22:04] Production.INFO: Account Balance End.
[2025-01-09 08:22:04] Production.ERROR: done
[2025-01-09 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:22:04] Production.INFO: ==7206== Releasing lock...
[2025-01-09 08:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 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-01-09 08:22:04] Production.INFO: count ==21
[2025-01-09 08:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:22:04] Production.INFO: count ==21
[2025-01-09 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208322') start
[2025-01-09 08:22:04] Production.INFO: ==7202== Releasing lock...
[2025-01-09 08:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:22:04] Production.ERROR: done
[2025-01-09 08:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208322') end
[2025-01-09 08:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:22:04] Production.INFO: 1
[2025-01-09 08:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:22:04] Production.INFO: ==7210== Releasing lock...
[2025-01-09 08:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:22:05
[end_date_ymd] => 2025-01-09 08:22:05
[RateCDR] => 1
)
[2025-01-09 08:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:22:05' and `end` < '2025-01-09 08:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:22:10] Production.ERROR: CronJobId end10
[2025-01-09 08:22:10] Production.INFO: ==7204== Releasing lock...
[2025-01-09 08:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:22:13] Production.INFO: call_cost start
[2025-01-09 08:22:13] Production.INFO: call_cost end
[2025-01-09 08:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:22:14] Production.INFO: ==7200== Releasing lock...
[2025-01-09 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:22:19] Production.INFO: count ==284
[2025-01-09 08:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:22:05 - End Time 2025-01-09 08:22:05
[2025-01-09 08:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208323', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208323', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208323', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208323', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:22:19] Production.INFO: ProcessCDR(1,14208323,1,1,2)
[2025-01-09 08:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208323', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208323', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:22:22] Production.INFO: ==7208== Releasing lock...
[2025-01-09 08:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:22:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-09 13:23:02] Production.INFO: ==7302== Lock acquired, processing the job...
[2025-01-09 13:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:23:02] Production.INFO: neon service started
[2025-01-09 13:23:02] Production.INFO: neon service started
[2025-01-09 13:23:02] Production.INFO: ==7302== Releasing lock...
[2025-01-09 13:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:23:02] Production.INFO: ==7304== Lock acquired, processing the job...
[2025-01-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:23:02] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-01-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:23:02] Production.INFO: ==7304== Releasing lock...
[2025-01-09 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:23:02] Production.INFO: ==7306== Releasing lock...
[2025-01-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:23:03] Production.INFO: ==7309== Lock acquired, processing the job...
[2025-01-09 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:23:03] Production.INFO: ==7311== Lock acquired, processing the job...
[2025-01-09 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:23:03] Production.INFO: ==7313== Lock acquired, processing the job...
[2025-01-09 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:23:03] Production.INFO: ==7315== Lock acquired, processing the job...
[2025-01-09 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:23:03] Production.INFO: ==7317== Lock acquired, processing the job...
[2025-01-09 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:23:03] Production.INFO: Account Balance Start.
[2025-01-09 08:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:23:03] Production.INFO: 117
[2025-01-09 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:23:04] Production.INFO: Total Charge 0
[2025-01-09 08:23:04] Production.INFO: CreateAllLog End
[2025-01-09 08:23:04] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-01-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:23:04] Production.ERROR: done
[2025-01-09 08:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:23:04] Production.INFO: ==7311== Releasing lock...
[2025-01-09 08:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:23:04] Production.INFO: count ==21
[2025-01-09 08:23:04] Production.INFO: Account Balance End.
[2025-01-09 08:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:23:04] Production.INFO: count ==21
[2025-01-09 08:23:04] Production.ERROR: done
[2025-01-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208327') start
[2025-01-09 08:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:23:04] Production.INFO: ==7315== Releasing lock...
[2025-01-09 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208327') end
[2025-01-09 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:23:04] Production.INFO: 1
[2025-01-09 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:23:04] Production.INFO: ==7319== Releasing lock...
[2025-01-09 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:23:05
[end_date_ymd] => 2025-01-09 08:23:05
[RateCDR] => 1
)
[2025-01-09 08:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:23:05' and `end` < '2025-01-09 08:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:23:11] Production.ERROR: CronJobId end10
[2025-01-09 08:23:11] Production.INFO: ==7313== Releasing lock...
[2025-01-09 08:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:23:13] Production.INFO: call_cost start
[2025-01-09 08:23:13] Production.INFO: call_cost end
[2025-01-09 08:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:23:14] Production.INFO: ==7309== Releasing lock...
[2025-01-09 08:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:23:18] Production.INFO: count ==297
[2025-01-09 08:23:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:23:05 - End Time 2025-01-09 08:23:05
[2025-01-09 08:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208328', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208328', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208328', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208328', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:23:18] Production.INFO: ProcessCDR(1,14208328,1,1,2)
[2025-01-09 08:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208328', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208328', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:23:22] Production.INFO: ==7317== Releasing lock...
[2025-01-09 08:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:23:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:24:01] Production.INFO: ==7375== Lock acquired, processing the job...
[2025-01-09 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:24:01] Production.INFO: neon service started
[2025-01-09 13:24:01] Production.INFO: neon service started
[2025-01-09 13:24:01] Production.INFO: ==7375== Releasing lock...
[2025-01-09 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:24:02] Production.INFO: ==7378== Lock acquired, processing the job...
[2025-01-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:24:02] Production.INFO: ==7380== Lock acquired, processing the job...
[2025-01-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:24:02] Production.INFO: ==7380== Releasing lock...
[2025-01-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:24:02] Production.INFO: ==7378== Releasing lock...
[2025-01-09 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:24:03] Production.INFO: ==7388== Lock acquired, processing the job...
[2025-01-09 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:24:03] Production.INFO: ==7392== Lock acquired, processing the job...
[2025-01-09 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:24:03] Production.INFO: count ==21
[2025-01-09 08:24:03] Production.INFO: Account Balance Start.
[2025-01-09 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:24:03] Production.INFO: count ==21
[2025-01-09 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208329') start
[2025-01-09 08:24:03] Production.INFO: 117
[2025-01-09 08:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:24:03] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-01-09 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:24:04] Production.INFO: Total Charge 0
[2025-01-09 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208329') end
[2025-01-09 08:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:24:04] Production.INFO: 1
[2025-01-09 08:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:24:04] Production.INFO: ==7390== Lock acquired, processing the job...
[2025-01-09 08:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:24:04] Production.INFO: ==7392== Releasing lock...
[2025-01-09 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:24:04] Production.INFO: CreateAllLog End
[2025-01-09 08:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:24:04] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-01-09 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:24:04] Production.INFO: ==7386== Lock acquired, processing the job...
[2025-01-09 08:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:24:04] Production.INFO: Account Balance End.
[2025-01-09 08:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:24:04] Production.INFO: ==7388== Releasing lock...
[2025-01-09 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:24:04] Production.ERROR: done
[2025-01-09 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:24:04] Production.INFO: ==7384== Releasing lock...
[2025-01-09 08:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:24:04] Production.ERROR: done
[2025-01-09 08:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:24:05
[end_date_ymd] => 2025-01-09 08:24:05
[RateCDR] => 1
)
[2025-01-09 08:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:24:05' and `end` < '2025-01-09 08:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:24:10] Production.ERROR: CronJobId end10
[2025-01-09 08:24:10] Production.INFO: ==7386== Releasing lock...
[2025-01-09 08:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:24:13] Production.INFO: call_cost start
[2025-01-09 08:24:13] Production.INFO: call_cost end
[2025-01-09 08:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:24:14] Production.INFO: ==7382== Releasing lock...
[2025-01-09 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:24:19] Production.INFO: count ==299
[2025-01-09 08:24:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:24:05 - End Time 2025-01-09 08:24:05
[2025-01-09 08:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208333', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208333', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208333', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208333', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:24:19] Production.INFO: ProcessCDR(1,14208333,1,1,2)
[2025-01-09 08:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208333', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208333', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:24:22] Production.INFO: ==7390== Releasing lock...
[2025-01-09 08:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:24:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:25:02] Production.INFO: ==7446== Lock acquired, processing the job...
[2025-01-09 13:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:25:02] Production.INFO: neon service started
[2025-01-09 13:25:02] Production.INFO: neon service started
[2025-01-09 13:25:02] Production.INFO: ==7446== Releasing lock...
[2025-01-09 13:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:25:02] Production.INFO: ==7448== Lock acquired, processing the job...
[2025-01-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:25:02] Production.INFO: ==7448== Releasing lock...
[2025-01-09 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:25:03] Production.INFO: ==7450== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:25:03] Production.INFO: ==7450== Releasing lock...
[2025-01-09 13:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:25:03] Production.INFO: ==7452== Lock acquired, processing the job...
[2025-01-09 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:25:03] Production.INFO: ==7454== Lock acquired, processing the job...
[2025-01-09 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:25:03] Production.INFO: ==7458== Lock acquired, processing the job...
[2025-01-09 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:25:03] Production.INFO: ==7456== Lock acquired, processing the job...
[2025-01-09 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:25:03] Production.INFO: ==7461== Lock acquired, processing the job...
[2025-01-09 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:25:03] Production.INFO: ==7463== Lock acquired, processing the job...
[2025-01-09 08:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:25:03] Production.INFO: Account Balance Start.
[2025-01-09 08:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:25:03] Production.INFO: 117
[2025-01-09 08:25:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:25:04] Production.INFO: ==7454== Releasing lock...
[2025-01-09 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:25:04] Production.ERROR: done
[2025-01-09 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:25:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:25:04] Production.INFO: count ==21
[2025-01-09 08:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:25:04] Production.INFO: count ==21
[2025-01-09 08:25:04] Production.INFO: Total Charge 0
[2025-01-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208337') start
[2025-01-09 08:25:04] Production.ERROR: done
[2025-01-09 08:25:04] Production.INFO: CreateAllLog End
[2025-01-09 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208337') end
[2025-01-09 08:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:25:04] Production.INFO: 1
[2025-01-09 08:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:25:04] Production.INFO: Account Balance End.
[2025-01-09 08:25:04] Production.INFO: ==7463== Releasing lock...
[2025-01-09 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:25:04] Production.INFO: ==7458== Releasing lock...
[2025-01-09 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:25:05
[end_date_ymd] => 2025-01-09 08:25:05
[RateCDR] => 1
)
[2025-01-09 08:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:25:05' and `end` < '2025-01-09 08:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:25:10] Production.ERROR: CronJobId end10
[2025-01-09 08:25:10] Production.INFO: ==7456== Releasing lock...
[2025-01-09 08:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:25:13] Production.INFO: call_cost start
[2025-01-09 08:25:13] Production.INFO: call_cost end
[2025-01-09 08:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:25:14] Production.INFO: ==7452== Releasing lock...
[2025-01-09 08:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:25:18] Production.INFO: count ==299
[2025-01-09 08:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:25:05 - End Time 2025-01-09 08:25:05
[2025-01-09 08:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208338', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208338', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208338', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208338', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:25:18] Production.INFO: ProcessCDR(1,14208338,1,1,2)
[2025-01-09 08:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208338', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208338', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:25:21] Production.INFO: ==7461== Releasing lock...
[2025-01-09 08:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:25:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:26:01] Production.INFO: ==7516== Lock acquired, processing the job...
[2025-01-09 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:26:01] Production.INFO: neon service started
[2025-01-09 13:26:01] Production.INFO: neon service started
[2025-01-09 13:26:01] Production.INFO: ==7516== Releasing lock...
[2025-01-09 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:26:02] Production.INFO: ==7520== Lock acquired, processing the job...
[2025-01-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:26:02] Production.INFO: ==7520== Releasing lock...
[2025-01-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:26:02] Production.INFO: ==7518== Lock acquired, processing the job...
[2025-01-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:26:02] Production.INFO: ==7518== Releasing lock...
[2025-01-09 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:26:03] Production.INFO: ==7523== Lock acquired, processing the job...
[2025-01-09 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:26:03] Production.INFO: ==7531== Lock acquired, processing the job...
[2025-01-09 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:26:03] Production.INFO: ==7525== Lock acquired, processing the job...
[2025-01-09 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:26:03] Production.INFO: ==7527== Lock acquired, processing the job...
[2025-01-09 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:26:03] Production.INFO: ==7533== Lock acquired, processing the job...
[2025-01-09 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:26:03] Production.INFO: ==7529== Lock acquired, processing the job...
[2025-01-09 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:26:03] Production.INFO: Account Balance Start.
[2025-01-09 08:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:26:03] Production.INFO: 117
[2025-01-09 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:26:03] Production.INFO: count ==21
[2025-01-09 08:26:04] Production.ERROR: done
[2025-01-09 08:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:26:04] Production.INFO: ==7525== Releasing lock...
[2025-01-09 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:26:04] Production.INFO: count ==21
[2025-01-09 08:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208341') start
[2025-01-09 08:26:04] Production.INFO: Total Charge 0
[2025-01-09 08:26:04] Production.INFO: CreateAllLog End
[2025-01-09 08:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208341') end
[2025-01-09 08:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:26:04] Production.INFO: 1
[2025-01-09 08:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:26:04] Production.ERROR: done
[2025-01-09 08:26:04] Production.INFO: ==7533== Releasing lock...
[2025-01-09 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:26:04] Production.INFO: Account Balance End.
[2025-01-09 08:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:26:04] Production.INFO: ==7529== Releasing lock...
[2025-01-09 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:26:05
[end_date_ymd] => 2025-01-09 08:26:05
[RateCDR] => 1
)
[2025-01-09 08:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:26:05' and `end` < '2025-01-09 08:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:26:10] Production.ERROR: CronJobId end10
[2025-01-09 08:26:10] Production.INFO: ==7527== Releasing lock...
[2025-01-09 08:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:26:13] Production.INFO: call_cost start
[2025-01-09 08:26:13] Production.INFO: call_cost end
[2025-01-09 08:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:26:13] Production.INFO: ==7523== Releasing lock...
[2025-01-09 08:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:26:18] Production.INFO: count ==299
[2025-01-09 08:26:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:26:05 - End Time 2025-01-09 08:26:05
[2025-01-09 08:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208343', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208343', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208343', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208343', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:26:18] Production.INFO: ProcessCDR(1,14208343,1,1,2)
[2025-01-09 08:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208343', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208343', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:26:21] Production.INFO: ==7531== Releasing lock...
[2025-01-09 08:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:26:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:27:02] Production.INFO: ==7588== Lock acquired, processing the job...
[2025-01-09 13:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:27:02] Production.INFO: neon service started
[2025-01-09 13:27:02] Production.INFO: neon service started
[2025-01-09 13:27:02] Production.INFO: ==7588== Releasing lock...
[2025-01-09 13:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:27:02] Production.INFO: ==7592== Lock acquired, processing the job...
[2025-01-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:27:02] Production.INFO: ==7592== Releasing lock...
[2025-01-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:27:02] Production.INFO: ==7590== Lock acquired, processing the job...
[2025-01-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:27:02] Production.INFO: ==7590== Releasing lock...
[2025-01-09 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:27:03] Production.INFO: ==7595== Lock acquired, processing the job...
[2025-01-09 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:27:03] Production.INFO: ==7597== Lock acquired, processing the job...
[2025-01-09 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:27:03] Production.INFO: ==7603== Lock acquired, processing the job...
[2025-01-09 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:27:03] Production.INFO: ==7597== Releasing lock...
[2025-01-09 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:27:04] Production.INFO: ==7599== Lock acquired, processing the job...
[2025-01-09 08:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:27:04] Production.INFO: ==7601== Lock acquired, processing the job...
[2025-01-09 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:27:04] Production.INFO: ==7605== Lock acquired, processing the job...
[2025-01-09 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:27:04] Production.ERROR: done
[2025-01-09 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:27:04] Production.INFO: Account Balance Start.
[2025-01-09 08:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:27:04] Production.INFO: 117
[2025-01-09 08:27:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:27:04] Production.ERROR: done
[2025-01-09 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:27:04] Production.INFO: count ==21
[2025-01-09 08:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:27:04] Production.INFO: count ==21
[2025-01-09 08:27:04] Production.INFO: Total Charge 0
[2025-01-09 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208347') start
[2025-01-09 08:27:04] Production.INFO: CreateAllLog End
[2025-01-09 08:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208347') end
[2025-01-09 08:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:27:04] Production.INFO: 1
[2025-01-09 08:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:27:04] Production.INFO: ==7605== Releasing lock...
[2025-01-09 08:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:27:05] Production.INFO: Account Balance End.
[2025-01-09 08:27:05] Production.ERROR: CronJobId end 12
[2025-01-09 08:27:05] Production.INFO: ==7601== Releasing lock...
[2025-01-09 08:27:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:27:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:27:05
[end_date_ymd] => 2025-01-09 08:27:05
[RateCDR] => 1
)
[2025-01-09 08:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:27:05' and `end` < '2025-01-09 08:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:27:11] Production.ERROR: CronJobId end10
[2025-01-09 08:27:11] Production.INFO: ==7599== Releasing lock...
[2025-01-09 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:27:14] Production.INFO: call_cost start
[2025-01-09 08:27:14] Production.INFO: call_cost end
[2025-01-09 08:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:27:14] Production.INFO: ==7595== Releasing lock...
[2025-01-09 08:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:27:18] Production.INFO: count ==305
[2025-01-09 08:27:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:27:05 - End Time 2025-01-09 08:27:05
[2025-01-09 08:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208348', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208348', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208348', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208348', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:27:18] Production.INFO: ProcessCDR(1,14208348,1,1,2)
[2025-01-09 08:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208348', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208348', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:27:23] Production.INFO: ==7603== Releasing lock...
[2025-01-09 08:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:27:23] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:28:01] Production.INFO: ==7662== Lock acquired, processing the job...
[2025-01-09 13:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:28:01] Production.INFO: neon service started
[2025-01-09 13:28:01] Production.INFO: neon service started
[2025-01-09 13:28:01] Production.INFO: ==7662== Releasing lock...
[2025-01-09 13:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:28:02] Production.INFO: ==7666== Lock acquired, processing the job...
[2025-01-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:28:02] Production.INFO: ==7666== Releasing lock...
[2025-01-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:28:02] Production.INFO: ==7664== Lock acquired, processing the job...
[2025-01-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:28:02] Production.INFO: ==7664== Releasing lock...
[2025-01-09 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:28:03] Production.INFO: ==7671== Lock acquired, processing the job...
[2025-01-09 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:28:03] Production.INFO: ==7677== Lock acquired, processing the job...
[2025-01-09 08:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:28:03] Production.INFO: ==7669== Lock acquired, processing the job...
[2025-01-09 08:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:28:03] Production.INFO: ==7671== Releasing lock...
[2025-01-09 08:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:28:03] Production.INFO: ==7673== Lock acquired, processing the job...
[2025-01-09 08:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:28:03] Production.INFO: ==7675== Lock acquired, processing the job...
[2025-01-09 08:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:28:03] Production.INFO: Account Balance Start.
[2025-01-09 08:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:28:03] Production.INFO: ==7679== Lock acquired, processing the job...
[2025-01-09 08:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:28:03] Production.INFO: 117
[2025-01-09 08:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:28:03] Production.ERROR: done
[2025-01-09 08:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:28:04] Production.INFO: Total Charge 0
[2025-01-09 08:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:28:04] Production.INFO: CreateAllLog End
[2025-01-09 08:28:04] Production.INFO: count ==21
[2025-01-09 08:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:28:04] Production.INFO: count ==21
[2025-01-09 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208352') start
[2025-01-09 08:28:04] Production.INFO: Account Balance End.
[2025-01-09 08:28:04] Production.ERROR: done
[2025-01-09 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208352') end
[2025-01-09 08:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:28:04] Production.INFO: 1
[2025-01-09 08:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:28:04] Production.INFO: ==7675== Releasing lock...
[2025-01-09 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:28:04] Production.INFO: ==7679== Releasing lock...
[2025-01-09 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:28:05
[end_date_ymd] => 2025-01-09 08:28:05
[RateCDR] => 1
)
[2025-01-09 08:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:28:05' and `end` < '2025-01-09 08:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:28:11] Production.ERROR: CronJobId end10
[2025-01-09 08:28:11] Production.INFO: ==7673== Releasing lock...
[2025-01-09 08:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:28:13] Production.INFO: call_cost start
[2025-01-09 08:28:13] Production.INFO: call_cost end
[2025-01-09 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:28:14] Production.INFO: ==7669== Releasing lock...
[2025-01-09 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:28:18] Production.INFO: count ==305
[2025-01-09 08:28:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:28:05 - End Time 2025-01-09 08:28:05
[2025-01-09 08:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208353', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208353', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208353', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208353', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:28:18] Production.INFO: ProcessCDR(1,14208353,1,1,2)
[2025-01-09 08:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208353', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208353', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:28:21] Production.INFO: ==7677== Releasing lock...
[2025-01-09 08:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:28:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-09 13:29:02] Production.INFO: ==7733== Lock acquired, processing the job...
[2025-01-09 13:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:29:02] Production.INFO: neon service started
[2025-01-09 13:29:02] Production.INFO: neon service started
[2025-01-09 13:29:02] Production.INFO: ==7733== Releasing lock...
[2025-01-09 13:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:29:02] Production.INFO: ==7735== Lock acquired, processing the job...
[2025-01-09 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:29:03] Production.INFO: ==7735== Releasing lock...
[2025-01-09 08:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:29:03] Production.INFO: ==7737== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:29:03] Production.INFO: ==7737== Releasing lock...
[2025-01-09 13:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:29:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:29:03] Production.INFO: ==7748== Lock acquired, processing the job...
[2025-01-09 08:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:29:04] Production.INFO: ==7750== Lock acquired, processing the job...
[2025-01-09 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:29:04] Production.INFO: ==7740== Lock acquired, processing the job...
[2025-01-09 08:29:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:29:04] Production.INFO: ==7742== Lock acquired, processing the job...
[2025-01-09 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 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-01-09 08:29:04] Production.INFO: ==7744== Lock acquired, processing the job...
[2025-01-09 08:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:29:04] Production.INFO: ==7746== Lock acquired, processing the job...
[2025-01-09 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:29:04] Production.INFO: count ==21
[2025-01-09 08:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:29:04] Production.INFO: count ==21
[2025-01-09 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208354') start
[2025-01-09 08:29:04] Production.ERROR: done
[2025-01-09 08:29:04] Production.INFO: Account Balance Start.
[2025-01-09 08:29:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:29:04] Production.INFO: 117
[2025-01-09 08:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208354') end
[2025-01-09 08:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:29:04] Production.INFO: 1
[2025-01-09 08:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:29:04] Production.INFO: Total Charge 0
[2025-01-09 08:29:04] Production.INFO: CreateAllLog End
[2025-01-09 08:29:04] Production.INFO: ==7750== Releasing lock...
[2025-01-09 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:29:04] Production.ERROR: done
[2025-01-09 08:29:04] Production.INFO: ==7742== Releasing lock...
[2025-01-09 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:29:04] Production.INFO: Account Balance End.
[2025-01-09 08:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:29:04] Production.INFO: ==7746== Releasing lock...
[2025-01-09 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:29:05
[end_date_ymd] => 2025-01-09 08:29:05
[RateCDR] => 1
)
[2025-01-09 08:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:29:05' and `end` < '2025-01-09 08:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:29:11] Production.ERROR: CronJobId end10
[2025-01-09 08:29:11] Production.INFO: ==7744== Releasing lock...
[2025-01-09 08:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:29:14] Production.INFO: call_cost start
[2025-01-09 08:29:14] Production.INFO: call_cost end
[2025-01-09 08:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:29:15] Production.INFO: ==7740== Releasing lock...
[2025-01-09 08:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:29:18] Production.INFO: count ==308
[2025-01-09 08:29:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:29:05 - End Time 2025-01-09 08:29:05
[2025-01-09 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208358', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208358', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208358', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208358', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:29:18] Production.INFO: ProcessCDR(1,14208358,1,1,2)
[2025-01-09 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208358', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208358', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:29:23] Production.INFO: ==7748== Releasing lock...
[2025-01-09 08:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:29:23] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:30:01] Production.INFO: ==7802== Lock acquired, processing the job...
[2025-01-09 13:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:30:01] Production.INFO: neon service started
[2025-01-09 13:30:01] Production.INFO: neon service started
[2025-01-09 13:30:01] Production.INFO: ==7802== Releasing lock...
[2025-01-09 13:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:30:02] Production.INFO: ==7804== Lock acquired, processing the job...
[2025-01-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:30:02] Production.INFO: ==7806== Lock acquired, processing the job...
[2025-01-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:30:02] Production.INFO: ==7806== Releasing lock...
[2025-01-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:30:02] Production.INFO: ==7804== Releasing lock...
[2025-01-09 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:30:03] Production.INFO: ==7813== Lock acquired, processing the job...
[2025-01-09 08:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:30:03] Production.INFO: ==7811== Lock acquired, processing the job...
[2025-01-09 08:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:30:03] Production.INFO: ==7815== Lock acquired, processing the job...
[2025-01-09 08:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:30:03] Production.INFO: ==7817== Lock acquired, processing the job...
[2025-01-09 08:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:30:04] Production.INFO: Account Balance Start.
[2025-01-09 08:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:30:04] Production.INFO: 117
[2025-01-09 08:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:30:04] Production.INFO: ==7809== Lock acquired, processing the job...
[2025-01-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 08:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:30:04] Production.ERROR: CronJob PID - 7811
[2025-01-09 08:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 08:30:04] Production.ERROR: CronJob ID - 5
[2025-01-09 08:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:30:00
[2025-01-09 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:30:04] Production.INFO: Total Charge 0
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:30:04] Production.ERROR: CronJob PID - 7813
[2025-01-09 08:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 08:30:04] Production.ERROR: CronJob ID - 7
[2025-01-09 08:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:30:00
[2025-01-09 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:30:04] Production.ERROR: CronJob PID - 7815
[2025-01-09 08:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 08:30:04] Production.ERROR: CronJob ID - 10
[2025-01-09 08:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:30:00
[2025-01-09 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:30:04] Production.ERROR: CronJob PID - 7817
[2025-01-09 08:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 08:30:04] Production.ERROR: CronJob ID - 12
[2025-01-09 08:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:30:00
[2025-01-09 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:30:04] Production.INFO: CreateAllLog End
[2025-01-09 08:30:04] Production.INFO: ==7813== Releasing lock...
[2025-01-09 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 08:30:04] Production.INFO: ==7809== Releasing lock...
[2025-01-09 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:30:04] Production.INFO: ==7823== Lock acquired, processing the job...
[2025-01-09 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:30:04] Production.INFO: Account Balance End.
[2025-01-09 08:30:04] Production.INFO: ==7819== Lock acquired, processing the job...
[2025-01-09 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:30:04] Production.INFO: ==7817== Releasing lock...
[2025-01-09 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:30:04] Production.INFO: ==7821== Lock acquired, processing the job...
[2025-01-09 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 08:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:30:04] Production.INFO: count ==21
[2025-01-09 08:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:30:04] Production.INFO: count ==21
[2025-01-09 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208362') start
[2025-01-09 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208362') end
[2025-01-09 08:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:30:04] Production.INFO: 1
[2025-01-09 08:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:30:04] Production.ERROR: done
[2025-01-09 08:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:30:04] Production.INFO: ==7823== Releasing lock...
[2025-01-09 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:30:05] Production.ERROR: done
[2025-01-09 08:30:05] Production.ERROR: done
[2025-01-09 08:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 08:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208364', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:30:06
[end_date_ymd] => 2025-01-09 08:30:06
[RateCDR] => 1
)
[2025-01-09 08:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:30:06' and `end` < '2025-01-09 08:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208364', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 08:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 08:30:09] Production.INFO: ProcessCDR(1,14208364,1,1,2)
[2025-01-09 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208364,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208364,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:30:09] Production.INFO: ==7821== Releasing lock...
[2025-01-09 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 08:30:13] Production.ERROR: CronJobId end10
[2025-01-09 08:30:13] Production.INFO: ==7815== Releasing lock...
[2025-01-09 08:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:30:15] Production.INFO: call_cost start
[2025-01-09 08:30:15] Production.INFO: call_cost end
[2025-01-09 08:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:30:15] Production.INFO: ==7811== Releasing lock...
[2025-01-09 08:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:30:19] Production.INFO: count ==317
[2025-01-09 08:30:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:30:06 - End Time 2025-01-09 08:30:06
[2025-01-09 08:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208363', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208363', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208363', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208363', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:30:19] Production.INFO: ProcessCDR(1,14208363,1,1,2)
[2025-01-09 08:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208363', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208363', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:30:23] Production.INFO: ==7819== Releasing lock...
[2025-01-09 08:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:30:23] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:31:02] Production.INFO: ==7879== Lock acquired, processing the job...
[2025-01-09 13:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:31:02] Production.INFO: neon service started
[2025-01-09 13:31:02] Production.INFO: neon service started
[2025-01-09 13:31:02] Production.INFO: ==7879== Releasing lock...
[2025-01-09 13:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:31:02] Production.INFO: ==7881== Lock acquired, processing the job...
[2025-01-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:31:02] Production.INFO: ==7881== Releasing lock...
[2025-01-09 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:31:02] Production.INFO: ==7883== Lock acquired, processing the job...
[2025-01-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:31:02] Production.INFO: ==7883== Releasing lock...
[2025-01-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:31:03] Production.INFO: ==7886== Lock acquired, processing the job...
[2025-01-09 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:31:03] Production.INFO: ==7888== Lock acquired, processing the job...
[2025-01-09 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:31:03] Production.INFO: ==7890== Lock acquired, processing the job...
[2025-01-09 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:31:03] Production.INFO: ==7896== Lock acquired, processing the job...
[2025-01-09 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:31:03] Production.INFO: ==7892== Lock acquired, processing the job...
[2025-01-09 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:31:03] Production.INFO: ==7894== Lock acquired, processing the job...
[2025-01-09 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:31:03] Production.INFO: count ==21
[2025-01-09 08:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:31:03] Production.INFO: count ==21
[2025-01-09 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208367') start
[2025-01-09 08:31:04] Production.INFO: Account Balance Start.
[2025-01-09 08:31:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:31:04] Production.INFO: 117
[2025-01-09 08:31:04] Production.INFO: ==7888== Releasing lock...
[2025-01-09 08:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:31:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208367') end
[2025-01-09 08:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:31:04] Production.INFO: 1
[2025-01-09 08:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:31:04] Production.INFO: ==7896== Releasing lock...
[2025-01-09 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:31:04] Production.ERROR: done
[2025-01-09 08:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:31:04] Production.INFO: Total Charge 0
[2025-01-09 08:31:04] Production.INFO: CreateAllLog End
[2025-01-09 08:31:04] Production.ERROR: done
[2025-01-09 08:31:04] Production.INFO: Account Balance End.
[2025-01-09 08:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:31:04] Production.INFO: ==7892== Releasing lock...
[2025-01-09 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:31:05
[end_date_ymd] => 2025-01-09 08:31:05
[RateCDR] => 1
)
[2025-01-09 08:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:31:05' and `end` < '2025-01-09 08:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:31:10] Production.ERROR: CronJobId end10
[2025-01-09 08:31:10] Production.INFO: ==7890== Releasing lock...
[2025-01-09 08:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:31:13] Production.INFO: call_cost start
[2025-01-09 08:31:13] Production.INFO: call_cost end
[2025-01-09 08:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:31:13] Production.INFO: ==7886== Releasing lock...
[2025-01-09 08:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:31:18] Production.INFO: count ==322
[2025-01-09 08:31:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:31:05 - End Time 2025-01-09 08:31:05
[2025-01-09 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208369', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208369', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208369', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208369', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:31:18] Production.INFO: ProcessCDR(1,14208369,1,1,2)
[2025-01-09 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208369', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208369', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:31:23] Production.INFO: ==7894== Releasing lock...
[2025-01-09 08:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:31:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-09 13:32:01] Production.INFO: ==7951== Lock acquired, processing the job...
[2025-01-09 13:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:32:01] Production.INFO: neon service started
[2025-01-09 13:32:01] Production.INFO: neon service started
[2025-01-09 13:32:01] Production.INFO: ==7951== Releasing lock...
[2025-01-09 13:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:32:01] Production.INFO: ==7953== Lock acquired, processing the job...
[2025-01-09 08:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:32:02] Production.INFO: ==7953== Releasing lock...
[2025-01-09 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:32:02] Production.INFO: ==7955== Lock acquired, processing the job...
[2025-01-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:32:02] Production.INFO: ==7955== Releasing lock...
[2025-01-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:32:03] Production.INFO: ==7959== Lock acquired, processing the job...
[2025-01-09 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:32:03] Production.INFO: ==7961== Lock acquired, processing the job...
[2025-01-09 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:32:03] Production.INFO: ==7963== Lock acquired, processing the job...
[2025-01-09 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:32:03] Production.INFO: Account Balance Start.
[2025-01-09 08:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:32:03] Production.INFO: 117
[2025-01-09 08:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:32:03] Production.INFO: ==7957== Lock acquired, processing the job...
[2025-01-09 08:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:32:03] Production.INFO: Total Charge 0
[2025-01-09 08:32:03] Production.INFO: ==7965== Lock acquired, processing the job...
[2025-01-09 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:32:03] Production.INFO: CreateAllLog End
[2025-01-09 08:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:32:03] Production.INFO: ==7959== Releasing lock...
[2025-01-09 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:32:03] Production.INFO: ==7967== Lock acquired, processing the job...
[2025-01-09 08:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:32:03] Production.INFO: Account Balance End.
[2025-01-09 08:32:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:32:03] Production.INFO: ==7963== Releasing lock...
[2025-01-09 08:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:32:03] Production.INFO: count ==21
[2025-01-09 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-01-09 08:32:03] Production.INFO: count ==21
[2025-01-09 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208373') start
[2025-01-09 08:32:03] Production.ERROR: done
[2025-01-09 08:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208373') end
[2025-01-09 08:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:32:03] Production.INFO: 1
[2025-01-09 08:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:32:03] Production.ERROR: done
[2025-01-09 08:32:04] Production.INFO: ==7967== Releasing lock...
[2025-01-09 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:32:04
[end_date_ymd] => 2025-01-09 08:32:04
[RateCDR] => 1
)
[2025-01-09 08:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:32:04' and `end` < '2025-01-09 08:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:32:11] Production.ERROR: CronJobId end10
[2025-01-09 08:32:11] Production.INFO: ==7961== Releasing lock...
[2025-01-09 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:32:12] Production.INFO: call_cost start
[2025-01-09 08:32:12] Production.INFO: call_cost end
[2025-01-09 08:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:32:13] Production.INFO: ==7957== Releasing lock...
[2025-01-09 08:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:32:17] Production.INFO: count ==340
[2025-01-09 08:32:17] Production.ERROR: pbx CDR StartTime 2025-01-09 05:32:04 - End Time 2025-01-09 08:32:04
[2025-01-09 08:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208374', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208374', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208374', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208374', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:32:17] Production.INFO: ProcessCDR(1,14208374,1,1,2)
[2025-01-09 08:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208374', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208374', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:32:22] Production.INFO: ==7965== Releasing lock...
[2025-01-09 08:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:32:22] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:33:02] Production.INFO: ==8023== Lock acquired, processing the job...
[2025-01-09 13:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:33:02] Production.INFO: neon service started
[2025-01-09 13:33:02] Production.INFO: neon service started
[2025-01-09 13:33:02] Production.INFO: ==8023== Releasing lock...
[2025-01-09 13:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:33:02] Production.INFO: ==8025== Lock acquired, processing the job...
[2025-01-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:33:02] Production.INFO: ==8025== Releasing lock...
[2025-01-09 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:33:02] Production.INFO: ==8027== Lock acquired, processing the job...
[2025-01-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:33:02] Production.INFO: ==8027== Releasing lock...
[2025-01-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:33:03] Production.INFO: ==8035== Lock acquired, processing the job...
[2025-01-09 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:33:03] Production.INFO: Account Balance Start.
[2025-01-09 08:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:33:03] Production.INFO: 117
[2025-01-09 08:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:33:03] Production.INFO: Total Charge 0
[2025-01-09 08:33:03] Production.INFO: CreateAllLog End
[2025-01-09 08:33:03] Production.INFO: Account Balance End.
[2025-01-09 08:33:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:33:03] Production.INFO: ==8035== Releasing lock...
[2025-01-09 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:33:03] Production.INFO: ==8029== Lock acquired, processing the job...
[2025-01-09 08:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:33:03] Production.INFO: ==8031== Lock acquired, processing the job...
[2025-01-09 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:33:03] Production.INFO: ==8033== Lock acquired, processing the job...
[2025-01-09 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:33:03] Production.INFO: ==8039== Lock acquired, processing the job...
[2025-01-09 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:33:03] Production.INFO: ==8037== Lock acquired, processing the job...
[2025-01-09 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:33:04] Production.INFO: count ==21
[2025-01-09 08:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:33:04] Production.INFO: count ==21
[2025-01-09 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208378') start
[2025-01-09 08:33:04] Production.INFO: ==8031== Releasing lock...
[2025-01-09 08:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208378') end
[2025-01-09 08:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:33:04] Production.INFO: 1
[2025-01-09 08:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:33:04] Production.ERROR: done
[2025-01-09 08:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:33:04] Production.INFO: ==8039== Releasing lock...
[2025-01-09 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:33:04] Production.ERROR: done
[2025-01-09 08:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:33:05
[end_date_ymd] => 2025-01-09 08:33:05
[RateCDR] => 1
)
[2025-01-09 08:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:33:05' and `end` < '2025-01-09 08:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:33:10] Production.ERROR: CronJobId end10
[2025-01-09 08:33:10] Production.INFO: ==8033== Releasing lock...
[2025-01-09 08:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:33:13] Production.INFO: call_cost start
[2025-01-09 08:33:13] Production.INFO: call_cost end
[2025-01-09 08:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:33:14] Production.INFO: ==8029== Releasing lock...
[2025-01-09 08:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:33:19] Production.INFO: count ==356
[2025-01-09 08:33:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:33:05 - End Time 2025-01-09 08:33:05
[2025-01-09 08:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208379', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208379', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208379', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208379', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:33:19] Production.INFO: ProcessCDR(1,14208379,1,1,2)
[2025-01-09 08:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208379', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208379', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:33:24] Production.INFO: ==8037== Releasing lock...
[2025-01-09 08:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:33:24] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:34:01] Production.INFO: ==8092== Lock acquired, processing the job...
[2025-01-09 13:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:34:01] Production.INFO: neon service started
[2025-01-09 13:34:01] Production.INFO: neon service started
[2025-01-09 13:34:01] Production.INFO: ==8092== Releasing lock...
[2025-01-09 13:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:34:01] Production.INFO: ==8096== Lock acquired, processing the job...
[2025-01-09 13:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:34:01] Production.INFO: ==8096== Releasing lock...
[2025-01-09 13:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:34:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:34:02] Production.INFO: ==8094== Lock acquired, processing the job...
[2025-01-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:34:02] Production.INFO: ==8094== Releasing lock...
[2025-01-09 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:34:03] Production.INFO: ==8102== Lock acquired, processing the job...
[2025-01-09 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:34:03] Production.INFO: ==8098== Lock acquired, processing the job...
[2025-01-09 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:34:03] Production.INFO: ==8100== Lock acquired, processing the job...
[2025-01-09 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:34:03] Production.INFO: ==8104== Lock acquired, processing the job...
[2025-01-09 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:34:03] Production.INFO: ==8106== Lock acquired, processing the job...
[2025-01-09 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:34:03] Production.INFO: ==8109== Lock acquired, processing the job...
[2025-01-09 08:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:34:03] Production.INFO: Account Balance Start.
[2025-01-09 08:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:34:03] Production.INFO: 117
[2025-01-09 08:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:34:03] Production.INFO: count ==21
[2025-01-09 08:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:34:03] Production.INFO: ==8100== Releasing lock...
[2025-01-09 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:34:03] Production.INFO: count ==21
[2025-01-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208383') start
[2025-01-09 08:34:04] Production.INFO: Total Charge 0
[2025-01-09 08:34:04] Production.INFO: CreateAllLog End
[2025-01-09 08:34:04] Production.ERROR: done
[2025-01-09 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208383') end
[2025-01-09 08:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:34:04] Production.INFO: 1
[2025-01-09 08:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:34:04] Production.ERROR: done
[2025-01-09 08:34:04] Production.INFO: ==8109== Releasing lock...
[2025-01-09 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:34:04] Production.INFO: Account Balance End.
[2025-01-09 08:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:34:04] Production.INFO: ==8104== Releasing lock...
[2025-01-09 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:34:05
[end_date_ymd] => 2025-01-09 08:34:05
[RateCDR] => 1
)
[2025-01-09 08:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:34:05' and `end` < '2025-01-09 08:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:34:10] Production.ERROR: CronJobId end10
[2025-01-09 08:34:10] Production.INFO: ==8102== Releasing lock...
[2025-01-09 08:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:34:13] Production.INFO: call_cost start
[2025-01-09 08:34:13] Production.INFO: call_cost end
[2025-01-09 08:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:34:14] Production.INFO: ==8098== Releasing lock...
[2025-01-09 08:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:34:19] Production.INFO: count ==356
[2025-01-09 08:34:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:34:05 - End Time 2025-01-09 08:34:05
[2025-01-09 08:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208384', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208384', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208384', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208384', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:34:19] Production.INFO: ProcessCDR(1,14208384,1,1,2)
[2025-01-09 08:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208384', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208384', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:34:22] Production.INFO: ==8106== Releasing lock...
[2025-01-09 08:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:34:22] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:35:01] Production.INFO: ==8164== Lock acquired, processing the job...
[2025-01-09 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:35:02] Production.INFO: neon service started
[2025-01-09 13:35:02] Production.INFO: neon service started
[2025-01-09 13:35:02] Production.INFO: ==8164== Releasing lock...
[2025-01-09 13:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:35:02] Production.INFO: ==8166== Lock acquired, processing the job...
[2025-01-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:35:02] Production.INFO: ==8166== Releasing lock...
[2025-01-09 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:35:02] Production.INFO: ==8168== Lock acquired, processing the job...
[2025-01-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:35:02] Production.INFO: ==8168== Releasing lock...
[2025-01-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:35:03] Production.INFO: ==8176== Lock acquired, processing the job...
[2025-01-09 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:35:03] Production.INFO: Account Balance Start.
[2025-01-09 08:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:35:03] Production.INFO: ==8180== Lock acquired, processing the job...
[2025-01-09 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:35:03] Production.INFO: 117
[2025-01-09 08:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:35:03] Production.INFO: ==8170== Lock acquired, processing the job...
[2025-01-09 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:35:03] Production.INFO: count ==21
[2025-01-09 08:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:35:03] Production.INFO: Total Charge 0
[2025-01-09 08:35:03] Production.INFO: count ==21
[2025-01-09 08:35:03] Production.INFO: ==8172== Lock acquired, processing the job...
[2025-01-09 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:35:03] Production.INFO: ==8174== Lock acquired, processing the job...
[2025-01-09 08:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:35:03] Production.INFO: CreateAllLog End
[2025-01-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208386') start
[2025-01-09 08:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:35:03] Production.INFO: ==8178== Lock acquired, processing the job...
[2025-01-09 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208386') end
[2025-01-09 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:35:03] Production.INFO: 1
[2025-01-09 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:35:04] Production.INFO: ==8180== Releasing lock...
[2025-01-09 08:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:35:04] Production.INFO: Account Balance End.
[2025-01-09 08:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:35:04] Production.INFO: ==8176== Releasing lock...
[2025-01-09 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:35:04] Production.INFO: ==8172== Releasing lock...
[2025-01-09 08:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:35:04] Production.ERROR: done
[2025-01-09 08:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:35:04] Production.ERROR: done
[2025-01-09 08:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:35:05
[end_date_ymd] => 2025-01-09 08:35:05
[RateCDR] => 1
)
[2025-01-09 08:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:35:05' and `end` < '2025-01-09 08:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:35:11] Production.ERROR: CronJobId end10
[2025-01-09 08:35:11] Production.INFO: ==8174== Releasing lock...
[2025-01-09 08:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:35:12] Production.INFO: call_cost start
[2025-01-09 08:35:12] Production.INFO: call_cost end
[2025-01-09 08:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:35:13] Production.INFO: ==8170== Releasing lock...
[2025-01-09 08:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:35:18] Production.INFO: count ==357
[2025-01-09 08:35:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:35:05 - End Time 2025-01-09 08:35:05
[2025-01-09 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208389', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208389', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208389', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208389', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:35:18] Production.INFO: ProcessCDR(1,14208389,1,1,2)
[2025-01-09 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208389', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208389', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:35:21] Production.INFO: ==8178== Releasing lock...
[2025-01-09 08:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:35:21] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:36:01] Production.INFO: ==8234== Lock acquired, processing the job...
[2025-01-09 13:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:36:01] Production.INFO: neon service started
[2025-01-09 13:36:01] Production.INFO: neon service started
[2025-01-09 13:36:01] Production.INFO: ==8234== Releasing lock...
[2025-01-09 13:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:36:01] Production.INFO: ==8236== Lock acquired, processing the job...
[2025-01-09 08:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:36:02] Production.INFO: ==8236== Releasing lock...
[2025-01-09 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:36:02] Production.INFO: ==8238== Lock acquired, processing the job...
[2025-01-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:36:02] Production.INFO: ==8238== Releasing lock...
[2025-01-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:36:02] Production.INFO: ==8240== Lock acquired, processing the job...
[2025-01-09 08:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:36:02] Production.INFO: ==8242== Lock acquired, processing the job...
[2025-01-09 08:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:36:03] Production.INFO: ==8246== Lock acquired, processing the job...
[2025-01-09 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:36:03] Production.INFO: ==8244== Lock acquired, processing the job...
[2025-01-09 08:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:36:03] Production.INFO: Account Balance Start.
[2025-01-09 08:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:36:03] Production.INFO: 117
[2025-01-09 08:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:36:03] Production.INFO: ==8242== Releasing lock...
[2025-01-09 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:36:03] Production.INFO: Total Charge 0
[2025-01-09 08:36:03] Production.INFO: CreateAllLog End
[2025-01-09 08:36:03] Production.INFO: ==8248== Lock acquired, processing the job...
[2025-01-09 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:36:03] Production.INFO: ==8250== Lock acquired, processing the job...
[2025-01-09 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:36:03] Production.INFO: Account Balance End.
[2025-01-09 08:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:36:03] Production.INFO: ==8246== Releasing lock...
[2025-01-09 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:36:03] Production.INFO: count ==21
[2025-01-09 08:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:36:03] Production.ERROR: done
[2025-01-09 08:36:03] Production.INFO: count ==21
[2025-01-09 08:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208393') start
[2025-01-09 08:36:03] Production.ERROR: done
[2025-01-09 08:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208393') end
[2025-01-09 08:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:36:03] Production.INFO: 1
[2025-01-09 08:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:36:03] Production.INFO: ==8250== Releasing lock...
[2025-01-09 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:36:04
[end_date_ymd] => 2025-01-09 08:36:04
[RateCDR] => 1
)
[2025-01-09 08:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:36:04' and `end` < '2025-01-09 08:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:36:10] Production.ERROR: CronJobId end10
[2025-01-09 08:36:10] Production.INFO: ==8244== Releasing lock...
[2025-01-09 08:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:36:12] Production.INFO: call_cost start
[2025-01-09 08:36:12] Production.INFO: call_cost end
[2025-01-09 08:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:36:13] Production.INFO: ==8240== Releasing lock...
[2025-01-09 08:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:36:17] Production.INFO: count ==372
[2025-01-09 08:36:17] Production.ERROR: pbx CDR StartTime 2025-01-09 05:36:04 - End Time 2025-01-09 08:36:04
[2025-01-09 08:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208394', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208394', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208394', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208394', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:36:17] Production.INFO: ProcessCDR(1,14208394,1,1,2)
[2025-01-09 08:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208394', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208394', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:36:20] Production.INFO: ==8248== Releasing lock...
[2025-01-09 08:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:36:20] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 13:37:01] Production.INFO: ==8307== Lock acquired, processing the job...
[2025-01-09 13:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:37:01] Production.INFO: neon service started
[2025-01-09 13:37:01] Production.INFO: neon service started
[2025-01-09 13:37:01] Production.INFO: ==8307== Releasing lock...
[2025-01-09 13:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:37:02] Production.INFO: ==8309== Lock acquired, processing the job...
[2025-01-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:37:02] Production.INFO: ==8311== Lock acquired, processing the job...
[2025-01-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:37:02] Production.INFO: ==8311== Releasing lock...
[2025-01-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:37:02] Production.INFO: ==8309== Releasing lock...
[2025-01-09 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:37:03] Production.INFO: ==8313== Lock acquired, processing the job...
[2025-01-09 08:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:37:03] Production.INFO: ==8315== Lock acquired, processing the job...
[2025-01-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:37:03] Production.INFO: ==8321== Lock acquired, processing the job...
[2025-01-09 08:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:37:03] Production.INFO: ==8323== Lock acquired, processing the job...
[2025-01-09 08:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:37:03] Production.INFO: ==8317== Lock acquired, processing the job...
[2025-01-09 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:37:03] Production.INFO: ==8319== Lock acquired, processing the job...
[2025-01-09 08:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:37:03] Production.ERROR: done
[2025-01-09 08:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:37:03] Production.INFO: ==8315== Releasing lock...
[2025-01-09 08:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:37:03] Production.INFO: Account Balance Start.
[2025-01-09 08:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:37:03] Production.INFO: 117
[2025-01-09 08:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:37:03] Production.INFO: count ==21
[2025-01-09 08:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:37:03] Production.INFO: count ==21
[2025-01-09 08:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208397') start
[2025-01-09 08:37:03] Production.ERROR: done
[2025-01-09 08:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:37:03] Production.INFO: Total Charge 0
[2025-01-09 08:37:04] Production.INFO: CreateAllLog End
[2025-01-09 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208397') end
[2025-01-09 08:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:37:04] Production.INFO: 1
[2025-01-09 08:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:37:04] Production.INFO: Account Balance End.
[2025-01-09 08:37:04] Production.INFO: ==8323== Releasing lock...
[2025-01-09 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:37:04] Production.INFO: ==8319== Releasing lock...
[2025-01-09 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:37:04
[end_date_ymd] => 2025-01-09 08:37:04
[RateCDR] => 1
)
[2025-01-09 08:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:37:04' and `end` < '2025-01-09 08:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:37:12] Production.ERROR: CronJobId end10
[2025-01-09 08:37:12] Production.INFO: ==8317== Releasing lock...
[2025-01-09 08:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:37:13] Production.INFO: call_cost start
[2025-01-09 08:37:13] Production.INFO: call_cost end
[2025-01-09 08:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:37:14] Production.INFO: ==8313== Releasing lock...
[2025-01-09 08:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:37:19] Production.INFO: count ==380
[2025-01-09 08:37:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:37:04 - End Time 2025-01-09 08:37:04
[2025-01-09 08:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208399', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208399', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208399', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208399', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:37:19] Production.INFO: ProcessCDR(1,14208399,1,1,2)
[2025-01-09 08:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208399', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208399', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:37:23] Production.INFO: ==8321== Releasing lock...
[2025-01-09 08:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:37:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 13:38:02] Production.INFO: ==8377== Lock acquired, processing the job...
[2025-01-09 13:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:38:02] Production.INFO: neon service started
[2025-01-09 13:38:02] Production.INFO: neon service started
[2025-01-09 13:38:02] Production.INFO: ==8377== Releasing lock...
[2025-01-09 13:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:38:02] Production.INFO: ==8379== Lock acquired, processing the job...
[2025-01-09 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:38:03] Production.INFO: ==8379== Releasing lock...
[2025-01-09 08:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:38:03] Production.INFO: ==8381== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:38:03] Production.INFO: ==8381== Releasing lock...
[2025-01-09 13:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:38:03] Production.INFO: ==8385== Lock acquired, processing the job...
[2025-01-09 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:38:04] Production.INFO: ==8383== Lock acquired, processing the job...
[2025-01-09 08:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:38:04] Production.INFO: ==8394== Lock acquired, processing the job...
[2025-01-09 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:38:04] Production.INFO: ==8387== Lock acquired, processing the job...
[2025-01-09 08:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:38:04] Production.INFO: ==8390== Lock acquired, processing the job...
[2025-01-09 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:38:04] Production.INFO: count ==21
[2025-01-09 08:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:38:04] Production.INFO: count ==21
[2025-01-09 08:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208402') start
[2025-01-09 08:38:04] Production.INFO: ==8392== Lock acquired, processing the job...
[2025-01-09 08:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:38:04] Production.INFO: Account Balance Start.
[2025-01-09 08:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:38:04] Production.INFO: 117
[2025-01-09 08:38:04] Production.INFO: ==8385== Releasing lock...
[2025-01-09 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208402') end
[2025-01-09 08:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:38:04] Production.INFO: 1
[2025-01-09 08:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:38:04] Production.INFO: Total Charge 0
[2025-01-09 08:38:04] Production.INFO: CreateAllLog End
[2025-01-09 08:38:04] Production.INFO: ==8394== Releasing lock...
[2025-01-09 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:38:04] Production.INFO: Account Balance End.
[2025-01-09 08:38:04] Production.ERROR: done
[2025-01-09 08:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:38:04] Production.INFO: ==8390== Releasing lock...
[2025-01-09 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:38:04] Production.ERROR: done
[2025-01-09 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:38:05
[end_date_ymd] => 2025-01-09 08:38:05
[RateCDR] => 1
)
[2025-01-09 08:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:38:05' and `end` < '2025-01-09 08:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:38:12] Production.ERROR: CronJobId end10
[2025-01-09 08:38:12] Production.INFO: ==8387== Releasing lock...
[2025-01-09 08:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:38:14] Production.INFO: call_cost start
[2025-01-09 08:38:14] Production.INFO: call_cost end
[2025-01-09 08:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:38:15] Production.INFO: ==8383== Releasing lock...
[2025-01-09 08:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:38:18] Production.INFO: count ==381
[2025-01-09 08:38:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:38:05 - End Time 2025-01-09 08:38:05
[2025-01-09 08:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208404', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208404', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208404', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208404', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:38:19] Production.INFO: ProcessCDR(1,14208404,1,1,2)
[2025-01-09 08:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208404', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208404', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:38:23] Production.INFO: ==8392== Releasing lock...
[2025-01-09 08:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:38:23] Production.INFO: 31 MB #Memory Used#
[2025-01-09 13:39:01] Production.INFO: ==8486== Lock acquired, processing the job...
[2025-01-09 13:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:39:01] Production.INFO: neon service started
[2025-01-09 13:39:02] Production.INFO: neon service started
[2025-01-09 13:39:02] Production.INFO: ==8486== Releasing lock...
[2025-01-09 13:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:39:02] Production.INFO: ==8488== Lock acquired, processing the job...
[2025-01-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:39:02] Production.INFO: ==8488== Releasing lock...
[2025-01-09 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:39:02] Production.INFO: ==8490== Lock acquired, processing the job...
[2025-01-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:39:02] Production.INFO: ==8490== Releasing lock...
[2025-01-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:39:03] Production.INFO: ==8496== Lock acquired, processing the job...
[2025-01-09 08:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:39:03] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-01-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:39:03] Production.INFO: ==8494== Lock acquired, processing the job...
[2025-01-09 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:39:03] Production.INFO: count ==21
[2025-01-09 08:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:39:03] Production.INFO: count ==21
[2025-01-09 08:39:03] Production.INFO: ==8492== Lock acquired, processing the job...
[2025-01-09 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:39:03] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-01-09 08:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208405') start
[2025-01-09 08:39:03] Production.INFO: ==8501== Lock acquired, processing the job...
[2025-01-09 08:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208405') end
[2025-01-09 08:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:39:03] Production.INFO: 1
[2025-01-09 08:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:39:03] Production.INFO: Account Balance Start.
[2025-01-09 08:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:39:03] Production.INFO: 117
[2025-01-09 08:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:39:03] Production.INFO: Total Charge 0
[2025-01-09 08:39:03] Production.INFO: ==8503== Releasing lock...
[2025-01-09 08:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:39:03] Production.INFO: CreateAllLog End
[2025-01-09 08:39:03] Production.ERROR: done
[2025-01-09 08:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:39:04] Production.INFO: Account Balance End.
[2025-01-09 08:39:04] Production.INFO: ==8494== Releasing lock...
[2025-01-09 08:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:39:04] Production.ERROR: done
[2025-01-09 08:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:39:04] Production.INFO: ==8498== Releasing lock...
[2025-01-09 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:39:04
[end_date_ymd] => 2025-01-09 08:39:04
[RateCDR] => 1
)
[2025-01-09 08:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:39:04' and `end` < '2025-01-09 08:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:39:10] Production.ERROR: CronJobId end10
[2025-01-09 08:39:10] Production.INFO: ==8496== Releasing lock...
[2025-01-09 08:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:39:13] Production.INFO: call_cost start
[2025-01-09 08:39:13] Production.INFO: call_cost end
[2025-01-09 08:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:39:14] Production.INFO: ==8492== Releasing lock...
[2025-01-09 08:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:39:19] Production.INFO: count ==384
[2025-01-09 08:39:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:39:04 - End Time 2025-01-09 08:39:04
[2025-01-09 08:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208409', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208409', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208409', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208409', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:39:19] Production.INFO: ProcessCDR(1,14208409,1,1,2)
[2025-01-09 08:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208409', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208409', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:39:24] Production.INFO: ==8501== Releasing lock...
[2025-01-09 08:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:39:24] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 13:40:01] Production.INFO: ==8559== Lock acquired, processing the job...
[2025-01-09 13:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:40:01] Production.INFO: neon service started
[2025-01-09 13:40:01] Production.INFO: neon service started
[2025-01-09 13:40:01] Production.INFO: ==8559== Releasing lock...
[2025-01-09 13:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:40:01] Production.INFO: ==8561== Lock acquired, processing the job...
[2025-01-09 08:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:40:02] Production.INFO: ==8563== Lock acquired, processing the job...
[2025-01-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:40:02] Production.INFO: ==8561== Releasing lock...
[2025-01-09 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:40:02] Production.INFO: ==8563== Releasing lock...
[2025-01-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:40:03] Production.INFO: ==8565== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 08:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 08:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 08:40:03] Production.INFO: ==8565== Releasing lock...
[2025-01-09 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 08:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:40:03] Production.INFO: ==8567== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:40:03] Production.INFO: ==8569== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:40:03] Production.INFO: ==8573== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:40:03] Production.INFO: ==8571== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:40:03] Production.INFO: Account Balance Start.
[2025-01-09 08:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:40:03] Production.INFO: 117
[2025-01-09 08:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:40:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:40:03] Production.INFO: Total Charge 0
[2025-01-09 08:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:40:03] Production.INFO: CreateAllLog End
[2025-01-09 08:40:03] Production.INFO: ==8575== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:40:03] Production.INFO: ==8580== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:40:03] Production.INFO: ==8569== Releasing lock...
[2025-01-09 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:40:03] Production.INFO: ==8578== Lock acquired, processing the job...
[2025-01-09 08:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 08:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:40:03] Production.INFO: Account Balance End.
[2025-01-09 08:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:40:03] Production.INFO: count ==21
[2025-01-09 08:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:40:04] Production.INFO: ==8573== Releasing lock...
[2025-01-09 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:40:04] Production.INFO: count ==21
[2025-01-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208413') start
[2025-01-09 08:40:04] Production.ERROR: done
[2025-01-09 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208413') end
[2025-01-09 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:40:04] Production.INFO: 1
[2025-01-09 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:40:04] Production.ERROR: done
[2025-01-09 08:40:04] Production.ERROR: done
[2025-01-09 08:40:04] Production.INFO: ==8580== Releasing lock...
[2025-01-09 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208415', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 08:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:40:05
[end_date_ymd] => 2025-01-09 08:40:05
[RateCDR] => 1
)
[2025-01-09 08:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:40:05' and `end` < '2025-01-09 08:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208415', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 08:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 08:40:07] Production.INFO: ProcessCDR(1,14208415,1,1,2)
[2025-01-09 08:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208415,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:40:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208415,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:40:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:40:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:40:07] Production.INFO: ==8578== Releasing lock...
[2025-01-09 08:40:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 08:40:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 08:40:11] Production.ERROR: CronJobId end10
[2025-01-09 08:40:11] Production.INFO: ==8571== Releasing lock...
[2025-01-09 08:40:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:40:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:40:13] Production.INFO: call_cost start
[2025-01-09 08:40:13] Production.INFO: call_cost end
[2025-01-09 08:40:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:40:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:40:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:40:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:40:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:40:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:40:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:40:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:40:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:40:14] Production.INFO: ==8567== Releasing lock...
[2025-01-09 08:40:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:40:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:40:18] Production.INFO: count ==389
[2025-01-09 08:40:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:40:05 - End Time 2025-01-09 08:40:05
[2025-01-09 08:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208414', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208414', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208414', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208414', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:40:18] Production.INFO: ProcessCDR(1,14208414,1,1,2)
[2025-01-09 08:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208414', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208414', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:40:21] Production.INFO: ==8575== Releasing lock...
[2025-01-09 08:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:40:21] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 13:41:01] Production.INFO: ==8634== Lock acquired, processing the job...
[2025-01-09 13:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:41:01] Production.INFO: neon service started
[2025-01-09 13:41:01] Production.INFO: neon service started
[2025-01-09 13:41:01] Production.INFO: ==8634== Releasing lock...
[2025-01-09 13:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:41:02] Production.INFO: ==8636== Lock acquired, processing the job...
[2025-01-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:41:02] Production.INFO: ==8636== Releasing lock...
[2025-01-09 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:41:02] Production.INFO: ==8638== Lock acquired, processing the job...
[2025-01-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:41:02] Production.INFO: ==8638== Releasing lock...
[2025-01-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:41:03] Production.INFO: ==8646== Lock acquired, processing the job...
[2025-01-09 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:41:03] Production.INFO: ==8650== Lock acquired, processing the job...
[2025-01-09 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:41:03] Production.INFO: ==8640== Lock acquired, processing the job...
[2025-01-09 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:41:03] Production.INFO: Account Balance Start.
[2025-01-09 08:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:41:03] Production.INFO: 117
[2025-01-09 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:41:03] Production.INFO: ==8642== Lock acquired, processing the job...
[2025-01-09 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:41:03] Production.INFO: ==8644== Lock acquired, processing the job...
[2025-01-09 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:41:03] Production.INFO: Total Charge 0
[2025-01-09 08:41:03] Production.INFO: CreateAllLog End
[2025-01-09 08:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:41:03] Production.INFO: count ==21
[2025-01-09 08:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:41:03] Production.INFO: ==8648== Lock acquired, processing the job...
[2025-01-09 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:41:03] Production.INFO: count ==21
[2025-01-09 08:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208418') start
[2025-01-09 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208418') end
[2025-01-09 08:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:41:03] Production.INFO: 1
[2025-01-09 08:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:41:03] Production.INFO: Account Balance End.
[2025-01-09 08:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:41:04] Production.INFO: ==8646== Releasing lock...
[2025-01-09 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:41:04] Production.INFO: ==8650== Releasing lock...
[2025-01-09 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:41:04] Production.INFO: ==8642== Releasing lock...
[2025-01-09 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:41:04] Production.ERROR: done
[2025-01-09 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:41:04] Production.ERROR: done
[2025-01-09 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:41:05
[end_date_ymd] => 2025-01-09 08:41:05
[RateCDR] => 1
)
[2025-01-09 08:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:41:05' and `end` < '2025-01-09 08:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:41:11] Production.ERROR: CronJobId end10
[2025-01-09 08:41:11] Production.INFO: ==8644== Releasing lock...
[2025-01-09 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:41:13] Production.INFO: call_cost start
[2025-01-09 08:41:13] Production.INFO: call_cost end
[2025-01-09 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:41:14] Production.INFO: ==8640== Releasing lock...
[2025-01-09 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:41:19] Production.INFO: count ==414
[2025-01-09 08:41:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:41:05 - End Time 2025-01-09 08:41:05
[2025-01-09 08:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208420', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208420', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208420', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208420', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:41:19] Production.INFO: ProcessCDR(1,14208420,1,1,2)
[2025-01-09 08:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208420', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208420', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:41:24] Production.INFO: ==8648== Releasing lock...
[2025-01-09 08:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:41:24] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 13:42:02] Production.INFO: ==8704== Lock acquired, processing the job...
[2025-01-09 13:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:42:02] Production.INFO: neon service started
[2025-01-09 13:42:02] Production.INFO: neon service started
[2025-01-09 13:42:02] Production.INFO: ==8704== Releasing lock...
[2025-01-09 13:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:42:03] Production.INFO: ==8708== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:42:03] Production.INFO: ==8706== Lock acquired, processing the job...
[2025-01-09 08:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:42:03] Production.INFO: ==8708== Releasing lock...
[2025-01-09 13:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:42:03] Production.INFO: ==8706== Releasing lock...
[2025-01-09 08:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:42:04] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-01-09 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:42:04] Production.INFO: ==8715== Lock acquired, processing the job...
[2025-01-09 08:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:42:04] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-01-09 08:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:42:04] Production.INFO: ==8717== Lock acquired, processing the job...
[2025-01-09 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:42:04] Production.INFO: ==8721== Lock acquired, processing the job...
[2025-01-09 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:42:04] Production.INFO: ==8719== Lock acquired, processing the job...
[2025-01-09 08:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:42:04] Production.INFO: Account Balance Start.
[2025-01-09 08:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:42:04] Production.INFO: 117
[2025-01-09 08:42:04] Production.INFO: ==8713== Releasing lock...
[2025-01-09 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:42:04] Production.INFO: count ==21
[2025-01-09 08:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:42:04] Production.INFO: count ==21
[2025-01-09 08:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208424') start
[2025-01-09 08:42:04] Production.INFO: Total Charge 0
[2025-01-09 08:42:04] Production.INFO: CreateAllLog End
[2025-01-09 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208424') end
[2025-01-09 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:42:04] Production.INFO: 1
[2025-01-09 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:42:05] Production.ERROR: done
[2025-01-09 08:42:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:42:05] Production.INFO: ==8721== Releasing lock...
[2025-01-09 08:42:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:42:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:42:05] Production.INFO: Account Balance End.
[2025-01-09 08:42:05] Production.ERROR: done
[2025-01-09 08:42:05] Production.ERROR: CronJobId end 12
[2025-01-09 08:42:05] Production.INFO: ==8717== Releasing lock...
[2025-01-09 08:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:42:05
[end_date_ymd] => 2025-01-09 08:42:05
[RateCDR] => 1
)
[2025-01-09 08:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:42:05' and `end` < '2025-01-09 08:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:42:11] Production.ERROR: CronJobId end10
[2025-01-09 08:42:11] Production.INFO: ==8715== Releasing lock...
[2025-01-09 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:42:14] Production.INFO: call_cost start
[2025-01-09 08:42:14] Production.INFO: call_cost end
[2025-01-09 08:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:42:15] Production.INFO: ==8711== Releasing lock...
[2025-01-09 08:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:42:18] Production.INFO: count ==415
[2025-01-09 08:42:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:42:05 - End Time 2025-01-09 08:42:05
[2025-01-09 08:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208425', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208425', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208425', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208425', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:42:19] Production.INFO: ProcessCDR(1,14208425,1,1,2)
[2025-01-09 08:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208425', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208425', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:42:23] Production.INFO: ==8719== Releasing lock...
[2025-01-09 08:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:42:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-09 13:43:01] Production.INFO: ==8777== Lock acquired, processing the job...
[2025-01-09 13:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:43:01] Production.INFO: neon service started
[2025-01-09 13:43:01] Production.INFO: neon service started
[2025-01-09 13:43:01] Production.INFO: ==8777== Releasing lock...
[2025-01-09 13:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:43:02] Production.INFO: ==8779== Lock acquired, processing the job...
[2025-01-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:43:02] Production.INFO: ==8781== Lock acquired, processing the job...
[2025-01-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:43:02] Production.INFO: ==8781== Releasing lock...
[2025-01-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:43:02] Production.INFO: ==8779== Releasing lock...
[2025-01-09 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:43:03] Production.INFO: ==8784== Lock acquired, processing the job...
[2025-01-09 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:43:03] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-01-09 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:43:03] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-01-09 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:43:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-01-09 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:43:03] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-01-09 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:43:03] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-01-09 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:43:03] Production.INFO: Account Balance Start.
[2025-01-09 08:43:03] Production.INFO: ==8786== Releasing lock...
[2025-01-09 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:43:03] Production.INFO: 117
[2025-01-09 08:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:43:03] Production.INFO: count ==21
[2025-01-09 08:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:43:03] Production.INFO: count ==21
[2025-01-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208429') start
[2025-01-09 08:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:43:04] Production.ERROR: done
[2025-01-09 08:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:43:04] Production.INFO: Total Charge 0
[2025-01-09 08:43:04] Production.INFO: CreateAllLog End
[2025-01-09 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208429') end
[2025-01-09 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:43:04] Production.INFO: 1
[2025-01-09 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:43:04] Production.INFO: ==8794== Releasing lock...
[2025-01-09 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:43:04] Production.ERROR: done
[2025-01-09 08:43:04] Production.INFO: Account Balance End.
[2025-01-09 08:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:43:04] Production.INFO: ==8790== Releasing lock...
[2025-01-09 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:43:05
[end_date_ymd] => 2025-01-09 08:43:05
[RateCDR] => 1
)
[2025-01-09 08:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:43:05' and `end` < '2025-01-09 08:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:43:11] Production.ERROR: CronJobId end10
[2025-01-09 08:43:11] Production.INFO: ==8788== Releasing lock...
[2025-01-09 08:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:43:13] Production.INFO: call_cost start
[2025-01-09 08:43:13] Production.INFO: call_cost end
[2025-01-09 08:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:43:14] Production.INFO: ==8784== Releasing lock...
[2025-01-09 08:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:43:19] Production.INFO: count ==426
[2025-01-09 08:43:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:43:05 - End Time 2025-01-09 08:43:05
[2025-01-09 08:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208430', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208430', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208430', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208430', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:43:19] Production.INFO: ProcessCDR(1,14208430,1,1,2)
[2025-01-09 08:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208430', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208430', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:43:22] Production.INFO: ==8792== Releasing lock...
[2025-01-09 08:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:43:22] Production.INFO: 32 MB #Memory Used#
[2025-01-09 13:44:02] Production.INFO: ==8848== Lock acquired, processing the job...
[2025-01-09 13:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:44:02] Production.INFO: neon service started
[2025-01-09 13:44:02] Production.INFO: neon service started
[2025-01-09 13:44:02] Production.INFO: ==8848== Releasing lock...
[2025-01-09 13:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:44:02] Production.INFO: ==8852== Lock acquired, processing the job...
[2025-01-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:44:02] Production.INFO: ==8852== Releasing lock...
[2025-01-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:44:02] Production.INFO: ==8850== Lock acquired, processing the job...
[2025-01-09 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:44:03] Production.INFO: ==8850== Releasing lock...
[2025-01-09 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:44:03] Production.INFO: ==8861== Lock acquired, processing the job...
[2025-01-09 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:44:04] Production.INFO: ==8865== Lock acquired, processing the job...
[2025-01-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:44:04] Production.INFO: Account Balance Start.
[2025-01-09 08:44:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:44:04] Production.INFO: 117
[2025-01-09 08:44:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:44:04] Production.INFO: ==8857== Lock acquired, processing the job...
[2025-01-09 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:44:04] Production.INFO: ==8855== Lock acquired, processing the job...
[2025-01-09 08:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:44:04] Production.INFO: ==8859== Lock acquired, processing the job...
[2025-01-09 08:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:44:04] Production.INFO: count ==21
[2025-01-09 08:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:44:04] Production.INFO: count ==21
[2025-01-09 08:44:04] Production.INFO: Total Charge 0
[2025-01-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208432') start
[2025-01-09 08:44:04] Production.INFO: ==8863== Lock acquired, processing the job...
[2025-01-09 08:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:44:04] Production.INFO: CreateAllLog End
[2025-01-09 08:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208432') end
[2025-01-09 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:44:04] Production.INFO: 1
[2025-01-09 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:44:04] Production.INFO: ==8865== Releasing lock...
[2025-01-09 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:44:04] Production.INFO: Account Balance End.
[2025-01-09 08:44:04] Production.INFO: ==8857== Releasing lock...
[2025-01-09 08:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:44:04] Production.INFO: ==8861== Releasing lock...
[2025-01-09 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:44:04] Production.ERROR: done
[2025-01-09 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:44:04] Production.ERROR: done
[2025-01-09 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:44:05
[end_date_ymd] => 2025-01-09 08:44:05
[RateCDR] => 1
)
[2025-01-09 08:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:44:05' and `end` < '2025-01-09 08:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:44:11] Production.ERROR: CronJobId end10
[2025-01-09 08:44:11] Production.INFO: ==8859== Releasing lock...
[2025-01-09 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:44:14] Production.INFO: call_cost start
[2025-01-09 08:44:14] Production.INFO: call_cost end
[2025-01-09 08:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:44:15] Production.INFO: ==8855== Releasing lock...
[2025-01-09 08:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:44:19] Production.INFO: count ==432
[2025-01-09 08:44:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:44:05 - End Time 2025-01-09 08:44:05
[2025-01-09 08:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208435', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208435', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208435', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208435', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:44:19] Production.INFO: ProcessCDR(1,14208435,1,1,2)
[2025-01-09 08:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208435', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208435', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:44:23] Production.INFO: ==8863== Releasing lock...
[2025-01-09 08:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:44:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 13:45:01] Production.INFO: ==8919== Lock acquired, processing the job...
[2025-01-09 13:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:45:01] Production.INFO: neon service started
[2025-01-09 13:45:01] Production.INFO: neon service started
[2025-01-09 13:45:01] Production.INFO: ==8919== Releasing lock...
[2025-01-09 13:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:45:02] Production.INFO: ==8921== Lock acquired, processing the job...
[2025-01-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:45:02] Production.INFO: ==8921== Releasing lock...
[2025-01-09 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:45:02] Production.INFO: ==8923== Lock acquired, processing the job...
[2025-01-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:45:02] Production.INFO: ==8923== Releasing lock...
[2025-01-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:45:03] Production.INFO: ==8933== Lock acquired, processing the job...
[2025-01-09 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:45:03] Production.INFO: ==8925== Lock acquired, processing the job...
[2025-01-09 08:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:45:03] Production.INFO: ==8935== Lock acquired, processing the job...
[2025-01-09 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:45:03] Production.INFO: ==8929== Lock acquired, processing the job...
[2025-01-09 08:45:03] Production.INFO: ==8927== Lock acquired, processing the job...
[2025-01-09 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:45:03] Production.INFO: ==8931== Lock acquired, processing the job...
[2025-01-09 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:45:03] Production.INFO: Account Balance Start.
[2025-01-09 08:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:45:03] Production.INFO: 117
[2025-01-09 08:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:45:03] Production.ERROR: done
[2025-01-09 08:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:45:03] Production.INFO: Total Charge 0
[2025-01-09 08:45:03] Production.INFO: count ==21
[2025-01-09 08:45:03] Production.INFO: CreateAllLog End
[2025-01-09 08:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:45:03] Production.INFO: count ==21
[2025-01-09 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208437') start
[2025-01-09 08:45:04] Production.ERROR: done
[2025-01-09 08:45:04] Production.INFO: ==8927== Releasing lock...
[2025-01-09 08:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208437') end
[2025-01-09 08:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:45:04] Production.INFO: 1
[2025-01-09 08:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:45:04] Production.INFO: Account Balance End.
[2025-01-09 08:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:45:04] Production.INFO: ==8931== Releasing lock...
[2025-01-09 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:45:04] Production.INFO: ==8935== Releasing lock...
[2025-01-09 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:45:04
[end_date_ymd] => 2025-01-09 08:45:04
[RateCDR] => 1
)
[2025-01-09 08:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:45:04' and `end` < '2025-01-09 08:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:45:11] Production.ERROR: CronJobId end10
[2025-01-09 08:45:11] Production.INFO: ==8929== Releasing lock...
[2025-01-09 08:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:45:13] Production.INFO: call_cost start
[2025-01-09 08:45:13] Production.INFO: call_cost end
[2025-01-09 08:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:45:13] Production.INFO: ==8925== Releasing lock...
[2025-01-09 08:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:45:18] Production.INFO: count ==441
[2025-01-09 08:45:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:45:04 - End Time 2025-01-09 08:45:04
[2025-01-09 08:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208440', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208440', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208440', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208440', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:45:18] Production.INFO: ProcessCDR(1,14208440,1,1,2)
[2025-01-09 08:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208440', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208440', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:45:21] Production.INFO: ==8933== Releasing lock...
[2025-01-09 08:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:45:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 13:46:02] Production.INFO: ==8997== Lock acquired, processing the job...
[2025-01-09 13:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:46:02] Production.INFO: neon service started
[2025-01-09 13:46:02] Production.INFO: neon service started
[2025-01-09 13:46:02] Production.INFO: ==8997== Releasing lock...
[2025-01-09 13:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:46:02] Production.INFO: ==8999== Lock acquired, processing the job...
[2025-01-09 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:46:03] Production.INFO: ==8999== Releasing lock...
[2025-01-09 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:46:03] Production.INFO: ==9001== Lock acquired, processing the job...
[2025-01-09 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:46:03] Production.INFO: ==9001== Releasing lock...
[2025-01-09 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:46:03] Production.INFO: ==9005== Lock acquired, processing the job...
[2025-01-09 08:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:46:03] Production.INFO: ==9003== Lock acquired, processing the job...
[2025-01-09 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:46:04] Production.INFO: ==9009== Lock acquired, processing the job...
[2025-01-09 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:46:04] Production.INFO: ==9007== Lock acquired, processing the job...
[2025-01-09 08:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:46:04] Production.INFO: ==9005== Releasing lock...
[2025-01-09 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:46:04] Production.INFO: ==9012== Lock acquired, processing the job...
[2025-01-09 08:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:46:04] Production.INFO: Account Balance Start.
[2025-01-09 08:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:46:04] Production.INFO: 117
[2025-01-09 08:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:46:04] Production.INFO: ==9014== Lock acquired, processing the job...
[2025-01-09 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:46:04] Production.INFO: Total Charge 0
[2025-01-09 08:46:04] Production.INFO: CreateAllLog End
[2025-01-09 08:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:46:04] Production.INFO: count ==21
[2025-01-09 08:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:46:04] Production.INFO: count ==21
[2025-01-09 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208444') start
[2025-01-09 08:46:04] Production.ERROR: done
[2025-01-09 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208444') end
[2025-01-09 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:46:04] Production.INFO: 1
[2025-01-09 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:46:04] Production.INFO: Account Balance End.
[2025-01-09 08:46:04] Production.INFO: ==9014== Releasing lock...
[2025-01-09 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:46:04] Production.ERROR: done
[2025-01-09 08:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:46:04] Production.INFO: ==9009== Releasing lock...
[2025-01-09 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:46:05
[end_date_ymd] => 2025-01-09 08:46:05
[RateCDR] => 1
)
[2025-01-09 08:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:46:05' and `end` < '2025-01-09 08:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:46:12] Production.ERROR: CronJobId end10
[2025-01-09 08:46:12] Production.INFO: ==9007== Releasing lock...
[2025-01-09 08:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:46:14] Production.INFO: call_cost start
[2025-01-09 08:46:14] Production.INFO: call_cost end
[2025-01-09 08:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:46:15] Production.INFO: ==9003== Releasing lock...
[2025-01-09 08:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:46:18] Production.INFO: count ==454
[2025-01-09 08:46:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:46:05 - End Time 2025-01-09 08:46:05
[2025-01-09 08:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208445', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208445', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208445', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208445', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:46:18] Production.INFO: ProcessCDR(1,14208445,1,1,2)
[2025-01-09 08:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208445', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208445', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:46:22] Production.INFO: ==9012== Releasing lock...
[2025-01-09 08:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:46:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-09 13:47:01] Production.INFO: ==9069== Lock acquired, processing the job...
[2025-01-09 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:47:01] Production.INFO: neon service started
[2025-01-09 13:47:01] Production.INFO: neon service started
[2025-01-09 13:47:01] Production.INFO: ==9069== Releasing lock...
[2025-01-09 13:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:47:02] Production.INFO: ==9071== Lock acquired, processing the job...
[2025-01-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:47:02] Production.INFO: ==9073== Lock acquired, processing the job...
[2025-01-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:47:02] Production.INFO: ==9073== Releasing lock...
[2025-01-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:47:02] Production.INFO: ==9071== Releasing lock...
[2025-01-09 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:47:03] Production.INFO: ==9077== Lock acquired, processing the job...
[2025-01-09 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:47:03] Production.INFO: ==9075== Lock acquired, processing the job...
[2025-01-09 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:47:03] Production.INFO: ==9081== Lock acquired, processing the job...
[2025-01-09 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:47:03] Production.INFO: ==9079== Lock acquired, processing the job...
[2025-01-09 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:47:03] Production.INFO: Account Balance Start.
[2025-01-09 08:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:47:03] Production.INFO: 117
[2025-01-09 08:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:47:03] Production.INFO: ==9083== Lock acquired, processing the job...
[2025-01-09 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:47:03] Production.INFO: ==9086== Lock acquired, processing the job...
[2025-01-09 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:47:03] Production.INFO: Total Charge 0
[2025-01-09 08:47:03] Production.INFO: CreateAllLog End
[2025-01-09 08:47:03] Production.INFO: ==9077== Releasing lock...
[2025-01-09 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:47:03] Production.INFO: count ==21
[2025-01-09 08:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:47:03] Production.INFO: count ==21
[2025-01-09 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208449') start
[2025-01-09 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:47:03] Production.ERROR: done
[2025-01-09 08:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208449') end
[2025-01-09 08:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:47:03] Production.INFO: 1
[2025-01-09 08:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:47:03] Production.INFO: Account Balance End.
[2025-01-09 08:47:03] Production.INFO: ==9086== Releasing lock...
[2025-01-09 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:47:04] Production.INFO: ==9081== Releasing lock...
[2025-01-09 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:47:04] Production.ERROR: done
[2025-01-09 08:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:47:04
[end_date_ymd] => 2025-01-09 08:47:04
[RateCDR] => 1
)
[2025-01-09 08:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:47:04' and `end` < '2025-01-09 08:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:47:11] Production.ERROR: CronJobId end10
[2025-01-09 08:47:11] Production.INFO: ==9079== Releasing lock...
[2025-01-09 08:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:47:13] Production.INFO: call_cost start
[2025-01-09 08:47:13] Production.INFO: call_cost end
[2025-01-09 08:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:47:14] Production.INFO: ==9075== Releasing lock...
[2025-01-09 08:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:47:17] Production.INFO: count ==474
[2025-01-09 08:47:17] Production.ERROR: pbx CDR StartTime 2025-01-09 05:47:04 - End Time 2025-01-09 08:47:04
[2025-01-09 08:47:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208450', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208450', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208450', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:47:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208450', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:47:17] Production.INFO: ProcessCDR(1,14208450,1,1,2)
[2025-01-09 08:47:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:47:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:47:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208450', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208450', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:47:21] Production.INFO: ==9083== Releasing lock...
[2025-01-09 08:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:47:21] Production.INFO: 32 MB #Memory Used#
[2025-01-09 13:48:02] Production.INFO: ==9141== Lock acquired, processing the job...
[2025-01-09 13:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:48:02] Production.INFO: neon service started
[2025-01-09 13:48:02] Production.INFO: neon service started
[2025-01-09 13:48:02] Production.INFO: ==9141== Releasing lock...
[2025-01-09 13:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:48:02] Production.INFO: ==9143== Lock acquired, processing the job...
[2025-01-09 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:48:02] Production.INFO: ==9145== Lock acquired, processing the job...
[2025-01-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:48:02] Production.INFO: ==9145== Releasing lock...
[2025-01-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:48:03] Production.INFO: ==9143== Releasing lock...
[2025-01-09 08:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:48:03] Production.INFO: ==9148== Lock acquired, processing the job...
[2025-01-09 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:48:03] Production.INFO: ==9150== Lock acquired, processing the job...
[2025-01-09 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:48:03] Production.INFO: ==9154== Lock acquired, processing the job...
[2025-01-09 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:48:04] Production.INFO: Account Balance Start.
[2025-01-09 08:48:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:48:04] Production.INFO: 117
[2025-01-09 08:48:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:48:04] Production.INFO: ==9150== Releasing lock...
[2025-01-09 08:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:48:04] Production.INFO: ==9152== Lock acquired, processing the job...
[2025-01-09 08:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:48:04] Production.INFO: Total Charge 0
[2025-01-09 08:48:04] Production.INFO: CreateAllLog End
[2025-01-09 08:48:04] Production.INFO: ==9156== Lock acquired, processing the job...
[2025-01-09 08:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:48:04] Production.INFO: ==9158== Lock acquired, processing the job...
[2025-01-09 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:48:04] Production.INFO: Account Balance End.
[2025-01-09 08:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:48:04] Production.INFO: ==9154== Releasing lock...
[2025-01-09 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:48:04] Production.INFO: count ==21
[2025-01-09 08:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:48:04] Production.INFO: count ==21
[2025-01-09 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208454') start
[2025-01-09 08:48:04] Production.ERROR: done
[2025-01-09 08:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208454') end
[2025-01-09 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:48:04] Production.INFO: 1
[2025-01-09 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:48:04] Production.INFO: ==9158== Releasing lock...
[2025-01-09 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:48:04] Production.ERROR: done
[2025-01-09 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:48:05
[end_date_ymd] => 2025-01-09 08:48:05
[RateCDR] => 1
)
[2025-01-09 08:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:48:05' and `end` < '2025-01-09 08:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:48:11] Production.ERROR: CronJobId end10
[2025-01-09 08:48:11] Production.INFO: ==9152== Releasing lock...
[2025-01-09 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:48:13] Production.INFO: call_cost start
[2025-01-09 08:48:13] Production.INFO: call_cost end
[2025-01-09 08:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:48:14] Production.INFO: ==9148== Releasing lock...
[2025-01-09 08:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:48:18] Production.INFO: count ==482
[2025-01-09 08:48:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:48:05 - End Time 2025-01-09 08:48:05
[2025-01-09 08:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208455', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208455', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208455', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208455', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:48:18] Production.INFO: ProcessCDR(1,14208455,1,1,2)
[2025-01-09 08:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208455', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208455', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:48:23] Production.INFO: ==9156== Releasing lock...
[2025-01-09 08:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:48:23] Production.INFO: 32 MB #Memory Used#
[2025-01-09 13:49:01] Production.INFO: ==9210== Lock acquired, processing the job...
[2025-01-09 13:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:49:01] Production.INFO: neon service started
[2025-01-09 13:49:01] Production.INFO: neon service started
[2025-01-09 13:49:01] Production.INFO: ==9210== Releasing lock...
[2025-01-09 13:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:49:01] Production.INFO: ==9212== Lock acquired, processing the job...
[2025-01-09 08:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:49:02] Production.INFO: ==9212== Releasing lock...
[2025-01-09 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:49:02] Production.INFO: ==9214== Lock acquired, processing the job...
[2025-01-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:49:02] Production.INFO: ==9214== Releasing lock...
[2025-01-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:49:03] Production.INFO: ==9222== Lock acquired, processing the job...
[2025-01-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:49:03] Production.INFO: ==9224== Lock acquired, processing the job...
[2025-01-09 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:49:03] Production.INFO: Account Balance Start.
[2025-01-09 08:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:49:03] Production.INFO: 117
[2025-01-09 08:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:49:03] Production.INFO: ==9216== Lock acquired, processing the job...
[2025-01-09 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:49:03] Production.INFO: ==9218== Lock acquired, processing the job...
[2025-01-09 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:49:03] Production.INFO: ==9220== Lock acquired, processing the job...
[2025-01-09 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:49:03] Production.INFO: ==9226== Lock acquired, processing the job...
[2025-01-09 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:49:03] Production.INFO: Total Charge 0
[2025-01-09 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:49:03] Production.INFO: CreateAllLog End
[2025-01-09 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:49:03] Production.ERROR: done
[2025-01-09 08:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:49:03] Production.INFO: count ==21
[2025-01-09 08:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:49:03] Production.INFO: count ==21
[2025-01-09 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208458') start
[2025-01-09 08:49:03] Production.INFO: Account Balance End.
[2025-01-09 08:49:03] Production.ERROR: done
[2025-01-09 08:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:49:03] Production.INFO: ==9222== Releasing lock...
[2025-01-09 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208458') end
[2025-01-09 08:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:49:03] Production.INFO: 1
[2025-01-09 08:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:49:03] Production.INFO: ==9226== Releasing lock...
[2025-01-09 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:49:04] Production.INFO: ==9218== Releasing lock...
[2025-01-09 08:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:49:04
[end_date_ymd] => 2025-01-09 08:49:04
[RateCDR] => 1
)
[2025-01-09 08:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:49:04' and `end` < '2025-01-09 08:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:49:10] Production.ERROR: CronJobId end10
[2025-01-09 08:49:10] Production.INFO: ==9220== Releasing lock...
[2025-01-09 08:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:49:13] Production.INFO: call_cost start
[2025-01-09 08:49:13] Production.INFO: call_cost end
[2025-01-09 08:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:49:14] Production.INFO: ==9216== Releasing lock...
[2025-01-09 08:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:49:18] Production.INFO: count ==483
[2025-01-09 08:49:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:49:04 - End Time 2025-01-09 08:49:04
[2025-01-09 08:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208460', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208460', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208460', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208460', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:49:18] Production.INFO: ProcessCDR(1,14208460,1,1,2)
[2025-01-09 08:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208460', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208460', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:49:21] Production.INFO: ==9224== Releasing lock...
[2025-01-09 08:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:49:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 13:50:02] Production.INFO: ==9282== Lock acquired, processing the job...
[2025-01-09 13:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:50:02] Production.INFO: neon service started
[2025-01-09 13:50:02] Production.INFO: neon service started
[2025-01-09 13:50:02] Production.INFO: ==9282== Releasing lock...
[2025-01-09 13:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:50:02] Production.INFO: ==9284== Lock acquired, processing the job...
[2025-01-09 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:50:02] Production.INFO: ==9286== Lock acquired, processing the job...
[2025-01-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:50:02] Production.INFO: ==9286== Releasing lock...
[2025-01-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:50:03] Production.INFO: ==9284== Releasing lock...
[2025-01-09 08:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:50:04] Production.INFO: ==9293== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:50:04] Production.INFO: ==9297== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:50:04] Production.INFO: ==9289== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 08:50:04] Production.INFO: ==9303== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:50:04] Production.INFO: ==9291== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:50:04] Production.INFO: ==9295== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:50:04] Production.ERROR: CronJob PID - 9291
[2025-01-09 08:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 08:50:04] Production.ERROR: CronJob ID - 5
[2025-01-09 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:50:00
[2025-01-09 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:50:04] Production.INFO: Account Balance Start.
[2025-01-09 08:50:04] Production.ERROR: CronJob PID - 9293
[2025-01-09 08:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 08:50:04] Production.ERROR: CronJob ID - 7
[2025-01-09 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:50:00
[2025-01-09 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:50:04] Production.ERROR: CronJob PID - 9297
[2025-01-09 08:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 08:50:04] Production.ERROR: CronJob ID - 12
[2025-01-09 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:50:00
[2025-01-09 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 08:50:04] Production.ERROR: CronJob PID - 9303
[2025-01-09 08:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 08:50:04] Production.ERROR: CronJob ID - 19
[2025-01-09 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 08:50:00
[2025-01-09 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 08:50:04] Production.INFO: 117
[2025-01-09 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 08:50:04] Production.INFO: ==9289== Releasing lock...
[2025-01-09 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:50:04] Production.INFO: count ==21
[2025-01-09 08:50:04] Production.INFO: ==9299== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:50:04] Production.INFO: count ==21
[2025-01-09 08:50:04] Production.INFO: ==9301== Lock acquired, processing the job...
[2025-01-09 08:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208463') start
[2025-01-09 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:50:04] Production.INFO: ==9293== Releasing lock...
[2025-01-09 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208463') end
[2025-01-09 08:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:50:04] Production.INFO: 1
[2025-01-09 08:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:50:04] Production.INFO: ==9303== Releasing lock...
[2025-01-09 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:50:04] Production.INFO: Total Charge 0
[2025-01-09 08:50:04] Production.INFO: CreateAllLog End
[2025-01-09 08:50:05] Production.ERROR: done
[2025-01-09 08:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:50:05] Production.ERROR: done
[2025-01-09 08:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 08:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208465', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 08:50:05] Production.ERROR: done
[2025-01-09 08:50:05] Production.INFO: Account Balance End.
[2025-01-09 08:50:05] Production.ERROR: CronJobId end 12
[2025-01-09 08:50:05] Production.INFO: ==9297== Releasing lock...
[2025-01-09 08:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:50:06
[end_date_ymd] => 2025-01-09 08:50:06
[RateCDR] => 1
)
[2025-01-09 08:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:50:06' and `end` < '2025-01-09 08:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208465', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 08:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 08:50:09] Production.INFO: ProcessCDR(1,14208465,1,1,2)
[2025-01-09 08:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208465,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208465,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:50:09] Production.INFO: ==9301== Releasing lock...
[2025-01-09 08:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 08:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 08:50:13] Production.ERROR: CronJobId end10
[2025-01-09 08:50:13] Production.INFO: ==9295== Releasing lock...
[2025-01-09 08:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:50:15] Production.INFO: call_cost start
[2025-01-09 08:50:15] Production.INFO: call_cost end
[2025-01-09 08:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:50:15] Production.INFO: ==9291== Releasing lock...
[2025-01-09 08:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:50:19] Production.INFO: count ==489
[2025-01-09 08:50:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:50:06 - End Time 2025-01-09 08:50:06
[2025-01-09 08:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208466', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208466', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208466', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208466', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:50:19] Production.INFO: ProcessCDR(1,14208466,1,1,2)
[2025-01-09 08:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208466', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208466', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:50:22] Production.INFO: ==9299== Releasing lock...
[2025-01-09 08:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:50:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 13:51:01] Production.INFO: ==9357== Lock acquired, processing the job...
[2025-01-09 13:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:51:01] Production.INFO: neon service started
[2025-01-09 13:51:01] Production.INFO: neon service started
[2025-01-09 13:51:01] Production.INFO: ==9357== Releasing lock...
[2025-01-09 13:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:51:01] Production.INFO: ==9359== Lock acquired, processing the job...
[2025-01-09 08:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:51:02] Production.INFO: ==9359== Releasing lock...
[2025-01-09 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:51:02] Production.INFO: ==9361== Lock acquired, processing the job...
[2025-01-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:51:02] Production.INFO: ==9361== Releasing lock...
[2025-01-09 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:51:02] Production.INFO: ==9363== Lock acquired, processing the job...
[2025-01-09 08:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:51:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:51:02] Production.INFO: ==9367== Lock acquired, processing the job...
[2025-01-09 08:51:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:51:02] Production.INFO: ==9369== Lock acquired, processing the job...
[2025-01-09 08:51:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:51:03] Production.INFO: Account Balance Start.
[2025-01-09 08:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:51:03] Production.INFO: 117
[2025-01-09 08:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:51:03] Production.INFO: Total Charge 0
[2025-01-09 08:51:03] Production.INFO: CreateAllLog End
[2025-01-09 08:51:03] Production.INFO: ==9365== Lock acquired, processing the job...
[2025-01-09 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:51:03] Production.INFO: Account Balance End.
[2025-01-09 08:51:03] Production.INFO: ==9371== Lock acquired, processing the job...
[2025-01-09 08:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:51:03] Production.INFO: ==9373== Lock acquired, processing the job...
[2025-01-09 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 08:51:03] Production.INFO: ==9369== Releasing lock...
[2025-01-09 08:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 08:51:03] Production.INFO: count ==21
[2025-01-09 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-01-09 08:51:03] Production.INFO: count ==21
[2025-01-09 08:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208470') start
[2025-01-09 08:51:03] Production.ERROR: done
[2025-01-09 08:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:51:03] Production.INFO: ==9365== Releasing lock...
[2025-01-09 08:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208470') end
[2025-01-09 08:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:51:03] Production.INFO: 1
[2025-01-09 08:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:51:03] Production.ERROR: done
[2025-01-09 08:51:03] Production.INFO: ==9373== Releasing lock...
[2025-01-09 08:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:51:04
[end_date_ymd] => 2025-01-09 08:51:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 05:51:04' and `end` < '2025-01-09 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-01-09 08:51:10] Production.ERROR: CronJobId end10
[2025-01-09 08:51:10] Production.INFO: ==9367== Releasing lock...
[2025-01-09 08:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:51:13] Production.INFO: call_cost start
[2025-01-09 08:51:13] Production.INFO: call_cost end
[2025-01-09 08:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:51:14] Production.INFO: ==9363== Releasing lock...
[2025-01-09 08:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:51:18] Production.INFO: count ==515
[2025-01-09 08:51:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:51:04 - End Time 2025-01-09 08:51:04
[2025-01-09 08:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208471', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208471', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208471', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208471', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:51:18] Production.INFO: ProcessCDR(1,14208471,1,1,2)
[2025-01-09 08:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208471', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208471', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:51:21] Production.INFO: ==9371== Releasing lock...
[2025-01-09 08:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:51:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-09 13:52:02] Production.INFO: ==9430== Lock acquired, processing the job...
[2025-01-09 13:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:52:02] Production.INFO: neon service started
[2025-01-09 13:52:02] Production.INFO: neon service started
[2025-01-09 13:52:02] Production.INFO: ==9430== Releasing lock...
[2025-01-09 13:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:52:02] Production.INFO: ==9433== Lock acquired, processing the job...
[2025-01-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:52:02] Production.INFO: ==9433== Releasing lock...
[2025-01-09 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:52:02] Production.INFO: ==9435== Lock acquired, processing the job...
[2025-01-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:52:02] Production.INFO: ==9435== Releasing lock...
[2025-01-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:52:03] Production.INFO: ==9445== Lock acquired, processing the job...
[2025-01-09 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:52:03] Production.INFO: ==9447== Lock acquired, processing the job...
[2025-01-09 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:52:03] Production.INFO: ==9437== Lock acquired, processing the job...
[2025-01-09 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:52:03] Production.INFO: ==9439== Lock acquired, processing the job...
[2025-01-09 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:52:03] Production.INFO: count ==21
[2025-01-09 08:52:03] Production.INFO: ==9441== Lock acquired, processing the job...
[2025-01-09 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:52:03] Production.INFO: ==9443== Lock acquired, processing the job...
[2025-01-09 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:52:03] Production.INFO: count ==21
[2025-01-09 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208472') start
[2025-01-09 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208472') end
[2025-01-09 08:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:52:03] Production.INFO: 1
[2025-01-09 08:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:52:04] Production.ERROR: done
[2025-01-09 08:52:04] Production.INFO: ==9447== Releasing lock...
[2025-01-09 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:52:04] Production.INFO: Account Balance Start.
[2025-01-09 08:52:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:52:04] Production.INFO: 117
[2025-01-09 08:52:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:52:04] Production.ERROR: done
[2025-01-09 08:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:52:04] Production.INFO: ==9439== Releasing lock...
[2025-01-09 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:52:04] Production.INFO: Total Charge 0
[2025-01-09 08:52:04] Production.INFO: CreateAllLog End
[2025-01-09 08:52:04] Production.INFO: Account Balance End.
[2025-01-09 08:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:52:04] Production.INFO: ==9443== Releasing lock...
[2025-01-09 08:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:52:05
[end_date_ymd] => 2025-01-09 08:52:05
[RateCDR] => 1
)
[2025-01-09 08:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:52:05' and `end` < '2025-01-09 08:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:52:10] Production.ERROR: CronJobId end10
[2025-01-09 08:52:10] Production.INFO: ==9441== Releasing lock...
[2025-01-09 08:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:52:13] Production.INFO: call_cost start
[2025-01-09 08:52:13] Production.INFO: call_cost end
[2025-01-09 08:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:52:14] Production.INFO: ==9437== Releasing lock...
[2025-01-09 08:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:52:18] Production.INFO: count ==522
[2025-01-09 08:52:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:52:05 - End Time 2025-01-09 08:52:05
[2025-01-09 08:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208476', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208476', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208476', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208476', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:52:18] Production.INFO: ProcessCDR(1,14208476,1,1,2)
[2025-01-09 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208476', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208476', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:52:23] Production.INFO: ==9445== Releasing lock...
[2025-01-09 08:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:52:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 13:53:01] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-01-09 13:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:53:01] Production.INFO: neon service started
[2025-01-09 13:53:01] Production.INFO: neon service started
[2025-01-09 13:53:01] Production.INFO: ==9500== Releasing lock...
[2025-01-09 13:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:53:01] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-01-09 08:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:53:02] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-01-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 08:53:02] Production.INFO: ==9502== Releasing lock...
[2025-01-09 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:53:02] Production.INFO: ==9504== Releasing lock...
[2025-01-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:53:02] Production.INFO: ==9508== Lock acquired, processing the job...
[2025-01-09 08:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:53:03] Production.INFO: ==9510== Lock acquired, processing the job...
[2025-01-09 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:53:03] Production.INFO: ==9512== Lock acquired, processing the job...
[2025-01-09 08:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:53:03] Production.INFO: ==9514== Lock acquired, processing the job...
[2025-01-09 08:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:53:03] Production.INFO: ==9518== Lock acquired, processing the job...
[2025-01-09 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:53:03] Production.INFO: ==9516== Lock acquired, processing the job...
[2025-01-09 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:53:03] Production.INFO: Account Balance Start.
[2025-01-09 08:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:53:03] Production.INFO: 117
[2025-01-09 08:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:53:03] Production.INFO: ==9510== Releasing lock...
[2025-01-09 08:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:53:03] Production.INFO: count ==21
[2025-01-09 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-01-09 08:53:03] Production.INFO: count ==21
[2025-01-09 08:53:03] Production.INFO: Total Charge 0
[2025-01-09 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208480') start
[2025-01-09 08:53:03] Production.INFO: CreateAllLog End
[2025-01-09 08:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208480') end
[2025-01-09 08:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:53:03] Production.INFO: 1
[2025-01-09 08:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:53:03] Production.INFO: ==9518== Releasing lock...
[2025-01-09 08:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:53:04] Production.INFO: Account Balance End.
[2025-01-09 08:53:04] Production.ERROR: done
[2025-01-09 08:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:53:04] Production.INFO: ==9514== Releasing lock...
[2025-01-09 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:53:04] Production.ERROR: done
[2025-01-09 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:53:05
[end_date_ymd] => 2025-01-09 08:53:05
[RateCDR] => 1
)
[2025-01-09 08:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:53:05' and `end` < '2025-01-09 08:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:53:11] Production.ERROR: CronJobId end10
[2025-01-09 08:53:11] Production.INFO: ==9512== Releasing lock...
[2025-01-09 08:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:53:12] Production.INFO: call_cost start
[2025-01-09 08:53:12] Production.INFO: call_cost end
[2025-01-09 08:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:53:13] Production.INFO: ==9508== Releasing lock...
[2025-01-09 08:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:53:18] Production.INFO: count ==524
[2025-01-09 08:53:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:53:05 - End Time 2025-01-09 08:53:05
[2025-01-09 08:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208481', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208481', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208481', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208481', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:53:18] Production.INFO: ProcessCDR(1,14208481,1,1,2)
[2025-01-09 08:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208481', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208481', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:53:22] Production.INFO: ==9516== Releasing lock...
[2025-01-09 08:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:53:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-09 13:54:01] Production.INFO: ==9637== Lock acquired, processing the job...
[2025-01-09 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:54:01] Production.INFO: neon service started
[2025-01-09 13:54:01] Production.INFO: neon service started
[2025-01-09 13:54:01] Production.INFO: ==9637== Releasing lock...
[2025-01-09 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:54:02] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-01-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:54:02] Production.INFO: ==9639== Releasing lock...
[2025-01-09 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:54:02] Production.INFO: ==9641== Lock acquired, processing the job...
[2025-01-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:54:02] Production.INFO: ==9641== Releasing lock...
[2025-01-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:54:03] Production.INFO: ==9653== Lock acquired, processing the job...
[2025-01-09 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:54:03] Production.INFO: ==9651== Lock acquired, processing the job...
[2025-01-09 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:54:03] Production.INFO: count ==21
[2025-01-09 08:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:54:03] Production.INFO: count ==21
[2025-01-09 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208482') start
[2025-01-09 08:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208482') end
[2025-01-09 08:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:54:03] Production.INFO: 1
[2025-01-09 08:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:54:03] Production.INFO: ==9645== Lock acquired, processing the job...
[2025-01-09 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:54:03] Production.INFO: ==9647== Lock acquired, processing the job...
[2025-01-09 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:54:03] Production.INFO: ==9649== Lock acquired, processing the job...
[2025-01-09 08:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:54:03] Production.INFO: ==9643== Lock acquired, processing the job...
[2025-01-09 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:54:03] Production.INFO: ==9653== Releasing lock...
[2025-01-09 08:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:54:03] Production.INFO: Account Balance Start.
[2025-01-09 08:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:54:03] Production.INFO: 117
[2025-01-09 08:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:54:03] Production.ERROR: done
[2025-01-09 08:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:54:03] Production.INFO: Total Charge 0
[2025-01-09 08:54:03] Production.INFO: CreateAllLog End
[2025-01-09 08:54:04] Production.INFO: ==9645== Releasing lock...
[2025-01-09 08:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:54:04] Production.ERROR: done
[2025-01-09 08:54:04] Production.INFO: Account Balance End.
[2025-01-09 08:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:54:04] Production.INFO: ==9649== Releasing lock...
[2025-01-09 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:54:04
[end_date_ymd] => 2025-01-09 08:54:04
[RateCDR] => 1
)
[2025-01-09 08:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:54:04' and `end` < '2025-01-09 08:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:54:10] Production.ERROR: CronJobId end10
[2025-01-09 08:54:10] Production.INFO: ==9647== Releasing lock...
[2025-01-09 08:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:54:13] Production.INFO: call_cost start
[2025-01-09 08:54:13] Production.INFO: call_cost end
[2025-01-09 08:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:54:14] Production.INFO: ==9643== Releasing lock...
[2025-01-09 08:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:54:17] Production.INFO: count ==564
[2025-01-09 08:54:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:54:04 - End Time 2025-01-09 08:54:04
[2025-01-09 08:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208486', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208486', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208486', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208486', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:54:18] Production.INFO: ProcessCDR(1,14208486,1,1,2)
[2025-01-09 08:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208486', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208486', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:54:22] Production.INFO: ==9651== Releasing lock...
[2025-01-09 08:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:54:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-09 13:55:02] Production.INFO: ==9738== Lock acquired, processing the job...
[2025-01-09 13:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:55:02] Production.INFO: neon service started
[2025-01-09 13:55:02] Production.INFO: neon service started
[2025-01-09 13:55:02] Production.INFO: ==9738== Releasing lock...
[2025-01-09 13:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:55:02] Production.INFO: ==9742== Lock acquired, processing the job...
[2025-01-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:55:02] Production.INFO: ==9742== Releasing lock...
[2025-01-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:55:02] Production.INFO: ==9740== Lock acquired, processing the job...
[2025-01-09 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:55:03] Production.INFO: ==9740== Releasing lock...
[2025-01-09 08:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:55:03] Production.INFO: ==9748== Lock acquired, processing the job...
[2025-01-09 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:55:03] Production.INFO: ==9753== Lock acquired, processing the job...
[2025-01-09 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:55:04] Production.INFO: ==9744== Lock acquired, processing the job...
[2025-01-09 08:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:55:04] Production.INFO: ==9746== Lock acquired, processing the job...
[2025-01-09 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:55:04] Production.INFO: ==9751== Lock acquired, processing the job...
[2025-01-09 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:55:04] Production.INFO: ==9755== Lock acquired, processing the job...
[2025-01-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:55:04] Production.ERROR: done
[2025-01-09 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:55:04] Production.INFO: Account Balance Start.
[2025-01-09 08:55:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:55:04] Production.ERROR: done
[2025-01-09 08:55:04] Production.INFO: 117
[2025-01-09 08:55:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:55:04] Production.INFO: count ==21
[2025-01-09 08:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:55:04] Production.INFO: count ==21
[2025-01-09 08:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:55:04] Production.INFO: Total Charge 0
[2025-01-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208490') start
[2025-01-09 08:55:04] Production.INFO: CreateAllLog End
[2025-01-09 08:55:04] Production.INFO: ==9746== Releasing lock...
[2025-01-09 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208490') end
[2025-01-09 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:55:04] Production.INFO: 1
[2025-01-09 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:55:04] Production.INFO: Account Balance End.
[2025-01-09 08:55:04] Production.INFO: ==9755== Releasing lock...
[2025-01-09 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:55:04] Production.INFO: ==9751== Releasing lock...
[2025-01-09 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:55:05
[end_date_ymd] => 2025-01-09 08:55:05
[RateCDR] => 1
)
[2025-01-09 08:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:55:05' and `end` < '2025-01-09 08:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:55:11] Production.ERROR: CronJobId end10
[2025-01-09 08:55:11] Production.INFO: ==9748== Releasing lock...
[2025-01-09 08:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:55:14] Production.INFO: call_cost start
[2025-01-09 08:55:14] Production.INFO: call_cost end
[2025-01-09 08:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:55:14] Production.INFO: ==9744== Releasing lock...
[2025-01-09 08:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:55:18] Production.INFO: count ==573
[2025-01-09 08:55:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:55:05 - End Time 2025-01-09 08:55:05
[2025-01-09 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208491', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208491', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208491', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208491', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:55:18] Production.INFO: ProcessCDR(1,14208491,1,1,2)
[2025-01-09 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208491', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208491', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:55:23] Production.INFO: ==9753== Releasing lock...
[2025-01-09 08:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:55:23] Production.INFO: 33 MB #Memory Used#
[2025-01-09 13:56:01] Production.INFO: ==9834== Lock acquired, processing the job...
[2025-01-09 13:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:56:01] Production.INFO: neon service started
[2025-01-09 13:56:01] Production.INFO: neon service started
[2025-01-09 13:56:01] Production.INFO: ==9834== Releasing lock...
[2025-01-09 13:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:56:02] Production.INFO: ==9837== Lock acquired, processing the job...
[2025-01-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:56:02] Production.INFO: ==9837== Releasing lock...
[2025-01-09 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:56:02] Production.INFO: ==9839== Lock acquired, processing the job...
[2025-01-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:56:02] Production.INFO: ==9839== Releasing lock...
[2025-01-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:56:03] Production.INFO: ==9851== Lock acquired, processing the job...
[2025-01-09 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:56:03] Production.INFO: ==9843== Lock acquired, processing the job...
[2025-01-09 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:56:03] Production.INFO: ==9845== Lock acquired, processing the job...
[2025-01-09 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:56:03] Production.INFO: ==9853== Lock acquired, processing the job...
[2025-01-09 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:56:03] Production.ERROR: done
[2025-01-09 08:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:56:03] Production.INFO: ==9847== Lock acquired, processing the job...
[2025-01-09 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:56:03] Production.INFO: ==9849== Lock acquired, processing the job...
[2025-01-09 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:56:03] Production.INFO: count ==21
[2025-01-09 08:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:56:03] Production.INFO: count ==21
[2025-01-09 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208493') start
[2025-01-09 08:56:03] Production.INFO: Account Balance Start.
[2025-01-09 08:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:56:03] Production.INFO: 117
[2025-01-09 08:56:03] Production.ERROR: done
[2025-01-09 08:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:56:04] Production.INFO: Total Charge 0
[2025-01-09 08:56:04] Production.INFO: ==9845== Releasing lock...
[2025-01-09 08:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:56:04] Production.INFO: CreateAllLog End
[2025-01-09 08:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208493') end
[2025-01-09 08:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:56:04] Production.INFO: 1
[2025-01-09 08:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:56:04] Production.INFO: ==9853== Releasing lock...
[2025-01-09 08:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:56:04] Production.INFO: Account Balance End.
[2025-01-09 08:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:56:04] Production.INFO: ==9849== Releasing lock...
[2025-01-09 08:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:56:04
[end_date_ymd] => 2025-01-09 08:56:04
[RateCDR] => 1
)
[2025-01-09 08:56:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:56:04' and `end` < '2025-01-09 08:56:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:56:12] Production.ERROR: CronJobId end10
[2025-01-09 08:56:12] Production.INFO: ==9847== Releasing lock...
[2025-01-09 08:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:56:13] Production.INFO: call_cost start
[2025-01-09 08:56:13] Production.INFO: call_cost end
[2025-01-09 08:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:56:14] Production.INFO: ==9843== Releasing lock...
[2025-01-09 08:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:56:17] Production.INFO: count ==604
[2025-01-09 08:56:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:56:04 - End Time 2025-01-09 08:56:04
[2025-01-09 08:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208496', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208496', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208496', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208496', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:56:18] Production.INFO: ProcessCDR(1,14208496,1,1,2)
[2025-01-09 08:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208496', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208496', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:56:23] Production.INFO: ==9851== Releasing lock...
[2025-01-09 08:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:56:23] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 13:57:02] Production.INFO: ==9912== Lock acquired, processing the job...
[2025-01-09 13:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:57:02] Production.INFO: neon service started
[2025-01-09 13:57:02] Production.INFO: neon service started
[2025-01-09 13:57:02] Production.INFO: ==9912== Releasing lock...
[2025-01-09 13:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:57:02] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-01-09 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:57:02] Production.INFO: ==9916== Lock acquired, processing the job...
[2025-01-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:57:03] Production.INFO: ==9916== Releasing lock...
[2025-01-09 13:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:57:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:57:03] Production.INFO: ==9914== Releasing lock...
[2025-01-09 08:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:57:04] Production.INFO: ==9923== Lock acquired, processing the job...
[2025-01-09 08:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:57:04] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-01-09 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:57:04] Production.INFO: ==9919== Lock acquired, processing the job...
[2025-01-09 08:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:57:04] Production.INFO: count ==21
[2025-01-09 08:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:57:04] Production.INFO: count ==21
[2025-01-09 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208497') start
[2025-01-09 08:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:57:04] Production.INFO: ==9925== Lock acquired, processing the job...
[2025-01-09 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208497') end
[2025-01-09 08:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:57:04] Production.INFO: 1
[2025-01-09 08:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:57:04] Production.INFO: ==9921== Lock acquired, processing the job...
[2025-01-09 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:57:04] Production.INFO: ==9927== Lock acquired, processing the job...
[2025-01-09 08:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:57:04] Production.INFO: ==9929== Releasing lock...
[2025-01-09 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:57:04] Production.INFO: Account Balance Start.
[2025-01-09 08:57:04] Production.INFO: CreateAllLog Start
[2025-01-09 08:57:04] Production.INFO: 117
[2025-01-09 08:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:57:04] Production.INFO: Date 2025-01-08
[2025-01-09 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:57:04] Production.INFO: Total Charge 0
[2025-01-09 08:57:04] Production.INFO: CreateAllLog End
[2025-01-09 08:57:05] Production.INFO: ==9921== Releasing lock...
[2025-01-09 08:57:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:57:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:57:05] Production.ERROR: done
[2025-01-09 08:57:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:57:05] Production.ERROR: done
[2025-01-09 08:57:05] Production.INFO: Account Balance End.
[2025-01-09 08:57:05] Production.ERROR: CronJobId end 12
[2025-01-09 08:57:05] Production.INFO: ==9925== Releasing lock...
[2025-01-09 08:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:57:05
[end_date_ymd] => 2025-01-09 08:57:05
[RateCDR] => 1
)
[2025-01-09 08:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:57:05' and `end` < '2025-01-09 08:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:57:11] Production.ERROR: CronJobId end10
[2025-01-09 08:57:11] Production.INFO: ==9923== Releasing lock...
[2025-01-09 08:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:57:13] Production.INFO: call_cost start
[2025-01-09 08:57:13] Production.INFO: call_cost end
[2025-01-09 08:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:57:14] Production.INFO: ==9919== Releasing lock...
[2025-01-09 08:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:57:19] Production.INFO: count ==605
[2025-01-09 08:57:19] Production.ERROR: pbx CDR StartTime 2025-01-09 05:57:05 - End Time 2025-01-09 08:57:05
[2025-01-09 08:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208501', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208501', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208501', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208501', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:57:19] Production.INFO: ProcessCDR(1,14208501,1,1,2)
[2025-01-09 08:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208501', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208501', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:57:22] Production.INFO: ==9927== Releasing lock...
[2025-01-09 08:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:57:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 13:58:01] Production.INFO: ==9989== Lock acquired, processing the job...
[2025-01-09 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:58:01] Production.INFO: neon service started
[2025-01-09 13:58:01] Production.INFO: neon service started
[2025-01-09 13:58:01] Production.INFO: ==9989== Releasing lock...
[2025-01-09 13:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:58:02] Production.INFO: ==9991== Lock acquired, processing the job...
[2025-01-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 08:58:02] Production.INFO: ==9991== Releasing lock...
[2025-01-09 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:58:02] Production.INFO: ==9993== Lock acquired, processing the job...
[2025-01-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:58:02] Production.INFO: ==9993== Releasing lock...
[2025-01-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:58:03] Production.INFO: ==9997== Lock acquired, processing the job...
[2025-01-09 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:58:03] Production.INFO: ==9995== Lock acquired, processing the job...
[2025-01-09 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:58:03] Production.INFO: ==10004== Lock acquired, processing the job...
[2025-01-09 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:58:03] Production.INFO: ==10000== Lock acquired, processing the job...
[2025-01-09 08:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:58:03] Production.INFO: ==10002== Lock acquired, processing the job...
[2025-01-09 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:58:03] Production.INFO: Account Balance Start.
[2025-01-09 08:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:58:03] Production.INFO: 117
[2025-01-09 08:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:58:03] Production.INFO: ==9997== Releasing lock...
[2025-01-09 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:58:03] Production.INFO: ==10006== Lock acquired, processing the job...
[2025-01-09 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:58:03] Production.INFO: Total Charge 0
[2025-01-09 08:58:03] Production.INFO: CreateAllLog End
[2025-01-09 08:58:03] Production.ERROR: done
[2025-01-09 08:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:58:03] Production.INFO: count ==21
[2025-01-09 08:58:03] Production.ERROR: done
[2025-01-09 08:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:58:04] Production.INFO: count ==21
[2025-01-09 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208505') start
[2025-01-09 08:58:04] Production.INFO: Account Balance End.
[2025-01-09 08:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208505') end
[2025-01-09 08:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:58:04] Production.INFO: 1
[2025-01-09 08:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:58:04] Production.INFO: ==10002== Releasing lock...
[2025-01-09 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:58:04] Production.INFO: ==10006== Releasing lock...
[2025-01-09 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:58:04
[end_date_ymd] => 2025-01-09 08:58:04
[RateCDR] => 1
)
[2025-01-09 08:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:58:04' and `end` < '2025-01-09 08:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:58:10] Production.ERROR: CronJobId end10
[2025-01-09 08:58:10] Production.INFO: ==10000== Releasing lock...
[2025-01-09 08:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:58:12] Production.INFO: call_cost start
[2025-01-09 08:58:12] Production.INFO: call_cost end
[2025-01-09 08:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:58:13] Production.INFO: ==9995== Releasing lock...
[2025-01-09 08:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:58:18] Production.INFO: count ==605
[2025-01-09 08:58:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:58:04 - End Time 2025-01-09 08:58:04
[2025-01-09 08:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208506', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208506', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208506', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208506', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:58:18] Production.INFO: ProcessCDR(1,14208506,1,1,2)
[2025-01-09 08:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208506', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208506', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:58:21] Production.INFO: ==10004== Releasing lock...
[2025-01-09 08:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:58:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 13:59:02] Production.INFO: ==10059== Lock acquired, processing the job...
[2025-01-09 13:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 13:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 13:59:02] Production.INFO: neon service started
[2025-01-09 13:59:02] Production.INFO: neon service started
[2025-01-09 13:59:02] Production.INFO: ==10059== Releasing lock...
[2025-01-09 13:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 13:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 08:59:02] Production.INFO: ==10061== Lock acquired, processing the job...
[2025-01-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:59:02] Production.INFO: ==10063== Lock acquired, processing the job...
[2025-01-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:59:02] Production.INFO: ==10063== Releasing lock...
[2025-01-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 08:59:02] Production.INFO: ==10061== Releasing lock...
[2025-01-09 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 08:59:03] Production.INFO: ==10068== Lock acquired, processing the job...
[2025-01-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 08:59:03] Production.INFO: ==10074== Lock acquired, processing the job...
[2025-01-09 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 08:59:03] Production.INFO: ==10076== Lock acquired, processing the job...
[2025-01-09 08:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 08:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 08:59:03] Production.INFO: ==10066== Lock acquired, processing the job...
[2025-01-09 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 08:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:59:03] Production.INFO: ==10072== Lock acquired, processing the job...
[2025-01-09 08:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 08:59:03] Production.INFO: ==10070== Lock acquired, processing the job...
[2025-01-09 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 08:59:03] Production.INFO: count ==21
[2025-01-09 08:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 08:59:03] Production.INFO: count ==21
[2025-01-09 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 08:59:03] Production.INFO: Account Balance Start.
[2025-01-09 08:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 08:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208508') start
[2025-01-09 08:59:03] Production.INFO: 117
[2025-01-09 08:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 08:59:03] Production.INFO: ==10068== Releasing lock...
[2025-01-09 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 08:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 08:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 08:59:03] Production.ERROR: done
[2025-01-09 08:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 08:59:04] Production.INFO: Date 2025-01-09
[2025-01-09 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208508') end
[2025-01-09 08:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 08:59:04] Production.INFO: 1
[2025-01-09 08:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 08:59:04] Production.ERROR: done
[2025-01-09 08:59:04] Production.INFO: Total Charge 0
[2025-01-09 08:59:04] Production.INFO: ==10076== Releasing lock...
[2025-01-09 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 08:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 08:59:04] Production.INFO: CreateAllLog End
[2025-01-09 08:59:04] Production.INFO: Account Balance End.
[2025-01-09 08:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 08:59:04] Production.INFO: ==10072== Releasing lock...
[2025-01-09 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 08:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 08:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 05:59:04
[end_date_ymd] => 2025-01-09 08:59:04
[RateCDR] => 1
)
[2025-01-09 08:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 05:59:04' and `end` < '2025-01-09 08:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 08:59:10] Production.ERROR: CronJobId end10
[2025-01-09 08:59:10] Production.INFO: ==10070== Releasing lock...
[2025-01-09 08:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 08:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 08:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 08:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 08:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 08:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 08:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 08:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 08:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 08:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 08:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 08:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 08:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 08:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 08:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 08:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 08:59:12] Production.INFO: call_cost start
[2025-01-09 08:59:12] Production.INFO: call_cost end
[2025-01-09 08:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 08:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 08:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 08:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 08:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 08:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 08:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 08:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 08:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 08:59:13] Production.INFO: ==10066== Releasing lock...
[2025-01-09 08:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 08:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 08:59:18] Production.INFO: count ==613
[2025-01-09 08:59:18] Production.ERROR: pbx CDR StartTime 2025-01-09 05:59:04 - End Time 2025-01-09 08:59:04
[2025-01-09 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208511', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208511', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208511', 'tblTempVendorCDR_20' ) start
[2025-01-09 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208511', 'tblTempVendorCDR_20' ) end
[2025-01-09 08:59:18] Production.INFO: ProcessCDR(1,14208511,1,1,2)
[2025-01-09 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 08:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 08:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208511', 'tblTempUsageDetail_20' ) start
[2025-01-09 08:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208511', 'tblTempUsageDetail_20' ) end
[2025-01-09 08:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 08:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 08:59:22] Production.INFO: ==10074== Releasing lock...
[2025-01-09 08:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 08:59:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 14:00:01] Production.INFO: ==10129== Lock acquired, processing the job...
[2025-01-09 14:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:00:01] Production.INFO: neon service started
[2025-01-09 14:00:01] Production.INFO: neon service started
[2025-01-09 14:00:01] Production.INFO: ==10129== Releasing lock...
[2025-01-09 14:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:00:01] Production.INFO: ==10131== Lock acquired, processing the job...
[2025-01-09 09:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:00:02] Production.INFO: ==10133== Lock acquired, processing the job...
[2025-01-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:00:02] Production.INFO: ==10131== Releasing lock...
[2025-01-09 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:00:02] Production.INFO: ==10133== Releasing lock...
[2025-01-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:00:03] Production.INFO: ==10135== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 09:00:03] Production.INFO: ==10137== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 09:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 09:00:03] Production.INFO: ==10135== Releasing lock...
[2025-01-09 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 09:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:00:03] Production.INFO: ==10139== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:00:03] Production.INFO: ==10148== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 09:00:03] Production.INFO: ==10141== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:00:03] Production.INFO: ==10150== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:00:03] Production.INFO: ==10146== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:00:03] Production.INFO: ==10143== Lock acquired, processing the job...
[2025-01-09 09:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:00:03] Production.INFO: count ==21
[2025-01-09 09:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:00:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:00:03] Production.INFO: count ==21
[2025-01-09 09:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208514') start
[2025-01-09 09:00:03] Production.INFO: Account Balance Start.
[2025-01-09 09:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:00:03] Production.INFO: 117
[2025-01-09 09:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208514') end
[2025-01-09 09:00:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:00:03] Production.INFO: 1
[2025-01-09 09:00:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:00:04] Production.INFO: ==10150== Releasing lock...
[2025-01-09 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:00:04] Production.INFO: Total Charge 0
[2025-01-09 09:00:04] Production.INFO: CreateAllLog End
[2025-01-09 09:00:04] Production.ERROR: done
[2025-01-09 09:00:04] Production.INFO: ==10139== Releasing lock...
[2025-01-09 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208516', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 09:00:04] Production.ERROR: done
[2025-01-09 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:00:04] Production.INFO: Account Balance End.
[2025-01-09 09:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:00:04] Production.INFO: ==10143== Releasing lock...
[2025-01-09 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:00:04] Production.ERROR: done
[2025-01-09 09:00:05] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:05] Production.INFO: =diffInterval=0
[2025-01-09 09:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:00:05
[end_date_ymd] => 2025-01-09 09:00:05
[RateCDR] => 1
)
[2025-01-09 09:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:00:05' and `end` < '2025-01-09 09:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:00:06] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:06] Production.INFO: =diffInterval=0
[2025-01-09 09:00:08] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:08] Production.INFO: =diffInterval=0
[2025-01-09 09:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208516', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 09:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 09:00:08] Production.INFO: ProcessCDR(1,14208516,1,1,2)
[2025-01-09 09:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208516,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208516,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:00:08] Production.INFO: ==10148== Releasing lock...
[2025-01-09 09:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 09:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 09:00:08] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:08] Production.INFO: =diffInterval=0
[2025-01-09 09:00:09] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:09] Production.INFO: =diffInterval=0
[2025-01-09 09:00:09] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:09] Production.INFO: =diffInterval=0
[2025-01-09 09:00:10] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:10] Production.INFO: =diffInterval=0
[2025-01-09 09:00:11] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:11] Production.INFO: =diffInterval=0
[2025-01-09 09:00:11] Production.ERROR: CronJobId end10
[2025-01-09 09:00:11] Production.INFO: ==10141== Releasing lock...
[2025-01-09 09:00:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:00:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:00:11] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:11] Production.INFO: =diffInterval=0
[2025-01-09 09:00:12] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:12] Production.INFO: =diffInterval=0
[2025-01-09 09:00:12] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:12] Production.INFO: =diffInterval=0
[2025-01-09 09:00:13] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:13] Production.INFO: =diffInterval=0
[2025-01-09 09:00:13] Production.INFO: helper-LastRunTime===2025-01-09 09:00:00
[2025-01-09 09:00:13] Production.INFO: =diffInterval=0
[2025-01-09 09:00:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:00:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:00:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:00:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:00:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:00:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:00:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:00:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:00:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:00:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:00:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:00:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:00:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:00:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:00:14] Production.INFO: call_cost start
[2025-01-09 09:00:14] Production.INFO: call_cost end
[2025-01-09 09:00:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:00:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:00:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:00:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:00:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:00:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:00:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:00:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:00:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:00:14] Production.INFO: ==10137== Releasing lock...
[2025-01-09 09:00:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:00:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:00:18] Production.INFO: count ==630
[2025-01-09 09:00:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:00:05 - End Time 2025-01-09 09:00:05
[2025-01-09 09:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208517', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208517', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208517', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208517', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:00:18] Production.INFO: ProcessCDR(1,14208517,1,1,2)
[2025-01-09 09:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208517', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208517', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:00:23] Production.INFO: ==10146== Releasing lock...
[2025-01-09 09:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:00:23] Production.INFO: 33 MB #Memory Used#
[2025-01-09 14:01:02] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-01-09 14:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:01:02] Production.INFO: neon service started
[2025-01-09 14:01:02] Production.INFO: neon service started
[2025-01-09 14:01:02] Production.INFO: ==10204== Releasing lock...
[2025-01-09 14:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:01:02] Production.INFO: ==10219== Lock acquired, processing the job...
[2025-01-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:01:02] Production.INFO: ==10217== Lock acquired, processing the job...
[2025-01-09 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:01:02] Production.INFO: ==10219== Releasing lock...
[2025-01-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:01:03] Production.INFO: ==10217== Releasing lock...
[2025-01-09 09:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:01:03] Production.INFO: ==10221== Lock acquired, processing the job...
[2025-01-09 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:01:03] Production.INFO: ==10223== Lock acquired, processing the job...
[2025-01-09 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:01:03] Production.INFO: ==10227== Lock acquired, processing the job...
[2025-01-09 09:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:01:03] Production.INFO: Account Balance Start.
[2025-01-09 09:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:01:03] Production.INFO: 117
[2025-01-09 09:01:03] Production.INFO: ==10225== Lock acquired, processing the job...
[2025-01-09 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:01:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:01:04] Production.INFO: ==10231== Lock acquired, processing the job...
[2025-01-09 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:01:04] Production.INFO: Total Charge 0
[2025-01-09 09:01:04] Production.INFO: ==10229== Lock acquired, processing the job...
[2025-01-09 09:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:01:04] Production.INFO: CreateAllLog End
[2025-01-09 09:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:01:04] Production.INFO: ==10223== Releasing lock...
[2025-01-09 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:01:04] Production.INFO: count ==21
[2025-01-09 09:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:01:04] Production.INFO: count ==21
[2025-01-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208521') start
[2025-01-09 09:01:04] Production.INFO: Account Balance End.
[2025-01-09 09:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:01:04] Production.INFO: ==10227== Releasing lock...
[2025-01-09 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:01:04] Production.ERROR: done
[2025-01-09 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208521') end
[2025-01-09 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:01:04] Production.INFO: 1
[2025-01-09 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:01:04] Production.INFO: ==10231== Releasing lock...
[2025-01-09 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:01:04] Production.ERROR: done
[2025-01-09 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:01:05
[end_date_ymd] => 2025-01-09 09:01:05
[RateCDR] => 1
)
[2025-01-09 09:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:01:05' and `end` < '2025-01-09 09:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:01:11] Production.ERROR: CronJobId end10
[2025-01-09 09:01:11] Production.INFO: ==10225== Releasing lock...
[2025-01-09 09:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:01:13] Production.INFO: call_cost start
[2025-01-09 09:01:13] Production.INFO: call_cost end
[2025-01-09 09:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:01:14] Production.INFO: ==10221== Releasing lock...
[2025-01-09 09:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:01:20] Production.INFO: count ==694
[2025-01-09 09:01:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:01:05 - End Time 2025-01-09 09:01:05
[2025-01-09 09:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208522', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208522', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208522', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208522', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:01:20] Production.INFO: ProcessCDR(1,14208522,1,1,2)
[2025-01-09 09:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208522', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208522', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:01:24] Production.INFO: ==10229== Releasing lock...
[2025-01-09 09:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:01:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 14:02:01] Production.INFO: ==10288== Lock acquired, processing the job...
[2025-01-09 14:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:02:01] Production.INFO: neon service started
[2025-01-09 14:02:01] Production.INFO: neon service started
[2025-01-09 14:02:01] Production.INFO: ==10288== Releasing lock...
[2025-01-09 14:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:02:01] Production.INFO: ==10290== Lock acquired, processing the job...
[2025-01-09 09:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:02:01] Production.INFO: ==10290== Releasing lock...
[2025-01-09 09:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:02:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:02:02] Production.INFO: ==10292== Lock acquired, processing the job...
[2025-01-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:02:02] Production.INFO: ==10292== Releasing lock...
[2025-01-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:02:03] Production.INFO: ==10295== Lock acquired, processing the job...
[2025-01-09 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:02:03] Production.INFO: ==10297== Lock acquired, processing the job...
[2025-01-09 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:02:03] Production.INFO: ==10299== Lock acquired, processing the job...
[2025-01-09 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:02:03] Production.INFO: ==10301== Lock acquired, processing the job...
[2025-01-09 09:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:02:03] Production.INFO: ==10303== Lock acquired, processing the job...
[2025-01-09 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:02:03] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-01-09 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:02:03] Production.INFO: Account Balance Start.
[2025-01-09 09:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:02:03] Production.INFO: 117
[2025-01-09 09:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:02:03] Production.INFO: count ==21
[2025-01-09 09:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:02:03] Production.INFO: count ==21
[2025-01-09 09:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208526') start
[2025-01-09 09:02:03] Production.INFO: ==10297== Releasing lock...
[2025-01-09 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:02:03] Production.INFO: Total Charge 0
[2025-01-09 09:02:03] Production.INFO: CreateAllLog End
[2025-01-09 09:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208526') end
[2025-01-09 09:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:02:03] Production.INFO: 1
[2025-01-09 09:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:02:03] Production.INFO: ==10305== Releasing lock...
[2025-01-09 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:02:03] Production.ERROR: done
[2025-01-09 09:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:02:03] Production.ERROR: done
[2025-01-09 09:02:04] Production.INFO: Account Balance End.
[2025-01-09 09:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:02:04] Production.INFO: ==10301== Releasing lock...
[2025-01-09 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:02:04
[end_date_ymd] => 2025-01-09 09:02:04
[RateCDR] => 1
)
[2025-01-09 09:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:02:04' and `end` < '2025-01-09 09:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:02:11] Production.ERROR: CronJobId end10
[2025-01-09 09:02:11] Production.INFO: ==10299== Releasing lock...
[2025-01-09 09:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:02:13] Production.INFO: call_cost start
[2025-01-09 09:02:13] Production.INFO: call_cost end
[2025-01-09 09:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:02:14] Production.INFO: ==10295== Releasing lock...
[2025-01-09 09:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:02:18] Production.INFO: count ==729
[2025-01-09 09:02:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:02:04 - End Time 2025-01-09 09:02:04
[2025-01-09 09:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208527', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208527', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208527', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208527', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:02:18] Production.INFO: ProcessCDR(1,14208527,1,1,2)
[2025-01-09 09:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208527', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208527', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:02:22] Production.INFO: ==10303== Releasing lock...
[2025-01-09 09:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:02:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-09 14:03:01] Production.INFO: ==10359== Lock acquired, processing the job...
[2025-01-09 14:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:03:01] Production.INFO: neon service started
[2025-01-09 14:03:01] Production.INFO: neon service started
[2025-01-09 14:03:01] Production.INFO: ==10359== Releasing lock...
[2025-01-09 14:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:03:02] Production.INFO: ==10361== Lock acquired, processing the job...
[2025-01-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:03:02] Production.INFO: ==10361== Releasing lock...
[2025-01-09 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:03:02] Production.INFO: ==10363== Lock acquired, processing the job...
[2025-01-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:03:02] Production.INFO: ==10363== Releasing lock...
[2025-01-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:03:03] Production.INFO: ==10374== Lock acquired, processing the job...
[2025-01-09 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:03:03] Production.INFO: ==10376== Lock acquired, processing the job...
[2025-01-09 09:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:03:03] Production.INFO: ==10366== Lock acquired, processing the job...
[2025-01-09 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:03:03] Production.INFO: ==10368== Lock acquired, processing the job...
[2025-01-09 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:03:03] Production.INFO: ==10370== Lock acquired, processing the job...
[2025-01-09 09:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:03:03] Production.INFO: ==10372== Lock acquired, processing the job...
[2025-01-09 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:03:03] Production.INFO: Account Balance Start.
[2025-01-09 09:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:03:03] Production.INFO: 117
[2025-01-09 09:03:03] Production.INFO: count ==21
[2025-01-09 09:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:03:03] Production.INFO: count ==21
[2025-01-09 09:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208528') start
[2025-01-09 09:03:03] Production.ERROR: done
[2025-01-09 09:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:03:03] Production.ERROR: done
[2025-01-09 09:03:03] Production.INFO: Total Charge 0
[2025-01-09 09:03:04] Production.INFO: CreateAllLog End
[2025-01-09 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208528') end
[2025-01-09 09:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:03:04] Production.INFO: 1
[2025-01-09 09:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:03:04] Production.INFO: ==10376== Releasing lock...
[2025-01-09 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:03:04] Production.INFO: ==10368== Releasing lock...
[2025-01-09 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:03:04] Production.INFO: Account Balance End.
[2025-01-09 09:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:03:04] Production.INFO: ==10372== Releasing lock...
[2025-01-09 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:03:04
[end_date_ymd] => 2025-01-09 09:03:04
[RateCDR] => 1
)
[2025-01-09 09:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:03:04' and `end` < '2025-01-09 09:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:03:10] Production.ERROR: CronJobId end10
[2025-01-09 09:03:10] Production.INFO: ==10370== Releasing lock...
[2025-01-09 09:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:03:12] Production.INFO: call_cost start
[2025-01-09 09:03:12] Production.INFO: call_cost end
[2025-01-09 09:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:03:13] Production.INFO: ==10366== Releasing lock...
[2025-01-09 09:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:03:18] Production.INFO: count ==745
[2025-01-09 09:03:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:03:04 - End Time 2025-01-09 09:03:04
[2025-01-09 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208532', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208532', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208532', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208532', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:03:18] Production.INFO: ProcessCDR(1,14208532,1,1,2)
[2025-01-09 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208532', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208532', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:03:22] Production.INFO: ==10374== Releasing lock...
[2025-01-09 09:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:03:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-09 14:04:02] Production.INFO: ==10433== Lock acquired, processing the job...
[2025-01-09 14:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:04:02] Production.INFO: neon service started
[2025-01-09 14:04:02] Production.INFO: neon service started
[2025-01-09 14:04:02] Production.INFO: ==10433== Releasing lock...
[2025-01-09 14:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:04:02] Production.INFO: ==10437== Lock acquired, processing the job...
[2025-01-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:04:02] Production.INFO: ==10437== Releasing lock...
[2025-01-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:04:02] Production.INFO: ==10435== Lock acquired, processing the job...
[2025-01-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:04:02] Production.INFO: ==10435== Releasing lock...
[2025-01-09 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:04:03] Production.INFO: ==10442== Lock acquired, processing the job...
[2025-01-09 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:04:03] Production.INFO: ==10446== Lock acquired, processing the job...
[2025-01-09 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:04:03] Production.INFO: ==10448== Lock acquired, processing the job...
[2025-01-09 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:04:03] Production.INFO: Account Balance Start.
[2025-01-09 09:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:04:03] Production.INFO: 117
[2025-01-09 09:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:04:03] Production.INFO: Total Charge 0
[2025-01-09 09:04:03] Production.INFO: CreateAllLog End
[2025-01-09 09:04:04] Production.INFO: ==10440== Lock acquired, processing the job...
[2025-01-09 09:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:04:04] Production.INFO: ==10444== Lock acquired, processing the job...
[2025-01-09 09:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:04:04] Production.INFO: ==10450== Lock acquired, processing the job...
[2025-01-09 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:04:04] Production.INFO: ==10442== Releasing lock...
[2025-01-09 09:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:04:04] Production.INFO: Account Balance End.
[2025-01-09 09:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:04:04] Production.INFO: ==10446== Releasing lock...
[2025-01-09 09:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:04:04] Production.ERROR: done
[2025-01-09 09:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:04:04] Production.INFO: count ==21
[2025-01-09 09:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:04:04] Production.INFO: count ==21
[2025-01-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208536') start
[2025-01-09 09:04:04] Production.ERROR: done
[2025-01-09 09:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208536') end
[2025-01-09 09:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:04:04] Production.INFO: 1
[2025-01-09 09:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:04:04] Production.INFO: ==10450== Releasing lock...
[2025-01-09 09:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:04:05
[end_date_ymd] => 2025-01-09 09:04:05
[RateCDR] => 1
)
[2025-01-09 09:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:04:05' and `end` < '2025-01-09 09:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:04:11] Production.ERROR: CronJobId end10
[2025-01-09 09:04:11] Production.INFO: ==10444== Releasing lock...
[2025-01-09 09:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:04:12] Production.INFO: call_cost start
[2025-01-09 09:04:12] Production.INFO: call_cost end
[2025-01-09 09:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:04:13] Production.INFO: ==10440== Releasing lock...
[2025-01-09 09:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:04:18] Production.INFO: count ==778
[2025-01-09 09:04:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:04:05 - End Time 2025-01-09 09:04:05
[2025-01-09 09:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208537', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208537', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208537', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208537', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:04:18] Production.INFO: ProcessCDR(1,14208537,1,1,2)
[2025-01-09 09:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208537', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208537', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:04:23] Production.INFO: ==10448== Releasing lock...
[2025-01-09 09:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:04:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-09 14:05:01] Production.INFO: ==10503== Lock acquired, processing the job...
[2025-01-09 14:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:05:01] Production.INFO: neon service started
[2025-01-09 14:05:01] Production.INFO: neon service started
[2025-01-09 14:05:01] Production.INFO: ==10503== Releasing lock...
[2025-01-09 14:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:05:01] Production.INFO: ==10505== Lock acquired, processing the job...
[2025-01-09 09:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:05:02] Production.INFO: ==10505== Releasing lock...
[2025-01-09 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:05:02] Production.INFO: ==10507== Lock acquired, processing the job...
[2025-01-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:05:02] Production.INFO: ==10507== Releasing lock...
[2025-01-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:05:03] Production.INFO: ==10512== Lock acquired, processing the job...
[2025-01-09 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:05:03] Production.INFO: ==10520== Lock acquired, processing the job...
[2025-01-09 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:05:03] Production.INFO: ==10510== Lock acquired, processing the job...
[2025-01-09 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:05:03] Production.INFO: ==10514== Lock acquired, processing the job...
[2025-01-09 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:05:03] Production.INFO: count ==21
[2025-01-09 09:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:05:03] Production.INFO: count ==21
[2025-01-09 09:05:03] Production.INFO: ==10516== Lock acquired, processing the job...
[2025-01-09 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:05:03] Production.INFO: ==10518== Lock acquired, processing the job...
[2025-01-09 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208538') start
[2025-01-09 09:05:03] Production.INFO: ==10512== Releasing lock...
[2025-01-09 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:05:03] Production.INFO: Account Balance Start.
[2025-01-09 09:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:05:03] Production.INFO: 117
[2025-01-09 09:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208538') end
[2025-01-09 09:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:05:03] Production.INFO: 1
[2025-01-09 09:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:05:03] Production.INFO: ==10520== Releasing lock...
[2025-01-09 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:05:03] Production.ERROR: done
[2025-01-09 09:05:03] Production.INFO: Total Charge 0
[2025-01-09 09:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:05:03] Production.INFO: CreateAllLog End
[2025-01-09 09:05:03] Production.ERROR: done
[2025-01-09 09:05:04] Production.INFO: Account Balance End.
[2025-01-09 09:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:05:04] Production.INFO: ==10516== Releasing lock...
[2025-01-09 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:05:04
[end_date_ymd] => 2025-01-09 09:05:04
[RateCDR] => 1
)
[2025-01-09 09:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:05:04' and `end` < '2025-01-09 09:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:05:09] Production.ERROR: CronJobId end10
[2025-01-09 09:05:09] Production.INFO: ==10514== Releasing lock...
[2025-01-09 09:05:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:05:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:05:12] Production.INFO: call_cost start
[2025-01-09 09:05:12] Production.INFO: call_cost end
[2025-01-09 09:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:05:13] Production.INFO: ==10510== Releasing lock...
[2025-01-09 09:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:05:17] Production.INFO: count ==799
[2025-01-09 09:05:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:05:04 - End Time 2025-01-09 09:05:04
[2025-01-09 09:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208542', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208542', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208542', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208542', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:05:18] Production.INFO: ProcessCDR(1,14208542,1,1,2)
[2025-01-09 09:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208542', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208542', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:05:21] Production.INFO: ==10518== Releasing lock...
[2025-01-09 09:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:05:21] Production.INFO: 34.25 MB #Memory Used#
[2025-01-09 14:06:02] Production.INFO: ==10573== Lock acquired, processing the job...
[2025-01-09 14:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:06:02] Production.INFO: neon service started
[2025-01-09 14:06:02] Production.INFO: neon service started
[2025-01-09 14:06:02] Production.INFO: ==10573== Releasing lock...
[2025-01-09 14:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:06:02] Production.INFO: ==10577== Lock acquired, processing the job...
[2025-01-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:06:02] Production.INFO: ==10577== Releasing lock...
[2025-01-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:06:02] Production.INFO: ==10575== Lock acquired, processing the job...
[2025-01-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:06:02] Production.INFO: ==10575== Releasing lock...
[2025-01-09 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:06:03] Production.INFO: ==10584== Lock acquired, processing the job...
[2025-01-09 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:06:03] Production.INFO: ==10588== Lock acquired, processing the job...
[2025-01-09 09:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:06:03] Production.INFO: ==10580== Lock acquired, processing the job...
[2025-01-09 09:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:06:03] Production.INFO: ==10582== Lock acquired, processing the job...
[2025-01-09 09:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:06:03] Production.INFO: ==10586== Lock acquired, processing the job...
[2025-01-09 09:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:06:03] Production.INFO: ==10590== Lock acquired, processing the job...
[2025-01-09 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:06:03] Production.ERROR: done
[2025-01-09 09:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:06:03] Production.INFO: Account Balance Start.
[2025-01-09 09:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:06:04] Production.INFO: 117
[2025-01-09 09:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:06:04] Production.INFO: Total Charge 0
[2025-01-09 09:06:04] Production.INFO: CreateAllLog End
[2025-01-09 09:06:04] Production.INFO: ==10582== Releasing lock...
[2025-01-09 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:06:04] Production.ERROR: done
[2025-01-09 09:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:06:04] Production.INFO: Account Balance End.
[2025-01-09 09:06:04] Production.INFO: count ==21
[2025-01-09 09:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:06:04] Production.INFO: ==10586== Releasing lock...
[2025-01-09 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:06:04] Production.INFO: count ==21
[2025-01-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208546') start
[2025-01-09 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208546') end
[2025-01-09 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:06:04] Production.INFO: 1
[2025-01-09 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:06:04] Production.INFO: ==10590== Releasing lock...
[2025-01-09 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:06:05
[end_date_ymd] => 2025-01-09 09:06:05
[RateCDR] => 1
)
[2025-01-09 09:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:06:05' and `end` < '2025-01-09 09:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:06:11] Production.ERROR: CronJobId end10
[2025-01-09 09:06:11] Production.INFO: ==10584== Releasing lock...
[2025-01-09 09:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:06:13] Production.INFO: call_cost start
[2025-01-09 09:06:13] Production.INFO: call_cost end
[2025-01-09 09:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:06:14] Production.INFO: ==10580== Releasing lock...
[2025-01-09 09:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:06:19] Production.INFO: count ==802
[2025-01-09 09:06:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:06:05 - End Time 2025-01-09 09:06:05
[2025-01-09 09:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208547', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208547', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208547', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208547', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:06:19] Production.INFO: ProcessCDR(1,14208547,1,1,2)
[2025-01-09 09:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208547', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208547', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:06:23] Production.INFO: ==10588== Releasing lock...
[2025-01-09 09:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:06:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-09 14:07:01] Production.INFO: ==10642== Lock acquired, processing the job...
[2025-01-09 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:07:01] Production.INFO: neon service started
[2025-01-09 14:07:01] Production.INFO: neon service started
[2025-01-09 14:07:01] Production.INFO: ==10642== Releasing lock...
[2025-01-09 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:07:01] Production.INFO: ==10645== Lock acquired, processing the job...
[2025-01-09 09:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:07:02] Production.INFO: ==10645== Releasing lock...
[2025-01-09 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:07:02] Production.INFO: ==10647== Lock acquired, processing the job...
[2025-01-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:07:02] Production.INFO: ==10647== Releasing lock...
[2025-01-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:07:03] Production.INFO: ==10658== Lock acquired, processing the job...
[2025-01-09 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:07:03] Production.INFO: ==10660== Lock acquired, processing the job...
[2025-01-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:07:03] Production.INFO: count ==21
[2025-01-09 09:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:07:03] Production.INFO: count ==21
[2025-01-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208548') start
[2025-01-09 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208548') end
[2025-01-09 09:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:07:03] Production.INFO: 1
[2025-01-09 09:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:07:03] Production.INFO: ==10650== Lock acquired, processing the job...
[2025-01-09 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:07:03] Production.INFO: ==10660== Releasing lock...
[2025-01-09 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:07:03] Production.INFO: ==10652== Lock acquired, processing the job...
[2025-01-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:07:03] Production.INFO: ==10656== Lock acquired, processing the job...
[2025-01-09 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:07:03] Production.INFO: ==10654== Lock acquired, processing the job...
[2025-01-09 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:07:03] Production.ERROR: done
[2025-01-09 09:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:07:03] Production.INFO: Account Balance Start.
[2025-01-09 09:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:07:03] Production.INFO: 117
[2025-01-09 09:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:07:03] Production.ERROR: done
[2025-01-09 09:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:07:03] Production.INFO: Total Charge 0
[2025-01-09 09:07:03] Production.INFO: CreateAllLog End
[2025-01-09 09:07:03] Production.INFO: ==10652== Releasing lock...
[2025-01-09 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:07:04] Production.INFO: Account Balance End.
[2025-01-09 09:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:07:04] Production.INFO: ==10656== Releasing lock...
[2025-01-09 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:07:04
[end_date_ymd] => 2025-01-09 09:07:04
[RateCDR] => 1
)
[2025-01-09 09:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:07:04' and `end` < '2025-01-09 09:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:07:11] Production.ERROR: CronJobId end10
[2025-01-09 09:07:11] Production.INFO: ==10654== Releasing lock...
[2025-01-09 09:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:07:12] Production.INFO: call_cost start
[2025-01-09 09:07:12] Production.INFO: call_cost end
[2025-01-09 09:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:07:13] Production.INFO: ==10650== Releasing lock...
[2025-01-09 09:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:07:17] Production.INFO: count ==813
[2025-01-09 09:07:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:07:04 - End Time 2025-01-09 09:07:04
[2025-01-09 09:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208552', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208552', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208552', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208552', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:07:18] Production.INFO: ProcessCDR(1,14208552,1,1,2)
[2025-01-09 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208552', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208552', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:07:21] Production.INFO: ==10658== Releasing lock...
[2025-01-09 09:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:07:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-09 14:08:02] Production.INFO: ==10715== Lock acquired, processing the job...
[2025-01-09 14:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:08:02] Production.INFO: neon service started
[2025-01-09 14:08:02] Production.INFO: neon service started
[2025-01-09 14:08:02] Production.INFO: ==10715== Releasing lock...
[2025-01-09 14:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:08:02] Production.INFO: ==10719== Lock acquired, processing the job...
[2025-01-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:08:02] Production.INFO: ==10719== Releasing lock...
[2025-01-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:08:02] Production.INFO: ==10717== Lock acquired, processing the job...
[2025-01-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:08:02] Production.INFO: ==10717== Releasing lock...
[2025-01-09 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:08:03] Production.INFO: ==10722== Lock acquired, processing the job...
[2025-01-09 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:08:03] Production.INFO: ==10726== Lock acquired, processing the job...
[2025-01-09 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:08:03] Production.INFO: ==10730== Lock acquired, processing the job...
[2025-01-09 09:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:08:03] Production.INFO: ==10724== Lock acquired, processing the job...
[2025-01-09 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:08:03] Production.INFO: ==10728== Lock acquired, processing the job...
[2025-01-09 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:08:03] Production.INFO: ==10732== Lock acquired, processing the job...
[2025-01-09 09:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:08:04] Production.INFO: Account Balance Start.
[2025-01-09 09:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:08:04] Production.INFO: 117
[2025-01-09 09:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:08:04] Production.ERROR: done
[2025-01-09 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:08:04] Production.INFO: Total Charge 0
[2025-01-09 09:08:04] Production.INFO: CreateAllLog End
[2025-01-09 09:08:04] Production.INFO: count ==21
[2025-01-09 09:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:08:04] Production.ERROR: done
[2025-01-09 09:08:04] Production.INFO: count ==21
[2025-01-09 09:08:04] Production.INFO: ==10724== Releasing lock...
[2025-01-09 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208556') start
[2025-01-09 09:08:04] Production.INFO: Account Balance End.
[2025-01-09 09:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:08:04] Production.INFO: ==10728== Releasing lock...
[2025-01-09 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208556') end
[2025-01-09 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:08:04] Production.INFO: 1
[2025-01-09 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:08:04] Production.INFO: ==10732== Releasing lock...
[2025-01-09 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:08:05
[end_date_ymd] => 2025-01-09 09:08:05
[RateCDR] => 1
)
[2025-01-09 09:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:08:05' and `end` < '2025-01-09 09:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:08:10] Production.ERROR: CronJobId end10
[2025-01-09 09:08:10] Production.INFO: ==10726== Releasing lock...
[2025-01-09 09:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:08:13] Production.INFO: call_cost start
[2025-01-09 09:08:13] Production.INFO: call_cost end
[2025-01-09 09:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:08:14] Production.INFO: ==10722== Releasing lock...
[2025-01-09 09:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:08:18] Production.INFO: count ==834
[2025-01-09 09:08:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:08:05 - End Time 2025-01-09 09:08:05
[2025-01-09 09:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208557', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208557', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208557', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208557', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:08:18] Production.INFO: ProcessCDR(1,14208557,1,1,2)
[2025-01-09 09:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208557', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208557', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:08:23] Production.INFO: ==10730== Releasing lock...
[2025-01-09 09:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:08:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-09 14:09:01] Production.INFO: ==10787== Lock acquired, processing the job...
[2025-01-09 14:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:09:01] Production.INFO: neon service started
[2025-01-09 14:09:01] Production.INFO: neon service started
[2025-01-09 14:09:01] Production.INFO: ==10787== Releasing lock...
[2025-01-09 14:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:09:01] Production.INFO: ==10789== Lock acquired, processing the job...
[2025-01-09 09:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:09:02] Production.INFO: ==10791== Lock acquired, processing the job...
[2025-01-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:09:02] Production.INFO: ==10789== Releasing lock...
[2025-01-09 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:09:02] Production.INFO: ==10791== Releasing lock...
[2025-01-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:09:03] Production.INFO: ==10799== Lock acquired, processing the job...
[2025-01-09 09:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:09:03] Production.INFO: ==10793== Lock acquired, processing the job...
[2025-01-09 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:09:03] Production.INFO: Account Balance Start.
[2025-01-09 09:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:09:03] Production.INFO: 117
[2025-01-09 09:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:09:03] Production.INFO: ==10797== Lock acquired, processing the job...
[2025-01-09 09:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:09:03] Production.INFO: ==10795== Lock acquired, processing the job...
[2025-01-09 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:09:03] Production.INFO: ==10803== Lock acquired, processing the job...
[2025-01-09 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:09:03] Production.INFO: Total Charge 0
[2025-01-09 09:09:03] Production.INFO: CreateAllLog End
[2025-01-09 09:09:03] Production.INFO: ==10801== Lock acquired, processing the job...
[2025-01-09 09:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:09:03] Production.INFO: count ==21
[2025-01-09 09:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:09:03] Production.INFO: count ==21
[2025-01-09 09:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208560') start
[2025-01-09 09:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208560') end
[2025-01-09 09:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:09:03] Production.INFO: 1
[2025-01-09 09:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:09:03] Production.INFO: ==10795== Releasing lock...
[2025-01-09 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:09:03] Production.INFO: ==10803== Releasing lock...
[2025-01-09 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:09:03] Production.ERROR: done
[2025-01-09 09:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:09:03] Production.INFO: Account Balance End.
[2025-01-09 09:09:03] Production.ERROR: done
[2025-01-09 09:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:09:03] Production.INFO: ==10799== Releasing lock...
[2025-01-09 09:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:09:04
[end_date_ymd] => 2025-01-09 09:09:04
[RateCDR] => 1
)
[2025-01-09 09:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:09:04' and `end` < '2025-01-09 09:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:09:11] Production.ERROR: CronJobId end10
[2025-01-09 09:09:11] Production.INFO: ==10797== Releasing lock...
[2025-01-09 09:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:09:12] Production.INFO: call_cost start
[2025-01-09 09:09:12] Production.INFO: call_cost end
[2025-01-09 09:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:09:13] Production.INFO: ==10793== Releasing lock...
[2025-01-09 09:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:09:18] Production.INFO: count ==856
[2025-01-09 09:09:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:09:04 - End Time 2025-01-09 09:09:04
[2025-01-09 09:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208562', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208562', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208562', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208562', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:09:18] Production.INFO: ProcessCDR(1,14208562,1,1,2)
[2025-01-09 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208562', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208562', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:09:21] Production.INFO: ==10801== Releasing lock...
[2025-01-09 09:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:09:21] Production.INFO: 34.5 MB #Memory Used#
[2025-01-09 14:10:01] Production.INFO: ==10897== Lock acquired, processing the job...
[2025-01-09 14:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:10:01] Production.INFO: neon service started
[2025-01-09 14:10:01] Production.INFO: neon service started
[2025-01-09 14:10:01] Production.INFO: ==10897== Releasing lock...
[2025-01-09 14:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:10:02] Production.INFO: ==10901== Lock acquired, processing the job...
[2025-01-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:10:02] Production.INFO: ==10901== Releasing lock...
[2025-01-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:10:02] Production.INFO: ==10899== Lock acquired, processing the job...
[2025-01-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:10:02] Production.INFO: ==10899== Releasing lock...
[2025-01-09 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:10:03] Production.INFO: ==10904== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 09:10:03] Production.INFO: ==10906== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 09:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:10:03] Production.ERROR: CronJob PID - 10906
[2025-01-09 09:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 09:10:03] Production.ERROR: CronJob ID - 5
[2025-01-09 09:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:10:00
[2025-01-09 09:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 09:10:03] Production.INFO: ==10904== Releasing lock...
[2025-01-09 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 09:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:10:03] Production.INFO: ==10908== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:10:03] Production.INFO: ==10914== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:10:03] Production.INFO: ==10910== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:10:03] Production.INFO: ==10912== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:10:03] Production.INFO: ==10916== Lock acquired, processing the job...
[2025-01-09 09:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 09:10:04] Production.INFO: ==10918== Lock acquired, processing the job...
[2025-01-09 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:10:04] Production.INFO: Account Balance Start.
[2025-01-09 09:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:10:04] Production.INFO: ==10908== Releasing lock...
[2025-01-09 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:10:04] Production.INFO: 117
[2025-01-09 09:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:10:04] Production.ERROR: done
[2025-01-09 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:10:04] Production.INFO: count ==21
[2025-01-09 09:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:10:04] Production.INFO: count ==21
[2025-01-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208566') start
[2025-01-09 09:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:10:04] Production.ERROR: done
[2025-01-09 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:10:04] Production.INFO: Total Charge 0
[2025-01-09 09:10:04] Production.INFO: CreateAllLog End
[2025-01-09 09:10:04] Production.ERROR: done
[2025-01-09 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208566') end
[2025-01-09 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:10:04] Production.INFO: 1
[2025-01-09 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208568', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 09:10:04] Production.INFO: ==10918== Releasing lock...
[2025-01-09 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:10:04] Production.INFO: Account Balance End.
[2025-01-09 09:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:10:04] Production.INFO: ==10912== Releasing lock...
[2025-01-09 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:10:05
[end_date_ymd] => 2025-01-09 09:10:05
[RateCDR] => 1
)
[2025-01-09 09:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:10:05' and `end` < '2025-01-09 09:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208568', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 09:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 09:10:07] Production.INFO: ProcessCDR(1,14208568,1,1,2)
[2025-01-09 09:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208568,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:10:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208568,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:10:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:10:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:10:07] Production.INFO: ==10916== Releasing lock...
[2025-01-09 09:10:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 09:10:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 09:10:12] Production.ERROR: CronJobId end10
[2025-01-09 09:10:12] Production.INFO: ==10910== Releasing lock...
[2025-01-09 09:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:10:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:10:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:10:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:10:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:10:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:10:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:10:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:10:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:10:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:10:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:10:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:10:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:10:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:10:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:10:14] Production.INFO: call_cost start
[2025-01-09 09:10:14] Production.INFO: call_cost end
[2025-01-09 09:10:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:10:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:10:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:10:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:10:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:10:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:10:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:10:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:10:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:10:14] Production.INFO: ==10906== Releasing lock...
[2025-01-09 09:10:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:10:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:10:18] Production.INFO: count ==903
[2025-01-09 09:10:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:10:05 - End Time 2025-01-09 09:10:05
[2025-01-09 09:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208567', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208567', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208567', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208567', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:10:18] Production.INFO: ProcessCDR(1,14208567,1,1,2)
[2025-01-09 09:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208567', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208567', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:10:23] Production.INFO: ==10914== Releasing lock...
[2025-01-09 09:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:10:23] Production.INFO: 35.5 MB #Memory Used#
[2025-01-09 14:11:02] Production.INFO: ==10973== Lock acquired, processing the job...
[2025-01-09 14:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:11:02] Production.INFO: neon service started
[2025-01-09 14:11:02] Production.INFO: neon service started
[2025-01-09 14:11:02] Production.INFO: ==10973== Releasing lock...
[2025-01-09 14:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:11:02] Production.INFO: ==10975== Lock acquired, processing the job...
[2025-01-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:11:02] Production.INFO: ==10975== Releasing lock...
[2025-01-09 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:11:02] Production.INFO: ==10977== Lock acquired, processing the job...
[2025-01-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:11:02] Production.INFO: ==10977== Releasing lock...
[2025-01-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:11:03] Production.INFO: ==10980== Lock acquired, processing the job...
[2025-01-09 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:11:03] Production.INFO: ==10986== Lock acquired, processing the job...
[2025-01-09 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:11:03] Production.INFO: ==10982== Lock acquired, processing the job...
[2025-01-09 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:11:03] Production.INFO: ==10988== Lock acquired, processing the job...
[2025-01-09 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:11:03] Production.INFO: Account Balance Start.
[2025-01-09 09:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:11:03] Production.INFO: 117
[2025-01-09 09:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:11:03] Production.INFO: Total Charge 0
[2025-01-09 09:11:03] Production.INFO: ==10984== Lock acquired, processing the job...
[2025-01-09 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:11:03] Production.INFO: CreateAllLog End
[2025-01-09 09:11:03] Production.INFO: ==10990== Lock acquired, processing the job...
[2025-01-09 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:11:04] Production.INFO: count ==21
[2025-01-09 09:11:04] Production.ERROR: done
[2025-01-09 09:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:11:04] Production.INFO: count ==21
[2025-01-09 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208572') start
[2025-01-09 09:11:04] Production.INFO: Account Balance End.
[2025-01-09 09:11:04] Production.INFO: ==10982== Releasing lock...
[2025-01-09 09:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:11:04] Production.INFO: ==10986== Releasing lock...
[2025-01-09 09:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:11:04] Production.ERROR: done
[2025-01-09 09:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208572') end
[2025-01-09 09:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:11:04] Production.INFO: 1
[2025-01-09 09:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:11:04] Production.INFO: ==10990== Releasing lock...
[2025-01-09 09:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:11:05
[end_date_ymd] => 2025-01-09 09:11:05
[RateCDR] => 1
)
[2025-01-09 09:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:11:05' and `end` < '2025-01-09 09:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:11:11] Production.ERROR: CronJobId end10
[2025-01-09 09:11:11] Production.INFO: ==10984== Releasing lock...
[2025-01-09 09:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:11:13] Production.INFO: call_cost start
[2025-01-09 09:11:13] Production.INFO: call_cost end
[2025-01-09 09:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:11:13] Production.INFO: ==10980== Releasing lock...
[2025-01-09 09:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:11:18] Production.INFO: count ==987
[2025-01-09 09:11:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:11:05 - End Time 2025-01-09 09:11:05
[2025-01-09 09:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208573', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208573', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208573', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208573', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:11:18] Production.INFO: ProcessCDR(1,14208573,1,1,2)
[2025-01-09 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208573', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208573', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:11:23] Production.INFO: ==10988== Releasing lock...
[2025-01-09 09:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:11:23] Production.INFO: 36 MB #Memory Used#
[2025-01-09 14:12:01] Production.INFO: ==11051== Lock acquired, processing the job...
[2025-01-09 14:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:12:01] Production.INFO: neon service started
[2025-01-09 14:12:01] Production.INFO: neon service started
[2025-01-09 14:12:01] Production.INFO: ==11051== Releasing lock...
[2025-01-09 14:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:12:02] Production.INFO: ==11055== Lock acquired, processing the job...
[2025-01-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:12:02] Production.INFO: ==11055== Releasing lock...
[2025-01-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:12:02] Production.INFO: ==11053== Lock acquired, processing the job...
[2025-01-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:12:02] Production.INFO: ==11053== Releasing lock...
[2025-01-09 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:12:03] Production.INFO: ==11058== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:12:03] Production.INFO: ==11062== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:12:03] Production.INFO: ==11066== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:12:03] Production.INFO: ==11060== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:12:03] Production.INFO: ==11064== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:12:03] Production.INFO: ==11068== Lock acquired, processing the job...
[2025-01-09 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:12:03] Production.INFO: Account Balance Start.
[2025-01-09 09:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:12:03] Production.INFO: 117
[2025-01-09 09:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:12:03] Production.INFO: Total Charge 0
[2025-01-09 09:12:03] Production.INFO: count ==21
[2025-01-09 09:12:03] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 09:12:03] Production.INFO: count ==21
[2025-01-09 09:12:03] Production.INFO: ==11060== Releasing lock...
[2025-01-09 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208577') start
[2025-01-09 09:12:03] Production.ERROR: done
[2025-01-09 09:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208577') end
[2025-01-09 09:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:12:03] Production.INFO: 1
[2025-01-09 09:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:12:04] Production.INFO: ==11068== Releasing lock...
[2025-01-09 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:12:04] Production.ERROR: done
[2025-01-09 09:12:04] Production.INFO: Account Balance End.
[2025-01-09 09:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:12:04] Production.INFO: ==11064== Releasing lock...
[2025-01-09 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:12:04
[end_date_ymd] => 2025-01-09 09:12:04
[RateCDR] => 1
)
[2025-01-09 09:12:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:12:04' and `end` < '2025-01-09 09:12:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:12:11] Production.ERROR: CronJobId end10
[2025-01-09 09:12:11] Production.INFO: ==11062== Releasing lock...
[2025-01-09 09:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:12:13] Production.INFO: call_cost start
[2025-01-09 09:12:13] Production.INFO: call_cost end
[2025-01-09 09:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:12:14] Production.INFO: ==11058== Releasing lock...
[2025-01-09 09:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:12:18] Production.INFO: count ==991
[2025-01-09 09:12:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:12:04 - End Time 2025-01-09 09:12:04
[2025-01-09 09:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208578', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208578', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208578', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208578', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:12:18] Production.INFO: ProcessCDR(1,14208578,1,1,2)
[2025-01-09 09:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208578', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208578', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:12:22] Production.INFO: ==11066== Releasing lock...
[2025-01-09 09:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:12:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-09 14:13:02] Production.INFO: ==11122== Lock acquired, processing the job...
[2025-01-09 14:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:13:02] Production.INFO: neon service started
[2025-01-09 14:13:02] Production.INFO: neon service started
[2025-01-09 14:13:02] Production.INFO: ==11122== Releasing lock...
[2025-01-09 14:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:13:02] Production.INFO: ==11124== Lock acquired, processing the job...
[2025-01-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:13:02] Production.INFO: ==11124== Releasing lock...
[2025-01-09 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:13:02] Production.INFO: ==11126== Lock acquired, processing the job...
[2025-01-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:13:02] Production.INFO: ==11126== Releasing lock...
[2025-01-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:13:03] Production.INFO: ==11135== Lock acquired, processing the job...
[2025-01-09 09:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:13:03] Production.INFO: ==11139== Lock acquired, processing the job...
[2025-01-09 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:13:03] Production.INFO: Account Balance Start.
[2025-01-09 09:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:13:03] Production.INFO: 117
[2025-01-09 09:13:03] Production.INFO: ==11129== Lock acquired, processing the job...
[2025-01-09 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:13:03] Production.INFO: ==11131== Lock acquired, processing the job...
[2025-01-09 09:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:13:03] Production.INFO: ==11133== Lock acquired, processing the job...
[2025-01-09 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:13:03] Production.INFO: count ==21
[2025-01-09 09:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:13:03] Production.INFO: count ==21
[2025-01-09 09:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208580') start
[2025-01-09 09:13:03] Production.INFO: ==11137== Lock acquired, processing the job...
[2025-01-09 09:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:13:03] Production.INFO: Total Charge 0
[2025-01-09 09:13:03] Production.INFO: CreateAllLog End
[2025-01-09 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208580') end
[2025-01-09 09:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:13:03] Production.INFO: 1
[2025-01-09 09:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:13:03] Production.INFO: ==11139== Releasing lock...
[2025-01-09 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:13:04] Production.INFO: ==11131== Releasing lock...
[2025-01-09 09:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:13:04] Production.INFO: Account Balance End.
[2025-01-09 09:13:04] Production.ERROR: done
[2025-01-09 09:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:13:04] Production.INFO: ==11135== Releasing lock...
[2025-01-09 09:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:13:04] Production.ERROR: done
[2025-01-09 09:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:13:04
[end_date_ymd] => 2025-01-09 09:13:04
[RateCDR] => 1
)
[2025-01-09 09:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:13:04' and `end` < '2025-01-09 09:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:13:10] Production.ERROR: CronJobId end10
[2025-01-09 09:13:10] Production.INFO: ==11133== Releasing lock...
[2025-01-09 09:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:13:12] Production.INFO: call_cost start
[2025-01-09 09:13:12] Production.INFO: call_cost end
[2025-01-09 09:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:13:13] Production.INFO: ==11129== Releasing lock...
[2025-01-09 09:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:13:18] Production.INFO: count ==999
[2025-01-09 09:13:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:13:04 - End Time 2025-01-09 09:13:04
[2025-01-09 09:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208583', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208583', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208583', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208583', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:13:18] Production.INFO: ProcessCDR(1,14208583,1,1,2)
[2025-01-09 09:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208583', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208583', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:13:23] Production.INFO: ==11137== Releasing lock...
[2025-01-09 09:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:13:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-09 14:14:01] Production.INFO: ==11191== Lock acquired, processing the job...
[2025-01-09 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:14:01] Production.INFO: neon service started
[2025-01-09 14:14:01] Production.INFO: neon service started
[2025-01-09 14:14:01] Production.INFO: ==11191== Releasing lock...
[2025-01-09 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:14:01] Production.INFO: ==11193== Lock acquired, processing the job...
[2025-01-09 09:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:14:02] Production.INFO: ==11193== Releasing lock...
[2025-01-09 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:14:02] Production.INFO: ==11195== Lock acquired, processing the job...
[2025-01-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:14:02] Production.INFO: ==11195== Releasing lock...
[2025-01-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:14:02] Production.INFO: ==11200== Lock acquired, processing the job...
[2025-01-09 09:14:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:14:02] Production.INFO: ==11198== Lock acquired, processing the job...
[2025-01-09 09:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:14:02] Production.INFO: ==11204== Lock acquired, processing the job...
[2025-01-09 09:14:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:14:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:14:03] Production.INFO: Account Balance Start.
[2025-01-09 09:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:14:03] Production.INFO: 117
[2025-01-09 09:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:14:03] Production.INFO: ==11202== Lock acquired, processing the job...
[2025-01-09 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:14:03] Production.INFO: Total Charge 0
[2025-01-09 09:14:03] Production.INFO: CreateAllLog End
[2025-01-09 09:14:03] Production.INFO: ==11206== Lock acquired, processing the job...
[2025-01-09 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:14:03] Production.INFO: ==11200== Releasing lock...
[2025-01-09 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:14:03] Production.INFO: ==11208== Lock acquired, processing the job...
[2025-01-09 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:14:03] Production.INFO: Account Balance End.
[2025-01-09 09:14:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:14:03] Production.INFO: ==11204== Releasing lock...
[2025-01-09 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:14:03] Production.INFO: count ==21
[2025-01-09 09:14:03] Production.ERROR: done
[2025-01-09 09:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:14:03] Production.INFO: count ==21
[2025-01-09 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208587') start
[2025-01-09 09:14:03] Production.ERROR: done
[2025-01-09 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208587') end
[2025-01-09 09:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:14:03] Production.INFO: 1
[2025-01-09 09:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:14:04] Production.INFO: ==11208== Releasing lock...
[2025-01-09 09:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:14:04
[end_date_ymd] => 2025-01-09 09:14:04
[RateCDR] => 1
)
[2025-01-09 09:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:14:04' and `end` < '2025-01-09 09:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:14:11] Production.ERROR: CronJobId end10
[2025-01-09 09:14:11] Production.INFO: ==11202== Releasing lock...
[2025-01-09 09:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:14:13] Production.INFO: call_cost start
[2025-01-09 09:14:13] Production.INFO: call_cost end
[2025-01-09 09:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:14:14] Production.INFO: ==11198== Releasing lock...
[2025-01-09 09:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:14:19] Production.INFO: count ==1011
[2025-01-09 09:14:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:14:04 - End Time 2025-01-09 09:14:04
[2025-01-09 09:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208588', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208588', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208588', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208588', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:14:20] Production.INFO: ProcessCDR(1,14208588,1,1,2)
[2025-01-09 09:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208588', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208588', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:14:23] Production.INFO: ==11206== Releasing lock...
[2025-01-09 09:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:14:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-09 14:15:01] Production.INFO: ==11264== Lock acquired, processing the job...
[2025-01-09 14:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:15:01] Production.INFO: neon service started
[2025-01-09 14:15:01] Production.INFO: neon service started
[2025-01-09 14:15:01] Production.INFO: ==11264== Releasing lock...
[2025-01-09 14:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:15:02] Production.INFO: ==11266== Lock acquired, processing the job...
[2025-01-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:15:02] Production.INFO: ==11266== Releasing lock...
[2025-01-09 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:15:02] Production.INFO: ==11268== Lock acquired, processing the job...
[2025-01-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:15:02] Production.INFO: ==11268== Releasing lock...
[2025-01-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:15:03] Production.INFO: ==11274== Lock acquired, processing the job...
[2025-01-09 09:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:15:03] Production.INFO: ==11270== Lock acquired, processing the job...
[2025-01-09 09:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:15:03] Production.INFO: ==11272== Lock acquired, processing the job...
[2025-01-09 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:15:03] Production.INFO: ==11280== Lock acquired, processing the job...
[2025-01-09 09:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:15:03] Production.INFO: ==11276== Lock acquired, processing the job...
[2025-01-09 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:15:03] Production.INFO: ==11278== Lock acquired, processing the job...
[2025-01-09 09:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:15:03] Production.INFO: count ==21
[2025-01-09 09:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:15:03] Production.INFO: count ==21
[2025-01-09 09:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208591') start
[2025-01-09 09:15:03] Production.INFO: Account Balance Start.
[2025-01-09 09:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:15:03] Production.INFO: 117
[2025-01-09 09:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:15:04] Production.INFO: ==11272== Releasing lock...
[2025-01-09 09:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:15:04] Production.INFO: Total Charge 0
[2025-01-09 09:15:04] Production.INFO: CreateAllLog End
[2025-01-09 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208591') end
[2025-01-09 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:15:04] Production.INFO: 1
[2025-01-09 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:15:04] Production.ERROR: done
[2025-01-09 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:15:04] Production.INFO: ==11280== Releasing lock...
[2025-01-09 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:15:04] Production.ERROR: done
[2025-01-09 09:15:04] Production.INFO: Account Balance End.
[2025-01-09 09:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:15:04] Production.INFO: ==11276== Releasing lock...
[2025-01-09 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:15:05
[end_date_ymd] => 2025-01-09 09:15:05
[RateCDR] => 1
)
[2025-01-09 09:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:15:05' and `end` < '2025-01-09 09:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:15:11] Production.ERROR: CronJobId end10
[2025-01-09 09:15:11] Production.INFO: ==11274== Releasing lock...
[2025-01-09 09:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:15:13] Production.INFO: call_cost start
[2025-01-09 09:15:13] Production.INFO: call_cost end
[2025-01-09 09:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:15:14] Production.INFO: ==11270== Releasing lock...
[2025-01-09 09:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:15:18] Production.INFO: count ==1019
[2025-01-09 09:15:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:15:05 - End Time 2025-01-09 09:15:05
[2025-01-09 09:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208593', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208593', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208593', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208593', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:15:18] Production.INFO: ProcessCDR(1,14208593,1,1,2)
[2025-01-09 09:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208593', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208593', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:15:23] Production.INFO: ==11278== Releasing lock...
[2025-01-09 09:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:15:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 14:16:02] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-01-09 14:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:16:02] Production.INFO: neon service started
[2025-01-09 14:16:02] Production.INFO: neon service started
[2025-01-09 14:16:02] Production.INFO: ==11334== Releasing lock...
[2025-01-09 14:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:16:02] Production.INFO: ==11336== Lock acquired, processing the job...
[2025-01-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:16:02] Production.INFO: ==11336== Releasing lock...
[2025-01-09 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:16:03] Production.INFO: ==11338== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:16:03] Production.INFO: ==11338== Releasing lock...
[2025-01-09 14:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:16:03] Production.INFO: ==11343== Lock acquired, processing the job...
[2025-01-09 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:16:03] Production.INFO: ==11345== Lock acquired, processing the job...
[2025-01-09 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:16:03] Production.INFO: ==11347== Lock acquired, processing the job...
[2025-01-09 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:16:03] Production.INFO: ==11341== Lock acquired, processing the job...
[2025-01-09 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:16:03] Production.INFO: Account Balance Start.
[2025-01-09 09:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:16:03] Production.INFO: 117
[2025-01-09 09:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:16:03] Production.INFO: ==11349== Lock acquired, processing the job...
[2025-01-09 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:16:03] Production.INFO: ==11343== Releasing lock...
[2025-01-09 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:16:04] Production.INFO: Total Charge 0
[2025-01-09 09:16:04] Production.INFO: CreateAllLog End
[2025-01-09 09:16:04] Production.INFO: ==11351== Lock acquired, processing the job...
[2025-01-09 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:16:04] Production.INFO: count ==21
[2025-01-09 09:16:04] Production.ERROR: done
[2025-01-09 09:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:16:04] Production.INFO: count ==21
[2025-01-09 09:16:04] Production.INFO: Account Balance End.
[2025-01-09 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208597') start
[2025-01-09 09:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:16:04] Production.INFO: ==11347== Releasing lock...
[2025-01-09 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:16:04] Production.ERROR: done
[2025-01-09 09:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208597') end
[2025-01-09 09:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:16:04] Production.INFO: 1
[2025-01-09 09:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:16:04] Production.INFO: ==11351== Releasing lock...
[2025-01-09 09:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:16:05
[end_date_ymd] => 2025-01-09 09:16:05
[RateCDR] => 1
)
[2025-01-09 09:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:16:05' and `end` < '2025-01-09 09:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:16:11] Production.ERROR: CronJobId end10
[2025-01-09 09:16:11] Production.INFO: ==11345== Releasing lock...
[2025-01-09 09:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:16:13] Production.INFO: call_cost start
[2025-01-09 09:16:13] Production.INFO: call_cost end
[2025-01-09 09:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:16:14] Production.INFO: ==11341== Releasing lock...
[2025-01-09 09:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:16:18] Production.INFO: count ==1042
[2025-01-09 09:16:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:16:05 - End Time 2025-01-09 09:16:05
[2025-01-09 09:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208598', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208598', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208598', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208598', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:16:19] Production.INFO: ProcessCDR(1,14208598,1,1,2)
[2025-01-09 09:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208598', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208598', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:16:23] Production.INFO: ==11349== Releasing lock...
[2025-01-09 09:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:16:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 14:17:01] Production.INFO: ==11406== Lock acquired, processing the job...
[2025-01-09 14:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:17:01] Production.INFO: neon service started
[2025-01-09 14:17:01] Production.INFO: neon service started
[2025-01-09 14:17:01] Production.INFO: ==11406== Releasing lock...
[2025-01-09 14:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:17:02] Production.INFO: ==11408== Lock acquired, processing the job...
[2025-01-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:17:02] Production.INFO: ==11408== Releasing lock...
[2025-01-09 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:17:02] Production.INFO: ==11410== Lock acquired, processing the job...
[2025-01-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:17:02] Production.INFO: ==11410== Releasing lock...
[2025-01-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:17:03] Production.INFO: ==11421== Lock acquired, processing the job...
[2025-01-09 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:17:03] Production.INFO: ==11423== Lock acquired, processing the job...
[2025-01-09 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:17:03] Production.INFO: ==11413== Lock acquired, processing the job...
[2025-01-09 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:17:03] Production.INFO: ==11415== Lock acquired, processing the job...
[2025-01-09 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:17:03] Production.INFO: ==11417== Lock acquired, processing the job...
[2025-01-09 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-01-09 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:17:03] Production.INFO: count ==21
[2025-01-09 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-01-09 09:17:03] Production.INFO: count ==21
[2025-01-09 09:17:03] Production.INFO: ==11419== Lock acquired, processing the job...
[2025-01-09 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208599') start
[2025-01-09 09:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:17:03] Production.ERROR: done
[2025-01-09 09:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208599') end
[2025-01-09 09:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:17:03] Production.INFO: 1
[2025-01-09 09:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:17:03] Production.INFO: Account Balance Start.
[2025-01-09 09:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:17:03] Production.INFO: 117
[2025-01-09 09:17:03] Production.INFO: ==11423== Releasing lock...
[2025-01-09 09:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:17:03] Production.ERROR: done
[2025-01-09 09:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:17:03] Production.INFO: ==11415== Releasing lock...
[2025-01-09 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:17:03] Production.INFO: Total Charge 0
[2025-01-09 09:17:03] Production.INFO: CreateAllLog End
[2025-01-09 09:17:04] Production.INFO: Account Balance End.
[2025-01-09 09:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:17:04] Production.INFO: ==11419== Releasing lock...
[2025-01-09 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:17:04
[end_date_ymd] => 2025-01-09 09:17:04
[RateCDR] => 1
)
[2025-01-09 09:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:17:04' and `end` < '2025-01-09 09:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:17:11] Production.ERROR: CronJobId end10
[2025-01-09 09:17:11] Production.INFO: ==11417== Releasing lock...
[2025-01-09 09:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:17:13] Production.INFO: call_cost start
[2025-01-09 09:17:13] Production.INFO: call_cost end
[2025-01-09 09:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:17:14] Production.INFO: ==11413== Releasing lock...
[2025-01-09 09:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:17:17] Production.INFO: count ==1058
[2025-01-09 09:17:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:17:04 - End Time 2025-01-09 09:17:04
[2025-01-09 09:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208603', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208603', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208603', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208603', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:17:18] Production.INFO: ProcessCDR(1,14208603,1,1,2)
[2025-01-09 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208603', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208603', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:17:22] Production.INFO: ==11421== Releasing lock...
[2025-01-09 09:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:17:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 14:18:02] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-09 14:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:18:02] Production.INFO: neon service started
[2025-01-09 14:18:02] Production.INFO: neon service started
[2025-01-09 14:18:02] Production.INFO: ==11477== Releasing lock...
[2025-01-09 14:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:18:02] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-01-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:18:02] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-01-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:18:02] Production.INFO: ==11481== Releasing lock...
[2025-01-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:18:02] Production.INFO: ==11479== Releasing lock...
[2025-01-09 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:18:03] Production.INFO: ==11486== Lock acquired, processing the job...
[2025-01-09 09:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:18:03] Production.INFO: ==11490== Lock acquired, processing the job...
[2025-01-09 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:18:03] Production.INFO: ==11494== Lock acquired, processing the job...
[2025-01-09 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:18:03] Production.INFO: Account Balance Start.
[2025-01-09 09:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:18:03] Production.INFO: 117
[2025-01-09 09:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:18:03] Production.INFO: ==11484== Lock acquired, processing the job...
[2025-01-09 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:18:03] Production.INFO: count ==21
[2025-01-09 09:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:18:03] Production.INFO: count ==21
[2025-01-09 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208606') start
[2025-01-09 09:18:03] Production.INFO: ==11488== Lock acquired, processing the job...
[2025-01-09 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:18:03] Production.INFO: ==11492== Lock acquired, processing the job...
[2025-01-09 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:18:04] Production.INFO: ==11486== Releasing lock...
[2025-01-09 09:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:18:04] Production.INFO: Total Charge 0
[2025-01-09 09:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208606') end
[2025-01-09 09:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:18:04] Production.INFO: 1
[2025-01-09 09:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:18:04] Production.INFO: CreateAllLog End
[2025-01-09 09:18:04] Production.INFO: ==11494== Releasing lock...
[2025-01-09 09:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:18:04] Production.INFO: Account Balance End.
[2025-01-09 09:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:18:04] Production.INFO: ==11490== Releasing lock...
[2025-01-09 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:18:04] Production.ERROR: done
[2025-01-09 09:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:18:04] Production.ERROR: done
[2025-01-09 09:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:18:05
[end_date_ymd] => 2025-01-09 09:18:05
[RateCDR] => 1
)
[2025-01-09 09:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:18:05' and `end` < '2025-01-09 09:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:18:10] Production.ERROR: CronJobId end10
[2025-01-09 09:18:10] Production.INFO: ==11488== Releasing lock...
[2025-01-09 09:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:18:12] Production.INFO: call_cost start
[2025-01-09 09:18:12] Production.INFO: call_cost end
[2025-01-09 09:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:18:13] Production.INFO: ==11484== Releasing lock...
[2025-01-09 09:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:18:18] Production.INFO: count ==1086
[2025-01-09 09:18:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:18:05 - End Time 2025-01-09 09:18:05
[2025-01-09 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208608', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208608', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208608', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208608', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:18:18] Production.INFO: ProcessCDR(1,14208608,1,1,2)
[2025-01-09 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208608', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208608', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:18:23] Production.INFO: ==11492== Releasing lock...
[2025-01-09 09:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:18:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-09 14:19:01] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-01-09 14:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:19:01] Production.INFO: neon service started
[2025-01-09 14:19:01] Production.INFO: neon service started
[2025-01-09 14:19:01] Production.INFO: ==11548== Releasing lock...
[2025-01-09 14:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:19:02] Production.INFO: ==11550== Lock acquired, processing the job...
[2025-01-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:19:02] Production.INFO: ==11552== Lock acquired, processing the job...
[2025-01-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:19:02] Production.INFO: ==11552== Releasing lock...
[2025-01-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:19:02] Production.INFO: ==11550== Releasing lock...
[2025-01-09 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:19:03] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-01-09 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:19:03] Production.INFO: ==11563== Lock acquired, processing the job...
[2025-01-09 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:19:03] Production.INFO: ==11555== Lock acquired, processing the job...
[2025-01-09 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:19:03] Production.INFO: ==11559== Lock acquired, processing the job...
[2025-01-09 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:19:03] Production.INFO: ==11561== Lock acquired, processing the job...
[2025-01-09 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:19:03] Production.INFO: ==11565== Lock acquired, processing the job...
[2025-01-09 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:19:03] Production.INFO: ==11557== Releasing lock...
[2025-01-09 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:19:03] Production.INFO: Account Balance Start.
[2025-01-09 09:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:19:03] Production.ERROR: done
[2025-01-09 09:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:19:03] Production.INFO: 117
[2025-01-09 09:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 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-01-09 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:19:03] Production.INFO: count ==21
[2025-01-09 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-01-09 09:19:03] Production.INFO: count ==21
[2025-01-09 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208612') start
[2025-01-09 09:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:19:03] Production.INFO: Total Charge 0
[2025-01-09 09:19:03] Production.INFO: CreateAllLog End
[2025-01-09 09:19:03] Production.ERROR: done
[2025-01-09 09:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208612') end
[2025-01-09 09:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:19:03] Production.INFO: 1
[2025-01-09 09:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:19:03] Production.INFO: ==11565== Releasing lock...
[2025-01-09 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:19:03] Production.INFO: Account Balance End.
[2025-01-09 09:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:19:03] Production.INFO: ==11561== Releasing lock...
[2025-01-09 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:19:04
[end_date_ymd] => 2025-01-09 09:19:04
[RateCDR] => 1
)
[2025-01-09 09:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:19:04' and `end` < '2025-01-09 09:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:19:10] Production.ERROR: CronJobId end10
[2025-01-09 09:19:10] Production.INFO: ==11559== Releasing lock...
[2025-01-09 09:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:19:13] Production.INFO: call_cost start
[2025-01-09 09:19:13] Production.INFO: call_cost end
[2025-01-09 09:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:19:13] Production.INFO: ==11555== Releasing lock...
[2025-01-09 09:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:19:20] Production.INFO: count ==1099
[2025-01-09 09:19:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:19:04 - End Time 2025-01-09 09:19:04
[2025-01-09 09:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208613', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208613', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208613', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208613', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:19:20] Production.INFO: ProcessCDR(1,14208613,1,1,2)
[2025-01-09 09:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208613', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208613', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:19:24] Production.INFO: ==11563== Releasing lock...
[2025-01-09 09:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:19:24] Production.INFO: 36.25 MB #Memory Used#
[2025-01-09 14:20:01] Production.INFO: ==11618== Lock acquired, processing the job...
[2025-01-09 14:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:20:01] Production.INFO: neon service started
[2025-01-09 14:20:01] Production.INFO: neon service started
[2025-01-09 14:20:01] Production.INFO: ==11618== Releasing lock...
[2025-01-09 14:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:20:02] Production.INFO: ==11620== Lock acquired, processing the job...
[2025-01-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:20:02] Production.INFO: ==11622== Lock acquired, processing the job...
[2025-01-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:20:02] Production.INFO: ==11620== Releasing lock...
[2025-01-09 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:20:02] Production.INFO: ==11622== Releasing lock...
[2025-01-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:20:03] Production.INFO: ==11629== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:20:03] Production.INFO: ==11625== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 09:20:03] Production.INFO: ==11627== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:20:03] Production.INFO: ==11635== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:20:03] Production.INFO: ==11637== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 09:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:20:03] Production.ERROR: CronJob PID - 11629
[2025-01-09 09:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 09:20:03] Production.ERROR: CronJob ID - 7
[2025-01-09 09:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:20:00
[2025-01-09 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:20:03] Production.ERROR: CronJob PID - 11635
[2025-01-09 09:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 09:20:03] Production.ERROR: CronJob ID - 16
[2025-01-09 09:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:20:00
[2025-01-09 09:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:20:03] Production.INFO: ==11631== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:20:03] Production.INFO: ==11633== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 09:20:03] Production.INFO: ==11625== Releasing lock...
[2025-01-09 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 09:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:20:03] Production.INFO: ==11639== Lock acquired, processing the job...
[2025-01-09 09:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:20:03] Production.INFO: ==11629== Releasing lock...
[2025-01-09 09:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:20:03] Production.ERROR: done
[2025-01-09 09:20:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:20:04] Production.INFO: Account Balance Start.
[2025-01-09 09:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:20:04] Production.INFO: 117
[2025-01-09 09:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:20:04] Production.INFO: count ==21
[2025-01-09 09:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:20:04] Production.INFO: count ==21
[2025-01-09 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208616') start
[2025-01-09 09:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:20:04] Production.INFO: Total Charge 0
[2025-01-09 09:20:04] Production.INFO: CreateAllLog End
[2025-01-09 09:20:04] Production.ERROR: done
[2025-01-09 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208616') end
[2025-01-09 09:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:20:04] Production.INFO: 1
[2025-01-09 09:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:20:04] Production.ERROR: done
[2025-01-09 09:20:04] Production.INFO: ==11639== Releasing lock...
[2025-01-09 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 09:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208618', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 09:20:04] Production.INFO: Account Balance End.
[2025-01-09 09:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:20:04] Production.INFO: ==11633== Releasing lock...
[2025-01-09 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:20:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:20:04
[end_date_ymd] => 2025-01-09 09:20:04
[RateCDR] => 1
)
[2025-01-09 09:20:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:20:04' and `end` < '2025-01-09 09:20:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208618', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 09:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 09:20:08] Production.INFO: ProcessCDR(1,14208618,1,1,2)
[2025-01-09 09:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208618,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208618,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:20:08] Production.INFO: ==11637== Releasing lock...
[2025-01-09 09:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 09:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 09:20:12] Production.ERROR: CronJobId end10
[2025-01-09 09:20:12] Production.INFO: ==11631== Releasing lock...
[2025-01-09 09:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:20:14] Production.INFO: call_cost start
[2025-01-09 09:20:14] Production.INFO: call_cost end
[2025-01-09 09:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:20:15] Production.INFO: ==11627== Releasing lock...
[2025-01-09 09:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:20:22] Production.INFO: count ==1114
[2025-01-09 09:20:22] Production.ERROR: pbx CDR StartTime 2025-01-09 06:20:04 - End Time 2025-01-09 09:20:04
[2025-01-09 09:20:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208619', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208619', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208619', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:20:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208619', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:20:22] Production.INFO: ProcessCDR(1,14208619,1,1,2)
[2025-01-09 09:20:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:20:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:20:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:20:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208619', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:20:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208619', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:20:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:20:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:20:27] Production.INFO: ==11635== Releasing lock...
[2025-01-09 09:20:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:20:27] Production.INFO: 36.75 MB #Memory Used#
[2025-01-09 14:21:02] Production.INFO: ==11693== Lock acquired, processing the job...
[2025-01-09 14:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:21:02] Production.INFO: neon service started
[2025-01-09 14:21:02] Production.INFO: neon service started
[2025-01-09 14:21:02] Production.INFO: ==11693== Releasing lock...
[2025-01-09 14:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:21:02] Production.INFO: ==11696== Lock acquired, processing the job...
[2025-01-09 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:21:03] Production.INFO: ==11698== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:21:03] Production.INFO: ==11696== Releasing lock...
[2025-01-09 09:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:21:03] Production.INFO: ==11698== Releasing lock...
[2025-01-09 14:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:21:04] Production.INFO: ==11700== Lock acquired, processing the job...
[2025-01-09 09:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:21:04] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-01-09 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:21:04] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-01-09 09:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:21:04] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-01-09 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:21:04] Production.INFO: ==11708== Lock acquired, processing the job...
[2025-01-09 09:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:21:04] Production.INFO: ==11710== Lock acquired, processing the job...
[2025-01-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:21:04] Production.INFO: Account Balance Start.
[2025-01-09 09:21:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:21:04] Production.INFO: 117
[2025-01-09 09:21:04] Production.INFO: count ==21
[2025-01-09 09:21:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:21:04] Production.INFO: count ==21
[2025-01-09 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208623') start
[2025-01-09 09:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:21:04] Production.INFO: ==11702== Releasing lock...
[2025-01-09 09:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:21:04] Production.INFO: Total Charge 0
[2025-01-09 09:21:04] Production.ERROR: done
[2025-01-09 09:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:21:04] Production.INFO: CreateAllLog End
[2025-01-09 09:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208623') end
[2025-01-09 09:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:21:04] Production.INFO: 1
[2025-01-09 09:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:21:04] Production.ERROR: done
[2025-01-09 09:21:04] Production.INFO: ==11710== Releasing lock...
[2025-01-09 09:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:21:05] Production.INFO: Account Balance End.
[2025-01-09 09:21:05] Production.ERROR: CronJobId end 12
[2025-01-09 09:21:05] Production.INFO: ==11706== Releasing lock...
[2025-01-09 09:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:21:05
[end_date_ymd] => 2025-01-09 09:21:05
[RateCDR] => 1
)
[2025-01-09 09:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:21:05' and `end` < '2025-01-09 09:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:21:10] Production.ERROR: CronJobId end10
[2025-01-09 09:21:10] Production.INFO: ==11704== Releasing lock...
[2025-01-09 09:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:21:13] Production.INFO: call_cost start
[2025-01-09 09:21:13] Production.INFO: call_cost end
[2025-01-09 09:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:21:14] Production.INFO: ==11700== Releasing lock...
[2025-01-09 09:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:21:19] Production.INFO: count ==1206
[2025-01-09 09:21:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:21:05 - End Time 2025-01-09 09:21:05
[2025-01-09 09:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208624', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208624', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208624', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208624', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:21:19] Production.INFO: ProcessCDR(1,14208624,1,1,2)
[2025-01-09 09:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208624', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208624', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:21:24] Production.INFO: ==11708== Releasing lock...
[2025-01-09 09:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:21:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-09 14:22:02] Production.INFO: ==11766== Lock acquired, processing the job...
[2025-01-09 14:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:22:02] Production.INFO: neon service started
[2025-01-09 14:22:02] Production.INFO: neon service started
[2025-01-09 14:22:02] Production.INFO: ==11766== Releasing lock...
[2025-01-09 14:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:22:02] Production.INFO: ==11768== Lock acquired, processing the job...
[2025-01-09 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:22:02] Production.INFO: ==11770== Lock acquired, processing the job...
[2025-01-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:22:02] Production.INFO: ==11770== Releasing lock...
[2025-01-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:22:03] Production.INFO: ==11768== Releasing lock...
[2025-01-09 09:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:22:03] Production.INFO: ==11783== Lock acquired, processing the job...
[2025-01-09 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:22:04] Production.INFO: ==11773== Lock acquired, processing the job...
[2025-01-09 09:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:22:04] Production.INFO: count ==21
[2025-01-09 09:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:22:04] Production.INFO: count ==21
[2025-01-09 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208625') start
[2025-01-09 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208625') end
[2025-01-09 09:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:22:04] Production.INFO: 1
[2025-01-09 09:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:22:04] Production.INFO: ==11783== Releasing lock...
[2025-01-09 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:22:04] Production.INFO: ==11775== Lock acquired, processing the job...
[2025-01-09 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:22:04] Production.INFO: ==11777== Lock acquired, processing the job...
[2025-01-09 09:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:22:04] Production.INFO: ==11781== Lock acquired, processing the job...
[2025-01-09 09:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:22:04] Production.INFO: ==11779== Lock acquired, processing the job...
[2025-01-09 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:22:04] Production.INFO: Account Balance Start.
[2025-01-09 09:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:22:04] Production.INFO: 117
[2025-01-09 09:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:22:04] Production.ERROR: done
[2025-01-09 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:22:04] Production.INFO: Total Charge 0
[2025-01-09 09:22:04] Production.INFO: CreateAllLog End
[2025-01-09 09:22:05] Production.ERROR: done
[2025-01-09 09:22:05] Production.INFO: ==11775== Releasing lock...
[2025-01-09 09:22:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:22:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:22:05] Production.INFO: Account Balance End.
[2025-01-09 09:22:05] Production.ERROR: CronJobId end 12
[2025-01-09 09:22:05] Production.INFO: ==11779== Releasing lock...
[2025-01-09 09:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:22:06
[end_date_ymd] => 2025-01-09 09:22:06
[RateCDR] => 1
)
[2025-01-09 09:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:22:06' and `end` < '2025-01-09 09:22:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:22:11] Production.ERROR: CronJobId end10
[2025-01-09 09:22:11] Production.INFO: ==11777== Releasing lock...
[2025-01-09 09:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:22:14] Production.INFO: call_cost start
[2025-01-09 09:22:14] Production.INFO: call_cost end
[2025-01-09 09:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:22:15] Production.INFO: ==11773== Releasing lock...
[2025-01-09 09:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:22:19] Production.INFO: count ==1215
[2025-01-09 09:22:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:22:06 - End Time 2025-01-09 09:22:06
[2025-01-09 09:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208629', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208629', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208629', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208629', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:22:19] Production.INFO: ProcessCDR(1,14208629,1,1,2)
[2025-01-09 09:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208629', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208629', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:22:24] Production.INFO: ==11781== Releasing lock...
[2025-01-09 09:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:22:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-09 14:23:01] Production.INFO: ==11839== Lock acquired, processing the job...
[2025-01-09 14:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:23:01] Production.INFO: neon service started
[2025-01-09 14:23:01] Production.INFO: neon service started
[2025-01-09 14:23:01] Production.INFO: ==11839== Releasing lock...
[2025-01-09 14:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:23:02] Production.INFO: ==11843== Lock acquired, processing the job...
[2025-01-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:23:02] Production.INFO: ==11843== Releasing lock...
[2025-01-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:23:02] Production.INFO: ==11841== Lock acquired, processing the job...
[2025-01-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:23:02] Production.INFO: ==11841== Releasing lock...
[2025-01-09 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:23:03] Production.INFO: ==11848== Lock acquired, processing the job...
[2025-01-09 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:23:03] Production.INFO: ==11852== Lock acquired, processing the job...
[2025-01-09 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:23:03] Production.INFO: ==11850== Lock acquired, processing the job...
[2025-01-09 09:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:23:03] Production.INFO: Account Balance Start.
[2025-01-09 09:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:23:03] Production.INFO: 117
[2025-01-09 09:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:23:03] Production.INFO: ==11846== Lock acquired, processing the job...
[2025-01-09 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:23:03] Production.INFO: ==11856== Lock acquired, processing the job...
[2025-01-09 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:23:03] Production.INFO: ==11848== Releasing lock...
[2025-01-09 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:23:03] Production.INFO: Total Charge 0
[2025-01-09 09:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:23:03] Production.INFO: ==11854== Lock acquired, processing the job...
[2025-01-09 09:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:23:03] Production.INFO: CreateAllLog End
[2025-01-09 09:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:23:03] Production.INFO: count ==21
[2025-01-09 09:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:23:03] Production.INFO: count ==21
[2025-01-09 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208632') start
[2025-01-09 09:23:03] Production.INFO: Account Balance End.
[2025-01-09 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208632') end
[2025-01-09 09:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:23:03] Production.INFO: 1
[2025-01-09 09:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:23:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:23:03] Production.INFO: ==11852== Releasing lock...
[2025-01-09 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:23:04] Production.INFO: ==11856== Releasing lock...
[2025-01-09 09:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:23:04] Production.ERROR: done
[2025-01-09 09:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:23:04] Production.ERROR: done
[2025-01-09 09:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:23:05
[end_date_ymd] => 2025-01-09 09:23:05
[RateCDR] => 1
)
[2025-01-09 09:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:23:05' and `end` < '2025-01-09 09:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:23:11] Production.ERROR: CronJobId end10
[2025-01-09 09:23:11] Production.INFO: ==11850== Releasing lock...
[2025-01-09 09:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:23:13] Production.INFO: call_cost start
[2025-01-09 09:23:13] Production.INFO: call_cost end
[2025-01-09 09:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:23:14] Production.INFO: ==11846== Releasing lock...
[2025-01-09 09:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:23:23] Production.INFO: count ==1238
[2025-01-09 09:23:23] Production.ERROR: pbx CDR StartTime 2025-01-09 06:23:05 - End Time 2025-01-09 09:23:05
[2025-01-09 09:23:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208634', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208634', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208634', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:23:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208634', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:23:23] Production.INFO: ProcessCDR(1,14208634,1,1,2)
[2025-01-09 09:23:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:23:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:23:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208634', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208634', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:23:28] Production.INFO: ==11854== Releasing lock...
[2025-01-09 09:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:23:28] Production.INFO: 37.25 MB #Memory Used#
[2025-01-09 14:24:02] Production.INFO: ==11910== Lock acquired, processing the job...
[2025-01-09 14:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:24:02] Production.INFO: neon service started
[2025-01-09 14:24:02] Production.INFO: neon service started
[2025-01-09 14:24:02] Production.INFO: ==11910== Releasing lock...
[2025-01-09 14:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:24:02] Production.INFO: ==11912== Lock acquired, processing the job...
[2025-01-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:24:02] Production.INFO: ==11912== Releasing lock...
[2025-01-09 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:24:02] Production.INFO: ==11914== Lock acquired, processing the job...
[2025-01-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:24:02] Production.INFO: ==11914== Releasing lock...
[2025-01-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:24:03] Production.INFO: ==11922== Lock acquired, processing the job...
[2025-01-09 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:24:03] Production.INFO: ==11916== Lock acquired, processing the job...
[2025-01-09 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:24:03] Production.INFO: ==11918== Lock acquired, processing the job...
[2025-01-09 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:24:03] Production.INFO: ==11926== Lock acquired, processing the job...
[2025-01-09 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:24:03] Production.INFO: ==11920== Lock acquired, processing the job...
[2025-01-09 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:24:03] Production.INFO: Account Balance Start.
[2025-01-09 09:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:24:03] Production.INFO: 117
[2025-01-09 09:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:24:03] Production.INFO: ==11924== Lock acquired, processing the job...
[2025-01-09 09:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:24:03] Production.INFO: count ==21
[2025-01-09 09:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:24:03] Production.INFO: count ==21
[2025-01-09 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208636') start
[2025-01-09 09:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:24:04] Production.INFO: Total Charge 0
[2025-01-09 09:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:24:04] Production.INFO: CreateAllLog End
[2025-01-09 09:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208636') end
[2025-01-09 09:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:24:04] Production.INFO: 1
[2025-01-09 09:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:24:04] Production.INFO: ==11918== Releasing lock...
[2025-01-09 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:24:04] Production.INFO: ==11926== Releasing lock...
[2025-01-09 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:24:04] Production.ERROR: done
[2025-01-09 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:24:04] Production.INFO: Account Balance End.
[2025-01-09 09:24:04] Production.ERROR: done
[2025-01-09 09:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:24:04] Production.INFO: ==11922== Releasing lock...
[2025-01-09 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:24:05
[end_date_ymd] => 2025-01-09 09:24:05
[RateCDR] => 1
)
[2025-01-09 09:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:24:05' and `end` < '2025-01-09 09:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:24:11] Production.ERROR: CronJobId end10
[2025-01-09 09:24:11] Production.INFO: ==11920== Releasing lock...
[2025-01-09 09:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:24:13] Production.INFO: call_cost start
[2025-01-09 09:24:13] Production.INFO: call_cost end
[2025-01-09 09:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:24:14] Production.INFO: ==11916== Releasing lock...
[2025-01-09 09:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:24:19] Production.INFO: count ==1266
[2025-01-09 09:24:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:24:05 - End Time 2025-01-09 09:24:05
[2025-01-09 09:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208639', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208639', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208639', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208639', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:24:20] Production.INFO: ProcessCDR(1,14208639,1,1,2)
[2025-01-09 09:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208639', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208639', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:24:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:24:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:24:25] Production.INFO: ==11924== Releasing lock...
[2025-01-09 09:24:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:24:25] Production.INFO: 38 MB #Memory Used#
[2025-01-09 14:25:01] Production.INFO: ==11980== Lock acquired, processing the job...
[2025-01-09 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:25:01] Production.INFO: neon service started
[2025-01-09 14:25:01] Production.INFO: neon service started
[2025-01-09 14:25:01] Production.INFO: ==11980== Releasing lock...
[2025-01-09 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:25:01] Production.INFO: ==11982== Lock acquired, processing the job...
[2025-01-09 09:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:25:02] Production.INFO: ==11984== Lock acquired, processing the job...
[2025-01-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:25:02] Production.INFO: ==11984== Releasing lock...
[2025-01-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:25:02] Production.INFO: ==11982== Releasing lock...
[2025-01-09 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:25:03] Production.INFO: ==12012== Lock acquired, processing the job...
[2025-01-09 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:25:03] Production.INFO: ==12023== Lock acquired, processing the job...
[2025-01-09 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:25:03] Production.INFO: ==12034== Lock acquired, processing the job...
[2025-01-09 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:25:03] Production.INFO: ==12018== Lock acquired, processing the job...
[2025-01-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:25:03] Production.INFO: ==12028== Lock acquired, processing the job...
[2025-01-09 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:25:03] Production.INFO: ==12036== Lock acquired, processing the job...
[2025-01-09 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:25:03] Production.ERROR: done
[2025-01-09 09:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:25:03] Production.INFO: Account Balance Start.
[2025-01-09 09:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:25:03] Production.INFO: 117
[2025-01-09 09:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:25:03] Production.ERROR: done
[2025-01-09 09:25:03] Production.INFO: Total Charge 0
[2025-01-09 09:25:03] Production.INFO: CreateAllLog End
[2025-01-09 09:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:25:03] Production.INFO: count ==21
[2025-01-09 09:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:25:03] Production.INFO: count ==21
[2025-01-09 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208643') start
[2025-01-09 09:25:03] Production.INFO: Account Balance End.
[2025-01-09 09:25:03] Production.INFO: ==12018== Releasing lock...
[2025-01-09 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:25:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:25:03] Production.INFO: ==12028== Releasing lock...
[2025-01-09 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208643') end
[2025-01-09 09:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:25:04] Production.INFO: 1
[2025-01-09 09:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:25:04] Production.INFO: ==12036== Releasing lock...
[2025-01-09 09:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:25:04
[end_date_ymd] => 2025-01-09 09:25:04
[RateCDR] => 1
)
[2025-01-09 09:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:25:04' and `end` < '2025-01-09 09:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:25:11] Production.ERROR: CronJobId end10
[2025-01-09 09:25:11] Production.INFO: ==12023== Releasing lock...
[2025-01-09 09:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:25:12] Production.INFO: call_cost start
[2025-01-09 09:25:12] Production.INFO: call_cost end
[2025-01-09 09:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:25:13] Production.INFO: ==12012== Releasing lock...
[2025-01-09 09:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:25:18] Production.INFO: count ==1306
[2025-01-09 09:25:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:25:04 - End Time 2025-01-09 09:25:04
[2025-01-09 09:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208644', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208644', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208644', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208644', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:25:18] Production.INFO: ProcessCDR(1,14208644,1,1,2)
[2025-01-09 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208644', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208644', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:25:23] Production.INFO: ==12034== Releasing lock...
[2025-01-09 09:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:25:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-09 14:26:01] Production.INFO: ==12094== Lock acquired, processing the job...
[2025-01-09 14:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:26:02] Production.INFO: neon service started
[2025-01-09 14:26:02] Production.INFO: neon service started
[2025-01-09 14:26:02] Production.INFO: ==12094== Releasing lock...
[2025-01-09 14:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:26:02] Production.INFO: ==12096== Lock acquired, processing the job...
[2025-01-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:26:02] Production.INFO: ==12096== Releasing lock...
[2025-01-09 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:26:02] Production.INFO: ==12098== Lock acquired, processing the job...
[2025-01-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:26:02] Production.INFO: ==12098== Releasing lock...
[2025-01-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:26:03] Production.INFO: ==12104== Lock acquired, processing the job...
[2025-01-09 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:26:03] Production.INFO: ==12106== Lock acquired, processing the job...
[2025-01-09 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:26:03] Production.INFO: ==12100== Lock acquired, processing the job...
[2025-01-09 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:26:03] Production.INFO: ==12102== Lock acquired, processing the job...
[2025-01-09 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:26:03] Production.INFO: Account Balance Start.
[2025-01-09 09:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:26:03] Production.INFO: 117
[2025-01-09 09:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:26:03] Production.INFO: ==12108== Lock acquired, processing the job...
[2025-01-09 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:26:03] Production.INFO: ==12110== Lock acquired, processing the job...
[2025-01-09 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:26:03] Production.INFO: Total Charge 0
[2025-01-09 09:26:03] Production.INFO: CreateAllLog End
[2025-01-09 09:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:26:03] Production.INFO: count ==21
[2025-01-09 09:26:03] Production.INFO: ==12102== Releasing lock...
[2025-01-09 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:26:03] Production.INFO: count ==21
[2025-01-09 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208648') start
[2025-01-09 09:26:04] Production.INFO: Account Balance End.
[2025-01-09 09:26:04] Production.ERROR: done
[2025-01-09 09:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:26:04] Production.INFO: ==12106== Releasing lock...
[2025-01-09 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208648') end
[2025-01-09 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:26:04] Production.INFO: 1
[2025-01-09 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:26:04] Production.ERROR: done
[2025-01-09 09:26:04] Production.INFO: ==12110== Releasing lock...
[2025-01-09 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:26:05
[end_date_ymd] => 2025-01-09 09:26:05
[RateCDR] => 1
)
[2025-01-09 09:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:26:05' and `end` < '2025-01-09 09:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:26:10] Production.ERROR: CronJobId end10
[2025-01-09 09:26:10] Production.INFO: ==12104== Releasing lock...
[2025-01-09 09:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:26:12] Production.INFO: call_cost start
[2025-01-09 09:26:12] Production.INFO: call_cost end
[2025-01-09 09:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:26:13] Production.INFO: ==12100== Releasing lock...
[2025-01-09 09:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:26:25] Production.INFO: count ==1316
[2025-01-09 09:26:25] Production.ERROR: pbx CDR StartTime 2025-01-09 06:26:05 - End Time 2025-01-09 09:26:05
[2025-01-09 09:26:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208649', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208649', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208649', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:26:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208649', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:26:25] Production.INFO: ProcessCDR(1,14208649,1,1,2)
[2025-01-09 09:26:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:26:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:26:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:26:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:26:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208649', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:26:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208649', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:26:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:26:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:26:30] Production.INFO: ==12108== Releasing lock...
[2025-01-09 09:26:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:26:30] Production.INFO: 38 MB #Memory Used#
[2025-01-09 14:27:01] Production.INFO: ==12168== Lock acquired, processing the job...
[2025-01-09 14:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:27:01] Production.INFO: neon service started
[2025-01-09 14:27:01] Production.INFO: neon service started
[2025-01-09 14:27:01] Production.INFO: ==12168== Releasing lock...
[2025-01-09 14:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:27:01] Production.INFO: ==12170== Lock acquired, processing the job...
[2025-01-09 09:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:27:01] Production.INFO: ==12170== Releasing lock...
[2025-01-09 09:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:27:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:27:02] Production.INFO: ==12172== Lock acquired, processing the job...
[2025-01-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:27:02] Production.INFO: ==12172== Releasing lock...
[2025-01-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:27:02] Production.INFO: ==12174== Lock acquired, processing the job...
[2025-01-09 09:27:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:27:02] Production.INFO: ==12182== Lock acquired, processing the job...
[2025-01-09 09:27:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:27:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:27:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:27:02] Production.INFO: ==12176== Lock acquired, processing the job...
[2025-01-09 09:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:27:03] Production.INFO: ==12178== Lock acquired, processing the job...
[2025-01-09 09:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:27:03] Production.INFO: ==12180== Lock acquired, processing the job...
[2025-01-09 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:27:03] Production.INFO: ==12184== Lock acquired, processing the job...
[2025-01-09 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:27:03] Production.INFO: Account Balance Start.
[2025-01-09 09:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:27:03] Production.INFO: 117
[2025-01-09 09:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:27:03] Production.INFO: count ==21
[2025-01-09 09:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:27:03] Production.INFO: Total Charge 0
[2025-01-09 09:27:03] Production.INFO: count ==21
[2025-01-09 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208653') start
[2025-01-09 09:27:03] Production.INFO: CreateAllLog End
[2025-01-09 09:27:03] Production.ERROR: done
[2025-01-09 09:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208653') end
[2025-01-09 09:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:27:03] Production.INFO: 1
[2025-01-09 09:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:27:03] Production.INFO: ==12184== Releasing lock...
[2025-01-09 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:27:03] Production.ERROR: done
[2025-01-09 09:27:03] Production.INFO: ==12176== Releasing lock...
[2025-01-09 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:27:03] Production.INFO: Account Balance End.
[2025-01-09 09:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:27:03] Production.INFO: ==12180== Releasing lock...
[2025-01-09 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:27:04
[end_date_ymd] => 2025-01-09 09:27:04
[RateCDR] => 1
)
[2025-01-09 09:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:27:04' and `end` < '2025-01-09 09:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:27:10] Production.ERROR: CronJobId end10
[2025-01-09 09:27:10] Production.INFO: ==12178== Releasing lock...
[2025-01-09 09:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:27:12] Production.INFO: call_cost start
[2025-01-09 09:27:12] Production.INFO: call_cost end
[2025-01-09 09:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:27:13] Production.INFO: ==12174== Releasing lock...
[2025-01-09 09:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:27:31] Production.INFO: count ==1335
[2025-01-09 09:27:32] Production.ERROR: pbx CDR StartTime 2025-01-09 06:27:04 - End Time 2025-01-09 09:27:04
[2025-01-09 09:27:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:27:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208654', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:27:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208654', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:27:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208654', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:27:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208654', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:27:32] Production.INFO: ProcessCDR(1,14208654,1,1,2)
[2025-01-09 09:27:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:27:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:27:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:27:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:27:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208654', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:27:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208654', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:27:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:27:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:27:36] Production.INFO: ==12182== Releasing lock...
[2025-01-09 09:27:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:27:36] Production.INFO: 38 MB #Memory Used#
[2025-01-09 14:28:01] Production.INFO: ==12246== Lock acquired, processing the job...
[2025-01-09 14:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:28:01] Production.INFO: neon service started
[2025-01-09 14:28:01] Production.INFO: neon service started
[2025-01-09 14:28:01] Production.INFO: ==12246== Releasing lock...
[2025-01-09 14:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:28:02] Production.INFO: ==12248== Lock acquired, processing the job...
[2025-01-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:28:02] Production.INFO: ==12250== Lock acquired, processing the job...
[2025-01-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:28:02] Production.INFO: ==12250== Releasing lock...
[2025-01-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:28:02] Production.INFO: ==12248== Releasing lock...
[2025-01-09 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:28:03] Production.INFO: ==12257== Lock acquired, processing the job...
[2025-01-09 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:28:03] Production.INFO: ==12255== Lock acquired, processing the job...
[2025-01-09 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:28:03] Production.INFO: ==12253== Lock acquired, processing the job...
[2025-01-09 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:28:03] Production.INFO: ==12261== Lock acquired, processing the job...
[2025-01-09 09:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:28:03] Production.INFO: ==12259== Lock acquired, processing the job...
[2025-01-09 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:28:03] Production.INFO: ==12263== Lock acquired, processing the job...
[2025-01-09 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:28:04] Production.INFO: Account Balance Start.
[2025-01-09 09:28:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:28:04] Production.INFO: 117
[2025-01-09 09:28:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:28:04] Production.INFO: Total Charge 0
[2025-01-09 09:28:04] Production.INFO: CreateAllLog End
[2025-01-09 09:28:04] Production.INFO: count ==21
[2025-01-09 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-01-09 09:28:04] Production.INFO: count ==21
[2025-01-09 09:28:04] Production.INFO: ==12255== Releasing lock...
[2025-01-09 09:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208658') start
[2025-01-09 09:28:04] Production.INFO: Account Balance End.
[2025-01-09 09:28:04] Production.ERROR: done
[2025-01-09 09:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208658') end
[2025-01-09 09:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:28:04] Production.INFO: 1
[2025-01-09 09:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:28:04] Production.INFO: ==12259== Releasing lock...
[2025-01-09 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:28:04] Production.INFO: ==12263== Releasing lock...
[2025-01-09 09:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:28:04] Production.ERROR: done
[2025-01-09 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:28:05
[end_date_ymd] => 2025-01-09 09:28:05
[RateCDR] => 1
)
[2025-01-09 09:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:28:05' and `end` < '2025-01-09 09:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:28:10] Production.ERROR: CronJobId end10
[2025-01-09 09:28:10] Production.INFO: ==12257== Releasing lock...
[2025-01-09 09:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:28:12] Production.INFO: call_cost start
[2025-01-09 09:28:12] Production.INFO: call_cost end
[2025-01-09 09:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:28:13] Production.INFO: ==12253== Releasing lock...
[2025-01-09 09:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:28:26] Production.INFO: count ==1360
[2025-01-09 09:28:26] Production.ERROR: pbx CDR StartTime 2025-01-09 06:28:05 - End Time 2025-01-09 09:28:05
[2025-01-09 09:28:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208659', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208659', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208659', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208659', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:28:26] Production.INFO: ProcessCDR(1,14208659,1,1,2)
[2025-01-09 09:28:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:28:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:28:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:28:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208659', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:28:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208659', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:28:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:28:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:28:32] Production.INFO: ==12261== Releasing lock...
[2025-01-09 09:28:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:28:32] Production.INFO: 38.25 MB #Memory Used#
[2025-01-09 14:29:01] Production.INFO: ==12317== Lock acquired, processing the job...
[2025-01-09 14:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:29:01] Production.INFO: neon service started
[2025-01-09 14:29:01] Production.INFO: neon service started
[2025-01-09 14:29:01] Production.INFO: ==12317== Releasing lock...
[2025-01-09 14:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:29:01] Production.INFO: ==12319== Lock acquired, processing the job...
[2025-01-09 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:29:01] Production.INFO: ==12319== Releasing lock...
[2025-01-09 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:29:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:29:02] Production.INFO: ==12321== Lock acquired, processing the job...
[2025-01-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:29:02] Production.INFO: ==12321== Releasing lock...
[2025-01-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:29:02] Production.INFO: ==12332== Lock acquired, processing the job...
[2025-01-09 09:29:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:29:02] Production.INFO: ==12334== Lock acquired, processing the job...
[2025-01-09 09:29:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:29:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:29:02] Production.INFO: ==12324== Lock acquired, processing the job...
[2025-01-09 09:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:29:02] Production.INFO: ==12326== Lock acquired, processing the job...
[2025-01-09 09:29:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:29:03] Production.INFO: ==12328== Lock acquired, processing the job...
[2025-01-09 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:29:03] Production.INFO: ==12330== Lock acquired, processing the job...
[2025-01-09 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:29:03] Production.INFO: count ==21
[2025-01-09 09:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:29:03] Production.INFO: count ==21
[2025-01-09 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208660') start
[2025-01-09 09:29:03] Production.INFO: Account Balance Start.
[2025-01-09 09:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:29:03] Production.INFO: 117
[2025-01-09 09:29:03] Production.ERROR: done
[2025-01-09 09:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208660') end
[2025-01-09 09:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:29:03] Production.INFO: 1
[2025-01-09 09:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:29:03] Production.INFO: Total Charge 0
[2025-01-09 09:29:03] Production.INFO: ==12334== Releasing lock...
[2025-01-09 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:29:03] Production.INFO: CreateAllLog End
[2025-01-09 09:29:03] Production.ERROR: done
[2025-01-09 09:29:03] Production.INFO: ==12326== Releasing lock...
[2025-01-09 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:29:03] Production.INFO: Account Balance End.
[2025-01-09 09:29:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:29:03] Production.INFO: ==12330== Releasing lock...
[2025-01-09 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:29:04
[end_date_ymd] => 2025-01-09 09:29:04
[RateCDR] => 1
)
[2025-01-09 09:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:29:04' and `end` < '2025-01-09 09:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:29:10] Production.ERROR: CronJobId end10
[2025-01-09 09:29:10] Production.INFO: ==12328== Releasing lock...
[2025-01-09 09:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:29:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:29:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:29:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:29:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:29:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:29:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:29:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:29:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:29:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:29:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:29:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:29:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:29:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:29:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:29:12] Production.INFO: call_cost start
[2025-01-09 09:29:12] Production.INFO: call_cost end
[2025-01-09 09:29:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:29:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:29:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:29:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:29:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:29:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:29:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:29:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:29:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:29:12] Production.INFO: ==12324== Releasing lock...
[2025-01-09 09:29:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:29:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:29:19] Production.INFO: count ==1413
[2025-01-09 09:29:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:29:04 - End Time 2025-01-09 09:29:04
[2025-01-09 09:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208664', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208664', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208664', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208664', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:29:20] Production.INFO: ProcessCDR(1,14208664,1,1,2)
[2025-01-09 09:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:29:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:29:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:29:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208664', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:29:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208664', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:29:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:29:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:29:24] Production.INFO: ==12332== Releasing lock...
[2025-01-09 09:29:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:29:24] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 14:30:01] Production.INFO: ==12393== Lock acquired, processing the job...
[2025-01-09 14:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:30:01] Production.INFO: neon service started
[2025-01-09 14:30:01] Production.INFO: neon service started
[2025-01-09 14:30:01] Production.INFO: ==12393== Releasing lock...
[2025-01-09 14:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:30:02] Production.INFO: ==12395== Lock acquired, processing the job...
[2025-01-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:30:02] Production.INFO: ==12395== Releasing lock...
[2025-01-09 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:30:02] Production.INFO: ==12397== Lock acquired, processing the job...
[2025-01-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:30:02] Production.INFO: ==12397== Releasing lock...
[2025-01-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:30:03] Production.INFO: ==12401== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:30:03] Production.INFO: ==12410== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:30:03] Production.INFO: ==12399== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 09:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:30:03] Production.INFO: ==12412== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:30:03] Production.INFO: ==12403== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:30:03] Production.INFO: ==12405== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:30:03] Production.INFO: ==12408== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:30:03] Production.INFO: ==12414== Lock acquired, processing the job...
[2025-01-09 09:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:30:03] Production.ERROR: CronJob PID - 12401
[2025-01-09 09:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 09:30:03] Production.ERROR: CronJob ID - 5
[2025-01-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:30:00
[2025-01-09 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:30:03] Production.ERROR: CronJob PID - 12403
[2025-01-09 09:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 09:30:03] Production.ERROR: CronJob ID - 7
[2025-01-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:30:00
[2025-01-09 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:30:03] Production.ERROR: CronJob PID - 12405
[2025-01-09 09:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 09:30:03] Production.ERROR: CronJob ID - 10
[2025-01-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:30:00
[2025-01-09 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:30:03] Production.ERROR: CronJob PID - 12408
[2025-01-09 09:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 09:30:03] Production.ERROR: CronJob ID - 12
[2025-01-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:30:00
[2025-01-09 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:30:03] Production.ERROR: CronJob PID - 12410
[2025-01-09 09:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 09:30:03] Production.ERROR: CronJob ID - 16
[2025-01-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:30:00
[2025-01-09 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:30:03] Production.ERROR: CronJob PID - 12412
[2025-01-09 09:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 09:30:03] Production.ERROR: CronJob ID - 17
[2025-01-09 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 09:30:00
[2025-01-09 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:30:03] Production.ERROR: done
[2025-01-09 09:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 09:30:03] Production.INFO: ==12399== Releasing lock...
[2025-01-09 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 09:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:30:03] Production.INFO: Account Balance Start.
[2025-01-09 09:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:30:03] Production.INFO: 117
[2025-01-09 09:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:30:03] Production.INFO: count ==21
[2025-01-09 09:30:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:30:04] Production.ERROR: done
[2025-01-09 09:30:04] Production.INFO: count ==21
[2025-01-09 09:30:04] Production.INFO: Total Charge 0
[2025-01-09 09:30:04] Production.ERROR: done
[2025-01-09 09:30:04] Production.INFO: CreateAllLog End
[2025-01-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208668') start
[2025-01-09 09:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 09:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208669', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 09:30:04] Production.INFO: Account Balance End.
[2025-01-09 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208668') end
[2025-01-09 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:30:04] Production.INFO: 1
[2025-01-09 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:30:04] Production.INFO: ==12403== Releasing lock...
[2025-01-09 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:30:04] Production.INFO: ==12408== Releasing lock...
[2025-01-09 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:30:04] Production.INFO: ==12414== Releasing lock...
[2025-01-09 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:30:05
[end_date_ymd] => 2025-01-09 09:30:05
[RateCDR] => 1
)
[2025-01-09 09:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:30:05' and `end` < '2025-01-09 09:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208669', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 09:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 09:30:08] Production.INFO: ProcessCDR(1,14208669,1,1,2)
[2025-01-09 09:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208669,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208669,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:30:08] Production.INFO: ==12412== Releasing lock...
[2025-01-09 09:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 09:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 09:30:11] Production.ERROR: CronJobId end10
[2025-01-09 09:30:11] Production.INFO: ==12405== Releasing lock...
[2025-01-09 09:30:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:30:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:30:14] Production.INFO: call_cost start
[2025-01-09 09:30:14] Production.INFO: call_cost end
[2025-01-09 09:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:30:15] Production.INFO: ==12401== Releasing lock...
[2025-01-09 09:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:30:21] Production.INFO: count ==1432
[2025-01-09 09:30:21] Production.ERROR: pbx CDR StartTime 2025-01-09 06:30:05 - End Time 2025-01-09 09:30:05
[2025-01-09 09:30:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208670', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208670', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208670', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208670', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:30:21] Production.INFO: ProcessCDR(1,14208670,1,1,2)
[2025-01-09 09:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:30:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:30:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:30:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:30:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208670', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208670', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:30:26] Production.INFO: ==12410== Releasing lock...
[2025-01-09 09:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:30:26] Production.INFO: 38.75 MB #Memory Used#
[2025-01-09 14:31:02] Production.INFO: ==12473== Lock acquired, processing the job...
[2025-01-09 14:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:31:02] Production.INFO: neon service started
[2025-01-09 14:31:02] Production.INFO: neon service started
[2025-01-09 14:31:02] Production.INFO: ==12473== Releasing lock...
[2025-01-09 14:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:31:02] Production.INFO: ==12475== Lock acquired, processing the job...
[2025-01-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:31:02] Production.INFO: ==12475== Releasing lock...
[2025-01-09 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:31:02] Production.INFO: ==12477== Lock acquired, processing the job...
[2025-01-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:31:02] Production.INFO: ==12477== Releasing lock...
[2025-01-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:31:03] Production.INFO: ==12483== Lock acquired, processing the job...
[2025-01-09 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:31:03] Production.INFO: ==12479== Lock acquired, processing the job...
[2025-01-09 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:31:03] Production.INFO: ==12489== Lock acquired, processing the job...
[2025-01-09 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:31:03] Production.INFO: ==12481== Lock acquired, processing the job...
[2025-01-09 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:31:03] Production.INFO: ==12485== Lock acquired, processing the job...
[2025-01-09 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:31:03] Production.INFO: ==12487== Lock acquired, processing the job...
[2025-01-09 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:31:03] Production.INFO: Account Balance Start.
[2025-01-09 09:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:31:03] Production.INFO: 117
[2025-01-09 09:31:03] Production.INFO: count ==21
[2025-01-09 09:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:31:04] Production.INFO: count ==21
[2025-01-09 09:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:31:04] Production.INFO: Total Charge 0
[2025-01-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208671') start
[2025-01-09 09:31:04] Production.INFO: CreateAllLog End
[2025-01-09 09:31:04] Production.INFO: ==12481== Releasing lock...
[2025-01-09 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:31:04] Production.ERROR: done
[2025-01-09 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208671') end
[2025-01-09 09:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:31:04] Production.INFO: 1
[2025-01-09 09:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:31:04] Production.INFO: Account Balance End.
[2025-01-09 09:31:04] Production.INFO: ==12489== Releasing lock...
[2025-01-09 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:31:04] Production.INFO: ==12485== Releasing lock...
[2025-01-09 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:31:04] Production.ERROR: done
[2025-01-09 09:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:31:05
[end_date_ymd] => 2025-01-09 09:31:05
[RateCDR] => 1
)
[2025-01-09 09:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:31:05' and `end` < '2025-01-09 09:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:31:11] Production.ERROR: CronJobId end10
[2025-01-09 09:31:11] Production.INFO: ==12483== Releasing lock...
[2025-01-09 09:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:31:13] Production.INFO: call_cost start
[2025-01-09 09:31:13] Production.INFO: call_cost end
[2025-01-09 09:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:31:13] Production.INFO: ==12479== Releasing lock...
[2025-01-09 09:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:31:19] Production.INFO: count ==1491
[2025-01-09 09:31:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:31:05 - End Time 2025-01-09 09:31:05
[2025-01-09 09:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208675', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208675', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208675', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208675', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:31:19] Production.INFO: ProcessCDR(1,14208675,1,1,2)
[2025-01-09 09:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208675', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208675', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:31:24] Production.INFO: ==12487== Releasing lock...
[2025-01-09 09:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:31:24] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 14:32:01] Production.INFO: ==12550== Lock acquired, processing the job...
[2025-01-09 14:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:32:01] Production.INFO: neon service started
[2025-01-09 14:32:01] Production.INFO: neon service started
[2025-01-09 14:32:01] Production.INFO: ==12550== Releasing lock...
[2025-01-09 14:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:32:02] Production.INFO: ==12552== Lock acquired, processing the job...
[2025-01-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:32:02] Production.INFO: ==12554== Lock acquired, processing the job...
[2025-01-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:32:02] Production.INFO: ==12554== Releasing lock...
[2025-01-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:32:02] Production.INFO: ==12552== Releasing lock...
[2025-01-09 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:32:03] Production.INFO: ==12563== Lock acquired, processing the job...
[2025-01-09 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:32:03] Production.INFO: Account Balance Start.
[2025-01-09 09:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:32:03] Production.INFO: 117
[2025-01-09 09:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:32:03] Production.INFO: Total Charge 0
[2025-01-09 09:32:03] Production.INFO: ==12567== Lock acquired, processing the job...
[2025-01-09 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:32:03] Production.INFO: CreateAllLog End
[2025-01-09 09:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:32:03] Production.INFO: Account Balance End.
[2025-01-09 09:32:03] Production.INFO: ==12557== Lock acquired, processing the job...
[2025-01-09 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:32:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:32:03] Production.INFO: ==12563== Releasing lock...
[2025-01-09 09:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:32:03] Production.INFO: count ==21
[2025-01-09 09:32:03] Production.INFO: ==12559== Lock acquired, processing the job...
[2025-01-09 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:32:03] Production.INFO: ==12561== Lock acquired, processing the job...
[2025-01-09 09:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:32:03] Production.INFO: count ==21
[2025-01-09 09:32:03] Production.INFO: ==12565== Lock acquired, processing the job...
[2025-01-09 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208677') start
[2025-01-09 09:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208677') end
[2025-01-09 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:32:04] Production.INFO: 1
[2025-01-09 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:32:04] Production.INFO: ==12567== Releasing lock...
[2025-01-09 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:32:04] Production.ERROR: done
[2025-01-09 09:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:32:04] Production.INFO: ==12559== Releasing lock...
[2025-01-09 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:32:04] Production.ERROR: done
[2025-01-09 09:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:32:05
[end_date_ymd] => 2025-01-09 09:32:05
[RateCDR] => 1
)
[2025-01-09 09:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:32:05' and `end` < '2025-01-09 09:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:32:11] Production.ERROR: CronJobId end10
[2025-01-09 09:32:11] Production.INFO: ==12561== Releasing lock...
[2025-01-09 09:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:32:12] Production.INFO: call_cost start
[2025-01-09 09:32:12] Production.INFO: call_cost end
[2025-01-09 09:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:32:13] Production.INFO: ==12557== Releasing lock...
[2025-01-09 09:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:32:19] Production.INFO: count ==1503
[2025-01-09 09:32:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:32:05 - End Time 2025-01-09 09:32:05
[2025-01-09 09:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208680', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208680', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208680', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208680', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:32:20] Production.INFO: ProcessCDR(1,14208680,1,1,2)
[2025-01-09 09:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208680', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208680', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:32:24] Production.INFO: ==12565== Releasing lock...
[2025-01-09 09:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:32:24] Production.INFO: 39.25 MB #Memory Used#
[2025-01-09 14:33:02] Production.INFO: ==12631== Lock acquired, processing the job...
[2025-01-09 14:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:33:02] Production.INFO: neon service started
[2025-01-09 14:33:02] Production.INFO: neon service started
[2025-01-09 14:33:02] Production.INFO: ==12631== Releasing lock...
[2025-01-09 14:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:33:02] Production.INFO: ==12633== Lock acquired, processing the job...
[2025-01-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:33:02] Production.INFO: ==12633== Releasing lock...
[2025-01-09 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:33:02] Production.INFO: ==12635== Lock acquired, processing the job...
[2025-01-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:33:03] Production.INFO: ==12635== Releasing lock...
[2025-01-09 14:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:33:03] Production.INFO: ==12641== Lock acquired, processing the job...
[2025-01-09 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:33:03] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-01-09 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:33:03] Production.INFO: ==12637== Lock acquired, processing the job...
[2025-01-09 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:33:03] Production.INFO: ==12639== Lock acquired, processing the job...
[2025-01-09 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:33:03] Production.INFO: ==12643== Lock acquired, processing the job...
[2025-01-09 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:33:03] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-01-09 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:33:03] Production.ERROR: done
[2025-01-09 09:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:33:03] Production.INFO: Account Balance Start.
[2025-01-09 09:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:33:03] Production.INFO: 117
[2025-01-09 09:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:33:04] Production.INFO: count ==21
[2025-01-09 09:33:04] Production.ERROR: done
[2025-01-09 09:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:33:04] Production.INFO: count ==21
[2025-01-09 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208684') start
[2025-01-09 09:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:33:04] Production.INFO: ==12639== Releasing lock...
[2025-01-09 09:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:33:04] Production.INFO: Total Charge 0
[2025-01-09 09:33:04] Production.INFO: CreateAllLog End
[2025-01-09 09:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208684') end
[2025-01-09 09:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:33:04] Production.INFO: 1
[2025-01-09 09:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:33:04] Production.INFO: ==12647== Releasing lock...
[2025-01-09 09:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:33:04] Production.INFO: Account Balance End.
[2025-01-09 09:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:33:04] Production.INFO: ==12643== Releasing lock...
[2025-01-09 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:33:05
[end_date_ymd] => 2025-01-09 09:33:05
[RateCDR] => 1
)
[2025-01-09 09:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:33:05' and `end` < '2025-01-09 09:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:33:11] Production.ERROR: CronJobId end10
[2025-01-09 09:33:11] Production.INFO: ==12641== Releasing lock...
[2025-01-09 09:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:33:13] Production.INFO: call_cost start
[2025-01-09 09:33:13] Production.INFO: call_cost end
[2025-01-09 09:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:33:13] Production.INFO: ==12637== Releasing lock...
[2025-01-09 09:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:33:20] Production.INFO: count ==1535
[2025-01-09 09:33:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:33:05 - End Time 2025-01-09 09:33:05
[2025-01-09 09:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208685', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208685', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208685', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208685', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:33:20] Production.INFO: ProcessCDR(1,14208685,1,1,2)
[2025-01-09 09:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:33:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:33:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208685', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208685', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:33:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:33:25] Production.INFO: ==12645== Releasing lock...
[2025-01-09 09:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:33:25] Production.INFO: 39.5 MB #Memory Used#
[2025-01-09 14:34:01] Production.INFO: ==12711== Lock acquired, processing the job...
[2025-01-09 14:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:34:01] Production.INFO: neon service started
[2025-01-09 14:34:01] Production.INFO: neon service started
[2025-01-09 14:34:01] Production.INFO: ==12711== Releasing lock...
[2025-01-09 14:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:34:02] Production.INFO: ==12713== Lock acquired, processing the job...
[2025-01-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:34:02] Production.INFO: ==12715== Lock acquired, processing the job...
[2025-01-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:34:02] Production.INFO: ==12715== Releasing lock...
[2025-01-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:34:02] Production.INFO: ==12713== Releasing lock...
[2025-01-09 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:34:03] Production.INFO: ==12724== Lock acquired, processing the job...
[2025-01-09 09:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:34:03] Production.INFO: ==12718== Lock acquired, processing the job...
[2025-01-09 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:34:03] Production.INFO: ==12728== Lock acquired, processing the job...
[2025-01-09 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:34:03] Production.INFO: Account Balance Start.
[2025-01-09 09:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:34:03] Production.INFO: 117
[2025-01-09 09:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:34:03] Production.INFO: ==12722== Lock acquired, processing the job...
[2025-01-09 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:34:03] Production.INFO: Total Charge 0
[2025-01-09 09:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:34:03] Production.INFO: ==12720== Lock acquired, processing the job...
[2025-01-09 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:34:03] Production.INFO: count ==21
[2025-01-09 09:34:03] Production.INFO: ==12726== Lock acquired, processing the job...
[2025-01-09 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:34:03] Production.INFO: CreateAllLog End
[2025-01-09 09:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:34:03] Production.INFO: count ==21
[2025-01-09 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208688') start
[2025-01-09 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208688') end
[2025-01-09 09:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:34:03] Production.INFO: 1
[2025-01-09 09:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:34:03] Production.INFO: ==12728== Releasing lock...
[2025-01-09 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:34:04] Production.INFO: Account Balance End.
[2025-01-09 09:34:04] Production.ERROR: done
[2025-01-09 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:34:04] Production.INFO: ==12724== Releasing lock...
[2025-01-09 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:34:04] Production.ERROR: done
[2025-01-09 09:34:04] Production.INFO: ==12720== Releasing lock...
[2025-01-09 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:34:05
[end_date_ymd] => 2025-01-09 09:34:05
[RateCDR] => 1
)
[2025-01-09 09:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:34:05' and `end` < '2025-01-09 09:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:34:10] Production.ERROR: CronJobId end10
[2025-01-09 09:34:10] Production.INFO: ==12722== Releasing lock...
[2025-01-09 09:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:34:12] Production.INFO: call_cost start
[2025-01-09 09:34:12] Production.INFO: call_cost end
[2025-01-09 09:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:34:13] Production.INFO: ==12718== Releasing lock...
[2025-01-09 09:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:34:18] Production.INFO: count ==1550
[2025-01-09 09:34:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:34:05 - End Time 2025-01-09 09:34:05
[2025-01-09 09:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208690', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208690', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208690', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208690', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:34:19] Production.INFO: ProcessCDR(1,14208690,1,1,2)
[2025-01-09 09:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208690', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208690', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:34:23] Production.INFO: ==12726== Releasing lock...
[2025-01-09 09:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:34:23] Production.INFO: 40 MB #Memory Used#
[2025-01-09 14:35:02] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-01-09 14:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:35:02] Production.INFO: neon service started
[2025-01-09 14:35:02] Production.INFO: neon service started
[2025-01-09 14:35:02] Production.INFO: ==12789== Releasing lock...
[2025-01-09 14:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:35:02] Production.INFO: ==12793== Lock acquired, processing the job...
[2025-01-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:35:02] Production.INFO: ==12793== Releasing lock...
[2025-01-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:35:02] Production.INFO: ==12791== Lock acquired, processing the job...
[2025-01-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:35:02] Production.INFO: ==12791== Releasing lock...
[2025-01-09 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:35:03] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-01-09 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:35:03] Production.INFO: ==12804== Lock acquired, processing the job...
[2025-01-09 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:35:03] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-01-09 09:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:35:04] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-01-09 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:35:04] Production.INFO: ==12802== Lock acquired, processing the job...
[2025-01-09 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:35:04] Production.INFO: ==12806== Lock acquired, processing the job...
[2025-01-09 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:35:04] Production.ERROR: done
[2025-01-09 09:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:35:04] Production.INFO: Account Balance Start.
[2025-01-09 09:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:35:04] Production.INFO: 117
[2025-01-09 09:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:35:04] Production.INFO: count ==21
[2025-01-09 09:35:04] Production.ERROR: done
[2025-01-09 09:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:35:04] Production.INFO: count ==21
[2025-01-09 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208694') start
[2025-01-09 09:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:35:04] Production.INFO: Total Charge 0
[2025-01-09 09:35:04] Production.INFO: CreateAllLog End
[2025-01-09 09:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208694') end
[2025-01-09 09:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:35:04] Production.INFO: 1
[2025-01-09 09:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:35:04] Production.INFO: ==12806== Releasing lock...
[2025-01-09 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:35:04] Production.INFO: Account Balance End.
[2025-01-09 09:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:35:04] Production.INFO: ==12802== Releasing lock...
[2025-01-09 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:35:04] Production.INFO: ==12798== Releasing lock...
[2025-01-09 09:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:35:05
[end_date_ymd] => 2025-01-09 09:35:05
[RateCDR] => 1
)
[2025-01-09 09:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:35:05' and `end` < '2025-01-09 09:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:35:12] Production.ERROR: CronJobId end10
[2025-01-09 09:35:12] Production.INFO: ==12800== Releasing lock...
[2025-01-09 09:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:35:13] Production.INFO: call_cost start
[2025-01-09 09:35:13] Production.INFO: call_cost end
[2025-01-09 09:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:35:14] Production.INFO: ==12796== Releasing lock...
[2025-01-09 09:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:35:20] Production.INFO: count ==1564
[2025-01-09 09:35:21] Production.ERROR: pbx CDR StartTime 2025-01-09 06:35:05 - End Time 2025-01-09 09:35:05
[2025-01-09 09:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208695', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208695', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208695', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208695', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:35:21] Production.INFO: ProcessCDR(1,14208695,1,1,2)
[2025-01-09 09:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208695', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208695', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:35:26] Production.INFO: ==12804== Releasing lock...
[2025-01-09 09:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:35:26] Production.INFO: 40 MB #Memory Used#
[2025-01-09 14:36:01] Production.INFO: ==12874== Lock acquired, processing the job...
[2025-01-09 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:36:01] Production.INFO: neon service started
[2025-01-09 14:36:01] Production.INFO: neon service started
[2025-01-09 14:36:01] Production.INFO: ==12874== Releasing lock...
[2025-01-09 14:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:36:02] Production.INFO: ==12878== Lock acquired, processing the job...
[2025-01-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:36:02] Production.INFO: ==12876== Lock acquired, processing the job...
[2025-01-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:36:02] Production.INFO: ==12878== Releasing lock...
[2025-01-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:36:02] Production.INFO: ==12876== Releasing lock...
[2025-01-09 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:36:03] Production.INFO: ==12881== Lock acquired, processing the job...
[2025-01-09 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:36:03] Production.INFO: ==12883== Lock acquired, processing the job...
[2025-01-09 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:36:03] Production.INFO: ==12885== Lock acquired, processing the job...
[2025-01-09 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:36:03] Production.INFO: ==12883== Releasing lock...
[2025-01-09 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:36:03] Production.INFO: ==12887== Lock acquired, processing the job...
[2025-01-09 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:36:03] Production.INFO: ==12891== Lock acquired, processing the job...
[2025-01-09 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:36:03] Production.INFO: ==12889== Lock acquired, processing the job...
[2025-01-09 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:36:03] Production.INFO: count ==21
[2025-01-09 09:36:03] Production.INFO: Account Balance Start.
[2025-01-09 09:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:36:03] Production.INFO: 117
[2025-01-09 09:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:36:03] Production.INFO: count ==21
[2025-01-09 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208698') start
[2025-01-09 09:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208698') end
[2025-01-09 09:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:36:03] Production.INFO: 1
[2025-01-09 09:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:36:03] Production.INFO: ==12891== Releasing lock...
[2025-01-09 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:36:04] Production.ERROR: done
[2025-01-09 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:36:04] Production.INFO: Total Charge 0
[2025-01-09 09:36:04] Production.ERROR: done
[2025-01-09 09:36:04] Production.INFO: CreateAllLog End
[2025-01-09 09:36:04] Production.INFO: Account Balance End.
[2025-01-09 09:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:36:04] Production.INFO: ==12887== Releasing lock...
[2025-01-09 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:36:05
[end_date_ymd] => 2025-01-09 09:36:05
[RateCDR] => 1
)
[2025-01-09 09:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:36:05' and `end` < '2025-01-09 09:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:36:10] Production.ERROR: CronJobId end10
[2025-01-09 09:36:10] Production.INFO: ==12885== Releasing lock...
[2025-01-09 09:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:36:13] Production.INFO: call_cost start
[2025-01-09 09:36:13] Production.INFO: call_cost end
[2025-01-09 09:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:36:14] Production.INFO: ==12881== Releasing lock...
[2025-01-09 09:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:36:24] Production.INFO: count ==1582
[2025-01-09 09:36:24] Production.ERROR: pbx CDR StartTime 2025-01-09 06:36:05 - End Time 2025-01-09 09:36:05
[2025-01-09 09:36:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208700', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208700', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208700', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208700', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:36:24] Production.INFO: ProcessCDR(1,14208700,1,1,2)
[2025-01-09 09:36:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:36:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:36:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:36:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:36:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208700', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:36:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208700', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:36:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:36:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:36:29] Production.INFO: ==12889== Releasing lock...
[2025-01-09 09:36:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:36:29] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 14:37:02] Production.INFO: ==12952== Lock acquired, processing the job...
[2025-01-09 14:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:37:02] Production.INFO: neon service started
[2025-01-09 14:37:02] Production.INFO: neon service started
[2025-01-09 14:37:02] Production.INFO: ==12952== Releasing lock...
[2025-01-09 14:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:37:02] Production.INFO: ==12954== Lock acquired, processing the job...
[2025-01-09 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:37:02] Production.INFO: ==12956== Lock acquired, processing the job...
[2025-01-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:37:02] Production.INFO: ==12956== Releasing lock...
[2025-01-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:37:03] Production.INFO: ==12954== Releasing lock...
[2025-01-09 09:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:37:03] Production.INFO: ==12963== Lock acquired, processing the job...
[2025-01-09 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:37:03] Production.INFO: ==12967== Lock acquired, processing the job...
[2025-01-09 09:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:37:03] Production.INFO: ==12959== Lock acquired, processing the job...
[2025-01-09 09:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:37:04] Production.INFO: ==12961== Lock acquired, processing the job...
[2025-01-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:37:04] Production.INFO: ==12965== Lock acquired, processing the job...
[2025-01-09 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:37:04] Production.INFO: ==12969== Lock acquired, processing the job...
[2025-01-09 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:37:04] Production.ERROR: done
[2025-01-09 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:37:04] Production.INFO: Account Balance Start.
[2025-01-09 09:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:37:04] Production.ERROR: done
[2025-01-09 09:37:04] Production.INFO: 117
[2025-01-09 09:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:37:04] Production.INFO: ==12961== Releasing lock...
[2025-01-09 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:37:04] Production.INFO: count ==21
[2025-01-09 09:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:37:04] Production.INFO: count ==21
[2025-01-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208704') start
[2025-01-09 09:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208704') end
[2025-01-09 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:37:04] Production.INFO: 1
[2025-01-09 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:37:04] Production.INFO: Total Charge 0
[2025-01-09 09:37:04] Production.INFO: ==12969== Releasing lock...
[2025-01-09 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:37:04] Production.INFO: CreateAllLog End
[2025-01-09 09:37:04] Production.INFO: Account Balance End.
[2025-01-09 09:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:37:04] Production.INFO: ==12965== Releasing lock...
[2025-01-09 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:37:05
[end_date_ymd] => 2025-01-09 09:37:05
[RateCDR] => 1
)
[2025-01-09 09:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:37:05' and `end` < '2025-01-09 09:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:37:11] Production.ERROR: CronJobId end10
[2025-01-09 09:37:11] Production.INFO: ==12963== Releasing lock...
[2025-01-09 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:37:13] Production.INFO: call_cost start
[2025-01-09 09:37:13] Production.INFO: call_cost end
[2025-01-09 09:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:37:14] Production.INFO: ==12959== Releasing lock...
[2025-01-09 09:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:37:21] Production.INFO: count ==1609
[2025-01-09 09:37:22] Production.ERROR: pbx CDR StartTime 2025-01-09 06:37:05 - End Time 2025-01-09 09:37:05
[2025-01-09 09:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208705', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208705', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208705', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208705', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:37:22] Production.INFO: ProcessCDR(1,14208705,1,1,2)
[2025-01-09 09:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:37:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:37:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:37:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:37:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208705', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208705', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:37:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:37:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:37:27] Production.INFO: ==12967== Releasing lock...
[2025-01-09 09:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:37:27] Production.INFO: 40 MB #Memory Used#
[2025-01-09 14:38:01] Production.INFO: ==13033== Lock acquired, processing the job...
[2025-01-09 14:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:38:01] Production.INFO: neon service started
[2025-01-09 14:38:01] Production.INFO: neon service started
[2025-01-09 14:38:01] Production.INFO: ==13033== Releasing lock...
[2025-01-09 14:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:38:01] Production.INFO: ==13035== Lock acquired, processing the job...
[2025-01-09 09:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:38:02] Production.INFO: ==13035== Releasing lock...
[2025-01-09 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:38:02] Production.INFO: ==13037== Lock acquired, processing the job...
[2025-01-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:38:02] Production.INFO: ==13037== Releasing lock...
[2025-01-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:38:03] Production.INFO: ==13046== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:38:03] Production.INFO: ==13040== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:38:03] Production.INFO: ==13042== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:38:03] Production.INFO: ==13044== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:38:03] Production.INFO: ==13050== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:38:03] Production.INFO: Account Balance Start.
[2025-01-09 09:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:38:03] Production.INFO: 117
[2025-01-09 09:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:38:03] Production.INFO: ==13048== Lock acquired, processing the job...
[2025-01-09 09:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:38:03] Production.INFO: count ==21
[2025-01-09 09:38:03] Production.INFO: Total Charge 0
[2025-01-09 09:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:38:03] Production.INFO: CreateAllLog End
[2025-01-09 09:38:03] Production.INFO: count ==21
[2025-01-09 09:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208708') start
[2025-01-09 09:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208708') end
[2025-01-09 09:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:38:03] Production.INFO: 1
[2025-01-09 09:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:38:03] Production.INFO: ==13050== Releasing lock...
[2025-01-09 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:38:03] Production.INFO: Account Balance End.
[2025-01-09 09:38:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:38:03] Production.INFO: ==13046== Releasing lock...
[2025-01-09 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:38:03] Production.INFO: ==13042== Releasing lock...
[2025-01-09 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:38:03] Production.ERROR: done
[2025-01-09 09:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:38:04] Production.ERROR: done
[2025-01-09 09:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:38:04
[end_date_ymd] => 2025-01-09 09:38:04
[RateCDR] => 1
)
[2025-01-09 09:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:38:04' and `end` < '2025-01-09 09:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:38:11] Production.ERROR: CronJobId end10
[2025-01-09 09:38:11] Production.INFO: ==13044== Releasing lock...
[2025-01-09 09:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:38:13] Production.INFO: call_cost start
[2025-01-09 09:38:13] Production.INFO: call_cost end
[2025-01-09 09:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:38:14] Production.INFO: ==13040== Releasing lock...
[2025-01-09 09:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:38:18] Production.INFO: count ==1617
[2025-01-09 09:38:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:38:04 - End Time 2025-01-09 09:38:04
[2025-01-09 09:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208710', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208710', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208710', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208710', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:38:19] Production.INFO: ProcessCDR(1,14208710,1,1,2)
[2025-01-09 09:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208710', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208710', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:38:23] Production.INFO: ==13048== Releasing lock...
[2025-01-09 09:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:38:23] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 14:39:01] Production.INFO: ==13115== Lock acquired, processing the job...
[2025-01-09 14:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:39:01] Production.INFO: neon service started
[2025-01-09 14:39:01] Production.INFO: neon service started
[2025-01-09 14:39:01] Production.INFO: ==13115== Releasing lock...
[2025-01-09 14:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:39:02] Production.INFO: ==13117== Lock acquired, processing the job...
[2025-01-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:39:02] Production.INFO: ==13119== Lock acquired, processing the job...
[2025-01-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:39:02] Production.INFO: ==13119== Releasing lock...
[2025-01-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:39:02] Production.INFO: ==13117== Releasing lock...
[2025-01-09 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:39:03] Production.INFO: ==13124== Lock acquired, processing the job...
[2025-01-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:39:03] Production.INFO: ==13122== Lock acquired, processing the job...
[2025-01-09 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:39:03] Production.INFO: ==13128== Lock acquired, processing the job...
[2025-01-09 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:39:03] Production.INFO: ==13124== Releasing lock...
[2025-01-09 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:39:03] Production.INFO: ==13126== Lock acquired, processing the job...
[2025-01-09 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:39:03] Production.INFO: Account Balance Start.
[2025-01-09 09:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:39:03] Production.INFO: 117
[2025-01-09 09:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:39:04] Production.INFO: Total Charge 0
[2025-01-09 09:39:04] Production.INFO: ==13130== Lock acquired, processing the job...
[2025-01-09 09:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:39:04] Production.INFO: CreateAllLog End
[2025-01-09 09:39:04] Production.INFO: ==13132== Lock acquired, processing the job...
[2025-01-09 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:39:04] Production.INFO: Account Balance End.
[2025-01-09 09:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:39:04] Production.INFO: ==13128== Releasing lock...
[2025-01-09 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:39:04] Production.INFO: count ==21
[2025-01-09 09:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:39:04] Production.INFO: count ==21
[2025-01-09 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208714') start
[2025-01-09 09:39:04] Production.ERROR: done
[2025-01-09 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208714') end
[2025-01-09 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:39:04] Production.INFO: 1
[2025-01-09 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:39:04] Production.INFO: ==13132== Releasing lock...
[2025-01-09 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:39:04] Production.ERROR: done
[2025-01-09 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:39:05
[end_date_ymd] => 2025-01-09 09:39:05
[RateCDR] => 1
)
[2025-01-09 09:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:39:05' and `end` < '2025-01-09 09:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:39:11] Production.ERROR: CronJobId end10
[2025-01-09 09:39:11] Production.INFO: ==13126== Releasing lock...
[2025-01-09 09:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:39:12] Production.INFO: call_cost start
[2025-01-09 09:39:12] Production.INFO: call_cost end
[2025-01-09 09:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:39:13] Production.INFO: ==13122== Releasing lock...
[2025-01-09 09:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:39:22] Production.INFO: count ==1625
[2025-01-09 09:39:23] Production.ERROR: pbx CDR StartTime 2025-01-09 06:39:05 - End Time 2025-01-09 09:39:05
[2025-01-09 09:39:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208715', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208715', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208715', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208715', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:39:23] Production.INFO: ProcessCDR(1,14208715,1,1,2)
[2025-01-09 09:39:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:39:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:39:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208715', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208715', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:39:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:39:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:39:28] Production.INFO: ==13130== Releasing lock...
[2025-01-09 09:39:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:39:28] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 14:40:02] Production.INFO: ==13194== Lock acquired, processing the job...
[2025-01-09 14:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:40:02] Production.INFO: neon service started
[2025-01-09 14:40:02] Production.INFO: neon service started
[2025-01-09 14:40:02] Production.INFO: ==13194== Releasing lock...
[2025-01-09 14:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:40:02] Production.INFO: ==13198== Lock acquired, processing the job...
[2025-01-09 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:40:02] Production.INFO: ==13201== Lock acquired, processing the job...
[2025-01-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:40:02] Production.INFO: ==13201== Releasing lock...
[2025-01-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:40:03] Production.INFO: ==13198== Releasing lock...
[2025-01-09 09:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:40:03] Production.INFO: ==13204== Lock acquired, processing the job...
[2025-01-09 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 09:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 09:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 09:40:03] Production.INFO: ==13204== Releasing lock...
[2025-01-09 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 09:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:40:03] Production.INFO: ==13208== Lock acquired, processing the job...
[2025-01-09 09:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:40:04] Production.INFO: ==13210== Lock acquired, processing the job...
[2025-01-09 09:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:40:04] Production.INFO: ==13206== Lock acquired, processing the job...
[2025-01-09 09:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:40:04] Production.INFO: ==13208== Releasing lock...
[2025-01-09 09:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:40:04] Production.INFO: ==13218== Lock acquired, processing the job...
[2025-01-09 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:40:04] Production.INFO: ==13212== Lock acquired, processing the job...
[2025-01-09 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:40:04] Production.INFO: Account Balance Start.
[2025-01-09 09:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:40:04] Production.INFO: 117
[2025-01-09 09:40:04] Production.INFO: count ==21
[2025-01-09 09:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:40:04] Production.INFO: count ==21
[2025-01-09 09:40:04] Production.INFO: ==13214== Lock acquired, processing the job...
[2025-01-09 09:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208718') start
[2025-01-09 09:40:04] Production.INFO: ==13216== Lock acquired, processing the job...
[2025-01-09 09:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 09:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:40:04] Production.INFO: Total Charge 0
[2025-01-09 09:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:40:04] Production.INFO: CreateAllLog End
[2025-01-09 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208718') end
[2025-01-09 09:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:40:04] Production.INFO: 1
[2025-01-09 09:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:40:04] Production.INFO: ==13218== Releasing lock...
[2025-01-09 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:40:05] Production.INFO: Account Balance End.
[2025-01-09 09:40:05] Production.ERROR: done
[2025-01-09 09:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 09:40:05] Production.INFO: ==13212== Releasing lock...
[2025-01-09 09:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:40:05] Production.ERROR: done
[2025-01-09 09:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 09:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208720', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 09:40:05] Production.ERROR: done
[2025-01-09 09:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:40:06
[end_date_ymd] => 2025-01-09 09:40:06
[RateCDR] => 1
)
[2025-01-09 09:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:40:06' and `end` < '2025-01-09 09:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208720', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 09:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 09:40:09] Production.INFO: ProcessCDR(1,14208720,1,1,2)
[2025-01-09 09:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208720,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208720,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:40:09] Production.INFO: ==13216== Releasing lock...
[2025-01-09 09:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 09:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 09:40:13] Production.ERROR: CronJobId end10
[2025-01-09 09:40:13] Production.INFO: ==13210== Releasing lock...
[2025-01-09 09:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:40:15] Production.INFO: call_cost start
[2025-01-09 09:40:15] Production.INFO: call_cost end
[2025-01-09 09:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:40:16] Production.INFO: ==13206== Releasing lock...
[2025-01-09 09:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:40:29] Production.INFO: count ==1636
[2025-01-09 09:40:29] Production.ERROR: pbx CDR StartTime 2025-01-09 06:40:06 - End Time 2025-01-09 09:40:06
[2025-01-09 09:40:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208721', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208721', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208721', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208721', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:40:29] Production.INFO: ProcessCDR(1,14208721,1,1,2)
[2025-01-09 09:40:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:40:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:40:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:40:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208721', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208721', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:40:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:40:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:40:34] Production.INFO: ==13214== Releasing lock...
[2025-01-09 09:40:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:40:34] Production.INFO: 40.25 MB #Memory Used#
[2025-01-09 14:41:01] Production.INFO: ==13323== Lock acquired, processing the job...
[2025-01-09 14:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:41:01] Production.INFO: neon service started
[2025-01-09 14:41:01] Production.INFO: neon service started
[2025-01-09 14:41:01] Production.INFO: ==13323== Releasing lock...
[2025-01-09 14:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:41:02] Production.INFO: ==13325== Lock acquired, processing the job...
[2025-01-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:41:02] Production.INFO: ==13325== Releasing lock...
[2025-01-09 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:41:02] Production.INFO: ==13327== Lock acquired, processing the job...
[2025-01-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:41:02] Production.INFO: ==13327== Releasing lock...
[2025-01-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:41:03] Production.INFO: ==13333== Lock acquired, processing the job...
[2025-01-09 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:41:03] Production.INFO: ==13338== Lock acquired, processing the job...
[2025-01-09 09:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:41:03] Production.INFO: ==13329== Lock acquired, processing the job...
[2025-01-09 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:41:03] Production.INFO: ==13331== Lock acquired, processing the job...
[2025-01-09 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:41:03] Production.ERROR: done
[2025-01-09 09:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:41:03] Production.INFO: ==13336== Lock acquired, processing the job...
[2025-01-09 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:41:03] Production.INFO: ==13340== Lock acquired, processing the job...
[2025-01-09 09:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:41:03] Production.ERROR: done
[2025-01-09 09:41:03] Production.INFO: Account Balance Start.
[2025-01-09 09:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:41:03] Production.INFO: 117
[2025-01-09 09:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:41:03] Production.INFO: count ==21
[2025-01-09 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-01-09 09:41:03] Production.INFO: count ==21
[2025-01-09 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208725') start
[2025-01-09 09:41:03] Production.INFO: Total Charge 0
[2025-01-09 09:41:03] Production.INFO: CreateAllLog End
[2025-01-09 09:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208725') end
[2025-01-09 09:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:41:03] Production.INFO: 1
[2025-01-09 09:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:41:04] Production.INFO: ==13331== Releasing lock...
[2025-01-09 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:41:04] Production.INFO: Account Balance End.
[2025-01-09 09:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:41:04] Production.INFO: ==13336== Releasing lock...
[2025-01-09 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:41:04] Production.INFO: ==13340== Releasing lock...
[2025-01-09 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:41:04
[end_date_ymd] => 2025-01-09 09:41:04
[RateCDR] => 1
)
[2025-01-09 09:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:41:04' and `end` < '2025-01-09 09:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:41:11] Production.ERROR: CronJobId end10
[2025-01-09 09:41:11] Production.INFO: ==13333== Releasing lock...
[2025-01-09 09:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:41:13] Production.INFO: call_cost start
[2025-01-09 09:41:13] Production.INFO: call_cost end
[2025-01-09 09:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:41:14] Production.INFO: ==13329== Releasing lock...
[2025-01-09 09:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:41:18] Production.INFO: count ==1686
[2025-01-09 09:41:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:41:04 - End Time 2025-01-09 09:41:04
[2025-01-09 09:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208726', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208726', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208726', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208726', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:41:18] Production.INFO: ProcessCDR(1,14208726,1,1,2)
[2025-01-09 09:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208726', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208726', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:41:22] Production.INFO: ==13338== Releasing lock...
[2025-01-09 09:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:41:22] Production.INFO: 40.75 MB #Memory Used#
[2025-01-09 14:42:02] Production.INFO: ==13405== Lock acquired, processing the job...
[2025-01-09 14:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:42:02] Production.INFO: neon service started
[2025-01-09 14:42:02] Production.INFO: neon service started
[2025-01-09 14:42:02] Production.INFO: ==13405== Releasing lock...
[2025-01-09 14:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:42:02] Production.INFO: ==13407== Lock acquired, processing the job...
[2025-01-09 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:42:02] Production.INFO: ==13409== Lock acquired, processing the job...
[2025-01-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:42:02] Production.INFO: ==13409== Releasing lock...
[2025-01-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:42:03] Production.INFO: ==13407== Releasing lock...
[2025-01-09 09:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:42:03] Production.INFO: ==13412== Lock acquired, processing the job...
[2025-01-09 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:42:03] Production.INFO: ==13416== Lock acquired, processing the job...
[2025-01-09 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:42:04] Production.INFO: ==13422== Lock acquired, processing the job...
[2025-01-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:42:04] Production.INFO: ==13414== Lock acquired, processing the job...
[2025-01-09 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:42:04] Production.INFO: count ==21
[2025-01-09 09:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:42:04] Production.INFO: count ==21
[2025-01-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208728') start
[2025-01-09 09:42:04] Production.INFO: ==13418== Lock acquired, processing the job...
[2025-01-09 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:42:04] Production.INFO: ==13420== Lock acquired, processing the job...
[2025-01-09 09:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208728') end
[2025-01-09 09:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:42:04] Production.INFO: 1
[2025-01-09 09:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:42:04] Production.INFO: Account Balance Start.
[2025-01-09 09:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:42:04] Production.INFO: 117
[2025-01-09 09:42:04] Production.INFO: ==13422== Releasing lock...
[2025-01-09 09:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:42:04] Production.INFO: Total Charge 0
[2025-01-09 09:42:04] Production.INFO: CreateAllLog End
[2025-01-09 09:42:04] Production.INFO: ==13414== Releasing lock...
[2025-01-09 09:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:42:04] Production.INFO: Account Balance End.
[2025-01-09 09:42:04] Production.ERROR: done
[2025-01-09 09:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:42:04] Production.INFO: ==13418== Releasing lock...
[2025-01-09 09:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:42:05] Production.ERROR: done
[2025-01-09 09:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:42:06
[end_date_ymd] => 2025-01-09 09:42:06
[RateCDR] => 1
)
[2025-01-09 09:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:42:06' and `end` < '2025-01-09 09:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:42:12] Production.ERROR: CronJobId end10
[2025-01-09 09:42:12] Production.INFO: ==13416== Releasing lock...
[2025-01-09 09:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:42:13] Production.INFO: call_cost start
[2025-01-09 09:42:13] Production.INFO: call_cost end
[2025-01-09 09:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:42:14] Production.INFO: ==13412== Releasing lock...
[2025-01-09 09:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:42:19] Production.INFO: count ==1709
[2025-01-09 09:42:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:42:06 - End Time 2025-01-09 09:42:06
[2025-01-09 09:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208731', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208731', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208731', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208731', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:42:20] Production.INFO: ProcessCDR(1,14208731,1,1,2)
[2025-01-09 09:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208731', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208731', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:42:23] Production.INFO: ==13420== Releasing lock...
[2025-01-09 09:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:42:23] Production.INFO: 40.75 MB #Memory Used#
[2025-01-09 14:43:01] Production.INFO: ==13483== Lock acquired, processing the job...
[2025-01-09 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:43:01] Production.INFO: neon service started
[2025-01-09 14:43:01] Production.INFO: neon service started
[2025-01-09 14:43:01] Production.INFO: ==13483== Releasing lock...
[2025-01-09 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:43:02] Production.INFO: ==13485== Lock acquired, processing the job...
[2025-01-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:43:02] Production.INFO: ==13487== Lock acquired, processing the job...
[2025-01-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:43:02] Production.INFO: ==13485== Releasing lock...
[2025-01-09 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:43:02] Production.INFO: ==13487== Releasing lock...
[2025-01-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:43:03] Production.INFO: ==13492== Lock acquired, processing the job...
[2025-01-09 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:43:03] Production.INFO: ==13494== Lock acquired, processing the job...
[2025-01-09 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:43:03] Production.INFO: ==13498== Lock acquired, processing the job...
[2025-01-09 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:43:03] Production.INFO: ==13500== Lock acquired, processing the job...
[2025-01-09 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:43:03] Production.INFO: Account Balance Start.
[2025-01-09 09:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:43:03] Production.INFO: 117
[2025-01-09 09:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:43:03] Production.INFO: ==13496== Lock acquired, processing the job...
[2025-01-09 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:43:03] Production.INFO: ==13502== Lock acquired, processing the job...
[2025-01-09 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:43:03] Production.INFO: ==13494== Releasing lock...
[2025-01-09 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:43:03] Production.INFO: count ==21
[2025-01-09 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:43:03] Production.INFO: count ==21
[2025-01-09 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208735') start
[2025-01-09 09:43:03] Production.INFO: Total Charge 0
[2025-01-09 09:43:03] Production.INFO: CreateAllLog End
[2025-01-09 09:43:03] Production.ERROR: done
[2025-01-09 09:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208735') end
[2025-01-09 09:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:43:03] Production.INFO: 1
[2025-01-09 09:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:43:03] Production.INFO: ==13502== Releasing lock...
[2025-01-09 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:43:03] Production.ERROR: done
[2025-01-09 09:43:03] Production.INFO: Account Balance End.
[2025-01-09 09:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:43:04] Production.INFO: ==13498== Releasing lock...
[2025-01-09 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:43:04
[end_date_ymd] => 2025-01-09 09:43:04
[RateCDR] => 1
)
[2025-01-09 09:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:43:04' and `end` < '2025-01-09 09:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:43:11] Production.ERROR: CronJobId end10
[2025-01-09 09:43:11] Production.INFO: ==13496== Releasing lock...
[2025-01-09 09:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:43:12] Production.INFO: call_cost start
[2025-01-09 09:43:12] Production.INFO: call_cost end
[2025-01-09 09:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:43:13] Production.INFO: ==13492== Releasing lock...
[2025-01-09 09:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:43:23] Production.INFO: count ==1732
[2025-01-09 09:43:23] Production.ERROR: pbx CDR StartTime 2025-01-09 06:43:04 - End Time 2025-01-09 09:43:04
[2025-01-09 09:43:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208736', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208736', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208736', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:43:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208736', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:43:23] Production.INFO: ProcessCDR(1,14208736,1,1,2)
[2025-01-09 09:43:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:43:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:43:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:43:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208736', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208736', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:43:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:43:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:43:28] Production.INFO: ==13500== Releasing lock...
[2025-01-09 09:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:43:28] Production.INFO: 41.5 MB #Memory Used#
[2025-01-09 14:44:02] Production.INFO: ==13562== Lock acquired, processing the job...
[2025-01-09 14:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:44:02] Production.INFO: neon service started
[2025-01-09 14:44:02] Production.INFO: neon service started
[2025-01-09 14:44:02] Production.INFO: ==13562== Releasing lock...
[2025-01-09 14:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:44:02] Production.INFO: ==13564== Lock acquired, processing the job...
[2025-01-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:44:02] Production.INFO: ==13566== Lock acquired, processing the job...
[2025-01-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:44:02] Production.INFO: ==13566== Releasing lock...
[2025-01-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:44:02] Production.INFO: ==13564== Releasing lock...
[2025-01-09 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:44:03] Production.INFO: ==13568== Lock acquired, processing the job...
[2025-01-09 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:44:03] Production.INFO: ==13570== Lock acquired, processing the job...
[2025-01-09 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:44:03] Production.INFO: ==13574== Lock acquired, processing the job...
[2025-01-09 09:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:44:03] Production.INFO: ==13572== Lock acquired, processing the job...
[2025-01-09 09:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:44:03] Production.INFO: ==13577== Lock acquired, processing the job...
[2025-01-09 09:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:44:03] Production.INFO: Account Balance Start.
[2025-01-09 09:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:44:03] Production.INFO: 117
[2025-01-09 09:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:44:04] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-01-09 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:44:04] Production.INFO: Total Charge 0
[2025-01-09 09:44:04] Production.INFO: CreateAllLog End
[2025-01-09 09:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:44:04] Production.INFO: count ==21
[2025-01-09 09:44:04] Production.ERROR: done
[2025-01-09 09:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:44:04] Production.INFO: ==13570== Releasing lock...
[2025-01-09 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:44:04] Production.INFO: count ==21
[2025-01-09 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208740') start
[2025-01-09 09:44:04] Production.INFO: Account Balance End.
[2025-01-09 09:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:44:04] Production.INFO: ==13574== Releasing lock...
[2025-01-09 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:44:04] Production.ERROR: done
[2025-01-09 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208740') end
[2025-01-09 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:44:04] Production.INFO: 1
[2025-01-09 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:44:04] Production.INFO: ==13579== Releasing lock...
[2025-01-09 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:44:05
[end_date_ymd] => 2025-01-09 09:44:05
[RateCDR] => 1
)
[2025-01-09 09:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:44:05' and `end` < '2025-01-09 09:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:44:11] Production.ERROR: CronJobId end10
[2025-01-09 09:44:11] Production.INFO: ==13572== Releasing lock...
[2025-01-09 09:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:44:13] Production.INFO: call_cost start
[2025-01-09 09:44:13] Production.INFO: call_cost end
[2025-01-09 09:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:44:14] Production.INFO: ==13568== Releasing lock...
[2025-01-09 09:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:44:19] Production.INFO: count ==1767
[2025-01-09 09:44:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:44:05 - End Time 2025-01-09 09:44:05
[2025-01-09 09:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208741', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208741', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208741', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208741', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:44:19] Production.INFO: ProcessCDR(1,14208741,1,1,2)
[2025-01-09 09:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208741', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208741', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:44:24] Production.INFO: ==13577== Releasing lock...
[2025-01-09 09:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:44:24] Production.INFO: 41.5 MB #Memory Used#
[2025-01-09 14:45:01] Production.INFO: ==13641== Lock acquired, processing the job...
[2025-01-09 14:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:45:01] Production.INFO: neon service started
[2025-01-09 14:45:01] Production.INFO: neon service started
[2025-01-09 14:45:01] Production.INFO: ==13641== Releasing lock...
[2025-01-09 14:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:45:02] Production.INFO: ==13645== Lock acquired, processing the job...
[2025-01-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:45:02] Production.INFO: ==13645== Releasing lock...
[2025-01-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:45:02] Production.INFO: ==13643== Lock acquired, processing the job...
[2025-01-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:45:02] Production.INFO: ==13643== Releasing lock...
[2025-01-09 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:45:03] Production.INFO: ==13650== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:45:03] Production.INFO: ==13656== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:45:03] Production.INFO: ==13654== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:45:03] Production.INFO: Account Balance Start.
[2025-01-09 09:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:45:03] Production.INFO: 117
[2025-01-09 09:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:45:03] Production.INFO: ==13650== Releasing lock...
[2025-01-09 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:45:03] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:45:03] Production.INFO: ==13652== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:45:03] Production.INFO: Total Charge 0
[2025-01-09 09:45:03] Production.INFO: CreateAllLog End
[2025-01-09 09:45:03] Production.ERROR: done
[2025-01-09 09:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:45:03] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-01-09 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:45:03] Production.INFO: Account Balance End.
[2025-01-09 09:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:45:03] Production.ERROR: done
[2025-01-09 09:45:03] Production.INFO: count ==21
[2025-01-09 09:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:45:03] Production.INFO: ==13654== Releasing lock...
[2025-01-09 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:45:03] Production.INFO: count ==21
[2025-01-09 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208745') start
[2025-01-09 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208745') end
[2025-01-09 09:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:45:03] Production.INFO: 1
[2025-01-09 09:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:45:04] Production.INFO: ==13658== Releasing lock...
[2025-01-09 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:45:04
[end_date_ymd] => 2025-01-09 09:45:04
[RateCDR] => 1
)
[2025-01-09 09:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:45:04' and `end` < '2025-01-09 09:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:45:11] Production.ERROR: CronJobId end10
[2025-01-09 09:45:11] Production.INFO: ==13652== Releasing lock...
[2025-01-09 09:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:45:13] Production.INFO: call_cost start
[2025-01-09 09:45:13] Production.INFO: call_cost end
[2025-01-09 09:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:45:13] Production.INFO: ==13648== Releasing lock...
[2025-01-09 09:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:45:23] Production.INFO: count ==1784
[2025-01-09 09:45:24] Production.ERROR: pbx CDR StartTime 2025-01-09 06:45:04 - End Time 2025-01-09 09:45:04
[2025-01-09 09:45:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208746', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208746', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208746', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:45:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208746', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:45:24] Production.INFO: ProcessCDR(1,14208746,1,1,2)
[2025-01-09 09:45:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:45:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:45:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:45:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208746', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:45:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208746', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:45:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:45:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:45:27] Production.INFO: ==13656== Releasing lock...
[2025-01-09 09:45:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:45:27] Production.INFO: 41.5 MB #Memory Used#
[2025-01-09 14:46:02] Production.INFO: ==13719== Lock acquired, processing the job...
[2025-01-09 14:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:46:02] Production.INFO: neon service started
[2025-01-09 14:46:02] Production.INFO: neon service started
[2025-01-09 14:46:02] Production.INFO: ==13719== Releasing lock...
[2025-01-09 14:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:46:02] Production.INFO: ==13721== Lock acquired, processing the job...
[2025-01-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:46:02] Production.INFO: ==13723== Lock acquired, processing the job...
[2025-01-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:46:02] Production.INFO: ==13723== Releasing lock...
[2025-01-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:46:02] Production.INFO: ==13721== Releasing lock...
[2025-01-09 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:46:03] Production.INFO: ==13726== Lock acquired, processing the job...
[2025-01-09 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:46:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-01-09 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:46:03] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-01-09 09:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:46:03] Production.INFO: ==13728== Lock acquired, processing the job...
[2025-01-09 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:46:03] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-01-09 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:46:03] Production.INFO: ==13734== Lock acquired, processing the job...
[2025-01-09 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:46:03] Production.INFO: Account Balance Start.
[2025-01-09 09:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:46:03] Production.INFO: 117
[2025-01-09 09:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 09:46:04] Production.INFO: count ==21
[2025-01-09 09:46:04] Production.ERROR: done
[2025-01-09 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:46:04] Production.INFO: count ==21
[2025-01-09 09:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208750') start
[2025-01-09 09:46:04] Production.ERROR: done
[2025-01-09 09:46:04] Production.INFO: Total Charge 0
[2025-01-09 09:46:04] Production.INFO: ==13728== Releasing lock...
[2025-01-09 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:46:04] Production.INFO: CreateAllLog End
[2025-01-09 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208750') end
[2025-01-09 09:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:46:04] Production.INFO: 1
[2025-01-09 09:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:46:04] Production.INFO: ==13736== Releasing lock...
[2025-01-09 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:46:04] Production.INFO: Account Balance End.
[2025-01-09 09:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:46:04] Production.INFO: ==13732== Releasing lock...
[2025-01-09 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:46:05
[end_date_ymd] => 2025-01-09 09:46:05
[RateCDR] => 1
)
[2025-01-09 09:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:46:05' and `end` < '2025-01-09 09:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:46:10] Production.ERROR: CronJobId end10
[2025-01-09 09:46:10] Production.INFO: ==13730== Releasing lock...
[2025-01-09 09:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:46:13] Production.INFO: call_cost start
[2025-01-09 09:46:13] Production.INFO: call_cost end
[2025-01-09 09:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:46:14] Production.INFO: ==13726== Releasing lock...
[2025-01-09 09:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:46:19] Production.INFO: count ==1789
[2025-01-09 09:46:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:46:05 - End Time 2025-01-09 09:46:05
[2025-01-09 09:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208751', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208751', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208751', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208751', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:46:19] Production.INFO: ProcessCDR(1,14208751,1,1,2)
[2025-01-09 09:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208751', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208751', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:46:24] Production.INFO: ==13734== Releasing lock...
[2025-01-09 09:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:46:24] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 14:47:01] Production.INFO: ==13802== Lock acquired, processing the job...
[2025-01-09 14:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:47:01] Production.INFO: neon service started
[2025-01-09 14:47:01] Production.INFO: neon service started
[2025-01-09 14:47:01] Production.INFO: ==13802== Releasing lock...
[2025-01-09 14:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:47:01] Production.INFO: ==13804== Lock acquired, processing the job...
[2025-01-09 09:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:47:02] Production.INFO: ==13804== Releasing lock...
[2025-01-09 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:47:02] Production.INFO: ==13806== Lock acquired, processing the job...
[2025-01-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:47:02] Production.INFO: ==13806== Releasing lock...
[2025-01-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:47:03] Production.INFO: ==13808== Lock acquired, processing the job...
[2025-01-09 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:47:03] Production.INFO: ==13812== Lock acquired, processing the job...
[2025-01-09 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:47:03] Production.INFO: ==13810== Lock acquired, processing the job...
[2025-01-09 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:47:03] Production.INFO: ==13817== Lock acquired, processing the job...
[2025-01-09 09:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:47:03] Production.INFO: ==13814== Lock acquired, processing the job...
[2025-01-09 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:47:03] Production.INFO: ==13819== Lock acquired, processing the job...
[2025-01-09 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:47:03] Production.INFO: Account Balance Start.
[2025-01-09 09:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:47:03] Production.INFO: 117
[2025-01-09 09:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:47:03] Production.ERROR: done
[2025-01-09 09:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:47:03] Production.INFO: ==13810== Releasing lock...
[2025-01-09 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:47:03] Production.INFO: Total Charge 0
[2025-01-09 09:47:03] Production.INFO: CreateAllLog End
[2025-01-09 09:47:03] Production.INFO: count ==21
[2025-01-09 09:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:47:03] Production.INFO: count ==21
[2025-01-09 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208755') start
[2025-01-09 09:47:03] Production.ERROR: done
[2025-01-09 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208755') end
[2025-01-09 09:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:47:03] Production.INFO: 1
[2025-01-09 09:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:47:03] Production.INFO: ==13819== Releasing lock...
[2025-01-09 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:47:04] Production.INFO: Account Balance End.
[2025-01-09 09:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:47:04] Production.INFO: ==13814== Releasing lock...
[2025-01-09 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:47:04
[end_date_ymd] => 2025-01-09 09:47:04
[RateCDR] => 1
)
[2025-01-09 09:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:47:04' and `end` < '2025-01-09 09:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:47:10] Production.ERROR: CronJobId end10
[2025-01-09 09:47:10] Production.INFO: ==13812== Releasing lock...
[2025-01-09 09:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:47:12] Production.INFO: call_cost start
[2025-01-09 09:47:12] Production.INFO: call_cost end
[2025-01-09 09:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:47:13] Production.INFO: ==13808== Releasing lock...
[2025-01-09 09:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:47:18] Production.INFO: count ==1811
[2025-01-09 09:47:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:47:04 - End Time 2025-01-09 09:47:04
[2025-01-09 09:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208756', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208756', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208756', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208756', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:47:18] Production.INFO: ProcessCDR(1,14208756,1,1,2)
[2025-01-09 09:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208756', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208756', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:47:23] Production.INFO: ==13817== Releasing lock...
[2025-01-09 09:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:47:23] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 14:48:02] Production.INFO: ==13886== Lock acquired, processing the job...
[2025-01-09 14:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:48:02] Production.INFO: neon service started
[2025-01-09 14:48:02] Production.INFO: neon service started
[2025-01-09 14:48:02] Production.INFO: ==13886== Releasing lock...
[2025-01-09 14:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:48:02] Production.INFO: ==13890== Lock acquired, processing the job...
[2025-01-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:48:02] Production.INFO: ==13890== Releasing lock...
[2025-01-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:48:02] Production.INFO: ==13888== Lock acquired, processing the job...
[2025-01-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:48:02] Production.INFO: ==13888== Releasing lock...
[2025-01-09 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:48:03] Production.INFO: ==13892== Lock acquired, processing the job...
[2025-01-09 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:48:03] Production.INFO: ==13894== Lock acquired, processing the job...
[2025-01-09 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:48:03] Production.INFO: ==13903== Lock acquired, processing the job...
[2025-01-09 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:48:03] Production.INFO: ==13896== Lock acquired, processing the job...
[2025-01-09 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:48:03] Production.INFO: count ==21
[2025-01-09 09:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:48:03] Production.INFO: count ==21
[2025-01-09 09:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208759') start
[2025-01-09 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:48:03] Production.INFO: ==13894== Releasing lock...
[2025-01-09 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208759') end
[2025-01-09 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:48:04] Production.INFO: 1
[2025-01-09 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:48:04] Production.INFO: ==13899== Lock acquired, processing the job...
[2025-01-09 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:48:04] Production.INFO: ==13903== Releasing lock...
[2025-01-09 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:48:04] Production.INFO: ==13901== Lock acquired, processing the job...
[2025-01-09 09:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:48:04] Production.INFO: Account Balance Start.
[2025-01-09 09:48:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:48:04] Production.INFO: 117
[2025-01-09 09:48:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:48:04] Production.INFO: Total Charge 0
[2025-01-09 09:48:04] Production.INFO: CreateAllLog End
[2025-01-09 09:48:04] Production.ERROR: done
[2025-01-09 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:48:04] Production.INFO: Account Balance End.
[2025-01-09 09:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:48:04] Production.INFO: ==13899== Releasing lock...
[2025-01-09 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:48:04] Production.ERROR: done
[2025-01-09 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:48:05
[end_date_ymd] => 2025-01-09 09:48:05
[RateCDR] => 1
)
[2025-01-09 09:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:48:05' and `end` < '2025-01-09 09:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:48:11] Production.ERROR: CronJobId end10
[2025-01-09 09:48:11] Production.INFO: ==13896== Releasing lock...
[2025-01-09 09:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:48:13] Production.INFO: call_cost start
[2025-01-09 09:48:13] Production.INFO: call_cost end
[2025-01-09 09:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:48:14] Production.INFO: ==13892== Releasing lock...
[2025-01-09 09:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:48:18] Production.INFO: count ==1817
[2025-01-09 09:48:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:48:05 - End Time 2025-01-09 09:48:05
[2025-01-09 09:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208761', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208761', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208761', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208761', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:48:19] Production.INFO: ProcessCDR(1,14208761,1,1,2)
[2025-01-09 09:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208761', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208761', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:48:24] Production.INFO: ==13901== Releasing lock...
[2025-01-09 09:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:48:24] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 14:49:01] Production.INFO: ==13966== Lock acquired, processing the job...
[2025-01-09 14:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:49:01] Production.INFO: neon service started
[2025-01-09 14:49:01] Production.INFO: neon service started
[2025-01-09 14:49:01] Production.INFO: ==13966== Releasing lock...
[2025-01-09 14:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:49:01] Production.INFO: ==13970== Lock acquired, processing the job...
[2025-01-09 14:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:49:01] Production.INFO: ==13970== Releasing lock...
[2025-01-09 14:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:49:01] Production.INFO: ==13968== Lock acquired, processing the job...
[2025-01-09 09:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:49:02] Production.INFO: ==13968== Releasing lock...
[2025-01-09 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:49:02] Production.INFO: ==13973== Lock acquired, processing the job...
[2025-01-09 09:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:49:03] Production.INFO: ==13977== Lock acquired, processing the job...
[2025-01-09 09:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:49:03] Production.INFO: ==13979== Lock acquired, processing the job...
[2025-01-09 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:49:03] Production.INFO: Account Balance Start.
[2025-01-09 09:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:49:03] Production.INFO: 117
[2025-01-09 09:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:49:03] Production.INFO: ==13975== Lock acquired, processing the job...
[2025-01-09 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:49:03] Production.INFO: Total Charge 0
[2025-01-09 09:49:03] Production.INFO: CreateAllLog End
[2025-01-09 09:49:03] Production.INFO: ==13981== Lock acquired, processing the job...
[2025-01-09 09:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:49:03] Production.INFO: ==13983== Lock acquired, processing the job...
[2025-01-09 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:49:03] Production.INFO: Account Balance End.
[2025-01-09 09:49:03] Production.INFO: count ==21
[2025-01-09 09:49:03] Production.INFO: ==13975== Releasing lock...
[2025-01-09 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:49:03] Production.INFO: ==13979== Releasing lock...
[2025-01-09 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:49:03] Production.INFO: count ==21
[2025-01-09 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208765') start
[2025-01-09 09:49:03] Production.ERROR: done
[2025-01-09 09:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208765') end
[2025-01-09 09:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:49:03] Production.INFO: 1
[2025-01-09 09:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:49:04] Production.INFO: ==13983== Releasing lock...
[2025-01-09 09:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:49:04] Production.ERROR: done
[2025-01-09 09:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:49:05
[end_date_ymd] => 2025-01-09 09:49:05
[RateCDR] => 1
)
[2025-01-09 09:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:49:05' and `end` < '2025-01-09 09:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:49:10] Production.ERROR: CronJobId end10
[2025-01-09 09:49:10] Production.INFO: ==13977== Releasing lock...
[2025-01-09 09:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:49:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:49:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:49:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:49:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:49:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:49:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:49:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:49:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:49:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:49:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:49:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:49:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:49:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:49:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:49:12] Production.INFO: call_cost start
[2025-01-09 09:49:12] Production.INFO: call_cost end
[2025-01-09 09:49:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:49:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:49:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:49:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:49:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:49:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:49:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:49:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:49:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:49:12] Production.INFO: ==13973== Releasing lock...
[2025-01-09 09:49:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:49:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:49:18] Production.INFO: count ==1824
[2025-01-09 09:49:18] Production.ERROR: pbx CDR StartTime 2025-01-09 06:49:05 - End Time 2025-01-09 09:49:05
[2025-01-09 09:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208766', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208766', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208766', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208766', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:49:18] Production.INFO: ProcessCDR(1,14208766,1,1,2)
[2025-01-09 09:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208766', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208766', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:49:23] Production.INFO: ==13981== Releasing lock...
[2025-01-09 09:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:49:23] Production.INFO: 42 MB #Memory Used#
[2025-01-09 14:50:01] Production.INFO: ==14044== Lock acquired, processing the job...
[2025-01-09 14:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:50:01] Production.INFO: neon service started
[2025-01-09 14:50:02] Production.INFO: neon service started
[2025-01-09 14:50:02] Production.INFO: ==14044== Releasing lock...
[2025-01-09 14:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:50:02] Production.INFO: ==14046== Lock acquired, processing the job...
[2025-01-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:50:02] Production.INFO: ==14048== Lock acquired, processing the job...
[2025-01-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:50:02] Production.INFO: ==14048== Releasing lock...
[2025-01-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:50:02] Production.INFO: ==14046== Releasing lock...
[2025-01-09 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:50:03] Production.INFO: ==14054== Lock acquired, processing the job...
[2025-01-09 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:50:03] Production.INFO: ==14063== Lock acquired, processing the job...
[2025-01-09 09:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 09:50:03] Production.INFO: ==14050== Lock acquired, processing the job...
[2025-01-09 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 09:50:03] Production.INFO: ==14065== Lock acquired, processing the job...
[2025-01-09 09:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:50:04] Production.INFO: ==14052== Lock acquired, processing the job...
[2025-01-09 09:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:50:04] Production.INFO: ==14054== Releasing lock...
[2025-01-09 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 09:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:50:04] Production.ERROR: CronJob PID - 14063
[2025-01-09 09:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 09:50:04] Production.ERROR: CronJob ID - 17
[2025-01-09 09:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 09:50:00
[2025-01-09 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 09:50:04] Production.ERROR: CronJob PID - 14065
[2025-01-09 09:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 09:50:04] Production.ERROR: CronJob ID - 19
[2025-01-09 09:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 09:50:00
[2025-01-09 09:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 09:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 09:50:04] Production.INFO: ==14057== Lock acquired, processing the job...
[2025-01-09 09:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:50:04] Production.INFO: count ==21
[2025-01-09 09:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:50:04] Production.INFO: count ==21
[2025-01-09 09:50:04] Production.INFO: ==14059== Lock acquired, processing the job...
[2025-01-09 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 09:50:04] Production.INFO: ==14050== Releasing lock...
[2025-01-09 09:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 09:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208768') start
[2025-01-09 09:50:04] Production.INFO: ==14061== Lock acquired, processing the job...
[2025-01-09 09:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:50:04] Production.INFO: Account Balance Start.
[2025-01-09 09:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:50:04] Production.INFO: 117
[2025-01-09 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208768') end
[2025-01-09 09:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:50:04] Production.INFO: 1
[2025-01-09 09:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:50:04] Production.ERROR: done
[2025-01-09 09:50:04] Production.INFO: ==14065== Releasing lock...
[2025-01-09 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:50:04] Production.INFO: Total Charge 0
[2025-01-09 09:50:04] Production.INFO: CreateAllLog End
[2025-01-09 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208771', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 09:50:04] Production.ERROR: done
[2025-01-09 09:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:50:04] Production.ERROR: done
[2025-01-09 09:50:04] Production.INFO: Account Balance End.
[2025-01-09 09:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:50:04] Production.INFO: ==14059== Releasing lock...
[2025-01-09 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:50:06
[end_date_ymd] => 2025-01-09 09:50:06
[RateCDR] => 1
)
[2025-01-09 09:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:50:06' and `end` < '2025-01-09 09:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208771', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 09:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 09:50:08] Production.INFO: ProcessCDR(1,14208771,1,1,2)
[2025-01-09 09:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208771,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208771,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:50:08] Production.INFO: ==14063== Releasing lock...
[2025-01-09 09:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 09:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 09:50:12] Production.ERROR: CronJobId end10
[2025-01-09 09:50:12] Production.INFO: ==14057== Releasing lock...
[2025-01-09 09:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:50:14] Production.INFO: call_cost start
[2025-01-09 09:50:14] Production.INFO: call_cost end
[2025-01-09 09:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:50:15] Production.INFO: ==14052== Releasing lock...
[2025-01-09 09:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:50:25] Production.INFO: count ==1835
[2025-01-09 09:50:26] Production.ERROR: pbx CDR StartTime 2025-01-09 06:50:06 - End Time 2025-01-09 09:50:06
[2025-01-09 09:50:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:50:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208772', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:50:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208772', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:50:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208772', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:50:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208772', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:50:26] Production.INFO: ProcessCDR(1,14208772,1,1,2)
[2025-01-09 09:50:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:50:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:50:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:50:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:50:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208772', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:50:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208772', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:50:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:50:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:50:31] Production.INFO: ==14061== Releasing lock...
[2025-01-09 09:50:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:50:31] Production.INFO: 41.75 MB #Memory Used#
[2025-01-09 14:51:01] Production.INFO: ==14130== Lock acquired, processing the job...
[2025-01-09 14:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:51:01] Production.INFO: neon service started
[2025-01-09 14:51:01] Production.INFO: neon service started
[2025-01-09 14:51:01] Production.INFO: ==14130== Releasing lock...
[2025-01-09 14:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:51:01] Production.INFO: ==14134== Lock acquired, processing the job...
[2025-01-09 14:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:51:02] Production.INFO: ==14134== Releasing lock...
[2025-01-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:51:02] Production.INFO: ==14132== Lock acquired, processing the job...
[2025-01-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:51:02] Production.INFO: ==14132== Releasing lock...
[2025-01-09 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:51:03] Production.INFO: ==14145== Lock acquired, processing the job...
[2025-01-09 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:51:03] Production.INFO: ==14141== Lock acquired, processing the job...
[2025-01-09 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:51:03] Production.INFO: ==14136== Lock acquired, processing the job...
[2025-01-09 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:51:03] Production.INFO: ==14138== Lock acquired, processing the job...
[2025-01-09 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:51:03] Production.INFO: ==14143== Lock acquired, processing the job...
[2025-01-09 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:51:03] Production.INFO: ==14147== Lock acquired, processing the job...
[2025-01-09 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:51:03] Production.INFO: Account Balance Start.
[2025-01-09 09:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:51:03] Production.INFO: 117
[2025-01-09 09:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:51:03] Production.INFO: count ==21
[2025-01-09 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:51:03] Production.INFO: count ==21
[2025-01-09 09:51:03] Production.ERROR: done
[2025-01-09 09:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:51:03] Production.INFO: Total Charge 0
[2025-01-09 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208775') start
[2025-01-09 09:51:03] Production.INFO: CreateAllLog End
[2025-01-09 09:51:03] Production.ERROR: done
[2025-01-09 09:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208775') end
[2025-01-09 09:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:51:03] Production.INFO: 1
[2025-01-09 09:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:51:03] Production.INFO: ==14138== Releasing lock...
[2025-01-09 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:51:03] Production.INFO: ==14147== Releasing lock...
[2025-01-09 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:51:03] Production.INFO: Account Balance End.
[2025-01-09 09:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 09:51:03] Production.INFO: ==14143== Releasing lock...
[2025-01-09 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:51:04
[end_date_ymd] => 2025-01-09 09:51:04
[RateCDR] => 1
)
[2025-01-09 09:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:51:04' and `end` < '2025-01-09 09:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:51:11] Production.ERROR: CronJobId end10
[2025-01-09 09:51:11] Production.INFO: ==14141== Releasing lock...
[2025-01-09 09:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:51:12] Production.INFO: call_cost start
[2025-01-09 09:51:12] Production.INFO: call_cost end
[2025-01-09 09:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:51:13] Production.INFO: ==14136== Releasing lock...
[2025-01-09 09:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:51:24] Production.INFO: count ==1891
[2025-01-09 09:51:25] Production.ERROR: pbx CDR StartTime 2025-01-09 06:51:04 - End Time 2025-01-09 09:51:04
[2025-01-09 09:51:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208777', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208777', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208777', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208777', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:51:25] Production.INFO: ProcessCDR(1,14208777,1,1,2)
[2025-01-09 09:51:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:51:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:51:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:51:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208777', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208777', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:51:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:51:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:51:30] Production.INFO: ==14145== Releasing lock...
[2025-01-09 09:51:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:51:30] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 14:52:02] Production.INFO: ==14212== Lock acquired, processing the job...
[2025-01-09 14:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:52:02] Production.INFO: neon service started
[2025-01-09 14:52:02] Production.INFO: neon service started
[2025-01-09 14:52:02] Production.INFO: ==14212== Releasing lock...
[2025-01-09 14:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:52:02] Production.INFO: ==14214== Lock acquired, processing the job...
[2025-01-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:52:02] Production.INFO: ==14214== Releasing lock...
[2025-01-09 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:52:02] Production.INFO: ==14216== Lock acquired, processing the job...
[2025-01-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:52:02] Production.INFO: ==14216== Releasing lock...
[2025-01-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:52:03] Production.INFO: ==14224== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:52:03] Production.INFO: ==14218== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:52:03] Production.INFO: ==14220== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:52:03] Production.INFO: Account Balance Start.
[2025-01-09 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:52:03] Production.INFO: 117
[2025-01-09 09:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:52:03] Production.INFO: ==14222== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:52:03] Production.INFO: ==14226== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:52:03] Production.INFO: Total Charge 0
[2025-01-09 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:52:03] Production.INFO: CreateAllLog End
[2025-01-09 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:52:03] Production.INFO: ==14228== Lock acquired, processing the job...
[2025-01-09 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:52:04] Production.INFO: ==14220== Releasing lock...
[2025-01-09 09:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:52:04] Production.INFO: Account Balance End.
[2025-01-09 09:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:52:04] Production.INFO: count ==21
[2025-01-09 09:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:52:04] Production.INFO: count ==21
[2025-01-09 09:52:04] Production.ERROR: done
[2025-01-09 09:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:52:04] Production.INFO: ==14224== Releasing lock...
[2025-01-09 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208781') start
[2025-01-09 09:52:04] Production.ERROR: done
[2025-01-09 09:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208781') end
[2025-01-09 09:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:52:04] Production.INFO: 1
[2025-01-09 09:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:52:04] Production.INFO: ==14228== Releasing lock...
[2025-01-09 09:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:52:05
[end_date_ymd] => 2025-01-09 09:52:05
[RateCDR] => 1
)
[2025-01-09 09:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:52:05' and `end` < '2025-01-09 09:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:52:10] Production.ERROR: CronJobId end10
[2025-01-09 09:52:10] Production.INFO: ==14222== Releasing lock...
[2025-01-09 09:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:52:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:52:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:52:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:52:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:52:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:52:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:52:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:52:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:52:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:52:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:52:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:52:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:52:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:52:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:52:14] Production.INFO: call_cost start
[2025-01-09 09:52:14] Production.INFO: call_cost end
[2025-01-09 09:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:52:15] Production.INFO: ==14218== Releasing lock...
[2025-01-09 09:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:52:22] Production.INFO: count ==1908
[2025-01-09 09:52:23] Production.ERROR: pbx CDR StartTime 2025-01-09 06:52:05 - End Time 2025-01-09 09:52:05
[2025-01-09 09:52:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208782', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208782', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208782', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208782', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:52:23] Production.INFO: ProcessCDR(1,14208782,1,1,2)
[2025-01-09 09:52:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:52:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:52:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:52:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208782', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:52:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208782', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:52:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:52:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:52:26] Production.INFO: ==14226== Releasing lock...
[2025-01-09 09:52:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:52:26] Production.INFO: 42.25 MB #Memory Used#
[2025-01-09 14:53:01] Production.INFO: ==14287== Lock acquired, processing the job...
[2025-01-09 14:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:53:01] Production.INFO: neon service started
[2025-01-09 14:53:01] Production.INFO: neon service started
[2025-01-09 14:53:01] Production.INFO: ==14287== Releasing lock...
[2025-01-09 14:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:53:02] Production.INFO: ==14291== Lock acquired, processing the job...
[2025-01-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:53:02] Production.INFO: ==14291== Releasing lock...
[2025-01-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:53:02] Production.INFO: ==14289== Lock acquired, processing the job...
[2025-01-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:53:02] Production.INFO: ==14289== Releasing lock...
[2025-01-09 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:53:03] Production.INFO: ==14296== Lock acquired, processing the job...
[2025-01-09 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:53:03] Production.INFO: ==14300== Lock acquired, processing the job...
[2025-01-09 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:53:03] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-01-09 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:53:03] Production.INFO: Account Balance Start.
[2025-01-09 09:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:53:03] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-01-09 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:53:03] Production.INFO: 117
[2025-01-09 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:53:03] Production.INFO: ==14304== Lock acquired, processing the job...
[2025-01-09 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:53:03] Production.INFO: Total Charge 0
[2025-01-09 09:53:03] Production.INFO: CreateAllLog End
[2025-01-09 09:53:03] Production.INFO: ==14296== Releasing lock...
[2025-01-09 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:53:04] Production.INFO: ==14302== Lock acquired, processing the job...
[2025-01-09 09:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:53:04] Production.INFO: count ==21
[2025-01-09 09:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:53:04] Production.INFO: count ==21
[2025-01-09 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208785') start
[2025-01-09 09:53:04] Production.INFO: Account Balance End.
[2025-01-09 09:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:53:04] Production.INFO: ==14300== Releasing lock...
[2025-01-09 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208785') end
[2025-01-09 09:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:53:04] Production.INFO: 1
[2025-01-09 09:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:53:04] Production.INFO: ==14304== Releasing lock...
[2025-01-09 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:53:04] Production.ERROR: done
[2025-01-09 09:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:53:04] Production.ERROR: done
[2025-01-09 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:53:05
[end_date_ymd] => 2025-01-09 09:53:05
[RateCDR] => 1
)
[2025-01-09 09:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:53:05' and `end` < '2025-01-09 09:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:53:11] Production.ERROR: CronJobId end10
[2025-01-09 09:53:11] Production.INFO: ==14298== Releasing lock...
[2025-01-09 09:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:53:13] Production.INFO: call_cost start
[2025-01-09 09:53:13] Production.INFO: call_cost end
[2025-01-09 09:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:53:14] Production.INFO: ==14294== Releasing lock...
[2025-01-09 09:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:53:19] Production.INFO: count ==1911
[2025-01-09 09:53:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:53:05 - End Time 2025-01-09 09:53:05
[2025-01-09 09:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208787', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208787', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208787', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208787', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:53:20] Production.INFO: ProcessCDR(1,14208787,1,1,2)
[2025-01-09 09:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208787', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208787', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:53:24] Production.INFO: ==14302== Releasing lock...
[2025-01-09 09:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:53:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-09 14:54:02] Production.INFO: ==14369== Lock acquired, processing the job...
[2025-01-09 14:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:54:02] Production.INFO: neon service started
[2025-01-09 14:54:02] Production.INFO: neon service started
[2025-01-09 14:54:02] Production.INFO: ==14369== Releasing lock...
[2025-01-09 14:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:54:02] Production.INFO: ==14372== Lock acquired, processing the job...
[2025-01-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:54:02] Production.INFO: ==14372== Releasing lock...
[2025-01-09 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:54:02] Production.INFO: ==14374== Lock acquired, processing the job...
[2025-01-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:54:02] Production.INFO: ==14374== Releasing lock...
[2025-01-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:54:03] Production.INFO: ==14376== Lock acquired, processing the job...
[2025-01-09 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:54:03] Production.INFO: ==14384== Lock acquired, processing the job...
[2025-01-09 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:54:03] Production.INFO: ==14386== Lock acquired, processing the job...
[2025-01-09 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:54:04] Production.INFO: ==14378== Lock acquired, processing the job...
[2025-01-09 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:54:04] Production.INFO: ==14380== Lock acquired, processing the job...
[2025-01-09 09:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:54:04] Production.INFO: ==14382== Lock acquired, processing the job...
[2025-01-09 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:54:04] Production.INFO: count ==21
[2025-01-09 09:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:54:04] Production.INFO: count ==21
[2025-01-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208789') start
[2025-01-09 09:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:54:04] Production.ERROR: done
[2025-01-09 09:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208789') end
[2025-01-09 09:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:54:04] Production.INFO: 1
[2025-01-09 09:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:54:04] Production.INFO: Account Balance Start.
[2025-01-09 09:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:54:04] Production.INFO: 117
[2025-01-09 09:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:54:04] Production.INFO: ==14386== Releasing lock...
[2025-01-09 09:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:54:04] Production.INFO: Total Charge 0
[2025-01-09 09:54:04] Production.INFO: CreateAllLog End
[2025-01-09 09:54:04] Production.INFO: ==14378== Releasing lock...
[2025-01-09 09:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:54:04] Production.ERROR: done
[2025-01-09 09:54:04] Production.INFO: Account Balance End.
[2025-01-09 09:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:54:04] Production.INFO: ==14382== Releasing lock...
[2025-01-09 09:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:54:05
[end_date_ymd] => 2025-01-09 09:54:05
[RateCDR] => 1
)
[2025-01-09 09:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:54:05' and `end` < '2025-01-09 09:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:54:12] Production.ERROR: CronJobId end10
[2025-01-09 09:54:12] Production.INFO: ==14380== Releasing lock...
[2025-01-09 09:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:54:13] Production.INFO: call_cost start
[2025-01-09 09:54:13] Production.INFO: call_cost end
[2025-01-09 09:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:54:14] Production.INFO: ==14376== Releasing lock...
[2025-01-09 09:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:54:19] Production.INFO: count ==1923
[2025-01-09 09:54:19] Production.ERROR: pbx CDR StartTime 2025-01-09 06:54:05 - End Time 2025-01-09 09:54:05
[2025-01-09 09:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208792', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208792', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208792', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208792', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:54:20] Production.INFO: ProcessCDR(1,14208792,1,1,2)
[2025-01-09 09:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208792', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208792', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:54:24] Production.INFO: ==14384== Releasing lock...
[2025-01-09 09:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:54:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-09 14:55:01] Production.INFO: ==14445== Lock acquired, processing the job...
[2025-01-09 14:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:55:01] Production.INFO: neon service started
[2025-01-09 14:55:01] Production.INFO: neon service started
[2025-01-09 14:55:01] Production.INFO: ==14445== Releasing lock...
[2025-01-09 14:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:55:02] Production.INFO: ==14448== Lock acquired, processing the job...
[2025-01-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:55:02] Production.INFO: ==14450== Lock acquired, processing the job...
[2025-01-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:55:02] Production.INFO: ==14450== Releasing lock...
[2025-01-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:55:02] Production.INFO: ==14448== Releasing lock...
[2025-01-09 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:55:03] Production.INFO: ==14454== Lock acquired, processing the job...
[2025-01-09 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:55:03] Production.INFO: ==14458== Lock acquired, processing the job...
[2025-01-09 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:55:04] Production.INFO: Account Balance Start.
[2025-01-09 09:55:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:55:04] Production.INFO: 117
[2025-01-09 09:55:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:55:04] Production.INFO: ==14452== Lock acquired, processing the job...
[2025-01-09 09:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:55:04] Production.INFO: Total Charge 0
[2025-01-09 09:55:04] Production.INFO: CreateAllLog End
[2025-01-09 09:55:04] Production.INFO: ==14456== Lock acquired, processing the job...
[2025-01-09 09:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:55:04] Production.INFO: Account Balance End.
[2025-01-09 09:55:04] Production.INFO: ==14460== Lock acquired, processing the job...
[2025-01-09 09:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:55:04] Production.INFO: ==14462== Lock acquired, processing the job...
[2025-01-09 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:55:04] Production.INFO: ==14454== Releasing lock...
[2025-01-09 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:55:04] Production.INFO: ==14458== Releasing lock...
[2025-01-09 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:55:04] Production.INFO: count ==21
[2025-01-09 09:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:55:04] Production.INFO: count ==21
[2025-01-09 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208796') start
[2025-01-09 09:55:04] Production.ERROR: done
[2025-01-09 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208796') end
[2025-01-09 09:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:55:04] Production.INFO: 1
[2025-01-09 09:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:55:05] Production.ERROR: done
[2025-01-09 09:55:05] Production.INFO: ==14462== Releasing lock...
[2025-01-09 09:55:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:55:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:55:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:55:06
[end_date_ymd] => 2025-01-09 09:55:06
[RateCDR] => 1
)
[2025-01-09 09:55:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:55:06' and `end` < '2025-01-09 09:55:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:55:11] Production.ERROR: CronJobId end10
[2025-01-09 09:55:11] Production.INFO: ==14456== Releasing lock...
[2025-01-09 09:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:55:14] Production.INFO: call_cost start
[2025-01-09 09:55:14] Production.INFO: call_cost end
[2025-01-09 09:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:55:15] Production.INFO: ==14452== Releasing lock...
[2025-01-09 09:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:55:19] Production.INFO: count ==1933
[2025-01-09 09:55:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:55:06 - End Time 2025-01-09 09:55:06
[2025-01-09 09:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208797', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208797', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208797', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208797', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:55:20] Production.INFO: ProcessCDR(1,14208797,1,1,2)
[2025-01-09 09:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208797', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:55:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208797', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:55:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:55:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:55:25] Production.INFO: ==14460== Releasing lock...
[2025-01-09 09:55:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:55:25] Production.INFO: 42.5 MB #Memory Used#
[2025-01-09 14:56:02] Production.INFO: ==14523== Lock acquired, processing the job...
[2025-01-09 14:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:56:02] Production.INFO: neon service started
[2025-01-09 14:56:02] Production.INFO: neon service started
[2025-01-09 14:56:02] Production.INFO: ==14523== Releasing lock...
[2025-01-09 14:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:56:02] Production.INFO: ==14525== Lock acquired, processing the job...
[2025-01-09 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:56:02] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-01-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:56:02] Production.INFO: ==14527== Releasing lock...
[2025-01-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:56:03] Production.INFO: ==14525== Releasing lock...
[2025-01-09 09:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:56:03] Production.INFO: ==14530== Lock acquired, processing the job...
[2025-01-09 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:56:03] Production.INFO: ==14536== Lock acquired, processing the job...
[2025-01-09 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:56:03] Production.INFO: Account Balance Start.
[2025-01-09 09:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:56:03] Production.INFO: 117
[2025-01-09 09:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:56:04] Production.INFO: ==14532== Lock acquired, processing the job...
[2025-01-09 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:56:04] Production.INFO: Total Charge 0
[2025-01-09 09:56:04] Production.INFO: CreateAllLog End
[2025-01-09 09:56:04] Production.INFO: ==14534== Lock acquired, processing the job...
[2025-01-09 09:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:56:04] Production.INFO: ==14538== Lock acquired, processing the job...
[2025-01-09 09:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:56:04] Production.INFO: Account Balance End.
[2025-01-09 09:56:04] Production.INFO: ==14540== Lock acquired, processing the job...
[2025-01-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:56:04] Production.INFO: ==14536== Releasing lock...
[2025-01-09 09:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:56:04] Production.INFO: count ==21
[2025-01-09 09:56:04] Production.INFO: ==14532== Releasing lock...
[2025-01-09 09:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:56:04] Production.INFO: count ==21
[2025-01-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208801') start
[2025-01-09 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208801') end
[2025-01-09 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:56:04] Production.INFO: 1
[2025-01-09 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:56:04] Production.ERROR: done
[2025-01-09 09:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:56:04] Production.INFO: ==14540== Releasing lock...
[2025-01-09 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:56:04] Production.ERROR: done
[2025-01-09 09:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:56:05
[end_date_ymd] => 2025-01-09 09:56:05
[RateCDR] => 1
)
[2025-01-09 09:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:56:05' and `end` < '2025-01-09 09:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:56:12] Production.ERROR: CronJobId end10
[2025-01-09 09:56:12] Production.INFO: ==14534== Releasing lock...
[2025-01-09 09:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:56:14] Production.INFO: call_cost start
[2025-01-09 09:56:14] Production.INFO: call_cost end
[2025-01-09 09:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:56:15] Production.INFO: ==14530== Releasing lock...
[2025-01-09 09:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:56:38] Production.INFO: count ==1955
[2025-01-09 09:56:39] Production.ERROR: pbx CDR StartTime 2025-01-09 06:56:05 - End Time 2025-01-09 09:56:05
[2025-01-09 09:56:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208802', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208802', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208802', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:56:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208802', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:56:39] Production.INFO: ProcessCDR(1,14208802,1,1,2)
[2025-01-09 09:56:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:56:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:56:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:56:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:56:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208802', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:56:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208802', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:56:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:56:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:56:44] Production.INFO: ==14538== Releasing lock...
[2025-01-09 09:56:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:56:44] Production.INFO: 42.75 MB #Memory Used#
[2025-01-09 14:57:01] Production.INFO: ==14635== Lock acquired, processing the job...
[2025-01-09 14:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:57:01] Production.INFO: neon service started
[2025-01-09 14:57:01] Production.INFO: neon service started
[2025-01-09 14:57:01] Production.INFO: ==14635== Releasing lock...
[2025-01-09 14:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 09:57:02] Production.INFO: ==14637== Lock acquired, processing the job...
[2025-01-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:57:02] Production.INFO: ==14639== Lock acquired, processing the job...
[2025-01-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 09:57:02] Production.INFO: ==14637== Releasing lock...
[2025-01-09 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:57:02] Production.INFO: ==14639== Releasing lock...
[2025-01-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:57:03] Production.INFO: ==14645== Lock acquired, processing the job...
[2025-01-09 09:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:57:03] Production.INFO: ==14641== Lock acquired, processing the job...
[2025-01-09 09:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:57:03] Production.INFO: ==14651== Lock acquired, processing the job...
[2025-01-09 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:57:03] Production.INFO: ==14643== Lock acquired, processing the job...
[2025-01-09 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:57:03] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-01-09 09:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:57:03] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-01-09 09:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:57:03] Production.INFO: Account Balance Start.
[2025-01-09 09:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:57:03] Production.INFO: 117
[2025-01-09 09:57:03] Production.INFO: count ==21
[2025-01-09 09:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:57:03] Production.INFO: count ==21
[2025-01-09 09:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208804') start
[2025-01-09 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 09:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:57:04] Production.INFO: Total Charge 0
[2025-01-09 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208804') end
[2025-01-09 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:57:04] Production.INFO: 1
[2025-01-09 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:57:04] Production.INFO: CreateAllLog End
[2025-01-09 09:57:04] Production.INFO: ==14643== Releasing lock...
[2025-01-09 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:57:04] Production.ERROR: done
[2025-01-09 09:57:04] Production.INFO: ==14651== Releasing lock...
[2025-01-09 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:57:04] Production.ERROR: done
[2025-01-09 09:57:04] Production.INFO: Account Balance End.
[2025-01-09 09:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:57:04] Production.INFO: ==14647== Releasing lock...
[2025-01-09 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:57:05
[end_date_ymd] => 2025-01-09 09:57:05
[RateCDR] => 1
)
[2025-01-09 09:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:57:05' and `end` < '2025-01-09 09:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:57:10] Production.ERROR: CronJobId end10
[2025-01-09 09:57:10] Production.INFO: ==14645== Releasing lock...
[2025-01-09 09:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:57:13] Production.INFO: call_cost start
[2025-01-09 09:57:13] Production.INFO: call_cost end
[2025-01-09 09:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:57:13] Production.INFO: ==14641== Releasing lock...
[2025-01-09 09:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:57:21] Production.INFO: count ==1992
[2025-01-09 09:57:22] Production.ERROR: pbx CDR StartTime 2025-01-09 06:57:05 - End Time 2025-01-09 09:57:05
[2025-01-09 09:57:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208807', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208807', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208807', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:57:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208807', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:57:22] Production.INFO: ProcessCDR(1,14208807,1,1,2)
[2025-01-09 09:57:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:57:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:57:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208807', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208807', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:57:27] Production.INFO: ==14649== Releasing lock...
[2025-01-09 09:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:57:27] Production.INFO: 43.25 MB #Memory Used#
[2025-01-09 14:58:02] Production.INFO: ==14705== Lock acquired, processing the job...
[2025-01-09 14:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:58:02] Production.INFO: neon service started
[2025-01-09 14:58:02] Production.INFO: neon service started
[2025-01-09 14:58:02] Production.INFO: ==14705== Releasing lock...
[2025-01-09 14:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:58:02] Production.INFO: ==14709== Lock acquired, processing the job...
[2025-01-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:58:02] Production.INFO: ==14709== Releasing lock...
[2025-01-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:58:02] Production.INFO: ==14707== Lock acquired, processing the job...
[2025-01-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:58:02] Production.INFO: ==14707== Releasing lock...
[2025-01-09 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:58:03] Production.INFO: ==14711== Lock acquired, processing the job...
[2025-01-09 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:58:03] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-01-09 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:58:03] Production.INFO: ==14715== Lock acquired, processing the job...
[2025-01-09 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:58:03] Production.INFO: ==14713== Lock acquired, processing the job...
[2025-01-09 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:58:04] Production.INFO: ==14717== Lock acquired, processing the job...
[2025-01-09 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:58:04] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-09 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:58:04] Production.INFO: Account Balance Start.
[2025-01-09 09:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 09:58:04] Production.INFO: 117
[2025-01-09 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-01-09 09:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:58:04] Production.INFO: count ==21
[2025-01-09 09:58:04] Production.ERROR: done
[2025-01-09 09:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:58:04] Production.INFO: count ==21
[2025-01-09 09:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:58:04] Production.INFO: ==14713== Releasing lock...
[2025-01-09 09:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208811') start
[2025-01-09 09:58:04] Production.INFO: Total Charge 0
[2025-01-09 09:58:04] Production.INFO: CreateAllLog End
[2025-01-09 09:58:04] Production.ERROR: done
[2025-01-09 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208811') end
[2025-01-09 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:58:04] Production.INFO: 1
[2025-01-09 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:58:04] Production.INFO: ==14721== Releasing lock...
[2025-01-09 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:58:04] Production.INFO: Account Balance End.
[2025-01-09 09:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:58:04] Production.INFO: ==14717== Releasing lock...
[2025-01-09 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:58:05
[end_date_ymd] => 2025-01-09 09:58:05
[RateCDR] => 1
)
[2025-01-09 09:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:58:05' and `end` < '2025-01-09 09:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:58:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-01-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-09 09:58:10] Production.ERROR: CronJobId end10
[2025-01-09 09:58:10] Production.INFO: ==14715== Releasing lock...
[2025-01-09 09:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:58:13] Production.INFO: call_cost start
[2025-01-09 09:58:13] Production.INFO: call_cost end
[2025-01-09 09:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:58:14] Production.INFO: ==14711== Releasing lock...
[2025-01-09 09:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:58:20] Production.INFO: count ==2002
[2025-01-09 09:58:20] Production.ERROR: pbx CDR StartTime 2025-01-09 06:58:05 - End Time 2025-01-09 09:58:05
[2025-01-09 09:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208812', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208812', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208812', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208812', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:58:20] Production.INFO: ProcessCDR(1,14208812,1,1,2)
[2025-01-09 09:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:58:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:58:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:58:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208812', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208812', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:58:25] Production.INFO: ==14719== Releasing lock...
[2025-01-09 09:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:58:25] Production.INFO: 43.25 MB #Memory Used#
[2025-01-09 14:59:01] Production.INFO: ==14775== Lock acquired, processing the job...
[2025-01-09 14:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 14:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 14:59:01] Production.INFO: neon service started
[2025-01-09 14:59:01] Production.INFO: neon service started
[2025-01-09 14:59:01] Production.INFO: ==14775== Releasing lock...
[2025-01-09 14:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 14:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:59:02] Production.INFO: ==14779== Lock acquired, processing the job...
[2025-01-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:59:02] Production.INFO: ==14779== Releasing lock...
[2025-01-09 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 09:59:02] Production.INFO: ==14777== Lock acquired, processing the job...
[2025-01-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 09:59:02] Production.INFO: ==14777== Releasing lock...
[2025-01-09 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 09:59:03] Production.INFO: ==14781== Lock acquired, processing the job...
[2025-01-09 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 09:59:03] Production.INFO: ==14783== Lock acquired, processing the job...
[2025-01-09 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 09:59:03] Production.INFO: ==14789== Lock acquired, processing the job...
[2025-01-09 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 09:59:03] Production.INFO: ==14785== Lock acquired, processing the job...
[2025-01-09 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 09:59:03] Production.INFO: ==14787== Lock acquired, processing the job...
[2025-01-09 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 09:59:03] Production.INFO: ==14791== Lock acquired, processing the job...
[2025-01-09 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 09:59:03] Production.INFO: ==14783== Releasing lock...
[2025-01-09 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 09:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 09:59:03] Production.ERROR: done
[2025-01-09 09:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 09:59:03] Production.INFO: Account Balance Start.
[2025-01-09 09:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 09:59:03] Production.INFO: 117
[2025-01-09 09:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 09:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 09:59:03] Production.INFO: count ==21
[2025-01-09 09:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 09:59:03] Production.INFO: count ==21
[2025-01-09 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208816') start
[2025-01-09 09:59:04] Production.ERROR: done
[2025-01-09 09:59:04] Production.INFO: Date 2025-01-09
[2025-01-09 09:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 09:59:04] Production.INFO: Total Charge 0
[2025-01-09 09:59:04] Production.INFO: CreateAllLog End
[2025-01-09 09:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208816') end
[2025-01-09 09:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 09:59:04] Production.INFO: 1
[2025-01-09 09:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 09:59:04] Production.INFO: ==14791== Releasing lock...
[2025-01-09 09:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 09:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 09:59:04] Production.INFO: Account Balance End.
[2025-01-09 09:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 09:59:04] Production.INFO: ==14787== Releasing lock...
[2025-01-09 09:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 09:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 09:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 06:59:05
[end_date_ymd] => 2025-01-09 09:59:05
[RateCDR] => 1
)
[2025-01-09 09:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 06:59:05' and `end` < '2025-01-09 09:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 09:59:10] Production.ERROR: CronJobId end10
[2025-01-09 09:59:10] Production.INFO: ==14785== Releasing lock...
[2025-01-09 09:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 09:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 09:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 09:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 09:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 09:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 09:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 09:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 09:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 09:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 09:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 09:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 09:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 09:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 09:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 09:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 09:59:12] Production.INFO: call_cost start
[2025-01-09 09:59:12] Production.INFO: call_cost end
[2025-01-09 09:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 09:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 09:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 09:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 09:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 09:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 09:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 09:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 09:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 09:59:13] Production.INFO: ==14781== Releasing lock...
[2025-01-09 09:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 09:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 09:59:22] Production.INFO: count ==2022
[2025-01-09 09:59:23] Production.ERROR: pbx CDR StartTime 2025-01-09 06:59:05 - End Time 2025-01-09 09:59:05
[2025-01-09 09:59:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 09:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208817', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208817', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208817', 'tblTempVendorCDR_20' ) start
[2025-01-09 09:59:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208817', 'tblTempVendorCDR_20' ) end
[2025-01-09 09:59:23] Production.INFO: ProcessCDR(1,14208817,1,1,2)
[2025-01-09 09:59:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:59:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 09:59:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:59:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 09:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208817', 'tblTempUsageDetail_20' ) start
[2025-01-09 09:59:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208817', 'tblTempUsageDetail_20' ) end
[2025-01-09 09:59:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 09:59:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 09:59:27] Production.INFO: ==14789== Releasing lock...
[2025-01-09 09:59:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 09:59:27] Production.INFO: 43.5 MB #Memory Used#
[2025-01-09 15:00:02] Production.INFO: ==14849== Lock acquired, processing the job...
[2025-01-09 15:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:00:02] Production.INFO: neon service started
[2025-01-09 15:00:02] Production.INFO: neon service started
[2025-01-09 15:00:02] Production.INFO: ==14849== Releasing lock...
[2025-01-09 15:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:00:02] Production.INFO: ==14851== Lock acquired, processing the job...
[2025-01-09 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:00:02] Production.INFO: ==14853== Lock acquired, processing the job...
[2025-01-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:00:02] Production.INFO: ==14853== Releasing lock...
[2025-01-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:00:03] Production.INFO: ==14851== Releasing lock...
[2025-01-09 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:00:04] Production.INFO: ==14856== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 10:00:04] Production.INFO: ==14860== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:00:04] Production.INFO: ==14858== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 10:00:04] Production.ERROR: CronJob PID - 14858
[2025-01-09 10:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 10:00:04] Production.ERROR: CronJob ID - 5
[2025-01-09 10:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 10:00:00
[2025-01-09 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 10:00:04] Production.ERROR: CronJob PID - 14860
[2025-01-09 10:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 10:00:04] Production.ERROR: CronJob ID - 7
[2025-01-09 10:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 10:00:00
[2025-01-09 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 10:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 10:00:04] Production.INFO: ==14856== Releasing lock...
[2025-01-09 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 10:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 10:00:04] Production.INFO: ==14862== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:00:04] Production.INFO: ==14866== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:00:04] Production.INFO: ==14864== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-09 10:00:04] Production.INFO: ==14868== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:00:04] Production.INFO: Account Balance Start.
[2025-01-09 10:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:00:04] Production.INFO: 117
[2025-01-09 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:00:04] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-09 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: Total Charge 0
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: CreateAllLog End
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-09 10:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 10:00:04] Production.INFO: Outstanding Amount 27.30
[2025-01-09 10:00:04] Production.INFO: Invoice Full Number INV11341
[2025-01-09 10:00:04] Production.INFO: Transaction start
[2025-01-09 10:00:04] Production.INFO: ==14860== Releasing lock...
[2025-01-09 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:00:04] Production.INFO: count ==21
[2025-01-09 10:00:05] Production.ERROR: done
[2025-01-09 10:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:00:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:00:05] Production.INFO: count ==21
[2025-01-09 10:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14208821') start
[2025-01-09 10:00:05] Production.ERROR: done
[2025-01-09 10:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 10:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208822', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 10:00:05] Production.INFO: Account Balance End.
[2025-01-09 10:00:05] Production.ERROR: done
[2025-01-09 10:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14208821') end
[2025-01-09 10:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:00:05] Production.INFO: 1
[2025-01-09 10:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 10:00:05] Production.INFO: ==14866== Releasing lock...
[2025-01-09 10:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:00:05] Production.INFO: ==14872== Releasing lock...
[2025-01-09 10:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:00:06
[end_date_ymd] => 2025-01-09 10:00:06
[RateCDR] => 1
)
[2025-01-09 10:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:00:06' and `end` < '2025-01-09 10:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:00:06] Production.INFO: Transaction end
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 0
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 0
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-09 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-09 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-09 10:00:09] Production.ERROR: CronJobId end11
[2025-01-09 10:00:09] Production.INFO: ==14864== Releasing lock...
[2025-01-09 10:00:09] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-09 10:00:09] Production.INFO: 34 MB #Memory Used#
[2025-01-09 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208822', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 10:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 10:00:09] Production.INFO: ProcessCDR(1,14208822,1,1,2)
[2025-01-09 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208822,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208822,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:00:09] Production.INFO: ==14870== Releasing lock...
[2025-01-09 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 10:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 10:00:13] Production.ERROR: CronJobId end10
[2025-01-09 10:00:13] Production.INFO: ==14862== Releasing lock...
[2025-01-09 10:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:00:15] Production.INFO: call_cost start
[2025-01-09 10:00:16] Production.INFO: call_cost end
[2025-01-09 10:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:00:16] Production.INFO: ==14858== Releasing lock...
[2025-01-09 10:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:00:19] Production.INFO: count ==2048
[2025-01-09 10:00:20] Production.ERROR: pbx CDR StartTime 2025-01-09 07:00:06 - End Time 2025-01-09 10:00:06
[2025-01-09 10:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208823', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208823', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208823', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208823', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:00:20] Production.INFO: ProcessCDR(1,14208823,1,1,2)
[2025-01-09 10:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208823', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208823', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:00:24] Production.INFO: ==14868== Releasing lock...
[2025-01-09 10:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:00:24] Production.INFO: 43.5 MB #Memory Used#
[2025-01-09 15:01:01] Production.INFO: ==14928== Lock acquired, processing the job...
[2025-01-09 15:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:01:01] Production.INFO: neon service started
[2025-01-09 15:01:01] Production.INFO: neon service started
[2025-01-09 15:01:01] Production.INFO: ==14928== Releasing lock...
[2025-01-09 15:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:01:01] Production.INFO: ==14942== Lock acquired, processing the job...
[2025-01-09 15:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:01:01] Production.INFO: ==14942== Releasing lock...
[2025-01-09 15:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:01:02] Production.INFO: ==14940== Lock acquired, processing the job...
[2025-01-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:01:02] Production.INFO: ==14940== Releasing lock...
[2025-01-09 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:01:03] Production.INFO: ==14947== Lock acquired, processing the job...
[2025-01-09 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:01:03] Production.INFO: ==14949== Lock acquired, processing the job...
[2025-01-09 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:01:03] Production.INFO: ==14953== Lock acquired, processing the job...
[2025-01-09 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:01:03] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-01-09 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:01:03] Production.INFO: ==14947== Releasing lock...
[2025-01-09 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:01:03] Production.INFO: ==14955== Lock acquired, processing the job...
[2025-01-09 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:01:03] Production.INFO: ==14951== Lock acquired, processing the job...
[2025-01-09 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:01:03] Production.INFO: Account Balance Start.
[2025-01-09 10:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:01:03] Production.INFO: 117
[2025-01-09 10:01:03] Production.ERROR: done
[2025-01-09 10:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:01:03] Production.INFO: count ==21
[2025-01-09 10:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:01:03] Production.INFO: count ==21
[2025-01-09 10:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208827') start
[2025-01-09 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208827') end
[2025-01-09 10:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:01:03] Production.INFO: 1
[2025-01-09 10:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:01:03] Production.INFO: Total Charge 0
[2025-01-09 10:01:03] Production.ERROR: done
[2025-01-09 10:01:03] Production.INFO: ==14955== Releasing lock...
[2025-01-09 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:01:03] Production.INFO: CreateAllLog End
[2025-01-09 10:01:04] Production.INFO: Account Balance End.
[2025-01-09 10:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:01:04] Production.INFO: ==14951== Releasing lock...
[2025-01-09 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:01:04
[end_date_ymd] => 2025-01-09 10:01:04
[RateCDR] => 1
)
[2025-01-09 10:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:01:04' and `end` < '2025-01-09 10:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:01:10] Production.ERROR: CronJobId end10
[2025-01-09 10:01:10] Production.INFO: ==14949== Releasing lock...
[2025-01-09 10:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:01:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:01:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:01:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:01:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:01:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:01:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:01:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:01:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:01:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:01:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:01:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:01:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:01:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:01:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:01:12] Production.INFO: call_cost start
[2025-01-09 10:01:12] Production.INFO: call_cost end
[2025-01-09 10:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:01:13] Production.INFO: ==14945== Releasing lock...
[2025-01-09 10:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:01:22] Production.INFO: count ==2136
[2025-01-09 10:01:23] Production.ERROR: pbx CDR StartTime 2025-01-09 07:01:04 - End Time 2025-01-09 10:01:04
[2025-01-09 10:01:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208828', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208828', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208828', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208828', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:01:23] Production.INFO: ProcessCDR(1,14208828,1,1,2)
[2025-01-09 10:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:01:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:01:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:01:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:01:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208828', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:01:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208828', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:01:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:01:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:01:28] Production.INFO: ==14953== Releasing lock...
[2025-01-09 10:01:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:01:28] Production.INFO: 44 MB #Memory Used#
[2025-01-09 15:02:01] Production.INFO: ==15010== Lock acquired, processing the job...
[2025-01-09 15:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:02:01] Production.INFO: neon service started
[2025-01-09 15:02:02] Production.INFO: neon service started
[2025-01-09 15:02:02] Production.INFO: ==15010== Releasing lock...
[2025-01-09 15:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:02:02] Production.INFO: ==15012== Lock acquired, processing the job...
[2025-01-09 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:02:02] Production.INFO: ==15014== Lock acquired, processing the job...
[2025-01-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:02:02] Production.INFO: ==15014== Releasing lock...
[2025-01-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:02:03] Production.INFO: ==15012== Releasing lock...
[2025-01-09 10:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:02:03] Production.INFO: ==15021== Lock acquired, processing the job...
[2025-01-09 10:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:02:03] Production.INFO: ==15025== Lock acquired, processing the job...
[2025-01-09 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:02:03] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-01-09 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:02:03] Production.INFO: ==15019== Lock acquired, processing the job...
[2025-01-09 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:02:04] Production.INFO: ==15023== Lock acquired, processing the job...
[2025-01-09 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:02:04] Production.INFO: ==15027== Lock acquired, processing the job...
[2025-01-09 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:02:04] Production.ERROR: done
[2025-01-09 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:02:04] Production.INFO: Account Balance Start.
[2025-01-09 10:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:02:04] Production.INFO: 117
[2025-01-09 10:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:02:04] Production.ERROR: done
[2025-01-09 10:02:04] Production.INFO: count ==21
[2025-01-09 10:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:02:04] Production.INFO: count ==21
[2025-01-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208831') start
[2025-01-09 10:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:02:04] Production.INFO: ==15019== Releasing lock...
[2025-01-09 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:02:04] Production.INFO: Total Charge 0
[2025-01-09 10:02:04] Production.INFO: CreateAllLog End
[2025-01-09 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208831') end
[2025-01-09 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:02:04] Production.INFO: 1
[2025-01-09 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:02:04] Production.INFO: ==15027== Releasing lock...
[2025-01-09 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:02:04] Production.INFO: Account Balance End.
[2025-01-09 10:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:02:04] Production.INFO: ==15023== Releasing lock...
[2025-01-09 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:02:05
[end_date_ymd] => 2025-01-09 10:02:05
[RateCDR] => 1
)
[2025-01-09 10:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:02:05' and `end` < '2025-01-09 10:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:02:11] Production.ERROR: CronJobId end10
[2025-01-09 10:02:11] Production.INFO: ==15021== Releasing lock...
[2025-01-09 10:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:02:13] Production.INFO: call_cost start
[2025-01-09 10:02:13] Production.INFO: call_cost end
[2025-01-09 10:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:02:14] Production.INFO: ==15017== Releasing lock...
[2025-01-09 10:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:02:28] Production.INFO: count ==2161
[2025-01-09 10:02:29] Production.ERROR: pbx CDR StartTime 2025-01-09 07:02:05 - End Time 2025-01-09 10:02:05
[2025-01-09 10:02:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208833', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208833', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208833', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:02:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208833', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:02:29] Production.INFO: ProcessCDR(1,14208833,1,1,2)
[2025-01-09 10:02:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:02:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208833', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:02:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208833', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:02:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:02:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:02:34] Production.INFO: ==15025== Releasing lock...
[2025-01-09 10:02:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:02:34] Production.INFO: 44.25 MB #Memory Used#
[2025-01-09 15:03:01] Production.INFO: ==15080== Lock acquired, processing the job...
[2025-01-09 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:03:01] Production.INFO: neon service started
[2025-01-09 15:03:01] Production.INFO: neon service started
[2025-01-09 15:03:01] Production.INFO: ==15080== Releasing lock...
[2025-01-09 15:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:03:01] Production.INFO: ==15084== Lock acquired, processing the job...
[2025-01-09 15:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:03:01] Production.INFO: ==15084== Releasing lock...
[2025-01-09 15:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:03:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:03:01] Production.INFO: ==15082== Lock acquired, processing the job...
[2025-01-09 10:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:03:02] Production.INFO: ==15082== Releasing lock...
[2025-01-09 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:03:02] Production.INFO: ==15086== Lock acquired, processing the job...
[2025-01-09 10:03:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:03:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:03:02] Production.INFO: ==15092== Lock acquired, processing the job...
[2025-01-09 10:03:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:03:02] Production.INFO: ==15090== Lock acquired, processing the job...
[2025-01-09 10:03:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:03:03] Production.INFO: Account Balance Start.
[2025-01-09 10:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:03:03] Production.INFO: 117
[2025-01-09 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:03:03] Production.INFO: Total Charge 0
[2025-01-09 10:03:03] Production.INFO: CreateAllLog End
[2025-01-09 10:03:03] Production.INFO: ==15088== Lock acquired, processing the job...
[2025-01-09 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:03:03] Production.INFO: Account Balance End.
[2025-01-09 10:03:03] Production.INFO: ==15094== Lock acquired, processing the job...
[2025-01-09 10:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:03:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:03:03] Production.INFO: ==15092== Releasing lock...
[2025-01-09 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:03:03] Production.INFO: ==15096== Lock acquired, processing the job...
[2025-01-09 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:03:03] Production.INFO: count ==21
[2025-01-09 10:03:03] Production.ERROR: done
[2025-01-09 10:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:03:03] Production.INFO: count ==21
[2025-01-09 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208837') start
[2025-01-09 10:03:03] Production.INFO: ==15088== Releasing lock...
[2025-01-09 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:03:03] Production.ERROR: done
[2025-01-09 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208837') end
[2025-01-09 10:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:03:03] Production.INFO: 1
[2025-01-09 10:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:03:03] Production.INFO: ==15096== Releasing lock...
[2025-01-09 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:03:04
[end_date_ymd] => 2025-01-09 10:03:04
[RateCDR] => 1
)
[2025-01-09 10:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:03:04' and `end` < '2025-01-09 10:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:03:10] Production.ERROR: CronJobId end10
[2025-01-09 10:03:10] Production.INFO: ==15090== Releasing lock...
[2025-01-09 10:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:03:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:03:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:03:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:03:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:03:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:03:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:03:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:03:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:03:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:03:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:03:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:03:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:03:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:03:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:03:12] Production.INFO: call_cost start
[2025-01-09 10:03:12] Production.INFO: call_cost end
[2025-01-09 10:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:03:13] Production.INFO: ==15086== Releasing lock...
[2025-01-09 10:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:03:26] Production.INFO: count ==2177
[2025-01-09 10:03:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:03:04 - End Time 2025-01-09 10:03:04
[2025-01-09 10:03:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208838', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208838', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208838', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:03:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208838', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:03:26] Production.INFO: ProcessCDR(1,14208838,1,1,2)
[2025-01-09 10:03:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:03:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:03:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:03:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:03:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208838', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:03:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208838', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:03:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:03:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:03:31] Production.INFO: ==15094== Releasing lock...
[2025-01-09 10:03:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:03:31] Production.INFO: 44.5 MB #Memory Used#
[2025-01-09 15:04:01] Production.INFO: ==15150== Lock acquired, processing the job...
[2025-01-09 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:04:01] Production.INFO: neon service started
[2025-01-09 15:04:01] Production.INFO: neon service started
[2025-01-09 15:04:01] Production.INFO: ==15150== Releasing lock...
[2025-01-09 15:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:04:02] Production.INFO: ==15153== Lock acquired, processing the job...
[2025-01-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:04:02] Production.INFO: ==15155== Lock acquired, processing the job...
[2025-01-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:04:02] Production.INFO: ==15153== Releasing lock...
[2025-01-09 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:04:02] Production.INFO: ==15155== Releasing lock...
[2025-01-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:04:03] Production.INFO: ==15163== Lock acquired, processing the job...
[2025-01-09 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:04:03] Production.INFO: Account Balance Start.
[2025-01-09 10:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:04:03] Production.INFO: 117
[2025-01-09 10:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:04:03] Production.INFO: ==15157== Lock acquired, processing the job...
[2025-01-09 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:04:03] Production.INFO: Total Charge 0
[2025-01-09 10:04:03] Production.INFO: CreateAllLog End
[2025-01-09 10:04:03] Production.INFO: ==15165== Lock acquired, processing the job...
[2025-01-09 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:04:03] Production.INFO: ==15159== Lock acquired, processing the job...
[2025-01-09 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:04:03] Production.INFO: ==15161== Lock acquired, processing the job...
[2025-01-09 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:04:03] Production.INFO: Account Balance End.
[2025-01-09 10:04:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:04:03] Production.INFO: ==15163== Releasing lock...
[2025-01-09 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:04:03] Production.INFO: ==15167== Lock acquired, processing the job...
[2025-01-09 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:04:03] Production.ERROR: done
[2025-01-09 10:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:04:03] Production.INFO: ==15159== Releasing lock...
[2025-01-09 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:04:04] Production.INFO: count ==21
[2025-01-09 10:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:04:04] Production.INFO: count ==21
[2025-01-09 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208842') start
[2025-01-09 10:04:04] Production.ERROR: done
[2025-01-09 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208842') end
[2025-01-09 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:04:04] Production.INFO: 1
[2025-01-09 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:04:04] Production.INFO: ==15167== Releasing lock...
[2025-01-09 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:04:05
[end_date_ymd] => 2025-01-09 10:04:05
[RateCDR] => 1
)
[2025-01-09 10:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:04:05' and `end` < '2025-01-09 10:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:04:11] Production.ERROR: CronJobId end10
[2025-01-09 10:04:11] Production.INFO: ==15161== Releasing lock...
[2025-01-09 10:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:04:13] Production.INFO: call_cost start
[2025-01-09 10:04:13] Production.INFO: call_cost end
[2025-01-09 10:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:04:13] Production.INFO: ==15157== Releasing lock...
[2025-01-09 10:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:04:24] Production.INFO: count ==2213
[2025-01-09 10:04:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:04:05 - End Time 2025-01-09 10:04:05
[2025-01-09 10:04:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208843', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208843', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208843', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208843', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:04:25] Production.INFO: ProcessCDR(1,14208843,1,1,2)
[2025-01-09 10:04:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:04:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:04:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:04:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:04:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208843', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208843', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:04:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:04:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:04:30] Production.INFO: ==15165== Releasing lock...
[2025-01-09 10:04:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:04:30] Production.INFO: 45 MB #Memory Used#
[2025-01-09 15:05:02] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-01-09 15:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:05:02] Production.INFO: neon service started
[2025-01-09 15:05:02] Production.INFO: neon service started
[2025-01-09 15:05:02] Production.INFO: ==15220== Releasing lock...
[2025-01-09 15:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:05:02] Production.INFO: ==15222== Lock acquired, processing the job...
[2025-01-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:05:02] Production.INFO: ==15222== Releasing lock...
[2025-01-09 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:05:03] Production.INFO: ==15224== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:05:03] Production.INFO: ==15224== Releasing lock...
[2025-01-09 15:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:05:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-09 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:05:03] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-01-09 10:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:05:03] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-01-09 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:05:03] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-01-09 10:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:05:04] Production.INFO: Account Balance Start.
[2025-01-09 10:05:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:05:04] Production.INFO: 117
[2025-01-09 10:05:04] Production.INFO: ==15234== Lock acquired, processing the job...
[2025-01-09 10:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:05:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:05:04] Production.INFO: ==15236== Lock acquired, processing the job...
[2025-01-09 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:05:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:05:04] Production.INFO: Total Charge 0
[2025-01-09 10:05:04] Production.INFO: CreateAllLog End
[2025-01-09 10:05:04] Production.INFO: ==15228== Releasing lock...
[2025-01-09 10:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 10:05:04] Production.INFO: count ==21
[2025-01-09 10:05:04] Production.ERROR: done
[2025-01-09 10:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:05:04] Production.INFO: count ==21
[2025-01-09 10:05:04] Production.INFO: Account Balance End.
[2025-01-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208847') start
[2025-01-09 10:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:05:04] Production.INFO: ==15232== Releasing lock...
[2025-01-09 10:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:05:04] Production.ERROR: done
[2025-01-09 10:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208847') end
[2025-01-09 10:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:05:04] Production.INFO: 1
[2025-01-09 10:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:05:04] Production.INFO: ==15236== Releasing lock...
[2025-01-09 10:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:05:05
[end_date_ymd] => 2025-01-09 10:05:05
[RateCDR] => 1
)
[2025-01-09 10:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:05:05' and `end` < '2025-01-09 10:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:05:10] Production.ERROR: CronJobId end10
[2025-01-09 10:05:10] Production.INFO: ==15230== Releasing lock...
[2025-01-09 10:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:05:13] Production.INFO: call_cost start
[2025-01-09 10:05:13] Production.INFO: call_cost end
[2025-01-09 10:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:05:14] Production.INFO: ==15226== Releasing lock...
[2025-01-09 10:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:05:21] Production.INFO: count ==2241
[2025-01-09 10:05:22] Production.ERROR: pbx CDR StartTime 2025-01-09 07:05:05 - End Time 2025-01-09 10:05:05
[2025-01-09 10:05:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208848', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208848', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208848', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208848', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:05:22] Production.INFO: ProcessCDR(1,14208848,1,1,2)
[2025-01-09 10:05:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:05:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:05:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208848', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208848', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:05:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:05:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:05:27] Production.INFO: ==15234== Releasing lock...
[2025-01-09 10:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:05:27] Production.INFO: 45.25 MB #Memory Used#
[2025-01-09 15:06:01] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-01-09 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:06:01] Production.INFO: neon service started
[2025-01-09 15:06:01] Production.INFO: neon service started
[2025-01-09 15:06:01] Production.INFO: ==15291== Releasing lock...
[2025-01-09 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:06:02] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-01-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:06:02] Production.INFO: ==15295== Releasing lock...
[2025-01-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:06:02] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-01-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:06:02] Production.INFO: ==15293== Releasing lock...
[2025-01-09 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:06:03] Production.INFO: ==15300== Lock acquired, processing the job...
[2025-01-09 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:06:03] Production.INFO: ==15298== Lock acquired, processing the job...
[2025-01-09 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:06:03] Production.INFO: ==15304== Lock acquired, processing the job...
[2025-01-09 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:06:03] Production.INFO: ==15302== Lock acquired, processing the job...
[2025-01-09 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:06:03] Production.INFO: Account Balance Start.
[2025-01-09 10:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:06:03] Production.INFO: 117
[2025-01-09 10:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:06:03] Production.INFO: ==15306== Lock acquired, processing the job...
[2025-01-09 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:06:03] Production.INFO: ==15300== Releasing lock...
[2025-01-09 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:06:03] Production.INFO: ==15308== Lock acquired, processing the job...
[2025-01-09 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:06:03] Production.INFO: Total Charge 0
[2025-01-09 10:06:03] Production.INFO: CreateAllLog End
[2025-01-09 10:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:06:04] Production.INFO: Account Balance End.
[2025-01-09 10:06:04] Production.INFO: count ==21
[2025-01-09 10:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:06:04] Production.ERROR: done
[2025-01-09 10:06:04] Production.INFO: count ==21
[2025-01-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208852') start
[2025-01-09 10:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:06:04] Production.INFO: ==15304== Releasing lock...
[2025-01-09 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:06:04] Production.ERROR: done
[2025-01-09 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208852') end
[2025-01-09 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:06:04] Production.INFO: 1
[2025-01-09 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:06:04] Production.INFO: ==15308== Releasing lock...
[2025-01-09 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:06:05
[end_date_ymd] => 2025-01-09 10:06:05
[RateCDR] => 1
)
[2025-01-09 10:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:06:05' and `end` < '2025-01-09 10:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:06:11] Production.ERROR: CronJobId end10
[2025-01-09 10:06:11] Production.INFO: ==15302== Releasing lock...
[2025-01-09 10:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:06:13] Production.INFO: call_cost start
[2025-01-09 10:06:13] Production.INFO: call_cost end
[2025-01-09 10:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:06:13] Production.INFO: ==15298== Releasing lock...
[2025-01-09 10:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:06:25] Production.INFO: count ==2258
[2025-01-09 10:06:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:06:05 - End Time 2025-01-09 10:06:05
[2025-01-09 10:06:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208853', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208853', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208853', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208853', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:06:26] Production.INFO: ProcessCDR(1,14208853,1,1,2)
[2025-01-09 10:06:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:06:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:06:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:06:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208853', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:06:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208853', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:06:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:06:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:06:31] Production.INFO: ==15306== Releasing lock...
[2025-01-09 10:06:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:06:31] Production.INFO: 45 MB #Memory Used#
[2025-01-09 15:07:02] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-01-09 15:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:07:02] Production.INFO: neon service started
[2025-01-09 15:07:02] Production.INFO: neon service started
[2025-01-09 15:07:02] Production.INFO: ==15364== Releasing lock...
[2025-01-09 15:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:07:02] Production.INFO: ==15366== Lock acquired, processing the job...
[2025-01-09 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:07:03] Production.INFO: ==15366== Releasing lock...
[2025-01-09 10:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:07:03] Production.INFO: ==15368== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:07:03] Production.INFO: ==15368== Releasing lock...
[2025-01-09 15:07:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:07:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:07:03] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-01-09 10:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:07:04] Production.INFO: ==15379== Lock acquired, processing the job...
[2025-01-09 10:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:07:04] Production.INFO: ==15370== Lock acquired, processing the job...
[2025-01-09 10:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:07:04] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-01-09 10:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:07:04] Production.INFO: ==15377== Lock acquired, processing the job...
[2025-01-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:07:04] Production.INFO: ==15381== Lock acquired, processing the job...
[2025-01-09 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:07:04] Production.INFO: Account Balance Start.
[2025-01-09 10:07:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:07:04] Production.INFO: 117
[2025-01-09 10:07:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:07:04] Production.INFO: ==15372== Releasing lock...
[2025-01-09 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:07:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:07:04] Production.ERROR: done
[2025-01-09 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:07:04] Production.INFO: Total Charge 0
[2025-01-09 10:07:04] Production.INFO: count ==21
[2025-01-09 10:07:04] Production.INFO: CreateAllLog End
[2025-01-09 10:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:07:04] Production.INFO: count ==21
[2025-01-09 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208857') start
[2025-01-09 10:07:04] Production.ERROR: done
[2025-01-09 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208857') end
[2025-01-09 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:07:04] Production.INFO: 1
[2025-01-09 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:07:04] Production.INFO: Account Balance End.
[2025-01-09 10:07:04] Production.INFO: ==15381== Releasing lock...
[2025-01-09 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:07:04] Production.INFO: ==15377== Releasing lock...
[2025-01-09 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:07:05
[end_date_ymd] => 2025-01-09 10:07:05
[RateCDR] => 1
)
[2025-01-09 10:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:07:05' and `end` < '2025-01-09 10:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:07:11] Production.ERROR: CronJobId end10
[2025-01-09 10:07:11] Production.INFO: ==15374== Releasing lock...
[2025-01-09 10:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:07:13] Production.INFO: call_cost start
[2025-01-09 10:07:13] Production.INFO: call_cost end
[2025-01-09 10:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:07:14] Production.INFO: ==15370== Releasing lock...
[2025-01-09 10:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:07:27] Production.INFO: count ==2285
[2025-01-09 10:07:27] Production.ERROR: pbx CDR StartTime 2025-01-09 07:07:05 - End Time 2025-01-09 10:07:05
[2025-01-09 10:07:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208858', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208858', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208858', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:07:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208858', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:07:27] Production.INFO: ProcessCDR(1,14208858,1,1,2)
[2025-01-09 10:07:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:07:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:07:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:07:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:07:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208858', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:07:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208858', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:07:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:07:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:07:32] Production.INFO: ==15379== Releasing lock...
[2025-01-09 10:07:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:07:32] Production.INFO: 45.25 MB #Memory Used#
[2025-01-09 15:08:01] Production.INFO: ==15436== Lock acquired, processing the job...
[2025-01-09 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:08:01] Production.INFO: neon service started
[2025-01-09 15:08:02] Production.INFO: neon service started
[2025-01-09 15:08:02] Production.INFO: ==15436== Releasing lock...
[2025-01-09 15:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:08:02] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-01-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:08:02] Production.INFO: ==15438== Releasing lock...
[2025-01-09 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:08:02] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-01-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:08:02] Production.INFO: ==15440== Releasing lock...
[2025-01-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:08:03] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-01-09 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:08:03] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-01-09 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:08:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-01-09 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:08:03] Production.INFO: ==15444== Lock acquired, processing the job...
[2025-01-09 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:08:03] Production.INFO: ==15448== Lock acquired, processing the job...
[2025-01-09 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:08:03] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-01-09 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:08:03] Production.INFO: Account Balance Start.
[2025-01-09 10:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:08:03] Production.INFO: 117
[2025-01-09 10:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:08:03] Production.INFO: count ==21
[2025-01-09 10:08:03] Production.ERROR: done
[2025-01-09 10:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:08:03] Production.INFO: count ==21
[2025-01-09 10:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208862') start
[2025-01-09 10:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:08:04] Production.INFO: Total Charge 0
[2025-01-09 10:08:04] Production.INFO: CreateAllLog End
[2025-01-09 10:08:04] Production.ERROR: done
[2025-01-09 10:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208862') end
[2025-01-09 10:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:08:04] Production.INFO: 1
[2025-01-09 10:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:08:04] Production.INFO: ==15453== Releasing lock...
[2025-01-09 10:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:08:04] Production.INFO: ==15444== Releasing lock...
[2025-01-09 10:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:08:04] Production.INFO: Account Balance End.
[2025-01-09 10:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:08:04] Production.INFO: ==15448== Releasing lock...
[2025-01-09 10:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:08:04
[end_date_ymd] => 2025-01-09 10:08:04
[RateCDR] => 1
)
[2025-01-09 10:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:08:04' and `end` < '2025-01-09 10:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:08:09] Production.ERROR: CronJobId end10
[2025-01-09 10:08:09] Production.INFO: ==15446== Releasing lock...
[2025-01-09 10:08:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:08:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:08:13] Production.INFO: call_cost start
[2025-01-09 10:08:13] Production.INFO: call_cost end
[2025-01-09 10:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:08:13] Production.INFO: ==15442== Releasing lock...
[2025-01-09 10:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:08:25] Production.INFO: count ==2345
[2025-01-09 10:08:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:08:04 - End Time 2025-01-09 10:08:04
[2025-01-09 10:08:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:08:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208863', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208863', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208863', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208863', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:08:26] Production.INFO: ProcessCDR(1,14208863,1,1,2)
[2025-01-09 10:08:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:08:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:08:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:08:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208863', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:08:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208863', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:08:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:08:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:08:29] Production.INFO: ==15451== Releasing lock...
[2025-01-09 10:08:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:08:29] Production.INFO: 45.75 MB #Memory Used#
[2025-01-09 15:09:01] Production.INFO: ==15506== Lock acquired, processing the job...
[2025-01-09 15:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:09:01] Production.INFO: neon service started
[2025-01-09 15:09:01] Production.INFO: neon service started
[2025-01-09 15:09:01] Production.INFO: ==15506== Releasing lock...
[2025-01-09 15:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:09:01] Production.INFO: ==15508== Lock acquired, processing the job...
[2025-01-09 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:09:01] Production.INFO: ==15508== Releasing lock...
[2025-01-09 10:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:09:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:09:02] Production.INFO: ==15510== Lock acquired, processing the job...
[2025-01-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:09:02] Production.INFO: ==15510== Releasing lock...
[2025-01-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:09:02] Production.INFO: ==15512== Lock acquired, processing the job...
[2025-01-09 10:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:09:02] Production.INFO: ==15514== Lock acquired, processing the job...
[2025-01-09 10:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:09:02] Production.INFO: ==15518== Lock acquired, processing the job...
[2025-01-09 10:09:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:09:02] Production.INFO: Account Balance Start.
[2025-01-09 10:09:02] Production.INFO: CreateAllLog Start
[2025-01-09 10:09:02] Production.INFO: 117
[2025-01-09 10:09:02] Production.INFO: Date 2025-01-08
[2025-01-09 10:09:02] Production.INFO: Reseller ==> 0
[2025-01-09 10:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:09:03] Production.INFO: Total Charge 0
[2025-01-09 10:09:03] Production.INFO: ==15516== Lock acquired, processing the job...
[2025-01-09 10:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:09:03] Production.INFO: CreateAllLog End
[2025-01-09 10:09:03] Production.INFO: ==15514== Releasing lock...
[2025-01-09 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:09:03] Production.INFO: ==15520== Lock acquired, processing the job...
[2025-01-09 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:09:03] Production.INFO: ==15522== Lock acquired, processing the job...
[2025-01-09 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:09:03] Production.INFO: Account Balance End.
[2025-01-09 10:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:09:03] Production.INFO: ==15518== Releasing lock...
[2025-01-09 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:09:03] Production.INFO: count ==21
[2025-01-09 10:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:09:03] Production.INFO: count ==21
[2025-01-09 10:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208867') start
[2025-01-09 10:09:03] Production.ERROR: done
[2025-01-09 10:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208867') end
[2025-01-09 10:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:09:03] Production.INFO: 1
[2025-01-09 10:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:09:03] Production.INFO: ==15522== Releasing lock...
[2025-01-09 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:09:03] Production.ERROR: done
[2025-01-09 10:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:09:04
[end_date_ymd] => 2025-01-09 10:09:04
[RateCDR] => 1
)
[2025-01-09 10:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:09:04' and `end` < '2025-01-09 10:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:09:10] Production.ERROR: CronJobId end10
[2025-01-09 10:09:10] Production.INFO: ==15516== Releasing lock...
[2025-01-09 10:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:09:12] Production.INFO: call_cost start
[2025-01-09 10:09:12] Production.INFO: call_cost end
[2025-01-09 10:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:09:13] Production.INFO: ==15512== Releasing lock...
[2025-01-09 10:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:09:22] Production.INFO: count ==2368
[2025-01-09 10:09:23] Production.ERROR: pbx CDR StartTime 2025-01-09 07:09:04 - End Time 2025-01-09 10:09:04
[2025-01-09 10:09:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208868', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208868', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208868', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:09:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208868', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:09:23] Production.INFO: ProcessCDR(1,14208868,1,1,2)
[2025-01-09 10:09:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:09:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:09:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:09:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208868', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:09:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208868', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:09:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:09:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:09:28] Production.INFO: ==15520== Releasing lock...
[2025-01-09 10:09:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:09:28] Production.INFO: 45.75 MB #Memory Used#
[2025-01-09 15:10:01] Production.INFO: ==15580== Lock acquired, processing the job...
[2025-01-09 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:10:01] Production.INFO: neon service started
[2025-01-09 15:10:01] Production.INFO: neon service started
[2025-01-09 15:10:01] Production.INFO: ==15580== Releasing lock...
[2025-01-09 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:10:02] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-01-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:10:02] Production.INFO: ==15584== Lock acquired, processing the job...
[2025-01-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:10:02] Production.INFO: ==15584== Releasing lock...
[2025-01-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:10:02] Production.INFO: ==15582== Releasing lock...
[2025-01-09 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:10:03] Production.INFO: ==15586== Lock acquired, processing the job...
[2025-01-09 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 10:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 10:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 10:10:03] Production.INFO: ==15586== Releasing lock...
[2025-01-09 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 10:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 10:10:03] Production.INFO: ==15590== Lock acquired, processing the job...
[2025-01-09 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:10:03] Production.INFO: ==15588== Lock acquired, processing the job...
[2025-01-09 10:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:10:03] Production.INFO: ==15592== Lock acquired, processing the job...
[2025-01-09 10:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:10:03] Production.INFO: ==15594== Lock acquired, processing the job...
[2025-01-09 10:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:10:03] Production.INFO: ==15597== Lock acquired, processing the job...
[2025-01-09 10:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:10:04] Production.INFO: ==15599== Lock acquired, processing the job...
[2025-01-09 10:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 10:10:04] Production.INFO: ==15590== Releasing lock...
[2025-01-09 10:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:10:04] Production.INFO: ==15601== Lock acquired, processing the job...
[2025-01-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:10:04] Production.INFO: Account Balance Start.
[2025-01-09 10:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:10:04] Production.INFO: 117
[2025-01-09 10:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:10:04] Production.INFO: count ==21
[2025-01-09 10:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:10:04] Production.INFO: count ==21
[2025-01-09 10:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208872') start
[2025-01-09 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:10:04] Production.ERROR: done
[2025-01-09 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208872') end
[2025-01-09 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:10:04] Production.INFO: 1
[2025-01-09 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:10:04] Production.ERROR: done
[2025-01-09 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:10:04] Production.INFO: ==15601== Releasing lock...
[2025-01-09 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208873', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 10:10:04] Production.INFO: Total Charge 0
[2025-01-09 10:10:04] Production.INFO: CreateAllLog End
[2025-01-09 10:10:04] Production.ERROR: done
[2025-01-09 10:10:04] Production.INFO: Account Balance End.
[2025-01-09 10:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 10:10:05] Production.INFO: ==15594== Releasing lock...
[2025-01-09 10:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:10:05
[end_date_ymd] => 2025-01-09 10:10:05
[RateCDR] => 1
)
[2025-01-09 10:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:10:05' and `end` < '2025-01-09 10:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208873', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 10:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 10:10:08] Production.INFO: ProcessCDR(1,14208873,1,1,2)
[2025-01-09 10:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208873,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208873,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:10:08] Production.INFO: ==15599== Releasing lock...
[2025-01-09 10:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 10:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 10:10:13] Production.ERROR: CronJobId end10
[2025-01-09 10:10:13] Production.INFO: ==15592== Releasing lock...
[2025-01-09 10:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:10:15] Production.INFO: call_cost start
[2025-01-09 10:10:15] Production.INFO: call_cost end
[2025-01-09 10:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:10:16] Production.INFO: ==15588== Releasing lock...
[2025-01-09 10:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:10:32] Production.INFO: count ==2395
[2025-01-09 10:10:33] Production.ERROR: pbx CDR StartTime 2025-01-09 07:10:05 - End Time 2025-01-09 10:10:05
[2025-01-09 10:10:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208874', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208874', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208874', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:10:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208874', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:10:33] Production.INFO: ProcessCDR(1,14208874,1,1,2)
[2025-01-09 10:10:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:10:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:10:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:10:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:10:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208874', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:10:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208874', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:10:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:10:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:10:39] Production.INFO: ==15597== Releasing lock...
[2025-01-09 10:10:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:10:39] Production.INFO: 46 MB #Memory Used#
[2025-01-09 15:11:02] Production.INFO: ==15657== Lock acquired, processing the job...
[2025-01-09 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:11:02] Production.INFO: neon service started
[2025-01-09 15:11:02] Production.INFO: neon service started
[2025-01-09 15:11:02] Production.INFO: ==15657== Releasing lock...
[2025-01-09 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:11:02] Production.INFO: ==15659== Lock acquired, processing the job...
[2025-01-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:11:02] Production.INFO: ==15661== Lock acquired, processing the job...
[2025-01-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:11:02] Production.INFO: ==15659== Releasing lock...
[2025-01-09 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:11:02] Production.INFO: ==15661== Releasing lock...
[2025-01-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:11:03] Production.INFO: ==15664== Lock acquired, processing the job...
[2025-01-09 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:11:03] Production.INFO: ==15666== Lock acquired, processing the job...
[2025-01-09 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:11:03] Production.INFO: ==15674== Lock acquired, processing the job...
[2025-01-09 10:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:11:03] Production.INFO: ==15670== Lock acquired, processing the job...
[2025-01-09 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:11:03] Production.INFO: ==15672== Lock acquired, processing the job...
[2025-01-09 10:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:11:03] Production.INFO: ==15668== Lock acquired, processing the job...
[2025-01-09 10:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:11:04] Production.INFO: Account Balance Start.
[2025-01-09 10:11:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:11:04] Production.INFO: 117
[2025-01-09 10:11:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:11:04] Production.INFO: count ==21
[2025-01-09 10:11:04] Production.INFO: ==15666== Releasing lock...
[2025-01-09 10:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:11:04] Production.INFO: count ==21
[2025-01-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208878') start
[2025-01-09 10:11:04] Production.INFO: Total Charge 0
[2025-01-09 10:11:04] Production.INFO: CreateAllLog End
[2025-01-09 10:11:04] Production.ERROR: done
[2025-01-09 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208878') end
[2025-01-09 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:11:04] Production.INFO: 1
[2025-01-09 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:11:04] Production.INFO: Account Balance End.
[2025-01-09 10:11:04] Production.INFO: ==15674== Releasing lock...
[2025-01-09 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:11:04] Production.ERROR: done
[2025-01-09 10:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:11:04] Production.INFO: ==15670== Releasing lock...
[2025-01-09 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:11:05
[end_date_ymd] => 2025-01-09 10:11:05
[RateCDR] => 1
)
[2025-01-09 10:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:11:05' and `end` < '2025-01-09 10:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:11:12] Production.ERROR: CronJobId end10
[2025-01-09 10:11:12] Production.INFO: ==15668== Releasing lock...
[2025-01-09 10:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:11:13] Production.INFO: call_cost start
[2025-01-09 10:11:13] Production.INFO: call_cost end
[2025-01-09 10:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:11:14] Production.INFO: ==15664== Releasing lock...
[2025-01-09 10:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:11:22] Production.INFO: count ==2463
[2025-01-09 10:11:23] Production.ERROR: pbx CDR StartTime 2025-01-09 07:11:05 - End Time 2025-01-09 10:11:05
[2025-01-09 10:11:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208879', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208879', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208879', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208879', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:11:23] Production.INFO: ProcessCDR(1,14208879,1,1,2)
[2025-01-09 10:11:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:11:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:11:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:11:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208879', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:11:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208879', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:11:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:11:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:11:27] Production.INFO: ==15672== Releasing lock...
[2025-01-09 10:11:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:11:27] Production.INFO: 46.5 MB #Memory Used#
[2025-01-09 15:12:01] Production.INFO: ==15767== Lock acquired, processing the job...
[2025-01-09 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:12:01] Production.INFO: neon service started
[2025-01-09 15:12:01] Production.INFO: neon service started
[2025-01-09 15:12:01] Production.INFO: ==15767== Releasing lock...
[2025-01-09 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:12:02] Production.INFO: ==15769== Lock acquired, processing the job...
[2025-01-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:12:02] Production.INFO: ==15771== Lock acquired, processing the job...
[2025-01-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:12:02] Production.INFO: ==15771== Releasing lock...
[2025-01-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:12:02] Production.INFO: ==15769== Releasing lock...
[2025-01-09 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:12:03] Production.INFO: ==15774== Lock acquired, processing the job...
[2025-01-09 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:12:03] Production.INFO: ==15780== Lock acquired, processing the job...
[2025-01-09 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:12:03] Production.INFO: ==15778== Lock acquired, processing the job...
[2025-01-09 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:12:03] Production.INFO: ==15776== Lock acquired, processing the job...
[2025-01-09 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:12:03] Production.INFO: Account Balance Start.
[2025-01-09 10:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:12:03] Production.INFO: 117
[2025-01-09 10:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:12:03] Production.INFO: ==15782== Lock acquired, processing the job...
[2025-01-09 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:12:03] Production.INFO: Total Charge 0
[2025-01-09 10:12:03] Production.INFO: ==15784== Lock acquired, processing the job...
[2025-01-09 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:12:04] Production.INFO: CreateAllLog End
[2025-01-09 10:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:12:04] Production.INFO: Account Balance End.
[2025-01-09 10:12:04] Production.INFO: ==15776== Releasing lock...
[2025-01-09 10:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:12:04] Production.INFO: count ==21
[2025-01-09 10:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:12:04] Production.INFO: ==15780== Releasing lock...
[2025-01-09 10:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:12:04] Production.INFO: count ==21
[2025-01-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208883') start
[2025-01-09 10:12:04] Production.ERROR: done
[2025-01-09 10:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208883') end
[2025-01-09 10:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:12:04] Production.INFO: 1
[2025-01-09 10:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:12:04] Production.INFO: ==15784== Releasing lock...
[2025-01-09 10:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:12:04] Production.ERROR: done
[2025-01-09 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:12:05
[end_date_ymd] => 2025-01-09 10:12:05
[RateCDR] => 1
)
[2025-01-09 10:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:12:05' and `end` < '2025-01-09 10:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:12:11] Production.ERROR: CronJobId end10
[2025-01-09 10:12:11] Production.INFO: ==15778== Releasing lock...
[2025-01-09 10:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:12:12] Production.INFO: call_cost start
[2025-01-09 10:12:12] Production.INFO: call_cost end
[2025-01-09 10:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:12:13] Production.INFO: ==15774== Releasing lock...
[2025-01-09 10:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:12:24] Production.INFO: count ==2496
[2025-01-09 10:12:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:12:05 - End Time 2025-01-09 10:12:05
[2025-01-09 10:12:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208884', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208884', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208884', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:12:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208884', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:12:25] Production.INFO: ProcessCDR(1,14208884,1,1,2)
[2025-01-09 10:12:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:12:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:12:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:12:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208884', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:12:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208884', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:12:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:12:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:12:29] Production.INFO: ==15782== Releasing lock...
[2025-01-09 10:12:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:12:29] Production.INFO: 46.75 MB #Memory Used#
[2025-01-09 15:13:02] Production.INFO: ==15840== Lock acquired, processing the job...
[2025-01-09 15:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:13:02] Production.INFO: neon service started
[2025-01-09 15:13:02] Production.INFO: neon service started
[2025-01-09 15:13:02] Production.INFO: ==15840== Releasing lock...
[2025-01-09 15:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:13:02] Production.INFO: ==15842== Lock acquired, processing the job...
[2025-01-09 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:13:02] Production.INFO: ==15844== Lock acquired, processing the job...
[2025-01-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:13:02] Production.INFO: ==15844== Releasing lock...
[2025-01-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:13:03] Production.INFO: ==15842== Releasing lock...
[2025-01-09 10:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:13:03] Production.INFO: ==15847== Lock acquired, processing the job...
[2025-01-09 10:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:13:04] Production.INFO: ==15857== Lock acquired, processing the job...
[2025-01-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:13:04] Production.INFO: ==15853== Lock acquired, processing the job...
[2025-01-09 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:13:04] Production.INFO: Account Balance Start.
[2025-01-09 10:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:13:04] Production.INFO: 117
[2025-01-09 10:13:04] Production.INFO: ==15851== Lock acquired, processing the job...
[2025-01-09 10:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:13:04] Production.INFO: count ==21
[2025-01-09 10:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:13:04] Production.INFO: ==15849== Lock acquired, processing the job...
[2025-01-09 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:13:04] Production.INFO: count ==21
[2025-01-09 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208886') start
[2025-01-09 10:13:04] Production.INFO: ==15855== Lock acquired, processing the job...
[2025-01-09 10:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:13:04] Production.INFO: Total Charge 0
[2025-01-09 10:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208886') end
[2025-01-09 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:13:04] Production.INFO: 1
[2025-01-09 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:13:04] Production.INFO: CreateAllLog End
[2025-01-09 10:13:04] Production.INFO: ==15857== Releasing lock...
[2025-01-09 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:13:04] Production.INFO: Account Balance End.
[2025-01-09 10:13:04] Production.ERROR: done
[2025-01-09 10:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:13:04] Production.ERROR: done
[2025-01-09 10:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:13:04] Production.INFO: ==15853== Releasing lock...
[2025-01-09 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:13:04] Production.INFO: ==15849== Releasing lock...
[2025-01-09 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:13:05
[end_date_ymd] => 2025-01-09 10:13:05
[RateCDR] => 1
)
[2025-01-09 10:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:13:05' and `end` < '2025-01-09 10:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:13:10] Production.ERROR: CronJobId end10
[2025-01-09 10:13:10] Production.INFO: ==15851== Releasing lock...
[2025-01-09 10:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:13:13] Production.INFO: call_cost start
[2025-01-09 10:13:13] Production.INFO: call_cost end
[2025-01-09 10:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:13:14] Production.INFO: ==15847== Releasing lock...
[2025-01-09 10:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:13:25] Production.INFO: count ==2528
[2025-01-09 10:13:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:13:05 - End Time 2025-01-09 10:13:05
[2025-01-09 10:13:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208889', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208889', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208889', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:13:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208889', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:13:26] Production.INFO: ProcessCDR(1,14208889,1,1,2)
[2025-01-09 10:13:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:13:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208889,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:13:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:13:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208889,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:13:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208889', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:13:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208889', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:13:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:13:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:13:30] Production.INFO: ==15855== Releasing lock...
[2025-01-09 10:13:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:13:30] Production.INFO: 47 MB #Memory Used#
[2025-01-09 15:14:01] Production.INFO: ==15910== Lock acquired, processing the job...
[2025-01-09 15:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:14:01] Production.INFO: neon service started
[2025-01-09 15:14:01] Production.INFO: neon service started
[2025-01-09 15:14:01] Production.INFO: ==15910== Releasing lock...
[2025-01-09 15:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:14:01] Production.INFO: ==15912== Lock acquired, processing the job...
[2025-01-09 10:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:14:02] Production.INFO: ==15912== Releasing lock...
[2025-01-09 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:14:02] Production.INFO: ==15914== Lock acquired, processing the job...
[2025-01-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:14:02] Production.INFO: ==15914== Releasing lock...
[2025-01-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:14:03] Production.INFO: ==15924== Lock acquired, processing the job...
[2025-01-09 10:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:14:03] Production.INFO: ==15927== Lock acquired, processing the job...
[2025-01-09 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:14:03] Production.INFO: ==15918== Lock acquired, processing the job...
[2025-01-09 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:14:03] Production.INFO: ==15916== Lock acquired, processing the job...
[2025-01-09 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:14:03] Production.INFO: ==15920== Lock acquired, processing the job...
[2025-01-09 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:14:03] Production.INFO: ==15922== Lock acquired, processing the job...
[2025-01-09 10:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:14:03] Production.INFO: count ==21
[2025-01-09 10:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:14:03] Production.INFO: count ==21
[2025-01-09 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208890') start
[2025-01-09 10:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:14:03] Production.INFO: Account Balance Start.
[2025-01-09 10:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:14:03] Production.INFO: 117
[2025-01-09 10:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208890') end
[2025-01-09 10:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:14:03] Production.INFO: 1
[2025-01-09 10:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:14:03] Production.ERROR: done
[2025-01-09 10:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:14:03] Production.INFO: Total Charge 0
[2025-01-09 10:14:03] Production.INFO: CreateAllLog End
[2025-01-09 10:14:03] Production.INFO: ==15927== Releasing lock...
[2025-01-09 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:14:03] Production.INFO: ==15918== Releasing lock...
[2025-01-09 10:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:14:03] Production.ERROR: done
[2025-01-09 10:14:04] Production.INFO: Account Balance End.
[2025-01-09 10:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:14:04] Production.INFO: ==15922== Releasing lock...
[2025-01-09 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:14:05
[end_date_ymd] => 2025-01-09 10:14:05
[RateCDR] => 1
)
[2025-01-09 10:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:14:05' and `end` < '2025-01-09 10:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:14:10] Production.ERROR: CronJobId end10
[2025-01-09 10:14:10] Production.INFO: ==15920== Releasing lock...
[2025-01-09 10:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:14:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:14:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:14:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:14:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:14:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:14:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:14:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:14:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:14:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:14:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:14:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:14:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:14:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:14:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:14:12] Production.INFO: call_cost start
[2025-01-09 10:14:12] Production.INFO: call_cost end
[2025-01-09 10:14:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:14:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:14:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:14:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:14:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:14:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:14:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:14:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:14:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:14:12] Production.INFO: ==15916== Releasing lock...
[2025-01-09 10:14:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:14:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:14:24] Production.INFO: count ==2541
[2025-01-09 10:14:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:14:05 - End Time 2025-01-09 10:14:05
[2025-01-09 10:14:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208894', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208894', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208894', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208894', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:14:25] Production.INFO: ProcessCDR(1,14208894,1,1,2)
[2025-01-09 10:14:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:14:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:14:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:14:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208894', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208894', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:14:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:14:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:14:30] Production.INFO: ==15924== Releasing lock...
[2025-01-09 10:14:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:14:30] Production.INFO: 47.25 MB #Memory Used#
[2025-01-09 15:15:02] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-01-09 15:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:15:02] Production.INFO: neon service started
[2025-01-09 15:15:02] Production.INFO: neon service started
[2025-01-09 15:15:02] Production.INFO: ==15980== Releasing lock...
[2025-01-09 15:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:15:02] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-01-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:15:02] Production.INFO: ==15984== Releasing lock...
[2025-01-09 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:15:02] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-01-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:15:02] Production.INFO: ==15982== Releasing lock...
[2025-01-09 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:15:03] Production.INFO: ==15987== Lock acquired, processing the job...
[2025-01-09 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:15:03] Production.INFO: ==15989== Lock acquired, processing the job...
[2025-01-09 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:15:03] Production.INFO: ==15991== Lock acquired, processing the job...
[2025-01-09 10:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:15:03] Production.INFO: ==15993== Lock acquired, processing the job...
[2025-01-09 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:15:03] Production.INFO: ==15989== Releasing lock...
[2025-01-09 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:15:03] Production.INFO: ==15995== Lock acquired, processing the job...
[2025-01-09 10:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:15:04] Production.INFO: Account Balance Start.
[2025-01-09 10:15:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:15:04] Production.INFO: 117
[2025-01-09 10:15:04] Production.INFO: ==15997== Lock acquired, processing the job...
[2025-01-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:15:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:15:04] Production.INFO: Total Charge 0
[2025-01-09 10:15:04] Production.INFO: CreateAllLog End
[2025-01-09 10:15:04] Production.INFO: count ==21
[2025-01-09 10:15:04] Production.ERROR: done
[2025-01-09 10:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:15:04] Production.INFO: count ==21
[2025-01-09 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208898') start
[2025-01-09 10:15:04] Production.ERROR: done
[2025-01-09 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208898') end
[2025-01-09 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:15:04] Production.INFO: 1
[2025-01-09 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:15:04] Production.INFO: ==15997== Releasing lock...
[2025-01-09 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:15:04] Production.INFO: Account Balance End.
[2025-01-09 10:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:15:04] Production.INFO: ==15993== Releasing lock...
[2025-01-09 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:15:05
[end_date_ymd] => 2025-01-09 10:15:05
[RateCDR] => 1
)
[2025-01-09 10:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:15:05' and `end` < '2025-01-09 10:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:15:11] Production.ERROR: CronJobId end10
[2025-01-09 10:15:11] Production.INFO: ==15991== Releasing lock...
[2025-01-09 10:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:15:13] Production.INFO: call_cost start
[2025-01-09 10:15:13] Production.INFO: call_cost end
[2025-01-09 10:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:15:14] Production.INFO: ==15987== Releasing lock...
[2025-01-09 10:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:15:25] Production.INFO: count ==2564
[2025-01-09 10:15:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:15:05 - End Time 2025-01-09 10:15:05
[2025-01-09 10:15:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208899', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208899', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208899', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:15:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208899', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:15:26] Production.INFO: ProcessCDR(1,14208899,1,1,2)
[2025-01-09 10:15:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:15:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:15:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:15:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:15:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208899', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:15:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208899', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:15:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:15:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:15:31] Production.INFO: ==15995== Releasing lock...
[2025-01-09 10:15:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:15:31] Production.INFO: 47.25 MB #Memory Used#
[2025-01-09 15:16:01] Production.INFO: ==16051== Lock acquired, processing the job...
[2025-01-09 15:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:16:01] Production.INFO: neon service started
[2025-01-09 15:16:01] Production.INFO: neon service started
[2025-01-09 15:16:01] Production.INFO: ==16051== Releasing lock...
[2025-01-09 15:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:16:01] Production.INFO: ==16053== Lock acquired, processing the job...
[2025-01-09 10:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:16:02] Production.INFO: ==16053== Releasing lock...
[2025-01-09 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:16:02] Production.INFO: ==16055== Lock acquired, processing the job...
[2025-01-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:16:02] Production.INFO: ==16055== Releasing lock...
[2025-01-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:16:03] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-01-09 10:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:16:03] Production.INFO: ==16059== Lock acquired, processing the job...
[2025-01-09 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:16:03] Production.INFO: ==16063== Lock acquired, processing the job...
[2025-01-09 10:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:16:03] Production.INFO: Account Balance Start.
[2025-01-09 10:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:16:03] Production.INFO: 117
[2025-01-09 10:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:16:03] Production.INFO: ==16061== Lock acquired, processing the job...
[2025-01-09 10:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:16:03] Production.INFO: Total Charge 0
[2025-01-09 10:16:03] Production.INFO: CreateAllLog End
[2025-01-09 10:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:16:03] Production.INFO: ==16065== Lock acquired, processing the job...
[2025-01-09 10:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:16:03] Production.INFO: ==16067== Lock acquired, processing the job...
[2025-01-09 10:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:16:03] Production.INFO: ==16059== Releasing lock...
[2025-01-09 10:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:16:03] Production.INFO: Account Balance End.
[2025-01-09 10:16:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:16:03] Production.INFO: ==16063== Releasing lock...
[2025-01-09 10:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:16:03] Production.INFO: count ==21
[2025-01-09 10:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:16:03] Production.INFO: count ==21
[2025-01-09 10:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208903') start
[2025-01-09 10:16:03] Production.ERROR: done
[2025-01-09 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208903') end
[2025-01-09 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:16:04] Production.INFO: 1
[2025-01-09 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:16:04] Production.INFO: ==16067== Releasing lock...
[2025-01-09 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:16:04] Production.ERROR: done
[2025-01-09 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:16:05
[end_date_ymd] => 2025-01-09 10:16:05
[RateCDR] => 1
)
[2025-01-09 10:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:16:05' and `end` < '2025-01-09 10:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:16:11] Production.ERROR: CronJobId end10
[2025-01-09 10:16:11] Production.INFO: ==16061== Releasing lock...
[2025-01-09 10:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:16:12] Production.INFO: call_cost start
[2025-01-09 10:16:12] Production.INFO: call_cost end
[2025-01-09 10:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:16:13] Production.INFO: ==16057== Releasing lock...
[2025-01-09 10:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:16:21] Production.INFO: count ==2598
[2025-01-09 10:16:22] Production.ERROR: pbx CDR StartTime 2025-01-09 07:16:05 - End Time 2025-01-09 10:16:05
[2025-01-09 10:16:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208904', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208904', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208904', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208904', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:16:22] Production.INFO: ProcessCDR(1,14208904,1,1,2)
[2025-01-09 10:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:16:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:16:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:16:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208904', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:16:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208904', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:16:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:16:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:16:27] Production.INFO: ==16065== Releasing lock...
[2025-01-09 10:16:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:16:27] Production.INFO: 48 MB #Memory Used#
[2025-01-09 15:17:01] Production.INFO: ==16121== Lock acquired, processing the job...
[2025-01-09 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:17:02] Production.INFO: neon service started
[2025-01-09 15:17:02] Production.INFO: neon service started
[2025-01-09 15:17:02] Production.INFO: ==16121== Releasing lock...
[2025-01-09 15:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:17:02] Production.INFO: ==16123== Lock acquired, processing the job...
[2025-01-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:17:02] Production.INFO: ==16123== Releasing lock...
[2025-01-09 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:17:02] Production.INFO: ==16125== Lock acquired, processing the job...
[2025-01-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:17:02] Production.INFO: ==16125== Releasing lock...
[2025-01-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:17:03] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:17:03] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:17:03] Production.INFO: ==16132== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:17:03] Production.INFO: ==16134== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:17:03] Production.INFO: ==16136== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:17:03] Production.INFO: Account Balance Start.
[2025-01-09 10:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:17:03] Production.INFO: 117
[2025-01-09 10:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:17:03] Production.INFO: Total Charge 0
[2025-01-09 10:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:17:03] Production.INFO: CreateAllLog End
[2025-01-09 10:17:03] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-01-09 10:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:17:03] Production.INFO: ==16130== Releasing lock...
[2025-01-09 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:17:04] Production.INFO: Account Balance End.
[2025-01-09 10:17:04] Production.INFO: count ==21
[2025-01-09 10:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:17:04] Production.INFO: ==16134== Releasing lock...
[2025-01-09 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:17:04] Production.ERROR: done
[2025-01-09 10:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:17:04] Production.INFO: count ==21
[2025-01-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208908') start
[2025-01-09 10:17:04] Production.ERROR: done
[2025-01-09 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208908') end
[2025-01-09 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:17:04] Production.INFO: 1
[2025-01-09 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:17:04] Production.INFO: ==16138== Releasing lock...
[2025-01-09 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:17:05
[end_date_ymd] => 2025-01-09 10:17:05
[RateCDR] => 1
)
[2025-01-09 10:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:17:05' and `end` < '2025-01-09 10:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:17:11] Production.ERROR: CronJobId end10
[2025-01-09 10:17:11] Production.INFO: ==16132== Releasing lock...
[2025-01-09 10:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:17:13] Production.INFO: call_cost start
[2025-01-09 10:17:13] Production.INFO: call_cost end
[2025-01-09 10:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:17:14] Production.INFO: ==16128== Releasing lock...
[2025-01-09 10:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:17:20] Production.INFO: count ==2633
[2025-01-09 10:17:21] Production.ERROR: pbx CDR StartTime 2025-01-09 07:17:05 - End Time 2025-01-09 10:17:05
[2025-01-09 10:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208909', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208909', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208909', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208909', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:17:21] Production.INFO: ProcessCDR(1,14208909,1,1,2)
[2025-01-09 10:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208909', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208909', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:17:25] Production.INFO: ==16136== Releasing lock...
[2025-01-09 10:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:17:25] Production.INFO: 48.25 MB #Memory Used#
[2025-01-09 15:18:01] Production.INFO: ==16190== Lock acquired, processing the job...
[2025-01-09 15:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:18:01] Production.INFO: neon service started
[2025-01-09 15:18:01] Production.INFO: neon service started
[2025-01-09 15:18:01] Production.INFO: ==16190== Releasing lock...
[2025-01-09 15:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:18:01] Production.INFO: ==16192== Lock acquired, processing the job...
[2025-01-09 10:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:18:02] Production.INFO: ==16192== Releasing lock...
[2025-01-09 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:18:02] Production.INFO: ==16194== Lock acquired, processing the job...
[2025-01-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:18:02] Production.INFO: ==16194== Releasing lock...
[2025-01-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:18:02] Production.INFO: ==16197== Lock acquired, processing the job...
[2025-01-09 10:18:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:18:03] Production.INFO: ==16201== Lock acquired, processing the job...
[2025-01-09 10:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:18:03] Production.INFO: ==16205== Lock acquired, processing the job...
[2025-01-09 10:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:18:03] Production.INFO: ==16199== Lock acquired, processing the job...
[2025-01-09 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:18:03] Production.INFO: ==16203== Lock acquired, processing the job...
[2025-01-09 10:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:18:03] Production.INFO: ==16207== Lock acquired, processing the job...
[2025-01-09 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:18:03] Production.ERROR: done
[2025-01-09 10:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:18:03] Production.ERROR: done
[2025-01-09 10:18:03] Production.INFO: Account Balance Start.
[2025-01-09 10:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:18:03] Production.INFO: 117
[2025-01-09 10:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:18:03] Production.INFO: count ==21
[2025-01-09 10:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:18:03] Production.INFO: count ==21
[2025-01-09 10:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:18:03] Production.INFO: Total Charge 0
[2025-01-09 10:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208913') start
[2025-01-09 10:18:03] Production.INFO: ==16199== Releasing lock...
[2025-01-09 10:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:18:03] Production.INFO: CreateAllLog End
[2025-01-09 10:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208913') end
[2025-01-09 10:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:18:03] Production.INFO: 1
[2025-01-09 10:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:18:03] Production.INFO: Account Balance End.
[2025-01-09 10:18:03] Production.INFO: ==16207== Releasing lock...
[2025-01-09 10:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:18:03] Production.INFO: ==16203== Releasing lock...
[2025-01-09 10:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:18:04
[end_date_ymd] => 2025-01-09 10:18:04
[RateCDR] => 1
)
[2025-01-09 10:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:18:04' and `end` < '2025-01-09 10:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:18:09] Production.ERROR: CronJobId end10
[2025-01-09 10:18:09] Production.INFO: ==16201== Releasing lock...
[2025-01-09 10:18:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:18:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:18:13] Production.INFO: call_cost start
[2025-01-09 10:18:13] Production.INFO: call_cost end
[2025-01-09 10:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:18:14] Production.INFO: ==16197== Releasing lock...
[2025-01-09 10:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:18:17] Production.INFO: count ==2637
[2025-01-09 10:18:19] Production.ERROR: pbx CDR StartTime 2025-01-09 07:18:04 - End Time 2025-01-09 10:18:04
[2025-01-09 10:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208914', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208914', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208914', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208914', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:18:19] Production.INFO: ProcessCDR(1,14208914,1,1,2)
[2025-01-09 10:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208914', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208914', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:18:23] Production.INFO: ==16205== Releasing lock...
[2025-01-09 10:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:18:23] Production.INFO: 48 MB #Memory Used#
[2025-01-09 15:19:01] Production.INFO: ==16265== Lock acquired, processing the job...
[2025-01-09 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:19:01] Production.INFO: neon service started
[2025-01-09 15:19:01] Production.INFO: neon service started
[2025-01-09 15:19:01] Production.INFO: ==16265== Releasing lock...
[2025-01-09 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:19:02] Production.INFO: ==16267== Lock acquired, processing the job...
[2025-01-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:19:02] Production.INFO: ==16269== Lock acquired, processing the job...
[2025-01-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:19:02] Production.INFO: ==16269== Releasing lock...
[2025-01-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:19:02] Production.INFO: ==16267== Releasing lock...
[2025-01-09 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:19:03] Production.INFO: ==16273== Lock acquired, processing the job...
[2025-01-09 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:19:03] Production.INFO: ==16277== Lock acquired, processing the job...
[2025-01-09 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:19:03] Production.INFO: ==16271== Lock acquired, processing the job...
[2025-01-09 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:19:03] Production.INFO: Account Balance Start.
[2025-01-09 10:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:19:03] Production.INFO: 117
[2025-01-09 10:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:19:03] Production.INFO: ==16275== Lock acquired, processing the job...
[2025-01-09 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:19:03] Production.INFO: ==16273== Releasing lock...
[2025-01-09 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:19:03] Production.INFO: ==16279== Lock acquired, processing the job...
[2025-01-09 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:19:03] Production.INFO: Total Charge 0
[2025-01-09 10:19:03] Production.INFO: CreateAllLog End
[2025-01-09 10:19:03] Production.INFO: ==16282== Lock acquired, processing the job...
[2025-01-09 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:19:04] Production.INFO: Account Balance End.
[2025-01-09 10:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:19:04] Production.INFO: ==16277== Releasing lock...
[2025-01-09 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:19:04] Production.INFO: count ==21
[2025-01-09 10:19:04] Production.ERROR: done
[2025-01-09 10:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:19:04] Production.INFO: count ==21
[2025-01-09 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208918') start
[2025-01-09 10:19:04] Production.ERROR: done
[2025-01-09 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208918') end
[2025-01-09 10:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:19:04] Production.INFO: 1
[2025-01-09 10:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:19:04] Production.INFO: ==16282== Releasing lock...
[2025-01-09 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:19:05
[end_date_ymd] => 2025-01-09 10:19:05
[RateCDR] => 1
)
[2025-01-09 10:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:19:05' and `end` < '2025-01-09 10:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:19:11] Production.ERROR: CronJobId end10
[2025-01-09 10:19:11] Production.INFO: ==16275== Releasing lock...
[2025-01-09 10:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:19:12] Production.INFO: call_cost start
[2025-01-09 10:19:12] Production.INFO: call_cost end
[2025-01-09 10:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:19:13] Production.INFO: ==16271== Releasing lock...
[2025-01-09 10:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:19:23] Production.INFO: count ==2678
[2025-01-09 10:19:24] Production.ERROR: pbx CDR StartTime 2025-01-09 07:19:05 - End Time 2025-01-09 10:19:05
[2025-01-09 10:19:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208919', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208919', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208919', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208919', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:19:24] Production.INFO: ProcessCDR(1,14208919,1,1,2)
[2025-01-09 10:19:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:19:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:19:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:19:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:19:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208919', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:19:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208919', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:19:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:19:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:19:30] Production.INFO: ==16279== Releasing lock...
[2025-01-09 10:19:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:19:30] Production.INFO: 48.75 MB #Memory Used#
[2025-01-09 15:20:02] Production.INFO: ==16335== Lock acquired, processing the job...
[2025-01-09 15:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:20:02] Production.INFO: neon service started
[2025-01-09 15:20:02] Production.INFO: neon service started
[2025-01-09 15:20:02] Production.INFO: ==16335== Releasing lock...
[2025-01-09 15:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:20:02] Production.INFO: ==16337== Lock acquired, processing the job...
[2025-01-09 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:20:03] Production.INFO: ==16337== Releasing lock...
[2025-01-09 10:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:20:03] Production.INFO: ==16339== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:20:03] Production.INFO: ==16339== Releasing lock...
[2025-01-09 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:20:04] Production.INFO: ==16343== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:20:04] Production.INFO: ==16341== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 10:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 10:20:04] Production.INFO: ==16349== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:20:04] Production.INFO: ==16351== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:20:04] Production.INFO: ==16345== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 10:20:04] Production.INFO: ==16341== Releasing lock...
[2025-01-09 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 10:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:20:04] Production.INFO: ==16347== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:20:04] Production.INFO: Account Balance Start.
[2025-01-09 10:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:20:04] Production.INFO: 117
[2025-01-09 10:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:20:04] Production.INFO: ==16353== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 10:20:04] Production.INFO: ==16355== Lock acquired, processing the job...
[2025-01-09 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:20:04] Production.INFO: Total Charge 0
[2025-01-09 10:20:04] Production.INFO: CreateAllLog End
[2025-01-09 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:20:04] Production.ERROR: done
[2025-01-09 10:20:04] Production.INFO: ==16345== Releasing lock...
[2025-01-09 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:20:04] Production.INFO: count ==21
[2025-01-09 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:20:04] Production.INFO: count ==21
[2025-01-09 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208923') start
[2025-01-09 10:20:04] Production.ERROR: done
[2025-01-09 10:20:04] Production.ERROR: done
[2025-01-09 10:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208923') end
[2025-01-09 10:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:20:04] Production.INFO: 1
[2025-01-09 10:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:20:05] Production.INFO: Account Balance End.
[2025-01-09 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208925', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 10:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 10:20:05] Production.INFO: ==16355== Releasing lock...
[2025-01-09 10:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:20:05] Production.INFO: ==16349== Releasing lock...
[2025-01-09 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:20:06
[end_date_ymd] => 2025-01-09 10:20:06
[RateCDR] => 1
)
[2025-01-09 10:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:20:06' and `end` < '2025-01-09 10:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208925', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 10:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 10:20:08] Production.INFO: ProcessCDR(1,14208925,1,1,2)
[2025-01-09 10:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208925,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208925,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:20:08] Production.INFO: ==16353== Releasing lock...
[2025-01-09 10:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 10:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 10:20:13] Production.ERROR: CronJobId end10
[2025-01-09 10:20:13] Production.INFO: ==16347== Releasing lock...
[2025-01-09 10:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:20:14] Production.INFO: call_cost start
[2025-01-09 10:20:14] Production.INFO: call_cost end
[2025-01-09 10:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:20:15] Production.INFO: ==16343== Releasing lock...
[2025-01-09 10:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:20:26] Production.INFO: count ==2715
[2025-01-09 10:20:28] Production.ERROR: pbx CDR StartTime 2025-01-09 07:20:06 - End Time 2025-01-09 10:20:06
[2025-01-09 10:20:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208924', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208924', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208924', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208924', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:20:28] Production.INFO: ProcessCDR(1,14208924,1,1,2)
[2025-01-09 10:20:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:20:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:20:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:20:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208924', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208924', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:20:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:20:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:20:32] Production.INFO: ==16351== Releasing lock...
[2025-01-09 10:20:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:20:32] Production.INFO: 48.75 MB #Memory Used#
[2025-01-09 15:21:01] Production.INFO: ==16409== Lock acquired, processing the job...
[2025-01-09 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:21:01] Production.INFO: neon service started
[2025-01-09 15:21:01] Production.INFO: neon service started
[2025-01-09 15:21:01] Production.INFO: ==16409== Releasing lock...
[2025-01-09 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:21:02] Production.INFO: ==16411== Lock acquired, processing the job...
[2025-01-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:21:02] Production.INFO: ==16411== Releasing lock...
[2025-01-09 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:21:02] Production.INFO: ==16413== Lock acquired, processing the job...
[2025-01-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:21:02] Production.INFO: ==16413== Releasing lock...
[2025-01-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:21:03] Production.INFO: ==16415== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:21:03] Production.INFO: ==16419== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:21:03] Production.INFO: ==16421== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:21:03] Production.INFO: ==16417== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:21:03] Production.INFO: ==16425== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:21:03] Production.INFO: Account Balance Start.
[2025-01-09 10:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:21:03] Production.INFO: 117
[2025-01-09 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:21:03] Production.INFO: ==16423== Lock acquired, processing the job...
[2025-01-09 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:21:03] Production.INFO: count ==21
[2025-01-09 10:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:21:03] Production.INFO: count ==21
[2025-01-09 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208928') start
[2025-01-09 10:21:03] Production.INFO: Total Charge 0
[2025-01-09 10:21:03] Production.INFO: CreateAllLog End
[2025-01-09 10:21:03] Production.INFO: ==16417== Releasing lock...
[2025-01-09 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208928') end
[2025-01-09 10:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:21:03] Production.INFO: 1
[2025-01-09 10:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:21:03] Production.INFO: ==16425== Releasing lock...
[2025-01-09 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:21:03] Production.ERROR: done
[2025-01-09 10:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:21:03] Production.INFO: Account Balance End.
[2025-01-09 10:21:03] Production.ERROR: done
[2025-01-09 10:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:21:03] Production.INFO: ==16421== Releasing lock...
[2025-01-09 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:21:04
[end_date_ymd] => 2025-01-09 10:21:04
[RateCDR] => 1
)
[2025-01-09 10:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:21:04' and `end` < '2025-01-09 10:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:21:10] Production.ERROR: CronJobId end10
[2025-01-09 10:21:10] Production.INFO: ==16419== Releasing lock...
[2025-01-09 10:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:21:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:21:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:21:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:21:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:21:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:21:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:21:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:21:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:21:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:21:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:21:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:21:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:21:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:21:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:21:12] Production.INFO: call_cost start
[2025-01-09 10:21:12] Production.INFO: call_cost end
[2025-01-09 10:21:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:21:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:21:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:21:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:21:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:21:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:21:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:21:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:21:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:21:12] Production.INFO: ==16415== Releasing lock...
[2025-01-09 10:21:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:21:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:21:21] Production.INFO: count ==2807
[2025-01-09 10:21:22] Production.ERROR: pbx CDR StartTime 2025-01-09 07:21:04 - End Time 2025-01-09 10:21:04
[2025-01-09 10:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208930', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208930', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208930', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208930', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:21:22] Production.INFO: ProcessCDR(1,14208930,1,1,2)
[2025-01-09 10:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:21:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:21:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:21:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208930', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:21:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208930', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:21:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:21:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:21:27] Production.INFO: ==16423== Releasing lock...
[2025-01-09 10:21:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:21:27] Production.INFO: 49.5 MB #Memory Used#
[2025-01-09 15:22:02] Production.INFO: ==16479== Lock acquired, processing the job...
[2025-01-09 15:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:22:02] Production.INFO: neon service started
[2025-01-09 15:22:02] Production.INFO: neon service started
[2025-01-09 15:22:02] Production.INFO: ==16479== Releasing lock...
[2025-01-09 15:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:22:02] Production.INFO: ==16481== Lock acquired, processing the job...
[2025-01-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:22:02] Production.INFO: ==16481== Releasing lock...
[2025-01-09 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:22:03] Production.INFO: ==16483== Lock acquired, processing the job...
[2025-01-09 15:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:22:03] Production.INFO: ==16483== Releasing lock...
[2025-01-09 15:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:22:03] Production.INFO: ==16492== Lock acquired, processing the job...
[2025-01-09 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:22:03] Production.INFO: ==16496== Lock acquired, processing the job...
[2025-01-09 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:22:03] Production.INFO: Account Balance Start.
[2025-01-09 10:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:22:03] Production.INFO: 117
[2025-01-09 10:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:22:03] Production.INFO: ==16486== Lock acquired, processing the job...
[2025-01-09 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:22:04] Production.INFO: count ==21
[2025-01-09 10:22:04] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-01-09 10:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:22:04] Production.INFO: count ==21
[2025-01-09 10:22:04] Production.INFO: ==16488== Lock acquired, processing the job...
[2025-01-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208932') start
[2025-01-09 10:22:04] Production.INFO: Total Charge 0
[2025-01-09 10:22:04] Production.INFO: ==16490== Lock acquired, processing the job...
[2025-01-09 10:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:22:04] Production.INFO: CreateAllLog End
[2025-01-09 10:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208932') end
[2025-01-09 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:22:04] Production.INFO: 1
[2025-01-09 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:22:04] Production.INFO: ==16496== Releasing lock...
[2025-01-09 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:22:04] Production.ERROR: done
[2025-01-09 10:22:04] Production.INFO: Account Balance End.
[2025-01-09 10:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:22:04] Production.INFO: ==16492== Releasing lock...
[2025-01-09 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:22:04] Production.INFO: ==16488== Releasing lock...
[2025-01-09 10:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:22:04] Production.ERROR: done
[2025-01-09 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:22:05
[end_date_ymd] => 2025-01-09 10:22:05
[RateCDR] => 1
)
[2025-01-09 10:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:22:05' and `end` < '2025-01-09 10:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:22:11] Production.ERROR: CronJobId end10
[2025-01-09 10:22:11] Production.INFO: ==16490== Releasing lock...
[2025-01-09 10:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:22:13] Production.INFO: call_cost start
[2025-01-09 10:22:13] Production.INFO: call_cost end
[2025-01-09 10:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:22:14] Production.INFO: ==16486== Releasing lock...
[2025-01-09 10:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:22:24] Production.INFO: count ==2810
[2025-01-09 10:22:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:22:05 - End Time 2025-01-09 10:22:05
[2025-01-09 10:22:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208935', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208935', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208935', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208935', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:22:26] Production.INFO: ProcessCDR(1,14208935,1,1,2)
[2025-01-09 10:22:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:22:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:22:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:22:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208935', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:22:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208935', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:22:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:22:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:22:29] Production.INFO: ==16494== Releasing lock...
[2025-01-09 10:22:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:22:29] Production.INFO: 49.75 MB #Memory Used#
[2025-01-09 15:23:01] Production.INFO: ==16549== Lock acquired, processing the job...
[2025-01-09 15:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:23:01] Production.INFO: neon service started
[2025-01-09 15:23:01] Production.INFO: neon service started
[2025-01-09 15:23:01] Production.INFO: ==16549== Releasing lock...
[2025-01-09 15:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:23:02] Production.INFO: ==16552== Lock acquired, processing the job...
[2025-01-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:23:02] Production.INFO: ==16554== Lock acquired, processing the job...
[2025-01-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:23:02] Production.INFO: ==16554== Releasing lock...
[2025-01-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:23:02] Production.INFO: ==16552== Releasing lock...
[2025-01-09 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:23:03] Production.INFO: ==16556== Lock acquired, processing the job...
[2025-01-09 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:23:03] Production.INFO: ==16560== Lock acquired, processing the job...
[2025-01-09 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:23:03] Production.INFO: ==16562== Lock acquired, processing the job...
[2025-01-09 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:23:03] Production.INFO: Account Balance Start.
[2025-01-09 10:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:23:03] Production.INFO: 117
[2025-01-09 10:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:23:03] Production.INFO: ==16558== Lock acquired, processing the job...
[2025-01-09 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:23:03] Production.INFO: Total Charge 0
[2025-01-09 10:23:03] Production.INFO: CreateAllLog End
[2025-01-09 10:23:03] Production.INFO: ==16566== Lock acquired, processing the job...
[2025-01-09 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:23:03] Production.INFO: ==16564== Lock acquired, processing the job...
[2025-01-09 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:23:03] Production.INFO: Account Balance End.
[2025-01-09 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:23:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:23:03] Production.INFO: ==16562== Releasing lock...
[2025-01-09 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:23:03] Production.INFO: count ==21
[2025-01-09 10:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:23:03] Production.INFO: count ==21
[2025-01-09 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208939') start
[2025-01-09 10:23:03] Production.INFO: ==16558== Releasing lock...
[2025-01-09 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208939') end
[2025-01-09 10:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:23:04] Production.INFO: 1
[2025-01-09 10:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:23:04] Production.INFO: ==16566== Releasing lock...
[2025-01-09 10:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:23:04] Production.ERROR: done
[2025-01-09 10:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:23:04] Production.ERROR: done
[2025-01-09 10:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:23:05
[end_date_ymd] => 2025-01-09 10:23:05
[RateCDR] => 1
)
[2025-01-09 10:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:23:05' and `end` < '2025-01-09 10:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:23:12] Production.ERROR: CronJobId end10
[2025-01-09 10:23:12] Production.INFO: ==16560== Releasing lock...
[2025-01-09 10:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:23:13] Production.INFO: call_cost start
[2025-01-09 10:23:13] Production.INFO: call_cost end
[2025-01-09 10:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:23:13] Production.INFO: ==16556== Releasing lock...
[2025-01-09 10:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:23:19] Production.INFO: count ==2833
[2025-01-09 10:23:20] Production.ERROR: pbx CDR StartTime 2025-01-09 07:23:05 - End Time 2025-01-09 10:23:05
[2025-01-09 10:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208940', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208940', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208940', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208940', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:23:20] Production.INFO: ProcessCDR(1,14208940,1,1,2)
[2025-01-09 10:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208940', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208940', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:23:25] Production.INFO: ==16564== Releasing lock...
[2025-01-09 10:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:23:25] Production.INFO: 49.5 MB #Memory Used#
[2025-01-09 15:24:02] Production.INFO: ==16622== Lock acquired, processing the job...
[2025-01-09 15:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:24:02] Production.INFO: neon service started
[2025-01-09 15:24:02] Production.INFO: neon service started
[2025-01-09 15:24:02] Production.INFO: ==16622== Releasing lock...
[2025-01-09 15:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:24:02] Production.INFO: ==16624== Lock acquired, processing the job...
[2025-01-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:24:02] Production.INFO: ==16624== Releasing lock...
[2025-01-09 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:24:03] Production.INFO: ==16626== Lock acquired, processing the job...
[2025-01-09 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:24:03] Production.INFO: ==16626== Releasing lock...
[2025-01-09 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:24:03] Production.INFO: ==16629== Lock acquired, processing the job...
[2025-01-09 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:24:03] Production.INFO: ==16633== Lock acquired, processing the job...
[2025-01-09 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:24:03] Production.INFO: ==16635== Lock acquired, processing the job...
[2025-01-09 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:24:03] Production.INFO: Account Balance Start.
[2025-01-09 10:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:24:03] Production.INFO: 117
[2025-01-09 10:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:24:03] Production.INFO: ==16631== Lock acquired, processing the job...
[2025-01-09 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:24:04] Production.INFO: Total Charge 0
[2025-01-09 10:24:04] Production.INFO: CreateAllLog End
[2025-01-09 10:24:04] Production.INFO: ==16637== Lock acquired, processing the job...
[2025-01-09 10:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:24:04] Production.INFO: ==16639== Lock acquired, processing the job...
[2025-01-09 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:24:04] Production.INFO: Account Balance End.
[2025-01-09 10:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:24:04] Production.INFO: ==16635== Releasing lock...
[2025-01-09 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:24:04] Production.INFO: ==16631== Releasing lock...
[2025-01-09 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:24:04] Production.INFO: count ==21
[2025-01-09 10:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:24:04] Production.INFO: count ==21
[2025-01-09 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208944') start
[2025-01-09 10:24:04] Production.ERROR: done
[2025-01-09 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:24:04] Production.ERROR: done
[2025-01-09 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208944') end
[2025-01-09 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:24:04] Production.INFO: 1
[2025-01-09 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:24:04] Production.INFO: ==16639== Releasing lock...
[2025-01-09 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:24:05
[end_date_ymd] => 2025-01-09 10:24:05
[RateCDR] => 1
)
[2025-01-09 10:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:24:05' and `end` < '2025-01-09 10:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:24:11] Production.ERROR: CronJobId end10
[2025-01-09 10:24:11] Production.INFO: ==16633== Releasing lock...
[2025-01-09 10:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:24:13] Production.INFO: call_cost start
[2025-01-09 10:24:13] Production.INFO: call_cost end
[2025-01-09 10:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:24:13] Production.INFO: ==16629== Releasing lock...
[2025-01-09 10:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:24:30] Production.INFO: count ==2861
[2025-01-09 10:24:31] Production.ERROR: pbx CDR StartTime 2025-01-09 07:24:05 - End Time 2025-01-09 10:24:05
[2025-01-09 10:24:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208945', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208945', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208945', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:24:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208945', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:24:31] Production.INFO: ProcessCDR(1,14208945,1,1,2)
[2025-01-09 10:24:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:24:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:24:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:24:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:24:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208945', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:24:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208945', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:24:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:24:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:24:36] Production.INFO: ==16637== Releasing lock...
[2025-01-09 10:24:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:24:36] Production.INFO: 50 MB #Memory Used#
[2025-01-09 15:25:01] Production.INFO: ==16701== Lock acquired, processing the job...
[2025-01-09 15:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:25:01] Production.INFO: neon service started
[2025-01-09 15:25:01] Production.INFO: neon service started
[2025-01-09 15:25:01] Production.INFO: ==16701== Releasing lock...
[2025-01-09 15:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:25:02] Production.INFO: ==16703== Lock acquired, processing the job...
[2025-01-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:25:02] Production.INFO: ==16705== Lock acquired, processing the job...
[2025-01-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:25:02] Production.INFO: ==16705== Releasing lock...
[2025-01-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:25:02] Production.INFO: ==16703== Releasing lock...
[2025-01-09 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:25:03] Production.INFO: ==16712== Lock acquired, processing the job...
[2025-01-09 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:25:03] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-01-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:25:03] Production.INFO: ==16708== Lock acquired, processing the job...
[2025-01-09 10:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:25:03] Production.INFO: ==16710== Lock acquired, processing the job...
[2025-01-09 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:25:03] Production.INFO: count ==21
[2025-01-09 10:25:03] Production.INFO: ==16714== Lock acquired, processing the job...
[2025-01-09 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:25:03] Production.INFO: count ==21
[2025-01-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208946') start
[2025-01-09 10:25:03] Production.INFO: ==16716== Lock acquired, processing the job...
[2025-01-09 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:25:03] Production.INFO: Account Balance Start.
[2025-01-09 10:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:25:03] Production.INFO: 117
[2025-01-09 10:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208946') end
[2025-01-09 10:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:25:03] Production.INFO: 1
[2025-01-09 10:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:25:03] Production.INFO: Total Charge 0
[2025-01-09 10:25:03] Production.INFO: CreateAllLog End
[2025-01-09 10:25:03] Production.INFO: ==16718== Releasing lock...
[2025-01-09 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:25:04] Production.INFO: ==16710== Releasing lock...
[2025-01-09 10:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:25:04] Production.INFO: Account Balance End.
[2025-01-09 10:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:25:04] Production.INFO: ==16714== Releasing lock...
[2025-01-09 10:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:25:04] Production.ERROR: done
[2025-01-09 10:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:25:04] Production.ERROR: done
[2025-01-09 10:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:25:05
[end_date_ymd] => 2025-01-09 10:25:05
[RateCDR] => 1
)
[2025-01-09 10:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:25:05' and `end` < '2025-01-09 10:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:25:11] Production.ERROR: CronJobId end10
[2025-01-09 10:25:11] Production.INFO: ==16712== Releasing lock...
[2025-01-09 10:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:25:13] Production.INFO: call_cost start
[2025-01-09 10:25:13] Production.INFO: call_cost end
[2025-01-09 10:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:25:13] Production.INFO: ==16708== Releasing lock...
[2025-01-09 10:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:25:23] Production.INFO: count ==2879
[2025-01-09 10:25:24] Production.ERROR: pbx CDR StartTime 2025-01-09 07:25:05 - End Time 2025-01-09 10:25:05
[2025-01-09 10:25:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:25:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208950', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:25:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208950', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:25:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208950', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:25:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208950', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:25:24] Production.INFO: ProcessCDR(1,14208950,1,1,2)
[2025-01-09 10:25:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:25:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:25:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:25:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:25:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208950', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:25:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208950', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:25:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:25:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:25:29] Production.INFO: ==16716== Releasing lock...
[2025-01-09 10:25:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:25:29] Production.INFO: 49.5 MB #Memory Used#
[2025-01-09 15:26:02] Production.INFO: ==16772== Lock acquired, processing the job...
[2025-01-09 15:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:26:02] Production.INFO: neon service started
[2025-01-09 15:26:02] Production.INFO: neon service started
[2025-01-09 15:26:02] Production.INFO: ==16772== Releasing lock...
[2025-01-09 15:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:26:02] Production.INFO: ==16774== Lock acquired, processing the job...
[2025-01-09 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:26:02] Production.INFO: ==16776== Lock acquired, processing the job...
[2025-01-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:26:02] Production.INFO: ==16776== Releasing lock...
[2025-01-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:26:03] Production.INFO: ==16774== Releasing lock...
[2025-01-09 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:26:03] Production.INFO: ==16779== Lock acquired, processing the job...
[2025-01-09 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:26:03] Production.INFO: ==16781== Lock acquired, processing the job...
[2025-01-09 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:26:03] Production.INFO: ==16787== Lock acquired, processing the job...
[2025-01-09 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:26:04] Production.INFO: ==16781== Releasing lock...
[2025-01-09 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:26:04] Production.INFO: ==16783== Lock acquired, processing the job...
[2025-01-09 10:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:26:04] Production.INFO: ==16785== Lock acquired, processing the job...
[2025-01-09 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:26:04] Production.INFO: ==16789== Lock acquired, processing the job...
[2025-01-09 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:26:04] Production.ERROR: done
[2025-01-09 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:26:04] Production.INFO: count ==21
[2025-01-09 10:26:04] Production.ERROR: done
[2025-01-09 10:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:26:04] Production.INFO: count ==21
[2025-01-09 10:26:04] Production.INFO: Account Balance Start.
[2025-01-09 10:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:26:04] Production.INFO: 117
[2025-01-09 10:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208953') start
[2025-01-09 10:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:26:04] Production.INFO: Total Charge 0
[2025-01-09 10:26:04] Production.INFO: CreateAllLog End
[2025-01-09 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208953') end
[2025-01-09 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:26:04] Production.INFO: 1
[2025-01-09 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:26:04] Production.INFO: ==16789== Releasing lock...
[2025-01-09 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:26:04] Production.INFO: Account Balance End.
[2025-01-09 10:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:26:04] Production.INFO: ==16785== Releasing lock...
[2025-01-09 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:26:05
[end_date_ymd] => 2025-01-09 10:26:05
[RateCDR] => 1
)
[2025-01-09 10:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:26:05' and `end` < '2025-01-09 10:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:26:11] Production.ERROR: CronJobId end10
[2025-01-09 10:26:11] Production.INFO: ==16783== Releasing lock...
[2025-01-09 10:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:26:13] Production.INFO: call_cost start
[2025-01-09 10:26:13] Production.INFO: call_cost end
[2025-01-09 10:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:26:14] Production.INFO: ==16779== Releasing lock...
[2025-01-09 10:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:26:19] Production.INFO: count ==2897
[2025-01-09 10:26:20] Production.ERROR: pbx CDR StartTime 2025-01-09 07:26:05 - End Time 2025-01-09 10:26:05
[2025-01-09 10:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208955', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208955', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208955', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208955', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:26:20] Production.INFO: ProcessCDR(1,14208955,1,1,2)
[2025-01-09 10:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:26:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:26:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:26:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:26:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208955', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208955', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:26:25] Production.INFO: ==16787== Releasing lock...
[2025-01-09 10:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:26:25] Production.INFO: 50.5 MB #Memory Used#
[2025-01-09 15:27:01] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-01-09 15:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:27:01] Production.INFO: neon service started
[2025-01-09 15:27:01] Production.INFO: neon service started
[2025-01-09 15:27:01] Production.INFO: ==16843== Releasing lock...
[2025-01-09 15:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:27:01] Production.INFO: ==16845== Lock acquired, processing the job...
[2025-01-09 10:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:27:02] Production.INFO: ==16845== Releasing lock...
[2025-01-09 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:27:02] Production.INFO: ==16847== Lock acquired, processing the job...
[2025-01-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:27:02] Production.INFO: ==16847== Releasing lock...
[2025-01-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:27:02] Production.INFO: ==16851== Lock acquired, processing the job...
[2025-01-09 10:27:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:27:03] Production.INFO: ==16853== Lock acquired, processing the job...
[2025-01-09 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:27:03] Production.INFO: ==16855== Lock acquired, processing the job...
[2025-01-09 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:27:03] Production.INFO: Account Balance Start.
[2025-01-09 10:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:27:03] Production.INFO: 117
[2025-01-09 10:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:27:03] Production.INFO: ==16851== Releasing lock...
[2025-01-09 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:27:03] Production.INFO: ==16849== Lock acquired, processing the job...
[2025-01-09 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:27:03] Production.INFO: Total Charge 0
[2025-01-09 10:27:03] Production.INFO: CreateAllLog End
[2025-01-09 10:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:27:03] Production.INFO: ==16857== Lock acquired, processing the job...
[2025-01-09 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:27:03] Production.INFO: Account Balance End.
[2025-01-09 10:27:03] Production.INFO: ==16859== Lock acquired, processing the job...
[2025-01-09 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:27:03] Production.INFO: ==16855== Releasing lock...
[2025-01-09 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:27:03] Production.INFO: count ==21
[2025-01-09 10:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:27:03] Production.INFO: count ==21
[2025-01-09 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208959') start
[2025-01-09 10:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208959') end
[2025-01-09 10:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:27:03] Production.INFO: 1
[2025-01-09 10:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:27:03] Production.ERROR: done
[2025-01-09 10:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:27:03] Production.INFO: ==16859== Releasing lock...
[2025-01-09 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:27:03] Production.ERROR: done
[2025-01-09 10:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:27:04
[end_date_ymd] => 2025-01-09 10:27:04
[RateCDR] => 1
)
[2025-01-09 10:27:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:27:04' and `end` < '2025-01-09 10:27:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:27:11] Production.ERROR: CronJobId end10
[2025-01-09 10:27:11] Production.INFO: ==16853== Releasing lock...
[2025-01-09 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:27:12] Production.INFO: call_cost start
[2025-01-09 10:27:13] Production.INFO: call_cost end
[2025-01-09 10:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:27:13] Production.INFO: ==16849== Releasing lock...
[2025-01-09 10:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:27:18] Production.INFO: count ==2949
[2025-01-09 10:27:19] Production.ERROR: pbx CDR StartTime 2025-01-09 07:27:04 - End Time 2025-01-09 10:27:04
[2025-01-09 10:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208960', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208960', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208960', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208960', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:27:19] Production.INFO: ProcessCDR(1,14208960,1,1,2)
[2025-01-09 10:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208960', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208960', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:27:24] Production.INFO: ==16857== Releasing lock...
[2025-01-09 10:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:27:24] Production.INFO: 50.25 MB #Memory Used#
[2025-01-09 15:28:01] Production.INFO: ==16953== Lock acquired, processing the job...
[2025-01-09 15:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:28:01] Production.INFO: neon service started
[2025-01-09 15:28:02] Production.INFO: neon service started
[2025-01-09 15:28:02] Production.INFO: ==16953== Releasing lock...
[2025-01-09 15:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:28:02] Production.INFO: ==16955== Lock acquired, processing the job...
[2025-01-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:28:02] Production.INFO: ==16957== Lock acquired, processing the job...
[2025-01-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:28:02] Production.INFO: ==16957== Releasing lock...
[2025-01-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:28:02] Production.INFO: ==16955== Releasing lock...
[2025-01-09 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:28:03] Production.INFO: ==16960== Lock acquired, processing the job...
[2025-01-09 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:28:03] Production.INFO: ==16966== Lock acquired, processing the job...
[2025-01-09 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:28:03] Production.INFO: ==16968== Lock acquired, processing the job...
[2025-01-09 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:28:03] Production.INFO: Account Balance Start.
[2025-01-09 10:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:28:03] Production.INFO: 117
[2025-01-09 10:28:03] Production.INFO: ==16962== Lock acquired, processing the job...
[2025-01-09 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:28:03] Production.INFO: ==16964== Lock acquired, processing the job...
[2025-01-09 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:28:04] Production.INFO: ==16970== Lock acquired, processing the job...
[2025-01-09 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:28:04] Production.INFO: Total Charge 0
[2025-01-09 10:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:28:04] Production.INFO: CreateAllLog End
[2025-01-09 10:28:04] Production.ERROR: done
[2025-01-09 10:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:28:04] Production.INFO: count ==21
[2025-01-09 10:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:28:04] Production.INFO: count ==21
[2025-01-09 10:28:04] Production.INFO: ==16962== Releasing lock...
[2025-01-09 10:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208964') start
[2025-01-09 10:28:04] Production.INFO: Account Balance End.
[2025-01-09 10:28:04] Production.ERROR: done
[2025-01-09 10:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:28:04] Production.INFO: ==16966== Releasing lock...
[2025-01-09 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208964') end
[2025-01-09 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:28:04] Production.INFO: 1
[2025-01-09 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:28:04] Production.INFO: ==16970== Releasing lock...
[2025-01-09 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:28:05
[end_date_ymd] => 2025-01-09 10:28:05
[RateCDR] => 1
)
[2025-01-09 10:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:28:05' and `end` < '2025-01-09 10:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:28:11] Production.ERROR: CronJobId end10
[2025-01-09 10:28:11] Production.INFO: ==16964== Releasing lock...
[2025-01-09 10:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:28:13] Production.INFO: call_cost start
[2025-01-09 10:28:13] Production.INFO: call_cost end
[2025-01-09 10:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:28:13] Production.INFO: ==16960== Releasing lock...
[2025-01-09 10:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:28:19] Production.INFO: count ==2952
[2025-01-09 10:28:21] Production.ERROR: pbx CDR StartTime 2025-01-09 07:28:05 - End Time 2025-01-09 10:28:05
[2025-01-09 10:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208965', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208965', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208965', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208965', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:28:21] Production.INFO: ProcessCDR(1,14208965,1,1,2)
[2025-01-09 10:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:28:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208965', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208965', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:28:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:28:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:28:25] Production.INFO: ==16968== Releasing lock...
[2025-01-09 10:28:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:28:25] Production.INFO: 50 MB #Memory Used#
[2025-01-09 15:29:01] Production.INFO: ==17023== Lock acquired, processing the job...
[2025-01-09 15:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:29:01] Production.INFO: neon service started
[2025-01-09 15:29:01] Production.INFO: neon service started
[2025-01-09 15:29:01] Production.INFO: ==17023== Releasing lock...
[2025-01-09 15:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:29:01] Production.INFO: ==17027== Lock acquired, processing the job...
[2025-01-09 15:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:29:01] Production.INFO: ==17027== Releasing lock...
[2025-01-09 15:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:29:01] Production.INFO: ==17025== Lock acquired, processing the job...
[2025-01-09 10:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:29:02] Production.INFO: ==17025== Releasing lock...
[2025-01-09 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:29:03] Production.INFO: ==17031== Lock acquired, processing the job...
[2025-01-09 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:29:03] Production.INFO: ==17039== Lock acquired, processing the job...
[2025-01-09 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:29:03] Production.INFO: ==17029== Lock acquired, processing the job...
[2025-01-09 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:29:03] Production.INFO: ==17033== Lock acquired, processing the job...
[2025-01-09 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:29:03] Production.INFO: ==17035== Lock acquired, processing the job...
[2025-01-09 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:29:03] Production.INFO: ==17037== Lock acquired, processing the job...
[2025-01-09 10:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:29:03] Production.INFO: count ==21
[2025-01-09 10:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:29:03] Production.INFO: count ==21
[2025-01-09 10:29:03] Production.INFO: Account Balance Start.
[2025-01-09 10:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:29:03] Production.INFO: 117
[2025-01-09 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208967') start
[2025-01-09 10:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:29:03] Production.INFO: Total Charge 0
[2025-01-09 10:29:03] Production.INFO: CreateAllLog End
[2025-01-09 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208967') end
[2025-01-09 10:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:29:03] Production.INFO: 1
[2025-01-09 10:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:29:03] Production.INFO: ==17031== Releasing lock...
[2025-01-09 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:29:03] Production.INFO: ==17039== Releasing lock...
[2025-01-09 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:29:03] Production.ERROR: done
[2025-01-09 10:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:29:03] Production.INFO: Account Balance End.
[2025-01-09 10:29:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:29:03] Production.INFO: ==17035== Releasing lock...
[2025-01-09 10:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:29:03] Production.ERROR: done
[2025-01-09 10:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:29:04
[end_date_ymd] => 2025-01-09 10:29:04
[RateCDR] => 1
)
[2025-01-09 10:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:29:04' and `end` < '2025-01-09 10:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:29:10] Production.ERROR: CronJobId end10
[2025-01-09 10:29:10] Production.INFO: ==17033== Releasing lock...
[2025-01-09 10:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:29:13] Production.INFO: call_cost start
[2025-01-09 10:29:13] Production.INFO: call_cost end
[2025-01-09 10:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:29:14] Production.INFO: ==17029== Releasing lock...
[2025-01-09 10:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:29:18] Production.INFO: count ==2958
[2025-01-09 10:29:19] Production.ERROR: pbx CDR StartTime 2025-01-09 07:29:04 - End Time 2025-01-09 10:29:04
[2025-01-09 10:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208970', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208970', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208970', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208970', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:29:19] Production.INFO: ProcessCDR(1,14208970,1,1,2)
[2025-01-09 10:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208970', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208970', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:29:23] Production.INFO: ==17037== Releasing lock...
[2025-01-09 10:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:29:23] Production.INFO: 50.25 MB #Memory Used#
[2025-01-09 15:30:01] Production.INFO: ==17094== Lock acquired, processing the job...
[2025-01-09 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:30:01] Production.INFO: neon service started
[2025-01-09 15:30:01] Production.INFO: neon service started
[2025-01-09 15:30:01] Production.INFO: ==17094== Releasing lock...
[2025-01-09 15:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:30:02] Production.INFO: ==17096== Lock acquired, processing the job...
[2025-01-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:30:02] Production.INFO: ==17096== Releasing lock...
[2025-01-09 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:30:02] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-01-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:30:02] Production.INFO: ==17098== Releasing lock...
[2025-01-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:30:03] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 10:30:03] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 10:30:03] Production.INFO: ==17104== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 10:30:03] Production.INFO: ==17100== Releasing lock...
[2025-01-09 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 10:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 10:30:03] Production.INFO: ==17110== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:30:03] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:30:03] Production.INFO: ==17108== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:30:03] Production.INFO: ==17112== Lock acquired, processing the job...
[2025-01-09 10:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 10:30:03] Production.INFO: Account Balance Start.
[2025-01-09 10:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:30:03] Production.INFO: 117
[2025-01-09 10:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:30:04] Production.INFO: Total Charge 0
[2025-01-09 10:30:04] Production.INFO: ==17115== Lock acquired, processing the job...
[2025-01-09 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:30:04] Production.INFO: CreateAllLog End
[2025-01-09 10:30:04] Production.INFO: ==17104== Releasing lock...
[2025-01-09 10:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:30:04] Production.ERROR: done
[2025-01-09 10:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:30:04] Production.INFO: count ==21
[2025-01-09 10:30:04] Production.INFO: Account Balance End.
[2025-01-09 10:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:30:04] Production.ERROR: done
[2025-01-09 10:30:04] Production.INFO: count ==21
[2025-01-09 10:30:04] Production.ERROR: done
[2025-01-09 10:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:30:04] Production.INFO: ==17108== Releasing lock...
[2025-01-09 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208974') start
[2025-01-09 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208976', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208974') end
[2025-01-09 10:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:30:04] Production.INFO: 1
[2025-01-09 10:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:30:04] Production.INFO: ==17115== Releasing lock...
[2025-01-09 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:30:05
[end_date_ymd] => 2025-01-09 10:30:05
[RateCDR] => 1
)
[2025-01-09 10:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:30:05' and `end` < '2025-01-09 10:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14208976', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 10:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 10:30:08] Production.INFO: ProcessCDR(1,14208976,1,1,2)
[2025-01-09 10:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14208976,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14208976,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:30:08] Production.INFO: ==17112== Releasing lock...
[2025-01-09 10:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 10:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 10:30:13] Production.ERROR: CronJobId end10
[2025-01-09 10:30:13] Production.INFO: ==17106== Releasing lock...
[2025-01-09 10:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:30:14] Production.INFO: call_cost start
[2025-01-09 10:30:14] Production.INFO: call_cost end
[2025-01-09 10:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:30:15] Production.INFO: ==17102== Releasing lock...
[2025-01-09 10:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:30:27] Production.INFO: count ==2999
[2025-01-09 10:30:28] Production.ERROR: pbx CDR StartTime 2025-01-09 07:30:05 - End Time 2025-01-09 10:30:05
[2025-01-09 10:30:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208975', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208975', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208975', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:30:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208975', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:30:28] Production.INFO: ProcessCDR(1,14208975,1,1,2)
[2025-01-09 10:30:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:30:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:30:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:30:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208975', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:30:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208975', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:30:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:30:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:30:33] Production.INFO: ==17110== Releasing lock...
[2025-01-09 10:30:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:30:33] Production.INFO: 50.75 MB #Memory Used#
[2025-01-09 15:31:02] Production.INFO: ==17171== Lock acquired, processing the job...
[2025-01-09 15:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:31:02] Production.INFO: neon service started
[2025-01-09 15:31:02] Production.INFO: neon service started
[2025-01-09 15:31:02] Production.INFO: ==17171== Releasing lock...
[2025-01-09 15:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:31:02] Production.INFO: ==17173== Lock acquired, processing the job...
[2025-01-09 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:31:02] Production.INFO: ==17175== Lock acquired, processing the job...
[2025-01-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:31:02] Production.INFO: ==17175== Releasing lock...
[2025-01-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:31:03] Production.INFO: ==17173== Releasing lock...
[2025-01-09 10:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:31:03] Production.INFO: ==17178== Lock acquired, processing the job...
[2025-01-09 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:31:03] Production.INFO: ==17182== Lock acquired, processing the job...
[2025-01-09 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:31:03] Production.INFO: ==17186== Lock acquired, processing the job...
[2025-01-09 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:31:03] Production.INFO: ==17180== Lock acquired, processing the job...
[2025-01-09 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:31:04] Production.INFO: ==17184== Lock acquired, processing the job...
[2025-01-09 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:31:04] Production.INFO: ==17188== Lock acquired, processing the job...
[2025-01-09 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:31:04] Production.INFO: Account Balance Start.
[2025-01-09 10:31:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:31:04] Production.INFO: 117
[2025-01-09 10:31:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:31:04] Production.ERROR: done
[2025-01-09 10:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 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-01-09 10:31:04] Production.INFO: count ==21
[2025-01-09 10:31:04] Production.ERROR: done
[2025-01-09 10:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:31:04] Production.INFO: ==17180== Releasing lock...
[2025-01-09 10:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:31:04] Production.INFO: count ==21
[2025-01-09 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208980') start
[2025-01-09 10:31:04] Production.INFO: Total Charge 0
[2025-01-09 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208980') end
[2025-01-09 10:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:31:04] Production.INFO: 1
[2025-01-09 10:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:31:04] Production.INFO: CreateAllLog End
[2025-01-09 10:31:04] Production.INFO: ==17188== Releasing lock...
[2025-01-09 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:31:04] Production.INFO: Account Balance End.
[2025-01-09 10:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:31:04] Production.INFO: ==17184== Releasing lock...
[2025-01-09 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:31:05
[end_date_ymd] => 2025-01-09 10:31:05
[RateCDR] => 1
)
[2025-01-09 10:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:31:05' and `end` < '2025-01-09 10:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:31:11] Production.ERROR: CronJobId end10
[2025-01-09 10:31:11] Production.INFO: ==17182== Releasing lock...
[2025-01-09 10:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:31:14] Production.INFO: call_cost start
[2025-01-09 10:31:14] Production.INFO: call_cost end
[2025-01-09 10:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:31:14] Production.INFO: ==17178== Releasing lock...
[2025-01-09 10:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:31:26] Production.INFO: count ==3094
[2025-01-09 10:31:27] Production.ERROR: pbx CDR StartTime 2025-01-09 07:31:05 - End Time 2025-01-09 10:31:05
[2025-01-09 10:31:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:31:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208981', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:31:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208981', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:31:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208981', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:31:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208981', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:31:27] Production.INFO: ProcessCDR(1,14208981,1,1,2)
[2025-01-09 10:31:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:31:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:31:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:31:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:31:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208981', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:31:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208981', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:31:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:31:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:31:32] Production.INFO: ==17186== Releasing lock...
[2025-01-09 10:31:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:31:32] Production.INFO: 51.25 MB #Memory Used#
[2025-01-09 15:32:01] Production.INFO: ==17243== Lock acquired, processing the job...
[2025-01-09 15:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:32:01] Production.INFO: neon service started
[2025-01-09 15:32:01] Production.INFO: neon service started
[2025-01-09 15:32:01] Production.INFO: ==17243== Releasing lock...
[2025-01-09 15:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:32:01] Production.INFO: ==17247== Lock acquired, processing the job...
[2025-01-09 15:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:32:01] Production.INFO: ==17247== Releasing lock...
[2025-01-09 15:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:32:02] Production.INFO: ==17245== Lock acquired, processing the job...
[2025-01-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:32:02] Production.INFO: ==17245== Releasing lock...
[2025-01-09 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:32:03] Production.INFO: ==17254== Lock acquired, processing the job...
[2025-01-09 10:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:32:03] Production.INFO: ==17249== Lock acquired, processing the job...
[2025-01-09 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:32:03] Production.INFO: ==17256== Lock acquired, processing the job...
[2025-01-09 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:32:03] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-01-09 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:32:03] Production.INFO: Account Balance Start.
[2025-01-09 10:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:32:03] Production.INFO: 117
[2025-01-09 10:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:32:03] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-01-09 10:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:32:03] Production.INFO: Total Charge 0
[2025-01-09 10:32:03] Production.INFO: ==17260== Lock acquired, processing the job...
[2025-01-09 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:32:03] Production.INFO: CreateAllLog End
[2025-01-09 10:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:32:03] Production.INFO: ==17251== Releasing lock...
[2025-01-09 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:32:03] Production.INFO: count ==21
[2025-01-09 10:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:32:03] Production.INFO: count ==21
[2025-01-09 10:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208985') start
[2025-01-09 10:32:03] Production.INFO: Account Balance End.
[2025-01-09 10:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208985') end
[2025-01-09 10:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:32:04] Production.INFO: 1
[2025-01-09 10:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:32:04] Production.INFO: ==17256== Releasing lock...
[2025-01-09 10:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:32:04] Production.INFO: ==17260== Releasing lock...
[2025-01-09 10:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:32:04] Production.ERROR: done
[2025-01-09 10:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:32:04] Production.ERROR: done
[2025-01-09 10:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:32:05
[end_date_ymd] => 2025-01-09 10:32:05
[RateCDR] => 1
)
[2025-01-09 10:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:32:05' and `end` < '2025-01-09 10:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:32:12] Production.ERROR: CronJobId end10
[2025-01-09 10:32:12] Production.INFO: ==17254== Releasing lock...
[2025-01-09 10:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:32:13] Production.INFO: call_cost start
[2025-01-09 10:32:13] Production.INFO: call_cost end
[2025-01-09 10:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:32:13] Production.INFO: ==17249== Releasing lock...
[2025-01-09 10:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:32:19] Production.INFO: count ==3127
[2025-01-09 10:32:21] Production.ERROR: pbx CDR StartTime 2025-01-09 07:32:05 - End Time 2025-01-09 10:32:05
[2025-01-09 10:32:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208986', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208986', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208986', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:32:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208986', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:32:21] Production.INFO: ProcessCDR(1,14208986,1,1,2)
[2025-01-09 10:32:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208986', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208986', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:32:25] Production.INFO: ==17258== Releasing lock...
[2025-01-09 10:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:32:25] Production.INFO: 51.25 MB #Memory Used#
[2025-01-09 15:33:02] Production.INFO: ==17315== Lock acquired, processing the job...
[2025-01-09 15:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:33:02] Production.INFO: neon service started
[2025-01-09 15:33:02] Production.INFO: neon service started
[2025-01-09 15:33:02] Production.INFO: ==17315== Releasing lock...
[2025-01-09 15:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:33:03] Production.INFO: ==17319== Lock acquired, processing the job...
[2025-01-09 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:33:03] Production.INFO: ==17319== Releasing lock...
[2025-01-09 15:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:33:03] Production.INFO: ==17317== Lock acquired, processing the job...
[2025-01-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:33:03] Production.INFO: ==17317== Releasing lock...
[2025-01-09 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:33:04] Production.INFO: ==17322== Lock acquired, processing the job...
[2025-01-09 10:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:33:04] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-01-09 10:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:33:04] Production.INFO: ==17326== Lock acquired, processing the job...
[2025-01-09 10:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:33:04] Production.INFO: ==17330== Lock acquired, processing the job...
[2025-01-09 10:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:33:04] Production.INFO: ==17328== Lock acquired, processing the job...
[2025-01-09 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:33:04] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-01-09 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:33:04] Production.INFO: Account Balance Start.
[2025-01-09 10:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:33:04] Production.INFO: 117
[2025-01-09 10:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:33:04] Production.INFO: count ==21
[2025-01-09 10:33:04] Production.INFO: ==17324== Releasing lock...
[2025-01-09 10:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:33:04] Production.INFO: count ==21
[2025-01-09 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208990') start
[2025-01-09 10:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:33:04] Production.INFO: Total Charge 0
[2025-01-09 10:33:04] Production.INFO: CreateAllLog End
[2025-01-09 10:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208990') end
[2025-01-09 10:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:33:04] Production.INFO: 1
[2025-01-09 10:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:33:04] Production.ERROR: done
[2025-01-09 10:33:04] Production.INFO: ==17332== Releasing lock...
[2025-01-09 10:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:33:05] Production.INFO: Account Balance End.
[2025-01-09 10:33:05] Production.ERROR: CronJobId end 12
[2025-01-09 10:33:05] Production.INFO: ==17328== Releasing lock...
[2025-01-09 10:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:33:05] Production.ERROR: done
[2025-01-09 10:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:33:05
[end_date_ymd] => 2025-01-09 10:33:05
[RateCDR] => 1
)
[2025-01-09 10:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:33:05' and `end` < '2025-01-09 10:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:33:12] Production.ERROR: CronJobId end10
[2025-01-09 10:33:12] Production.INFO: ==17326== Releasing lock...
[2025-01-09 10:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:33:13] Production.INFO: call_cost start
[2025-01-09 10:33:13] Production.INFO: call_cost end
[2025-01-09 10:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:33:14] Production.INFO: ==17322== Releasing lock...
[2025-01-09 10:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:33:21] Production.INFO: count ==3139
[2025-01-09 10:33:22] Production.ERROR: pbx CDR StartTime 2025-01-09 07:33:05 - End Time 2025-01-09 10:33:05
[2025-01-09 10:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208991', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208991', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208991', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:33:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208991', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:33:23] Production.INFO: ProcessCDR(1,14208991,1,1,2)
[2025-01-09 10:33:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208991', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208991', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:33:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:33:27] Production.INFO: ==17330== Releasing lock...
[2025-01-09 10:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:33:27] Production.INFO: 51.5 MB #Memory Used#
[2025-01-09 15:34:01] Production.INFO: ==17384== Lock acquired, processing the job...
[2025-01-09 15:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:34:01] Production.INFO: neon service started
[2025-01-09 15:34:01] Production.INFO: neon service started
[2025-01-09 15:34:01] Production.INFO: ==17384== Releasing lock...
[2025-01-09 15:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:34:02] Production.INFO: ==17388== Lock acquired, processing the job...
[2025-01-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:34:02] Production.INFO: ==17388== Releasing lock...
[2025-01-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:34:02] Production.INFO: ==17386== Lock acquired, processing the job...
[2025-01-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:34:02] Production.INFO: ==17386== Releasing lock...
[2025-01-09 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:34:03] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:34:03] Production.INFO: ==17397== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:34:03] Production.INFO: Account Balance Start.
[2025-01-09 10:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:34:03] Production.INFO: 117
[2025-01-09 10:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:34:03] Production.INFO: ==17391== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:34:03] Production.INFO: Total Charge 0
[2025-01-09 10:34:03] Production.INFO: CreateAllLog End
[2025-01-09 10:34:03] Production.INFO: ==17393== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:34:03] Production.INFO: Account Balance End.
[2025-01-09 10:34:03] Production.INFO: ==17399== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:34:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:34:03] Production.INFO: ==17397== Releasing lock...
[2025-01-09 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:34:03] Production.INFO: ==17401== Lock acquired, processing the job...
[2025-01-09 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:34:03] Production.INFO: count ==21
[2025-01-09 10:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:34:04] Production.INFO: count ==21
[2025-01-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208995') start
[2025-01-09 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208995') end
[2025-01-09 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:34:04] Production.INFO: 1
[2025-01-09 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:34:04] Production.INFO: ==17393== Releasing lock...
[2025-01-09 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:34:04] Production.INFO: ==17401== Releasing lock...
[2025-01-09 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:34:04] Production.ERROR: done
[2025-01-09 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:34:04] Production.ERROR: done
[2025-01-09 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:34:05
[end_date_ymd] => 2025-01-09 10:34:05
[RateCDR] => 1
)
[2025-01-09 10:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:34:05' and `end` < '2025-01-09 10:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:34:10] Production.ERROR: CronJobId end10
[2025-01-09 10:34:10] Production.INFO: ==17395== Releasing lock...
[2025-01-09 10:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:34:13] Production.INFO: call_cost start
[2025-01-09 10:34:13] Production.INFO: call_cost end
[2025-01-09 10:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:34:13] Production.INFO: ==17391== Releasing lock...
[2025-01-09 10:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:34:23] Production.INFO: count ==3155
[2025-01-09 10:34:24] Production.ERROR: pbx CDR StartTime 2025-01-09 07:34:05 - End Time 2025-01-09 10:34:05
[2025-01-09 10:34:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208996', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14208996', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208996', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14208996', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:34:24] Production.INFO: ProcessCDR(1,14208996,1,1,2)
[2025-01-09 10:34:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14208996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:34:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14208996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:34:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14208996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:34:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14208996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208996', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14208996', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:34:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:34:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:34:29] Production.INFO: ==17399== Releasing lock...
[2025-01-09 10:34:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:34:29] Production.INFO: 51.5 MB #Memory Used#
[2025-01-09 15:35:02] Production.INFO: ==17455== Lock acquired, processing the job...
[2025-01-09 15:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:35:02] Production.INFO: neon service started
[2025-01-09 15:35:02] Production.INFO: neon service started
[2025-01-09 15:35:02] Production.INFO: ==17455== Releasing lock...
[2025-01-09 15:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:35:02] Production.INFO: ==17457== Lock acquired, processing the job...
[2025-01-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:35:02] Production.INFO: ==17457== Releasing lock...
[2025-01-09 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:35:03] Production.INFO: ==17459== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:35:03] Production.INFO: ==17459== Releasing lock...
[2025-01-09 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:35:03] Production.INFO: ==17464== Lock acquired, processing the job...
[2025-01-09 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:35:03] Production.INFO: ==17472== Lock acquired, processing the job...
[2025-01-09 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:35:03] Production.INFO: ==17462== Lock acquired, processing the job...
[2025-01-09 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:35:03] Production.INFO: count ==21
[2025-01-09 10:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:35:03] Production.INFO: count ==21
[2025-01-09 10:35:03] Production.INFO: ==17466== Lock acquired, processing the job...
[2025-01-09 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14208998') start
[2025-01-09 10:35:03] Production.INFO: ==17468== Lock acquired, processing the job...
[2025-01-09 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:35:03] Production.INFO: ==17470== Lock acquired, processing the job...
[2025-01-09 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14208998') end
[2025-01-09 10:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:35:04] Production.INFO: 1
[2025-01-09 10:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:35:04] Production.INFO: ==17464== Releasing lock...
[2025-01-09 10:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:35:04] Production.INFO: ==17472== Releasing lock...
[2025-01-09 10:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:35:04] Production.INFO: Account Balance Start.
[2025-01-09 10:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:35:04] Production.INFO: 117
[2025-01-09 10:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:35:04] Production.ERROR: done
[2025-01-09 10:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:35:04] Production.INFO: Total Charge 0
[2025-01-09 10:35:04] Production.INFO: CreateAllLog End
[2025-01-09 10:35:04] Production.ERROR: done
[2025-01-09 10:35:04] Production.INFO: Account Balance End.
[2025-01-09 10:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:35:04] Production.INFO: ==17468== Releasing lock...
[2025-01-09 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:35:05
[end_date_ymd] => 2025-01-09 10:35:05
[RateCDR] => 1
)
[2025-01-09 10:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:35:05' and `end` < '2025-01-09 10:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:35:11] Production.ERROR: CronJobId end10
[2025-01-09 10:35:11] Production.INFO: ==17466== Releasing lock...
[2025-01-09 10:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:35:13] Production.INFO: call_cost start
[2025-01-09 10:35:13] Production.INFO: call_cost end
[2025-01-09 10:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:35:13] Production.INFO: ==17462== Releasing lock...
[2025-01-09 10:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:35:24] Production.INFO: count ==3163
[2025-01-09 10:35:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:35:05 - End Time 2025-01-09 10:35:05
[2025-01-09 10:35:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:35:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209001', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209001', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209001', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209001', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:35:26] Production.INFO: ProcessCDR(1,14209001,1,1,2)
[2025-01-09 10:35:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:35:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:35:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:35:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209001', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209001', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:35:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:35:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:35:30] Production.INFO: ==17470== Releasing lock...
[2025-01-09 10:35:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:35:30] Production.INFO: 51.75 MB #Memory Used#
[2025-01-09 15:36:01] Production.INFO: ==17525== Lock acquired, processing the job...
[2025-01-09 15:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:36:01] Production.INFO: neon service started
[2025-01-09 15:36:01] Production.INFO: neon service started
[2025-01-09 15:36:01] Production.INFO: ==17525== Releasing lock...
[2025-01-09 15:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:36:02] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-01-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:36:02] Production.INFO: ==17527== Releasing lock...
[2025-01-09 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:36:02] Production.INFO: ==17529== Lock acquired, processing the job...
[2025-01-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:36:02] Production.INFO: ==17529== Releasing lock...
[2025-01-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:36:03] Production.INFO: ==17532== Lock acquired, processing the job...
[2025-01-09 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:36:03] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-01-09 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:36:03] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-01-09 10:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:36:03] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-01-09 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:36:03] Production.INFO: ==17534== Releasing lock...
[2025-01-09 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:36:03] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-01-09 10:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:36:03] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-01-09 10:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:36:03] Production.INFO: Account Balance Start.
[2025-01-09 10:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:36:03] Production.INFO: 117
[2025-01-09 10:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:36:03] Production.INFO: Total Charge 0
[2025-01-09 10:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:36:03] Production.INFO: CreateAllLog End
[2025-01-09 10:36:03] Production.INFO: count ==21
[2025-01-09 10:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:36:03] Production.INFO: count ==21
[2025-01-09 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209005') start
[2025-01-09 10:36:03] Production.INFO: Account Balance End.
[2025-01-09 10:36:03] Production.ERROR: done
[2025-01-09 10:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:36:03] Production.INFO: ==17538== Releasing lock...
[2025-01-09 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209005') end
[2025-01-09 10:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:36:03] Production.INFO: 1
[2025-01-09 10:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:36:04] Production.INFO: ==17542== Releasing lock...
[2025-01-09 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:36:04] Production.ERROR: done
[2025-01-09 10:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:36:04
[end_date_ymd] => 2025-01-09 10:36:04
[RateCDR] => 1
)
[2025-01-09 10:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:36:04' and `end` < '2025-01-09 10:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:36:11] Production.ERROR: CronJobId end10
[2025-01-09 10:36:11] Production.INFO: ==17536== Releasing lock...
[2025-01-09 10:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:36:13] Production.INFO: call_cost start
[2025-01-09 10:36:13] Production.INFO: call_cost end
[2025-01-09 10:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:36:13] Production.INFO: ==17532== Releasing lock...
[2025-01-09 10:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:36:25] Production.INFO: count ==3200
[2025-01-09 10:36:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:36:04 - End Time 2025-01-09 10:36:04
[2025-01-09 10:36:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209006', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209006', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209006', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:36:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209006', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:36:26] Production.INFO: ProcessCDR(1,14209006,1,1,2)
[2025-01-09 10:36:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:36:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:36:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:36:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:36:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209006', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:36:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209006', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:36:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:36:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:36:31] Production.INFO: ==17540== Releasing lock...
[2025-01-09 10:36:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:36:31] Production.INFO: 52 MB #Memory Used#
[2025-01-09 15:37:02] Production.INFO: ==17596== Lock acquired, processing the job...
[2025-01-09 15:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:37:02] Production.INFO: neon service started
[2025-01-09 15:37:02] Production.INFO: neon service started
[2025-01-09 15:37:02] Production.INFO: ==17596== Releasing lock...
[2025-01-09 15:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:37:02] Production.INFO: ==17600== Lock acquired, processing the job...
[2025-01-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:37:02] Production.INFO: ==17600== Releasing lock...
[2025-01-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:37:02] Production.INFO: ==17598== Lock acquired, processing the job...
[2025-01-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:37:02] Production.INFO: ==17598== Releasing lock...
[2025-01-09 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:37:03] Production.INFO: ==17607== Lock acquired, processing the job...
[2025-01-09 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:37:03] Production.INFO: ==17605== Lock acquired, processing the job...
[2025-01-09 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:37:03] Production.INFO: ==17611== Lock acquired, processing the job...
[2025-01-09 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:37:03] Production.INFO: ==17603== Lock acquired, processing the job...
[2025-01-09 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:37:03] Production.INFO: ==17609== Lock acquired, processing the job...
[2025-01-09 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:37:03] Production.INFO: ==17605== Releasing lock...
[2025-01-09 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:37:04] Production.INFO: ==17613== Lock acquired, processing the job...
[2025-01-09 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:37:04] Production.ERROR: done
[2025-01-09 10:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:37:04] Production.INFO: Account Balance Start.
[2025-01-09 10:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:37:04] Production.INFO: 117
[2025-01-09 10:37:04] Production.ERROR: done
[2025-01-09 10:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:37:04] Production.INFO: count ==21
[2025-01-09 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:37:04] Production.INFO: count ==21
[2025-01-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209010') start
[2025-01-09 10:37:04] Production.INFO: Total Charge 0
[2025-01-09 10:37:04] Production.INFO: CreateAllLog End
[2025-01-09 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209010') end
[2025-01-09 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:37:04] Production.INFO: 1
[2025-01-09 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:37:04] Production.INFO: ==17613== Releasing lock...
[2025-01-09 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:37:04] Production.INFO: Account Balance End.
[2025-01-09 10:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:37:04] Production.INFO: ==17609== Releasing lock...
[2025-01-09 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:37:05
[end_date_ymd] => 2025-01-09 10:37:05
[RateCDR] => 1
)
[2025-01-09 10:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:37:05' and `end` < '2025-01-09 10:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:37:11] Production.ERROR: CronJobId end10
[2025-01-09 10:37:11] Production.INFO: ==17607== Releasing lock...
[2025-01-09 10:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:37:13] Production.INFO: call_cost start
[2025-01-09 10:37:13] Production.INFO: call_cost end
[2025-01-09 10:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:37:14] Production.INFO: ==17603== Releasing lock...
[2025-01-09 10:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:37:23] Production.INFO: count ==3204
[2025-01-09 10:37:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:37:05 - End Time 2025-01-09 10:37:05
[2025-01-09 10:37:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209011', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209011', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209011', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209011', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:37:25] Production.INFO: ProcessCDR(1,14209011,1,1,2)
[2025-01-09 10:37:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:37:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:37:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:37:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209011', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209011', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:37:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:37:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:37:29] Production.INFO: ==17611== Releasing lock...
[2025-01-09 10:37:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:37:29] Production.INFO: 52 MB #Memory Used#
[2025-01-09 15:38:01] Production.INFO: ==17671== Lock acquired, processing the job...
[2025-01-09 15:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:38:01] Production.INFO: neon service started
[2025-01-09 15:38:01] Production.INFO: neon service started
[2025-01-09 15:38:01] Production.INFO: ==17671== Releasing lock...
[2025-01-09 15:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:38:01] Production.INFO: ==17675== Lock acquired, processing the job...
[2025-01-09 15:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:38:01] Production.INFO: ==17675== Releasing lock...
[2025-01-09 15:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:38:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:38:02] Production.INFO: ==17673== Lock acquired, processing the job...
[2025-01-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:38:02] Production.INFO: ==17673== Releasing lock...
[2025-01-09 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:38:02] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-01-09 10:38:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:38:03] Production.INFO: ==17686== Lock acquired, processing the job...
[2025-01-09 10:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:38:03] Production.INFO: ==17684== Lock acquired, processing the job...
[2025-01-09 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:38:03] Production.INFO: ==17679== Releasing lock...
[2025-01-09 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:38:03] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-01-09 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:38:03] Production.INFO: ==17681== Lock acquired, processing the job...
[2025-01-09 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:38:03] Production.INFO: Account Balance Start.
[2025-01-09 10:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:38:03] Production.INFO: 117
[2025-01-09 10:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:38:03] Production.INFO: ==17688== Lock acquired, processing the job...
[2025-01-09 10:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:38:03] Production.INFO: Total Charge 0
[2025-01-09 10:38:03] Production.INFO: CreateAllLog End
[2025-01-09 10:38:03] Production.ERROR: done
[2025-01-09 10:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:38:03] Production.INFO: count ==21
[2025-01-09 10:38:03] Production.INFO: Account Balance End.
[2025-01-09 10:38:03] Production.ERROR: done
[2025-01-09 10:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:38:03] Production.INFO: count ==21
[2025-01-09 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209015') start
[2025-01-09 10:38:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:38:03] Production.INFO: ==17684== Releasing lock...
[2025-01-09 10:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209015') end
[2025-01-09 10:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:38:03] Production.INFO: 1
[2025-01-09 10:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:38:04] Production.INFO: ==17688== Releasing lock...
[2025-01-09 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:38:05
[end_date_ymd] => 2025-01-09 10:38:05
[RateCDR] => 1
)
[2025-01-09 10:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:38:05' and `end` < '2025-01-09 10:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:38:12] Production.ERROR: CronJobId end10
[2025-01-09 10:38:12] Production.INFO: ==17681== Releasing lock...
[2025-01-09 10:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:38:13] Production.INFO: call_cost start
[2025-01-09 10:38:13] Production.INFO: call_cost end
[2025-01-09 10:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:38:14] Production.INFO: ==17677== Releasing lock...
[2025-01-09 10:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:38:18] Production.INFO: count ==3207
[2025-01-09 10:38:19] Production.ERROR: pbx CDR StartTime 2025-01-09 07:38:05 - End Time 2025-01-09 10:38:05
[2025-01-09 10:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209016', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209016', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209016', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209016', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:38:19] Production.INFO: ProcessCDR(1,14209016,1,1,2)
[2025-01-09 10:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209016', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209016', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:38:24] Production.INFO: ==17686== Releasing lock...
[2025-01-09 10:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:38:24] Production.INFO: 52 MB #Memory Used#
[2025-01-09 15:39:01] Production.INFO: ==17746== Lock acquired, processing the job...
[2025-01-09 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:39:01] Production.INFO: neon service started
[2025-01-09 15:39:01] Production.INFO: neon service started
[2025-01-09 15:39:01] Production.INFO: ==17746== Releasing lock...
[2025-01-09 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:39:02] Production.INFO: ==17748== Lock acquired, processing the job...
[2025-01-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:39:02] Production.INFO: ==17748== Releasing lock...
[2025-01-09 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:39:02] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-01-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:39:02] Production.INFO: ==17750== Releasing lock...
[2025-01-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:39:03] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-01-09 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:39:03] Production.INFO: ==17756== Lock acquired, processing the job...
[2025-01-09 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:39:03] Production.INFO: ==17758== Lock acquired, processing the job...
[2025-01-09 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:39:03] Production.INFO: ==17762== Lock acquired, processing the job...
[2025-01-09 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:39:03] Production.INFO: Account Balance Start.
[2025-01-09 10:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:39:03] Production.INFO: 117
[2025-01-09 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:39:03] Production.INFO: ==17754== Lock acquired, processing the job...
[2025-01-09 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:39:03] Production.INFO: ==17760== Lock acquired, processing the job...
[2025-01-09 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:39:03] Production.INFO: Total Charge 0
[2025-01-09 10:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:39:03] Production.INFO: CreateAllLog End
[2025-01-09 10:39:03] Production.INFO: count ==21
[2025-01-09 10:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:39:03] Production.INFO: count ==21
[2025-01-09 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209019') start
[2025-01-09 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209019') end
[2025-01-09 10:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:39:03] Production.INFO: 1
[2025-01-09 10:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:39:04] Production.INFO: ==17754== Releasing lock...
[2025-01-09 10:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:39:04] Production.INFO: Account Balance End.
[2025-01-09 10:39:04] Production.INFO: ==17762== Releasing lock...
[2025-01-09 10:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:39:04] Production.ERROR: done
[2025-01-09 10:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:39:04] Production.INFO: ==17758== Releasing lock...
[2025-01-09 10:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:39:04] Production.ERROR: done
[2025-01-09 10:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:39:04
[end_date_ymd] => 2025-01-09 10:39:04
[RateCDR] => 1
)
[2025-01-09 10:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:39:04' and `end` < '2025-01-09 10:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:39:10] Production.ERROR: CronJobId end10
[2025-01-09 10:39:10] Production.INFO: ==17756== Releasing lock...
[2025-01-09 10:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:39:13] Production.INFO: call_cost start
[2025-01-09 10:39:13] Production.INFO: call_cost end
[2025-01-09 10:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:39:13] Production.INFO: ==17752== Releasing lock...
[2025-01-09 10:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:39:20] Production.INFO: count ==3215
[2025-01-09 10:39:21] Production.ERROR: pbx CDR StartTime 2025-01-09 07:39:04 - End Time 2025-01-09 10:39:04
[2025-01-09 10:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209021', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209021', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209021', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:39:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209021', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:39:22] Production.INFO: ProcessCDR(1,14209021,1,1,2)
[2025-01-09 10:39:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:39:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:39:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:39:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209021', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:39:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209021', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:39:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:39:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:39:26] Production.INFO: ==17760== Releasing lock...
[2025-01-09 10:39:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:39:26] Production.INFO: 52.75 MB #Memory Used#
[2025-01-09 15:40:01] Production.INFO: ==17817== Lock acquired, processing the job...
[2025-01-09 15:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:40:01] Production.INFO: neon service started
[2025-01-09 15:40:01] Production.INFO: neon service started
[2025-01-09 15:40:01] Production.INFO: ==17817== Releasing lock...
[2025-01-09 15:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:40:01] Production.INFO: ==17819== Lock acquired, processing the job...
[2025-01-09 10:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:40:02] Production.INFO: ==17819== Releasing lock...
[2025-01-09 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:40:02] Production.INFO: ==17821== Lock acquired, processing the job...
[2025-01-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:40:02] Production.INFO: ==17821== Releasing lock...
[2025-01-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:40:03] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:40:03] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 10:40:03] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 10:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 10:40:03] Production.ERROR: CronJob PID - 17825
[2025-01-09 10:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 10:40:03] Production.ERROR: CronJob ID - 5
[2025-01-09 10:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 10:40:00
[2025-01-09 10:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 10:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 10:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 10:40:03] Production.ERROR: CronJob PID - 17827
[2025-01-09 10:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 10:40:03] Production.ERROR: CronJob ID - 7
[2025-01-09 10:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 10:40:00
[2025-01-09 10:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 10:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 10:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 10:40:03] Production.INFO: ==17823== Releasing lock...
[2025-01-09 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 10:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 10:40:03] Production.INFO: ==17833== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:40:03] Production.INFO: ==17827== Releasing lock...
[2025-01-09 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:40:03] Production.INFO: ==17831== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:40:03] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:40:03] Production.INFO: ==17835== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 10:40:03] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-01-09 10:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:40:03] Production.ERROR: done
[2025-01-09 10:40:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:40:03] Production.INFO: Account Balance Start.
[2025-01-09 10:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:40:03] Production.INFO: 117
[2025-01-09 10:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:40:03] Production.INFO: count ==21
[2025-01-09 10:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:40:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:40:03] Production.ERROR: done
[2025-01-09 10:40:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:40:03] Production.INFO: count ==21
[2025-01-09 10:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209024') start
[2025-01-09 10:40:03] Production.INFO: Total Charge 0
[2025-01-09 10:40:03] Production.INFO: CreateAllLog End
[2025-01-09 10:40:03] Production.ERROR: done
[2025-01-09 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209024') end
[2025-01-09 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:40:04] Production.INFO: 1
[2025-01-09 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 10:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209027', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 10:40:04] Production.INFO: ==17838== Releasing lock...
[2025-01-09 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:40:04] Production.INFO: Account Balance End.
[2025-01-09 10:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:40:04] Production.INFO: ==17831== Releasing lock...
[2025-01-09 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:40:04
[end_date_ymd] => 2025-01-09 10:40:04
[RateCDR] => 1
)
[2025-01-09 10:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:40:04' and `end` < '2025-01-09 10:40:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209027', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 10:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 10:40:07] Production.INFO: ProcessCDR(1,14209027,1,1,2)
[2025-01-09 10:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209027,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:40:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209027,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:40:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:40:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:40:07] Production.INFO: ==17835== Releasing lock...
[2025-01-09 10:40:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 10:40:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 10:40:12] Production.ERROR: CronJobId end10
[2025-01-09 10:40:12] Production.INFO: ==17829== Releasing lock...
[2025-01-09 10:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:40:14] Production.INFO: call_cost start
[2025-01-09 10:40:14] Production.INFO: call_cost end
[2025-01-09 10:40:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:40:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:40:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:40:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:40:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:40:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:40:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:40:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:40:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:40:14] Production.INFO: ==17825== Releasing lock...
[2025-01-09 10:40:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:40:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:40:26] Production.INFO: count ==3210
[2025-01-09 10:40:27] Production.ERROR: pbx CDR StartTime 2025-01-09 07:40:04 - End Time 2025-01-09 10:40:04
[2025-01-09 10:40:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209026', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209026', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209026', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:40:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209026', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:40:27] Production.INFO: ProcessCDR(1,14209026,1,1,2)
[2025-01-09 10:40:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:40:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:40:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:40:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:40:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209026', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:40:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209026', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:40:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:40:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:40:31] Production.INFO: ==17833== Releasing lock...
[2025-01-09 10:40:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:40:31] Production.INFO: 52.5 MB #Memory Used#
[2025-01-09 15:41:01] Production.INFO: ==17891== Lock acquired, processing the job...
[2025-01-09 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:41:01] Production.INFO: neon service started
[2025-01-09 15:41:01] Production.INFO: neon service started
[2025-01-09 15:41:01] Production.INFO: ==17891== Releasing lock...
[2025-01-09 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:41:02] Production.INFO: ==17893== Lock acquired, processing the job...
[2025-01-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:41:02] Production.INFO: ==17895== Lock acquired, processing the job...
[2025-01-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:41:02] Production.INFO: ==17895== Releasing lock...
[2025-01-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:41:02] Production.INFO: ==17893== Releasing lock...
[2025-01-09 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:41:03] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-01-09 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:41:03] Production.INFO: ==17898== Lock acquired, processing the job...
[2025-01-09 10:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:41:03] Production.INFO: ==17900== Lock acquired, processing the job...
[2025-01-09 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:41:03] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-09 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:41:03] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-09 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:41:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-09 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:41:03] Production.INFO: Account Balance Start.
[2025-01-09 10:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:41:03] Production.INFO: 117
[2025-01-09 10:41:04] Production.INFO: ==17900== Releasing lock...
[2025-01-09 10:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:41:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:41:04] Production.ERROR: done
[2025-01-09 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:41:04] Production.INFO: count ==21
[2025-01-09 10:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:41:04] Production.INFO: count ==21
[2025-01-09 10:41:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:41:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:41:04] Production.INFO: Total Charge 0
[2025-01-09 10:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209030') start
[2025-01-09 10:41:04] Production.INFO: CreateAllLog End
[2025-01-09 10:41:04] Production.ERROR: done
[2025-01-09 10:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209030') end
[2025-01-09 10:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:41:04] Production.INFO: 1
[2025-01-09 10:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:41:04] Production.INFO: ==17908== Releasing lock...
[2025-01-09 10:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:41:04] Production.INFO: Account Balance End.
[2025-01-09 10:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:41:04] Production.INFO: ==17904== Releasing lock...
[2025-01-09 10:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:41:05
[end_date_ymd] => 2025-01-09 10:41:05
[RateCDR] => 1
)
[2025-01-09 10:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:41:05' and `end` < '2025-01-09 10:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:41:11] Production.ERROR: CronJobId end10
[2025-01-09 10:41:11] Production.INFO: ==17902== Releasing lock...
[2025-01-09 10:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:41:13] Production.INFO: call_cost start
[2025-01-09 10:41:13] Production.INFO: call_cost end
[2025-01-09 10:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:41:13] Production.INFO: ==17898== Releasing lock...
[2025-01-09 10:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:41:23] Production.INFO: count ==3278
[2025-01-09 10:41:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:41:05 - End Time 2025-01-09 10:41:05
[2025-01-09 10:41:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209032', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209032', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209032', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:41:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209032', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:41:25] Production.INFO: ProcessCDR(1,14209032,1,1,2)
[2025-01-09 10:41:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:41:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:41:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:41:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209032', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:41:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209032', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:41:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:41:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:41:29] Production.INFO: ==17906== Releasing lock...
[2025-01-09 10:41:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:41:29] Production.INFO: 52.5 MB #Memory Used#
[2025-01-09 15:42:02] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-01-09 15:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:42:02] Production.INFO: neon service started
[2025-01-09 15:42:02] Production.INFO: neon service started
[2025-01-09 15:42:02] Production.INFO: ==17961== Releasing lock...
[2025-01-09 15:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:42:02] Production.INFO: ==17963== Lock acquired, processing the job...
[2025-01-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:42:02] Production.INFO: ==17965== Lock acquired, processing the job...
[2025-01-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 10:42:02] Production.INFO: ==17963== Releasing lock...
[2025-01-09 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:42:02] Production.INFO: ==17965== Releasing lock...
[2025-01-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:42:03] Production.INFO: ==17968== Lock acquired, processing the job...
[2025-01-09 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:42:03] Production.INFO: ==17972== Lock acquired, processing the job...
[2025-01-09 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:42:03] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-01-09 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:42:03] Production.INFO: ==17970== Lock acquired, processing the job...
[2025-01-09 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:42:03] Production.INFO: Account Balance Start.
[2025-01-09 10:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:42:03] Production.INFO: 117
[2025-01-09 10:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:42:03] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-01-09 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:42:03] Production.INFO: Total Charge 0
[2025-01-09 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:42:03] Production.INFO: CreateAllLog End
[2025-01-09 10:42:03] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-09 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:42:04] Production.INFO: ==17970== Releasing lock...
[2025-01-09 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:42:04] Production.INFO: count ==21
[2025-01-09 10:42:04] Production.ERROR: done
[2025-01-09 10:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:42:04] Production.INFO: Account Balance End.
[2025-01-09 10:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:42:04] Production.INFO: count ==21
[2025-01-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209036') start
[2025-01-09 10:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:42:04] Production.INFO: ==17974== Releasing lock...
[2025-01-09 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:42:04] Production.ERROR: done
[2025-01-09 10:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209036') end
[2025-01-09 10:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:42:04] Production.INFO: 1
[2025-01-09 10:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:42:04] Production.INFO: ==17978== Releasing lock...
[2025-01-09 10:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:42:05
[end_date_ymd] => 2025-01-09 10:42:05
[RateCDR] => 1
)
[2025-01-09 10:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:42:05' and `end` < '2025-01-09 10:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:42:11] Production.ERROR: CronJobId end10
[2025-01-09 10:42:11] Production.INFO: ==17972== Releasing lock...
[2025-01-09 10:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:42:13] Production.INFO: call_cost start
[2025-01-09 10:42:13] Production.INFO: call_cost end
[2025-01-09 10:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:42:14] Production.INFO: ==17968== Releasing lock...
[2025-01-09 10:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:42:21] Production.INFO: count ==3290
[2025-01-09 10:42:23] Production.ERROR: pbx CDR StartTime 2025-01-09 07:42:05 - End Time 2025-01-09 10:42:05
[2025-01-09 10:42:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209037', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209037', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209037', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:42:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209037', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:42:23] Production.INFO: ProcessCDR(1,14209037,1,1,2)
[2025-01-09 10:42:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:42:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:42:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:42:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209037', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:42:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209037', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:42:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:42:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:42:27] Production.INFO: ==17976== Releasing lock...
[2025-01-09 10:42:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:42:27] Production.INFO: 53.5 MB #Memory Used#
[2025-01-09 15:43:01] Production.INFO: ==18032== Lock acquired, processing the job...
[2025-01-09 15:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:43:01] Production.INFO: neon service started
[2025-01-09 15:43:01] Production.INFO: neon service started
[2025-01-09 15:43:01] Production.INFO: ==18032== Releasing lock...
[2025-01-09 15:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:43:02] Production.INFO: ==18036== Lock acquired, processing the job...
[2025-01-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:43:02] Production.INFO: ==18036== Releasing lock...
[2025-01-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:43:02] Production.INFO: ==18034== Lock acquired, processing the job...
[2025-01-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:43:02] Production.INFO: ==18034== Releasing lock...
[2025-01-09 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:43:03] Production.INFO: ==18038== Lock acquired, processing the job...
[2025-01-09 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:43:03] Production.INFO: ==18040== Lock acquired, processing the job...
[2025-01-09 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:43:03] Production.INFO: ==18046== Lock acquired, processing the job...
[2025-01-09 10:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:43:03] Production.INFO: ==18040== Releasing lock...
[2025-01-09 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:43:03] Production.INFO: ==18042== Lock acquired, processing the job...
[2025-01-09 10:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:43:03] Production.INFO: ==18044== Lock acquired, processing the job...
[2025-01-09 10:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:43:03] Production.ERROR: done
[2025-01-09 10:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:43:03] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-01-09 10:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:43:03] Production.ERROR: done
[2025-01-09 10:43:03] Production.INFO: Account Balance Start.
[2025-01-09 10:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:43:03] Production.INFO: 117
[2025-01-09 10:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:43:03] Production.INFO: Total Charge 0
[2025-01-09 10:43:03] Production.INFO: CreateAllLog End
[2025-01-09 10:43:03] Production.INFO: count ==21
[2025-01-09 10:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:43:04] Production.INFO: count ==21
[2025-01-09 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209042') start
[2025-01-09 10:43:04] Production.INFO: Account Balance End.
[2025-01-09 10:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:43:04] Production.INFO: ==18044== Releasing lock...
[2025-01-09 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209042') end
[2025-01-09 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:43:04] Production.INFO: 1
[2025-01-09 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:43:04] Production.INFO: ==18049== Releasing lock...
[2025-01-09 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:43:04
[end_date_ymd] => 2025-01-09 10:43:04
[RateCDR] => 1
)
[2025-01-09 10:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:43:04' and `end` < '2025-01-09 10:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:43:11] Production.ERROR: CronJobId end10
[2025-01-09 10:43:11] Production.INFO: ==18042== Releasing lock...
[2025-01-09 10:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:43:12] Production.INFO: call_cost start
[2025-01-09 10:43:12] Production.INFO: call_cost end
[2025-01-09 10:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:43:13] Production.INFO: ==18038== Releasing lock...
[2025-01-09 10:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:43:24] Production.INFO: count ==3313
[2025-01-09 10:43:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:43:04 - End Time 2025-01-09 10:43:04
[2025-01-09 10:43:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209041', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209041', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209041', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209041', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:43:26] Production.INFO: ProcessCDR(1,14209041,1,1,2)
[2025-01-09 10:43:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:43:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:43:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:43:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:43:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209041', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:43:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209041', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:43:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:43:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:43:30] Production.INFO: ==18046== Releasing lock...
[2025-01-09 10:43:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:43:30] Production.INFO: 53.25 MB #Memory Used#
[2025-01-09 15:44:02] Production.INFO: ==18145== Lock acquired, processing the job...
[2025-01-09 15:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:44:02] Production.INFO: neon service started
[2025-01-09 15:44:02] Production.INFO: neon service started
[2025-01-09 15:44:02] Production.INFO: ==18145== Releasing lock...
[2025-01-09 15:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:44:02] Production.INFO: ==18147== Lock acquired, processing the job...
[2025-01-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:44:02] Production.INFO: ==18147== Releasing lock...
[2025-01-09 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:44:03] Production.INFO: ==18149== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:44:03] Production.INFO: ==18149== Releasing lock...
[2025-01-09 15:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:44:03] Production.INFO: ==18151== Lock acquired, processing the job...
[2025-01-09 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:44:03] Production.INFO: ==18155== Lock acquired, processing the job...
[2025-01-09 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:44:03] Production.INFO: ==18157== Lock acquired, processing the job...
[2025-01-09 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:44:03] Production.INFO: Account Balance Start.
[2025-01-09 10:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:44:03] Production.INFO: 117
[2025-01-09 10:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:44:03] Production.INFO: Total Charge 0
[2025-01-09 10:44:03] Production.INFO: CreateAllLog End
[2025-01-09 10:44:03] Production.INFO: Account Balance End.
[2025-01-09 10:44:03] Production.INFO: ==18153== Lock acquired, processing the job...
[2025-01-09 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:44:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:44:03] Production.INFO: ==18157== Releasing lock...
[2025-01-09 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:44:03] Production.INFO: ==18159== Lock acquired, processing the job...
[2025-01-09 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:44:03] Production.INFO: ==18161== Lock acquired, processing the job...
[2025-01-09 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:44:04] Production.INFO: count ==21
[2025-01-09 10:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:44:04] Production.INFO: count ==21
[2025-01-09 10:44:04] Production.INFO: ==18153== Releasing lock...
[2025-01-09 10:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209046') start
[2025-01-09 10:44:04] Production.ERROR: done
[2025-01-09 10:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209046') end
[2025-01-09 10:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:44:04] Production.INFO: 1
[2025-01-09 10:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:44:04] Production.INFO: ==18161== Releasing lock...
[2025-01-09 10:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:44:04] Production.ERROR: done
[2025-01-09 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:44:05
[end_date_ymd] => 2025-01-09 10:44:05
[RateCDR] => 1
)
[2025-01-09 10:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:44:05' and `end` < '2025-01-09 10:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:44:11] Production.ERROR: CronJobId end10
[2025-01-09 10:44:11] Production.INFO: ==18155== Releasing lock...
[2025-01-09 10:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:44:13] Production.INFO: call_cost start
[2025-01-09 10:44:13] Production.INFO: call_cost end
[2025-01-09 10:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:44:13] Production.INFO: ==18151== Releasing lock...
[2025-01-09 10:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:44:21] Production.INFO: count ==3325
[2025-01-09 10:44:22] Production.ERROR: pbx CDR StartTime 2025-01-09 07:44:05 - End Time 2025-01-09 10:44:05
[2025-01-09 10:44:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209047', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209047', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209047', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:44:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209047', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:44:22] Production.INFO: ProcessCDR(1,14209047,1,1,2)
[2025-01-09 10:44:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:44:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209047,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:44:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:44:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209047,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209047', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:44:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209047', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:44:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:44:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:44:27] Production.INFO: ==18159== Releasing lock...
[2025-01-09 10:44:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:44:27] Production.INFO: 53.25 MB #Memory Used#
[2025-01-09 15:45:01] Production.INFO: ==18217== Lock acquired, processing the job...
[2025-01-09 15:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:45:01] Production.INFO: neon service started
[2025-01-09 15:45:01] Production.INFO: neon service started
[2025-01-09 15:45:01] Production.INFO: ==18217== Releasing lock...
[2025-01-09 15:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:45:02] Production.INFO: ==18219== Lock acquired, processing the job...
[2025-01-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:45:02] Production.INFO: ==18221== Lock acquired, processing the job...
[2025-01-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:45:02] Production.INFO: ==18221== Releasing lock...
[2025-01-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:45:02] Production.INFO: ==18219== Releasing lock...
[2025-01-09 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:45:03] Production.INFO: ==18224== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:45:03] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:45:03] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:45:03] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:45:03] Production.INFO: Account Balance Start.
[2025-01-09 10:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:45:03] Production.INFO: ==18226== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:45:03] Production.INFO: 117
[2025-01-09 10:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:45:03] Production.INFO: ==18234== Lock acquired, processing the job...
[2025-01-09 10:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:45:03] Production.INFO: count ==21
[2025-01-09 10:45:03] Production.ERROR: done
[2025-01-09 10:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:45:03] Production.INFO: count ==21
[2025-01-09 10:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209051') start
[2025-01-09 10:45:04] Production.ERROR: done
[2025-01-09 10:45:04] Production.INFO: Total Charge 0
[2025-01-09 10:45:04] Production.INFO: ==18226== Releasing lock...
[2025-01-09 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209051') end
[2025-01-09 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:45:04] Production.INFO: 1
[2025-01-09 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:45:04] Production.INFO: CreateAllLog End
[2025-01-09 10:45:04] Production.INFO: ==18234== Releasing lock...
[2025-01-09 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:45:04] Production.INFO: Account Balance End.
[2025-01-09 10:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:45:04] Production.INFO: ==18230== Releasing lock...
[2025-01-09 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:45:05
[end_date_ymd] => 2025-01-09 10:45:05
[RateCDR] => 1
)
[2025-01-09 10:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:45:05' and `end` < '2025-01-09 10:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:45:11] Production.ERROR: CronJobId end10
[2025-01-09 10:45:11] Production.INFO: ==18228== Releasing lock...
[2025-01-09 10:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:45:13] Production.INFO: call_cost start
[2025-01-09 10:45:13] Production.INFO: call_cost end
[2025-01-09 10:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:45:14] Production.INFO: ==18224== Releasing lock...
[2025-01-09 10:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:45:26] Production.INFO: count ==3349
[2025-01-09 10:45:27] Production.ERROR: pbx CDR StartTime 2025-01-09 07:45:05 - End Time 2025-01-09 10:45:05
[2025-01-09 10:45:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209052', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209052', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209052', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209052', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:45:27] Production.INFO: ProcessCDR(1,14209052,1,1,2)
[2025-01-09 10:45:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:45:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:45:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:45:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:45:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209052', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:45:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209052', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:45:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:45:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:45:32] Production.INFO: ==18232== Releasing lock...
[2025-01-09 10:45:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:45:32] Production.INFO: 53.5 MB #Memory Used#
[2025-01-09 15:46:02] Production.INFO: ==18288== Lock acquired, processing the job...
[2025-01-09 15:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:46:02] Production.INFO: neon service started
[2025-01-09 15:46:02] Production.INFO: neon service started
[2025-01-09 15:46:02] Production.INFO: ==18288== Releasing lock...
[2025-01-09 15:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:46:02] Production.INFO: ==18292== Lock acquired, processing the job...
[2025-01-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:46:02] Production.INFO: ==18292== Releasing lock...
[2025-01-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:46:02] Production.INFO: ==18290== Lock acquired, processing the job...
[2025-01-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:46:02] Production.INFO: ==18290== Releasing lock...
[2025-01-09 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:46:03] Production.INFO: ==18299== Lock acquired, processing the job...
[2025-01-09 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:46:03] Production.INFO: ==18305== Lock acquired, processing the job...
[2025-01-09 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 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-01-09 10:46:04] Production.INFO: ==18296== Lock acquired, processing the job...
[2025-01-09 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:46:04] Production.INFO: ==18294== Lock acquired, processing the job...
[2025-01-09 10:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:46:04] Production.INFO: count ==21
[2025-01-09 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-01-09 10:46:04] Production.INFO: count ==21
[2025-01-09 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209053') start
[2025-01-09 10:46:04] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-01-09 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:46:04] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-01-09 10:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:46:04] Production.INFO: Account Balance Start.
[2025-01-09 10:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:46:04] Production.INFO: 117
[2025-01-09 10:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209053') end
[2025-01-09 10:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:46:04] Production.INFO: 1
[2025-01-09 10:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:46:04] Production.INFO: ==18305== Releasing lock...
[2025-01-09 10:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:46:04] Production.INFO: Total Charge 0
[2025-01-09 10:46:04] Production.INFO: CreateAllLog End
[2025-01-09 10:46:04] Production.INFO: ==18296== Releasing lock...
[2025-01-09 10:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:46:04] Production.ERROR: done
[2025-01-09 10:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:46:04] Production.INFO: Account Balance End.
[2025-01-09 10:46:04] Production.ERROR: done
[2025-01-09 10:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:46:04] Production.INFO: ==18301== Releasing lock...
[2025-01-09 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:46:05
[end_date_ymd] => 2025-01-09 10:46:05
[RateCDR] => 1
)
[2025-01-09 10:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:46:05' and `end` < '2025-01-09 10:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:46:11] Production.ERROR: CronJobId end10
[2025-01-09 10:46:11] Production.INFO: ==18299== Releasing lock...
[2025-01-09 10:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:46:14] Production.INFO: call_cost start
[2025-01-09 10:46:14] Production.INFO: call_cost end
[2025-01-09 10:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:46:15] Production.INFO: ==18294== Releasing lock...
[2025-01-09 10:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:46:36] Production.INFO: count ==3360
[2025-01-09 10:46:38] Production.ERROR: pbx CDR StartTime 2025-01-09 07:46:05 - End Time 2025-01-09 10:46:05
[2025-01-09 10:46:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:46:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209057', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:46:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209057', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:46:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209057', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:46:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209057', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:46:38] Production.INFO: ProcessCDR(1,14209057,1,1,2)
[2025-01-09 10:46:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:46:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:46:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:46:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:46:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209057', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:46:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209057', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:46:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:46:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:46:42] Production.INFO: ==18303== Releasing lock...
[2025-01-09 10:46:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:46:42] Production.INFO: 53.75 MB #Memory Used#
[2025-01-09 15:47:01] Production.INFO: ==18358== Lock acquired, processing the job...
[2025-01-09 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:47:01] Production.INFO: neon service started
[2025-01-09 15:47:01] Production.INFO: neon service started
[2025-01-09 15:47:01] Production.INFO: ==18358== Releasing lock...
[2025-01-09 15:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:47:02] Production.INFO: ==18360== Lock acquired, processing the job...
[2025-01-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:47:02] Production.INFO: ==18362== Lock acquired, processing the job...
[2025-01-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:47:02] Production.INFO: ==18362== Releasing lock...
[2025-01-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:47:02] Production.INFO: ==18360== Releasing lock...
[2025-01-09 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:47:03] Production.INFO: ==18369== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:47:03] Production.INFO: ==18371== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:47:03] Production.INFO: ==18365== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:47:03] Production.INFO: ==18367== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:47:03] Production.INFO: Account Balance Start.
[2025-01-09 10:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:47:03] Production.INFO: 117
[2025-01-09 10:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:47:03] Production.INFO: ==18373== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:47:03] Production.INFO: Total Charge 0
[2025-01-09 10:47:03] Production.INFO: CreateAllLog End
[2025-01-09 10:47:03] Production.INFO: ==18375== Lock acquired, processing the job...
[2025-01-09 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:47:03] Production.INFO: Account Balance End.
[2025-01-09 10:47:03] Production.INFO: ==18367== Releasing lock...
[2025-01-09 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:47:04] Production.INFO: ==18371== Releasing lock...
[2025-01-09 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:47:04] Production.ERROR: done
[2025-01-09 10:47:04] Production.INFO: count ==21
[2025-01-09 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:47:04] Production.INFO: count ==21
[2025-01-09 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209061') start
[2025-01-09 10:47:04] Production.ERROR: done
[2025-01-09 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209061') end
[2025-01-09 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:47:04] Production.INFO: 1
[2025-01-09 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:47:04] Production.INFO: ==18375== Releasing lock...
[2025-01-09 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:47:05
[end_date_ymd] => 2025-01-09 10:47:05
[RateCDR] => 1
)
[2025-01-09 10:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:47:05' and `end` < '2025-01-09 10:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:47:10] Production.ERROR: CronJobId end10
[2025-01-09 10:47:10] Production.INFO: ==18369== Releasing lock...
[2025-01-09 10:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:47:12] Production.INFO: call_cost start
[2025-01-09 10:47:13] Production.INFO: call_cost end
[2025-01-09 10:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:47:13] Production.INFO: ==18365== Releasing lock...
[2025-01-09 10:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:47:24] Production.INFO: count ==3365
[2025-01-09 10:47:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:47:05 - End Time 2025-01-09 10:47:05
[2025-01-09 10:47:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209062', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209062', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209062', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209062', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:47:25] Production.INFO: ProcessCDR(1,14209062,1,1,2)
[2025-01-09 10:47:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:47:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:47:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:47:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:47:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209062', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:47:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209062', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:47:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:47:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:47:30] Production.INFO: ==18373== Releasing lock...
[2025-01-09 10:47:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:47:30] Production.INFO: 53.75 MB #Memory Used#
[2025-01-09 15:48:01] Production.INFO: ==18429== Lock acquired, processing the job...
[2025-01-09 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:48:01] Production.INFO: neon service started
[2025-01-09 15:48:02] Production.INFO: neon service started
[2025-01-09 15:48:02] Production.INFO: ==18429== Releasing lock...
[2025-01-09 15:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:48:02] Production.INFO: ==18431== Lock acquired, processing the job...
[2025-01-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:48:02] Production.INFO: ==18433== Lock acquired, processing the job...
[2025-01-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:48:02] Production.INFO: ==18433== Releasing lock...
[2025-01-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:48:02] Production.INFO: ==18431== Releasing lock...
[2025-01-09 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:48:03] Production.INFO: ==18436== Lock acquired, processing the job...
[2025-01-09 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:48:03] Production.INFO: ==18440== Lock acquired, processing the job...
[2025-01-09 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:48:03] Production.INFO: ==18442== Lock acquired, processing the job...
[2025-01-09 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:48:03] Production.INFO: ==18438== Lock acquired, processing the job...
[2025-01-09 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:48:04] Production.INFO: ==18444== Lock acquired, processing the job...
[2025-01-09 10:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:48:04] Production.INFO: Account Balance Start.
[2025-01-09 10:48:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:48:04] Production.INFO: 117
[2025-01-09 10:48:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:48:04] Production.INFO: ==18446== Lock acquired, processing the job...
[2025-01-09 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:48:04] Production.INFO: Total Charge 0
[2025-01-09 10:48:04] Production.INFO: CreateAllLog End
[2025-01-09 10:48:04] Production.INFO: ==18438== Releasing lock...
[2025-01-09 10:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:48:04] Production.INFO: count ==21
[2025-01-09 10:48:04] Production.INFO: Account Balance End.
[2025-01-09 10:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:48:04] Production.INFO: count ==21
[2025-01-09 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209066') start
[2025-01-09 10:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:48:04] Production.INFO: ==18442== Releasing lock...
[2025-01-09 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209066') end
[2025-01-09 10:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:48:04] Production.INFO: 1
[2025-01-09 10:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:48:04] Production.INFO: ==18446== Releasing lock...
[2025-01-09 10:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:48:04] Production.ERROR: done
[2025-01-09 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:48:04] Production.ERROR: done
[2025-01-09 10:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:48:05
[end_date_ymd] => 2025-01-09 10:48:05
[RateCDR] => 1
)
[2025-01-09 10:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:48:05' and `end` < '2025-01-09 10:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:48:10] Production.ERROR: CronJobId end10
[2025-01-09 10:48:10] Production.INFO: ==18440== Releasing lock...
[2025-01-09 10:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:48:13] Production.INFO: call_cost start
[2025-01-09 10:48:13] Production.INFO: call_cost end
[2025-01-09 10:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:48:14] Production.INFO: ==18436== Releasing lock...
[2025-01-09 10:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:48:19] Production.INFO: count ==3365
[2025-01-09 10:48:20] Production.ERROR: pbx CDR StartTime 2025-01-09 07:48:05 - End Time 2025-01-09 10:48:05
[2025-01-09 10:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209067', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209067', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209067', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209067', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:48:21] Production.INFO: ProcessCDR(1,14209067,1,1,2)
[2025-01-09 10:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209067', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209067', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:48:25] Production.INFO: ==18444== Releasing lock...
[2025-01-09 10:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:48:25] Production.INFO: 53 MB #Memory Used#
[2025-01-09 15:49:01] Production.INFO: ==18499== Lock acquired, processing the job...
[2025-01-09 15:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:49:01] Production.INFO: neon service started
[2025-01-09 15:49:01] Production.INFO: neon service started
[2025-01-09 15:49:01] Production.INFO: ==18499== Releasing lock...
[2025-01-09 15:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:49:01] Production.INFO: ==18501== Lock acquired, processing the job...
[2025-01-09 10:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:49:02] Production.INFO: ==18501== Releasing lock...
[2025-01-09 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:49:02] Production.INFO: ==18503== Lock acquired, processing the job...
[2025-01-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:49:02] Production.INFO: ==18503== Releasing lock...
[2025-01-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:49:03] Production.INFO: ==18506== Lock acquired, processing the job...
[2025-01-09 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:49:03] Production.INFO: ==18510== Lock acquired, processing the job...
[2025-01-09 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:49:03] Production.INFO: ==18514== Lock acquired, processing the job...
[2025-01-09 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:49:03] Production.INFO: ==18512== Lock acquired, processing the job...
[2025-01-09 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:49:03] Production.INFO: ==18508== Lock acquired, processing the job...
[2025-01-09 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:49:03] Production.INFO: Account Balance Start.
[2025-01-09 10:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:49:03] Production.INFO: 117
[2025-01-09 10:49:03] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-01-09 10:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:49:03] Production.INFO: Total Charge 0
[2025-01-09 10:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:49:03] Production.INFO: CreateAllLog End
[2025-01-09 10:49:03] Production.ERROR: done
[2025-01-09 10:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:49:03] Production.INFO: count ==21
[2025-01-09 10:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:49:03] Production.INFO: count ==21
[2025-01-09 10:49:03] Production.INFO: ==18508== Releasing lock...
[2025-01-09 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209071') start
[2025-01-09 10:49:03] Production.INFO: Account Balance End.
[2025-01-09 10:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209071') end
[2025-01-09 10:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:49:03] Production.INFO: 1
[2025-01-09 10:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:49:03] Production.INFO: ==18512== Releasing lock...
[2025-01-09 10:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:49:03] Production.ERROR: done
[2025-01-09 10:49:04] Production.INFO: ==18516== Releasing lock...
[2025-01-09 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:49:05
[end_date_ymd] => 2025-01-09 10:49:05
[RateCDR] => 1
)
[2025-01-09 10:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:49:05' and `end` < '2025-01-09 10:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:49:11] Production.ERROR: CronJobId end10
[2025-01-09 10:49:11] Production.INFO: ==18510== Releasing lock...
[2025-01-09 10:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:49:13] Production.INFO: call_cost start
[2025-01-09 10:49:13] Production.INFO: call_cost end
[2025-01-09 10:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:49:14] Production.INFO: ==18506== Releasing lock...
[2025-01-09 10:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:49:19] Production.INFO: count ==3390
[2025-01-09 10:49:21] Production.ERROR: pbx CDR StartTime 2025-01-09 07:49:05 - End Time 2025-01-09 10:49:05
[2025-01-09 10:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209072', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209072', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209072', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209072', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:49:21] Production.INFO: ProcessCDR(1,14209072,1,1,2)
[2025-01-09 10:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:49:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:49:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209072', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209072', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:49:25] Production.INFO: ==18514== Releasing lock...
[2025-01-09 10:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:49:25] Production.INFO: 53.25 MB #Memory Used#
[2025-01-09 15:50:02] Production.INFO: ==18572== Lock acquired, processing the job...
[2025-01-09 15:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:50:02] Production.INFO: neon service started
[2025-01-09 15:50:02] Production.INFO: neon service started
[2025-01-09 15:50:02] Production.INFO: ==18572== Releasing lock...
[2025-01-09 15:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:50:02] Production.INFO: ==18576== Lock acquired, processing the job...
[2025-01-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:50:02] Production.INFO: ==18576== Releasing lock...
[2025-01-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:50:02] Production.INFO: ==18574== Lock acquired, processing the job...
[2025-01-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:50:02] Production.INFO: ==18574== Releasing lock...
[2025-01-09 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:50:03] Production.INFO: ==18578== Lock acquired, processing the job...
[2025-01-09 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 10:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 10:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 10:50:03] Production.INFO: ==18578== Releasing lock...
[2025-01-09 10:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 10:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 10:50:03] Production.INFO: ==18582== Lock acquired, processing the job...
[2025-01-09 10:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:50:03] Production.INFO: ==18584== Lock acquired, processing the job...
[2025-01-09 10:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:50:03] Production.INFO: ==18586== Lock acquired, processing the job...
[2025-01-09 10:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:50:03] Production.INFO: Account Balance Start.
[2025-01-09 10:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:50:03] Production.INFO: 117
[2025-01-09 10:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:50:04] Production.INFO: ==18580== Lock acquired, processing the job...
[2025-01-09 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:50:04] Production.INFO: ==18588== Lock acquired, processing the job...
[2025-01-09 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:50:04] Production.INFO: Total Charge 0
[2025-01-09 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:50:04] Production.INFO: CreateAllLog End
[2025-01-09 10:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:50:04] Production.INFO: Account Balance End.
[2025-01-09 10:50:04] Production.INFO: ==18591== Lock acquired, processing the job...
[2025-01-09 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 10:50:04] Production.INFO: ==18593== Lock acquired, processing the job...
[2025-01-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:50:04] Production.INFO: ==18582== Releasing lock...
[2025-01-09 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:50:04] Production.INFO: ==18586== Releasing lock...
[2025-01-09 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:50:04] Production.INFO: count ==21
[2025-01-09 10:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:50:04] Production.INFO: count ==21
[2025-01-09 10:50:04] Production.ERROR: done
[2025-01-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209076') start
[2025-01-09 10:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209076') end
[2025-01-09 10:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:50:04] Production.INFO: 1
[2025-01-09 10:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:50:04] Production.INFO: ==18593== Releasing lock...
[2025-01-09 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:50:04] Production.ERROR: done
[2025-01-09 10:50:04] Production.ERROR: done
[2025-01-09 10:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 10:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209078', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 10:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:50:06
[end_date_ymd] => 2025-01-09 10:50:06
[RateCDR] => 1
)
[2025-01-09 10:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:50:06' and `end` < '2025-01-09 10:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209078', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 10:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 10:50:08] Production.INFO: ProcessCDR(1,14209078,1,1,2)
[2025-01-09 10:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209078,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209078,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:50:08] Production.INFO: ==18591== Releasing lock...
[2025-01-09 10:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 10:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 10:50:13] Production.ERROR: CronJobId end10
[2025-01-09 10:50:13] Production.INFO: ==18584== Releasing lock...
[2025-01-09 10:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:50:15] Production.INFO: call_cost start
[2025-01-09 10:50:15] Production.INFO: call_cost end
[2025-01-09 10:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:50:16] Production.INFO: ==18580== Releasing lock...
[2025-01-09 10:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:50:35] Production.INFO: count ==3399
[2025-01-09 10:50:37] Production.ERROR: pbx CDR StartTime 2025-01-09 07:50:06 - End Time 2025-01-09 10:50:06
[2025-01-09 10:50:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209077', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209077', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209077', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209077', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:50:37] Production.INFO: ProcessCDR(1,14209077,1,1,2)
[2025-01-09 10:50:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:50:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:50:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:50:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:50:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209077', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:50:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209077', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:50:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:50:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:50:41] Production.INFO: ==18588== Releasing lock...
[2025-01-09 10:50:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:50:41] Production.INFO: 53.5 MB #Memory Used#
[2025-01-09 15:51:01] Production.INFO: ==18646== Lock acquired, processing the job...
[2025-01-09 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:51:01] Production.INFO: neon service started
[2025-01-09 15:51:01] Production.INFO: neon service started
[2025-01-09 15:51:01] Production.INFO: ==18646== Releasing lock...
[2025-01-09 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:51:02] Production.INFO: ==18648== Lock acquired, processing the job...
[2025-01-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:51:02] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-01-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:51:02] Production.INFO: ==18650== Releasing lock...
[2025-01-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:51:02] Production.INFO: ==18648== Releasing lock...
[2025-01-09 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:51:03] Production.INFO: ==18653== Lock acquired, processing the job...
[2025-01-09 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:51:03] Production.INFO: ==18657== Lock acquired, processing the job...
[2025-01-09 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:51:03] Production.INFO: ==18659== Lock acquired, processing the job...
[2025-01-09 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:51:03] Production.INFO: ==18655== Lock acquired, processing the job...
[2025-01-09 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:51:03] Production.INFO: Account Balance Start.
[2025-01-09 10:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:51:03] Production.INFO: 117
[2025-01-09 10:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:51:03] Production.INFO: ==18661== Lock acquired, processing the job...
[2025-01-09 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:51:03] Production.INFO: Total Charge 0
[2025-01-09 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:51:03] Production.INFO: ==18663== Lock acquired, processing the job...
[2025-01-09 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:51:03] Production.INFO: CreateAllLog End
[2025-01-09 10:51:03] Production.INFO: ==18655== Releasing lock...
[2025-01-09 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:51:03] Production.ERROR: done
[2025-01-09 10:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:51:03] Production.INFO: count ==21
[2025-01-09 10:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:51:03] Production.INFO: count ==21
[2025-01-09 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209082') start
[2025-01-09 10:51:04] Production.INFO: Account Balance End.
[2025-01-09 10:51:04] Production.ERROR: done
[2025-01-09 10:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:51:04] Production.INFO: ==18659== Releasing lock...
[2025-01-09 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209082') end
[2025-01-09 10:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:51:04] Production.INFO: 1
[2025-01-09 10:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:51:04] Production.INFO: ==18663== Releasing lock...
[2025-01-09 10:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:51:05
[end_date_ymd] => 2025-01-09 10:51:05
[RateCDR] => 1
)
[2025-01-09 10:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:51:05' and `end` < '2025-01-09 10:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:51:10] Production.ERROR: CronJobId end10
[2025-01-09 10:51:10] Production.INFO: ==18657== Releasing lock...
[2025-01-09 10:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:51:13] Production.INFO: call_cost start
[2025-01-09 10:51:13] Production.INFO: call_cost end
[2025-01-09 10:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:51:13] Production.INFO: ==18653== Releasing lock...
[2025-01-09 10:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:51:31] Production.INFO: count ==3488
[2025-01-09 10:51:33] Production.ERROR: pbx CDR StartTime 2025-01-09 07:51:05 - End Time 2025-01-09 10:51:05
[2025-01-09 10:51:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:51:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209083', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:51:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209083', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:51:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209083', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:51:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209083', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:51:33] Production.INFO: ProcessCDR(1,14209083,1,1,2)
[2025-01-09 10:51:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:51:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:51:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:51:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:51:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209083', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:51:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209083', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:51:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:51:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:51:38] Production.INFO: ==18661== Releasing lock...
[2025-01-09 10:51:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:51:38] Production.INFO: 54.5 MB #Memory Used#
[2025-01-09 15:52:01] Production.INFO: ==18717== Lock acquired, processing the job...
[2025-01-09 15:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:52:01] Production.INFO: neon service started
[2025-01-09 15:52:01] Production.INFO: neon service started
[2025-01-09 15:52:01] Production.INFO: ==18717== Releasing lock...
[2025-01-09 15:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:52:02] Production.INFO: ==18719== Lock acquired, processing the job...
[2025-01-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:52:02] Production.INFO: ==18719== Releasing lock...
[2025-01-09 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:52:02] Production.INFO: ==18721== Lock acquired, processing the job...
[2025-01-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:52:02] Production.INFO: ==18721== Releasing lock...
[2025-01-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:52:03] Production.INFO: ==18723== Lock acquired, processing the job...
[2025-01-09 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:52:03] Production.INFO: ==18734== Lock acquired, processing the job...
[2025-01-09 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:52:03] Production.INFO: ==18729== Lock acquired, processing the job...
[2025-01-09 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:52:03] Production.INFO: ==18725== Lock acquired, processing the job...
[2025-01-09 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:52:03] Production.INFO: ==18727== Lock acquired, processing the job...
[2025-01-09 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:52:03] Production.INFO: Account Balance Start.
[2025-01-09 10:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:52:03] Production.INFO: 117
[2025-01-09 10:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:52:03] Production.INFO: count ==21
[2025-01-09 10:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:52:03] Production.INFO: count ==21
[2025-01-09 10:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209085') start
[2025-01-09 10:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:52:03] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-09 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:52:03] Production.INFO: Total Charge 0
[2025-01-09 10:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209085') end
[2025-01-09 10:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:52:03] Production.INFO: 1
[2025-01-09 10:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:52:03] Production.INFO: CreateAllLog End
[2025-01-09 10:52:03] Production.INFO: ==18734== Releasing lock...
[2025-01-09 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:52:03] Production.INFO: ==18725== Releasing lock...
[2025-01-09 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:52:04] Production.INFO: Account Balance End.
[2025-01-09 10:52:04] Production.ERROR: done
[2025-01-09 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:52:04] Production.INFO: ==18729== Releasing lock...
[2025-01-09 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:52:04] Production.ERROR: done
[2025-01-09 10:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:52:05
[end_date_ymd] => 2025-01-09 10:52:05
[RateCDR] => 1
)
[2025-01-09 10:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:52:05' and `end` < '2025-01-09 10:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:52:11] Production.ERROR: CronJobId end10
[2025-01-09 10:52:11] Production.INFO: ==18727== Releasing lock...
[2025-01-09 10:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:52:13] Production.INFO: call_cost start
[2025-01-09 10:52:13] Production.INFO: call_cost end
[2025-01-09 10:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:52:14] Production.INFO: ==18723== Releasing lock...
[2025-01-09 10:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:52:28] Production.INFO: count ==3509
[2025-01-09 10:52:30] Production.ERROR: pbx CDR StartTime 2025-01-09 07:52:05 - End Time 2025-01-09 10:52:05
[2025-01-09 10:52:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209088', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209088', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209088', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209088', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:52:30] Production.INFO: ProcessCDR(1,14209088,1,1,2)
[2025-01-09 10:52:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:52:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209088,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:52:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:52:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209088,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:52:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209088', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:52:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209088', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:52:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:52:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:52:35] Production.INFO: ==18731== Releasing lock...
[2025-01-09 10:52:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:52:35] Production.INFO: 55 MB #Memory Used#
[2025-01-09 15:53:02] Production.INFO: ==18791== Lock acquired, processing the job...
[2025-01-09 15:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:53:02] Production.INFO: neon service started
[2025-01-09 15:53:02] Production.INFO: neon service started
[2025-01-09 15:53:02] Production.INFO: ==18791== Releasing lock...
[2025-01-09 15:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:53:03] Production.INFO: ==18794== Lock acquired, processing the job...
[2025-01-09 10:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:53:03] Production.INFO: ==18796== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:53:03] Production.INFO: ==18796== Releasing lock...
[2025-01-09 15:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:53:03] Production.INFO: ==18794== Releasing lock...
[2025-01-09 10:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:53:04] Production.INFO: ==18798== Lock acquired, processing the job...
[2025-01-09 10:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:53:04] Production.INFO: ==18800== Lock acquired, processing the job...
[2025-01-09 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:53:04] Production.INFO: ==18806== Lock acquired, processing the job...
[2025-01-09 10:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:53:04] Production.INFO: ==18802== Lock acquired, processing the job...
[2025-01-09 10:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:53:04] Production.INFO: ==18804== Lock acquired, processing the job...
[2025-01-09 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:53:04] Production.INFO: ==18808== Lock acquired, processing the job...
[2025-01-09 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:53:04] Production.INFO: Account Balance Start.
[2025-01-09 10:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:53:04] Production.INFO: 117
[2025-01-09 10:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:53:04] Production.INFO: count ==21
[2025-01-09 10:53:04] Production.ERROR: done
[2025-01-09 10:53:04] Production.INFO: Total Charge 0
[2025-01-09 10:53:04] Production.INFO: ==18800== Releasing lock...
[2025-01-09 10:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:53:04] Production.INFO: CreateAllLog End
[2025-01-09 10:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:53:04] Production.INFO: count ==21
[2025-01-09 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209092') start
[2025-01-09 10:53:05] Production.ERROR: done
[2025-01-09 10:53:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209092') end
[2025-01-09 10:53:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:53:05] Production.INFO: 1
[2025-01-09 10:53:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:53:05] Production.INFO: Account Balance End.
[2025-01-09 10:53:05] Production.INFO: ==18808== Releasing lock...
[2025-01-09 10:53:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:53:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:53:05] Production.ERROR: CronJobId end 12
[2025-01-09 10:53:05] Production.INFO: ==18804== Releasing lock...
[2025-01-09 10:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:53:05
[end_date_ymd] => 2025-01-09 10:53:05
[RateCDR] => 1
)
[2025-01-09 10:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:53:05' and `end` < '2025-01-09 10:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:53:12] Production.ERROR: CronJobId end10
[2025-01-09 10:53:12] Production.INFO: ==18802== Releasing lock...
[2025-01-09 10:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:53:14] Production.INFO: call_cost start
[2025-01-09 10:53:14] Production.INFO: call_cost end
[2025-01-09 10:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:53:15] Production.INFO: ==18798== Releasing lock...
[2025-01-09 10:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:53:28] Production.INFO: count ==3543
[2025-01-09 10:53:30] Production.ERROR: pbx CDR StartTime 2025-01-09 07:53:05 - End Time 2025-01-09 10:53:05
[2025-01-09 10:53:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:53:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209093', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:53:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209093', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:53:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209093', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:53:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209093', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:53:30] Production.INFO: ProcessCDR(1,14209093,1,1,2)
[2025-01-09 10:53:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:53:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:53:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:53:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:53:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209093', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:53:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209093', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:53:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:53:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:53:35] Production.INFO: ==18806== Releasing lock...
[2025-01-09 10:53:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:53:35] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 15:54:02] Production.INFO: ==18867== Lock acquired, processing the job...
[2025-01-09 15:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:54:02] Production.INFO: neon service started
[2025-01-09 15:54:02] Production.INFO: neon service started
[2025-01-09 15:54:02] Production.INFO: ==18867== Releasing lock...
[2025-01-09 15:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:54:02] Production.INFO: ==18869== Lock acquired, processing the job...
[2025-01-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:54:02] Production.INFO: ==18871== Lock acquired, processing the job...
[2025-01-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:54:02] Production.INFO: ==18871== Releasing lock...
[2025-01-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:54:02] Production.INFO: ==18869== Releasing lock...
[2025-01-09 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:54:03] Production.INFO: ==18876== Lock acquired, processing the job...
[2025-01-09 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:54:03] Production.INFO: ==18884== Lock acquired, processing the job...
[2025-01-09 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:54:03] Production.INFO: ==18874== Lock acquired, processing the job...
[2025-01-09 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:54:04] Production.INFO: ==18878== Lock acquired, processing the job...
[2025-01-09 10:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:54:04] Production.INFO: count ==21
[2025-01-09 10:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:54:04] Production.INFO: count ==21
[2025-01-09 10:54:04] Production.INFO: ==18880== Lock acquired, processing the job...
[2025-01-09 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209095') start
[2025-01-09 10:54:04] Production.INFO: ==18882== Lock acquired, processing the job...
[2025-01-09 10:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:54:04] Production.INFO: Account Balance Start.
[2025-01-09 10:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:54:04] Production.INFO: 117
[2025-01-09 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209095') end
[2025-01-09 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:54:04] Production.INFO: 1
[2025-01-09 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:54:04] Production.INFO: Total Charge 0
[2025-01-09 10:54:04] Production.INFO: CreateAllLog End
[2025-01-09 10:54:04] Production.INFO: ==18884== Releasing lock...
[2025-01-09 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:54:04] Production.INFO: ==18876== Releasing lock...
[2025-01-09 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:54:04] Production.ERROR: done
[2025-01-09 10:54:04] Production.INFO: Account Balance End.
[2025-01-09 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:54:04] Production.INFO: ==18880== Releasing lock...
[2025-01-09 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:54:04] Production.ERROR: done
[2025-01-09 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:54:05
[end_date_ymd] => 2025-01-09 10:54:05
[RateCDR] => 1
)
[2025-01-09 10:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:54:05' and `end` < '2025-01-09 10:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:54:11] Production.ERROR: CronJobId end10
[2025-01-09 10:54:11] Production.INFO: ==18878== Releasing lock...
[2025-01-09 10:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:54:13] Production.INFO: call_cost start
[2025-01-09 10:54:13] Production.INFO: call_cost end
[2025-01-09 10:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:54:14] Production.INFO: ==18874== Releasing lock...
[2025-01-09 10:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:54:23] Production.INFO: count ==3563
[2025-01-09 10:54:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:54:05 - End Time 2025-01-09 10:54:05
[2025-01-09 10:54:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209098', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209098', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209098', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209098', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:54:25] Production.INFO: ProcessCDR(1,14209098,1,1,2)
[2025-01-09 10:54:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:54:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:54:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:54:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:54:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209098', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209098', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:54:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:54:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:54:30] Production.INFO: ==18882== Releasing lock...
[2025-01-09 10:54:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:54:30] Production.INFO: 54.75 MB #Memory Used#
[2025-01-09 15:55:01] Production.INFO: ==18937== Lock acquired, processing the job...
[2025-01-09 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:55:01] Production.INFO: neon service started
[2025-01-09 15:55:01] Production.INFO: neon service started
[2025-01-09 15:55:01] Production.INFO: ==18937== Releasing lock...
[2025-01-09 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:55:01] Production.INFO: ==18941== Lock acquired, processing the job...
[2025-01-09 15:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:55:01] Production.INFO: ==18941== Releasing lock...
[2025-01-09 15:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:55:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:55:01] Production.INFO: ==18939== Lock acquired, processing the job...
[2025-01-09 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 10:55:02] Production.INFO: ==18939== Releasing lock...
[2025-01-09 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:55:02] Production.INFO: ==18943== Lock acquired, processing the job...
[2025-01-09 10:55:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:55:02] Production.INFO: ==18947== Lock acquired, processing the job...
[2025-01-09 10:55:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:55:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:55:03] Production.INFO: ==18945== Lock acquired, processing the job...
[2025-01-09 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:55:03] Production.INFO: ==18953== Lock acquired, processing the job...
[2025-01-09 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:55:03] Production.INFO: ==18945== Releasing lock...
[2025-01-09 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:55:03] Production.INFO: ==18951== Lock acquired, processing the job...
[2025-01-09 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:55:03] Production.INFO: ==18949== Lock acquired, processing the job...
[2025-01-09 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:55:03] Production.INFO: count ==21
[2025-01-09 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:55:03] Production.INFO: count ==21
[2025-01-09 10:55:03] Production.INFO: Account Balance Start.
[2025-01-09 10:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:55:03] Production.INFO: 117
[2025-01-09 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209101') start
[2025-01-09 10:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209101') end
[2025-01-09 10:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:55:03] Production.INFO: 1
[2025-01-09 10:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:55:03] Production.INFO: ==18953== Releasing lock...
[2025-01-09 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:55:03] Production.ERROR: done
[2025-01-09 10:55:03] Production.INFO: Total Charge 0
[2025-01-09 10:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:55:03] Production.INFO: CreateAllLog End
[2025-01-09 10:55:04] Production.ERROR: done
[2025-01-09 10:55:04] Production.INFO: Account Balance End.
[2025-01-09 10:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:55:04] Production.INFO: ==18949== Releasing lock...
[2025-01-09 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:55:04
[end_date_ymd] => 2025-01-09 10:55:04
[RateCDR] => 1
)
[2025-01-09 10:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:55:04' and `end` < '2025-01-09 10:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:55:10] Production.ERROR: CronJobId end10
[2025-01-09 10:55:10] Production.INFO: ==18947== Releasing lock...
[2025-01-09 10:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:55:13] Production.INFO: call_cost start
[2025-01-09 10:55:13] Production.INFO: call_cost end
[2025-01-09 10:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:55:14] Production.INFO: ==18943== Releasing lock...
[2025-01-09 10:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:55:26] Production.INFO: count ==3582
[2025-01-09 10:55:27] Production.ERROR: pbx CDR StartTime 2025-01-09 07:55:04 - End Time 2025-01-09 10:55:04
[2025-01-09 10:55:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:55:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209103', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:55:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209103', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:55:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209103', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:55:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209103', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:55:27] Production.INFO: ProcessCDR(1,14209103,1,1,2)
[2025-01-09 10:55:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:55:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:55:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:55:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:55:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209103', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:55:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209103', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:55:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:55:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:55:32] Production.INFO: ==18951== Releasing lock...
[2025-01-09 10:55:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:55:32] Production.INFO: 55 MB #Memory Used#
[2025-01-09 15:56:01] Production.INFO: ==19010== Lock acquired, processing the job...
[2025-01-09 15:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:56:01] Production.INFO: neon service started
[2025-01-09 15:56:01] Production.INFO: neon service started
[2025-01-09 15:56:01] Production.INFO: ==19010== Releasing lock...
[2025-01-09 15:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:56:02] Production.INFO: ==19012== Lock acquired, processing the job...
[2025-01-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:56:02] Production.INFO: ==19014== Lock acquired, processing the job...
[2025-01-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:56:02] Production.INFO: ==19014== Releasing lock...
[2025-01-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:56:02] Production.INFO: ==19012== Releasing lock...
[2025-01-09 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:56:03] Production.INFO: ==19025== Lock acquired, processing the job...
[2025-01-09 10:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:56:03] Production.INFO: ==19023== Lock acquired, processing the job...
[2025-01-09 10:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:56:03] Production.INFO: ==19017== Lock acquired, processing the job...
[2025-01-09 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:56:04] Production.INFO: ==19019== Lock acquired, processing the job...
[2025-01-09 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:56:04] Production.INFO: ==19021== Lock acquired, processing the job...
[2025-01-09 10:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:56:04] Production.INFO: Account Balance Start.
[2025-01-09 10:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 10:56:04] Production.INFO: 117
[2025-01-09 10:56:04] Production.INFO: ==19027== Lock acquired, processing the job...
[2025-01-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 10:56:04] Production.ERROR: done
[2025-01-09 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:56:04] Production.INFO: count ==21
[2025-01-09 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:56:04] Production.INFO: count ==21
[2025-01-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209106') start
[2025-01-09 10:56:04] Production.ERROR: done
[2025-01-09 10:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:56:04] Production.INFO: Total Charge 0
[2025-01-09 10:56:04] Production.INFO: CreateAllLog End
[2025-01-09 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209106') end
[2025-01-09 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:56:04] Production.INFO: 1
[2025-01-09 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:56:04] Production.INFO: ==19027== Releasing lock...
[2025-01-09 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:56:04] Production.INFO: Account Balance End.
[2025-01-09 10:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:56:04] Production.INFO: ==19023== Releasing lock...
[2025-01-09 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:56:04] Production.INFO: ==19019== Releasing lock...
[2025-01-09 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:56:05
[end_date_ymd] => 2025-01-09 10:56:05
[RateCDR] => 1
)
[2025-01-09 10:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:56:05' and `end` < '2025-01-09 10:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:56:11] Production.ERROR: CronJobId end10
[2025-01-09 10:56:11] Production.INFO: ==19021== Releasing lock...
[2025-01-09 10:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:56:13] Production.INFO: call_cost start
[2025-01-09 10:56:13] Production.INFO: call_cost end
[2025-01-09 10:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:56:14] Production.INFO: ==19017== Releasing lock...
[2025-01-09 10:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:56:25] Production.INFO: count ==3600
[2025-01-09 10:56:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:56:05 - End Time 2025-01-09 10:56:05
[2025-01-09 10:56:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209108', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209108', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209108', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:56:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209108', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:56:26] Production.INFO: ProcessCDR(1,14209108,1,1,2)
[2025-01-09 10:56:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:56:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:56:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:56:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:56:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209108', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:56:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209108', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:56:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:56:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:56:31] Production.INFO: ==19025== Releasing lock...
[2025-01-09 10:56:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:56:31] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 15:57:01] Production.INFO: ==19082== Lock acquired, processing the job...
[2025-01-09 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:57:01] Production.INFO: neon service started
[2025-01-09 15:57:01] Production.INFO: neon service started
[2025-01-09 15:57:01] Production.INFO: ==19082== Releasing lock...
[2025-01-09 15:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:57:01] Production.INFO: ==19084== Lock acquired, processing the job...
[2025-01-09 10:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:57:02] Production.INFO: ==19086== Lock acquired, processing the job...
[2025-01-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:57:02] Production.INFO: ==19086== Releasing lock...
[2025-01-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:57:02] Production.INFO: ==19084== Releasing lock...
[2025-01-09 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:57:03] Production.INFO: ==19093== Lock acquired, processing the job...
[2025-01-09 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:57:03] Production.INFO: ==19099== Lock acquired, processing the job...
[2025-01-09 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:57:03] Production.INFO: ==19089== Lock acquired, processing the job...
[2025-01-09 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:57:03] Production.INFO: ==19091== Lock acquired, processing the job...
[2025-01-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:57:03] Production.INFO: count ==21
[2025-01-09 10:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:57:03] Production.INFO: count ==21
[2025-01-09 10:57:03] Production.INFO: ==19095== Lock acquired, processing the job...
[2025-01-09 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209109') start
[2025-01-09 10:57:03] Production.INFO: ==19097== Lock acquired, processing the job...
[2025-01-09 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209109') end
[2025-01-09 10:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:57:03] Production.INFO: 1
[2025-01-09 10:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:57:03] Production.INFO: ==19099== Releasing lock...
[2025-01-09 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:57:03] Production.INFO: Account Balance Start.
[2025-01-09 10:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:57:03] Production.INFO: 117
[2025-01-09 10:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:57:03] Production.INFO: ==19091== Releasing lock...
[2025-01-09 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:57:03] Production.INFO: Total Charge 0
[2025-01-09 10:57:03] Production.INFO: CreateAllLog End
[2025-01-09 10:57:03] Production.ERROR: done
[2025-01-09 10:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:57:04] Production.INFO: Account Balance End.
[2025-01-09 10:57:04] Production.ERROR: done
[2025-01-09 10:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:57:04] Production.INFO: ==19095== Releasing lock...
[2025-01-09 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:57:05
[end_date_ymd] => 2025-01-09 10:57:05
[RateCDR] => 1
)
[2025-01-09 10:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:57:05' and `end` < '2025-01-09 10:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:57:11] Production.ERROR: CronJobId end10
[2025-01-09 10:57:11] Production.INFO: ==19093== Releasing lock...
[2025-01-09 10:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:57:12] Production.INFO: call_cost start
[2025-01-09 10:57:12] Production.INFO: call_cost end
[2025-01-09 10:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:57:13] Production.INFO: ==19089== Releasing lock...
[2025-01-09 10:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:57:25] Production.INFO: count ==3621
[2025-01-09 10:57:26] Production.ERROR: pbx CDR StartTime 2025-01-09 07:57:05 - End Time 2025-01-09 10:57:05
[2025-01-09 10:57:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209113', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209113', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209113', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:57:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209113', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:57:26] Production.INFO: ProcessCDR(1,14209113,1,1,2)
[2025-01-09 10:57:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:57:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:57:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:57:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209113', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209113', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:57:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:57:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:57:31] Production.INFO: ==19097== Releasing lock...
[2025-01-09 10:57:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:57:31] Production.INFO: 55 MB #Memory Used#
[2025-01-09 15:58:01] Production.INFO: ==19153== Lock acquired, processing the job...
[2025-01-09 15:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:58:01] Production.INFO: neon service started
[2025-01-09 15:58:02] Production.INFO: neon service started
[2025-01-09 15:58:02] Production.INFO: ==19153== Releasing lock...
[2025-01-09 15:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:58:02] Production.INFO: ==19155== Lock acquired, processing the job...
[2025-01-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:58:02] Production.INFO: ==19157== Lock acquired, processing the job...
[2025-01-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:58:02] Production.INFO: ==19157== Releasing lock...
[2025-01-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:58:02] Production.INFO: ==19155== Releasing lock...
[2025-01-09 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:58:03] Production.INFO: ==19160== Lock acquired, processing the job...
[2025-01-09 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:58:03] Production.INFO: ==19162== Lock acquired, processing the job...
[2025-01-09 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:58:03] Production.INFO: ==19164== Lock acquired, processing the job...
[2025-01-09 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:58:03] Production.INFO: ==19162== Releasing lock...
[2025-01-09 10:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:58:03] Production.INFO: ==19166== Lock acquired, processing the job...
[2025-01-09 10:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:58:03] Production.INFO: ==19168== Lock acquired, processing the job...
[2025-01-09 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:58:03] Production.INFO: Account Balance Start.
[2025-01-09 10:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:58:03] Production.INFO: 117
[2025-01-09 10:58:03] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-01-09 10:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 10:58:04] Production.INFO: Total Charge 0
[2025-01-09 10:58:04] Production.INFO: CreateAllLog End
[2025-01-09 10:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:58:04] Production.INFO: Account Balance End.
[2025-01-09 10:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 10:58:04] Production.INFO: ==19166== Releasing lock...
[2025-01-09 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:58:04] Production.ERROR: done
[2025-01-09 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:58:04] Production.INFO: count ==21
[2025-01-09 10:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:58:04] Production.INFO: count ==21
[2025-01-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209117') start
[2025-01-09 10:58:04] Production.ERROR: done
[2025-01-09 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209117') end
[2025-01-09 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:58:04] Production.INFO: 1
[2025-01-09 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:58:04] Production.INFO: ==19170== Releasing lock...
[2025-01-09 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:58:05
[end_date_ymd] => 2025-01-09 10:58:05
[RateCDR] => 1
)
[2025-01-09 10:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:58:05' and `end` < '2025-01-09 10:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:58:11] Production.ERROR: CronJobId end10
[2025-01-09 10:58:11] Production.INFO: ==19164== Releasing lock...
[2025-01-09 10:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:58:13] Production.INFO: call_cost start
[2025-01-09 10:58:13] Production.INFO: call_cost end
[2025-01-09 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:58:14] Production.INFO: ==19160== Releasing lock...
[2025-01-09 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:58:24] Production.INFO: count ==3625
[2025-01-09 10:58:25] Production.ERROR: pbx CDR StartTime 2025-01-09 07:58:05 - End Time 2025-01-09 10:58:05
[2025-01-09 10:58:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209118', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209118', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209118', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:58:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209118', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:58:25] Production.INFO: ProcessCDR(1,14209118,1,1,2)
[2025-01-09 10:58:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:58:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:58:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:58:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:58:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209118', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:58:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209118', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:58:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:58:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:58:30] Production.INFO: ==19168== Releasing lock...
[2025-01-09 10:58:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:58:30] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 15:59:01] Production.INFO: ==19264== Lock acquired, processing the job...
[2025-01-09 15:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 15:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 15:59:01] Production.INFO: neon service started
[2025-01-09 15:59:01] Production.INFO: neon service started
[2025-01-09 15:59:01] Production.INFO: ==19264== Releasing lock...
[2025-01-09 15:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 15:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 10:59:02] Production.INFO: ==19266== Lock acquired, processing the job...
[2025-01-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:59:02] Production.INFO: ==19268== Lock acquired, processing the job...
[2025-01-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:59:02] Production.INFO: ==19268== Releasing lock...
[2025-01-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 10:59:02] Production.INFO: ==19266== Releasing lock...
[2025-01-09 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 10:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 10:59:03] Production.INFO: ==19277== Lock acquired, processing the job...
[2025-01-09 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 10:59:03] Production.INFO: ==19281== Lock acquired, processing the job...
[2025-01-09 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 10:59:03] Production.INFO: Account Balance Start.
[2025-01-09 10:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 10:59:03] Production.INFO: 117
[2025-01-09 10:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:59:03] Production.INFO: ==19271== Lock acquired, processing the job...
[2025-01-09 10:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 10:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 10:59:03] Production.INFO: count ==21
[2025-01-09 10:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 10:59:03] Production.INFO: count ==21
[2025-01-09 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209120') start
[2025-01-09 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 10:59:03] Production.INFO: Total Charge 0
[2025-01-09 10:59:03] Production.INFO: ==19275== Lock acquired, processing the job...
[2025-01-09 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 10:59:03] Production.INFO: ==19273== Lock acquired, processing the job...
[2025-01-09 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 10:59:03] Production.INFO: ==19279== Lock acquired, processing the job...
[2025-01-09 10:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 10:59:03] Production.INFO: CreateAllLog End
[2025-01-09 10:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209120') end
[2025-01-09 10:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 10:59:03] Production.INFO: 1
[2025-01-09 10:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 10:59:03] Production.INFO: Account Balance End.
[2025-01-09 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 10:59:03] Production.INFO: ==19281== Releasing lock...
[2025-01-09 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 10:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 10:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 10:59:03] Production.INFO: ==19277== Releasing lock...
[2025-01-09 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 10:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 10:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 10:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 10:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 10:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 10:59:03] Production.ERROR: done
[2025-01-09 10:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 10:59:03] Production.INFO: ==19273== Releasing lock...
[2025-01-09 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 10:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 10:59:04] Production.ERROR: done
[2025-01-09 10:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 07:59:05
[end_date_ymd] => 2025-01-09 10:59:05
[RateCDR] => 1
)
[2025-01-09 10:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 07:59:05' and `end` < '2025-01-09 10:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 10:59:10] Production.ERROR: CronJobId end10
[2025-01-09 10:59:10] Production.INFO: ==19275== Releasing lock...
[2025-01-09 10:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 10:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 10:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 10:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 10:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 10:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 10:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 10:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 10:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 10:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 10:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 10:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 10:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 10:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 10:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 10:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 10:59:13] Production.INFO: call_cost start
[2025-01-09 10:59:13] Production.INFO: call_cost end
[2025-01-09 10:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 10:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 10:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 10:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 10:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 10:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 10:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 10:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 10:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 10:59:14] Production.INFO: ==19271== Releasing lock...
[2025-01-09 10:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 10:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 10:59:18] Production.INFO: count ==3637
[2025-01-09 10:59:20] Production.ERROR: pbx CDR StartTime 2025-01-09 07:59:05 - End Time 2025-01-09 10:59:05
[2025-01-09 10:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209123', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209123', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209123', 'tblTempVendorCDR_20' ) start
[2025-01-09 10:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209123', 'tblTempVendorCDR_20' ) end
[2025-01-09 10:59:20] Production.INFO: ProcessCDR(1,14209123,1,1,2)
[2025-01-09 10:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 10:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 10:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209123', 'tblTempUsageDetail_20' ) start
[2025-01-09 10:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209123', 'tblTempUsageDetail_20' ) end
[2025-01-09 10:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 10:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 10:59:23] Production.INFO: ==19279== Releasing lock...
[2025-01-09 10:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 10:59:23] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 16:00:01] Production.INFO: ==19334== Lock acquired, processing the job...
[2025-01-09 16:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:00:01] Production.INFO: neon service started
[2025-01-09 16:00:01] Production.INFO: neon service started
[2025-01-09 16:00:01] Production.INFO: ==19334== Releasing lock...
[2025-01-09 16:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:00:02] Production.INFO: ==19338== Lock acquired, processing the job...
[2025-01-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:00:02] Production.INFO: ==19336== Lock acquired, processing the job...
[2025-01-09 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:00:02] Production.INFO: ==19338== Releasing lock...
[2025-01-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:00:03] Production.INFO: ==19336== Releasing lock...
[2025-01-09 11:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:00:03] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-01-09 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 11:00:04] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:00:04] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 11:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 11:00:04] Production.INFO: ==19341== Releasing lock...
[2025-01-09 11:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 11:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 11:00:04] Production.INFO: ==19347== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:00:04] Production.INFO: ==19349== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:00:04] Production.INFO: ==19351== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:00:04] Production.INFO: Account Balance Start.
[2025-01-09 11:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:00:04] Production.INFO: 117
[2025-01-09 11:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:00:04] Production.INFO: ==19353== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:00:04] Production.INFO: ==19356== Lock acquired, processing the job...
[2025-01-09 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:00:04] Production.INFO: Total Charge 0
[2025-01-09 11:00:04] Production.INFO: CreateAllLog End
[2025-01-09 11:00:04] Production.INFO: ==19345== Releasing lock...
[2025-01-09 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:00:04] Production.INFO: count ==21
[2025-01-09 11:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:00:04] Production.INFO: count ==21
[2025-01-09 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209127') start
[2025-01-09 11:00:04] Production.ERROR: done
[2025-01-09 11:00:04] Production.ERROR: done
[2025-01-09 11:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209127') end
[2025-01-09 11:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:00:04] Production.INFO: 1
[2025-01-09 11:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 11:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209128', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 11:00:04] Production.INFO: Account Balance End.
[2025-01-09 11:00:04] Production.INFO: ==19356== Releasing lock...
[2025-01-09 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:00:05] Production.ERROR: done
[2025-01-09 11:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 11:00:05] Production.INFO: ==19349== Releasing lock...
[2025-01-09 11:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:00:05
[end_date_ymd] => 2025-01-09 11:00:05
[RateCDR] => 1
)
[2025-01-09 11:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:00:05' and `end` < '2025-01-09 11:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209128', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 11:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 11:00:09] Production.INFO: ProcessCDR(1,14209128,1,1,2)
[2025-01-09 11:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209128,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209128,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:00:09] Production.INFO: ==19353== Releasing lock...
[2025-01-09 11:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 11:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:00:14] Production.ERROR: CronJobId end10
[2025-01-09 11:00:14] Production.INFO: ==19347== Releasing lock...
[2025-01-09 11:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:00:15] Production.INFO: call_cost start
[2025-01-09 11:00:15] Production.INFO: call_cost end
[2025-01-09 11:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:00:16] Production.INFO: ==19343== Releasing lock...
[2025-01-09 11:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:00:26] Production.INFO: count ==3649
[2025-01-09 11:00:28] Production.ERROR: pbx CDR StartTime 2025-01-09 08:00:05 - End Time 2025-01-09 11:00:05
[2025-01-09 11:00:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209129', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209129', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209129', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209129', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:00:28] Production.INFO: ProcessCDR(1,14209129,1,1,2)
[2025-01-09 11:00:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:00:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:00:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:00:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:00:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209129', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:00:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209129', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:00:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:00:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:00:32] Production.INFO: ==19351== Releasing lock...
[2025-01-09 11:00:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:00:32] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 16:01:02] Production.INFO: ==19497== Lock acquired, processing the job...
[2025-01-09 16:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:01:02] Production.INFO: neon service started
[2025-01-09 16:01:02] Production.INFO: neon service started
[2025-01-09 16:01:02] Production.INFO: ==19497== Releasing lock...
[2025-01-09 16:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:01:02] Production.INFO: ==19503== Lock acquired, processing the job...
[2025-01-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:01:02] Production.INFO: ==19503== Releasing lock...
[2025-01-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:01:02] Production.INFO: ==19501== Lock acquired, processing the job...
[2025-01-09 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:01:03] Production.INFO: ==19501== Releasing lock...
[2025-01-09 11:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:01:03] Production.INFO: ==19508== Lock acquired, processing the job...
[2025-01-09 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:01:03] Production.INFO: ==19506== Lock acquired, processing the job...
[2025-01-09 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:01:03] Production.INFO: ==19516== Lock acquired, processing the job...
[2025-01-09 11:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:01:04] Production.INFO: count ==21
[2025-01-09 11:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:01:04] Production.INFO: count ==21
[2025-01-09 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209132') start
[2025-01-09 11:01:04] Production.INFO: ==19510== Lock acquired, processing the job...
[2025-01-09 11:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:01:04] Production.INFO: ==19508== Releasing lock...
[2025-01-09 11:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:01:04] Production.INFO: ==19512== Lock acquired, processing the job...
[2025-01-09 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209132') end
[2025-01-09 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:01:04] Production.INFO: 1
[2025-01-09 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:01:04] Production.INFO: ==19514== Lock acquired, processing the job...
[2025-01-09 11:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:01:04] Production.INFO: ==19516== Releasing lock...
[2025-01-09 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:01:04] Production.INFO: Account Balance Start.
[2025-01-09 11:01:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:01:04] Production.INFO: 117
[2025-01-09 11:01:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:01:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:01:04] Production.INFO: Total Charge 0
[2025-01-09 11:01:04] Production.INFO: CreateAllLog End
[2025-01-09 11:01:04] Production.ERROR: done
[2025-01-09 11:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:01:04] Production.INFO: Account Balance End.
[2025-01-09 11:01:04] Production.ERROR: done
[2025-01-09 11:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:01:04] Production.INFO: ==19512== Releasing lock...
[2025-01-09 11:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:01:05
[end_date_ymd] => 2025-01-09 11:01:05
[RateCDR] => 1
)
[2025-01-09 11:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:01:05' and `end` < '2025-01-09 11:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:01:12] Production.ERROR: CronJobId end10
[2025-01-09 11:01:12] Production.INFO: ==19510== Releasing lock...
[2025-01-09 11:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:01:14] Production.INFO: call_cost start
[2025-01-09 11:01:14] Production.INFO: call_cost end
[2025-01-09 11:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:01:15] Production.INFO: ==19506== Releasing lock...
[2025-01-09 11:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:01:24] Production.INFO: count ==3757
[2025-01-09 11:01:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:01:05 - End Time 2025-01-09 11:01:05
[2025-01-09 11:01:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209134', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209134', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209134', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209134', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:01:26] Production.INFO: ProcessCDR(1,14209134,1,1,2)
[2025-01-09 11:01:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:01:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:01:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:01:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209134', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209134', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:01:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:01:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:01:30] Production.INFO: ==19514== Releasing lock...
[2025-01-09 11:01:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:01:30] Production.INFO: 56 MB #Memory Used#
[2025-01-09 16:02:01] Production.INFO: ==19568== Lock acquired, processing the job...
[2025-01-09 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:02:01] Production.INFO: neon service started
[2025-01-09 16:02:01] Production.INFO: neon service started
[2025-01-09 16:02:01] Production.INFO: ==19568== Releasing lock...
[2025-01-09 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:02:02] Production.INFO: ==19570== Lock acquired, processing the job...
[2025-01-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:02:02] Production.INFO: ==19570== Releasing lock...
[2025-01-09 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:02:02] Production.INFO: ==19572== Lock acquired, processing the job...
[2025-01-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:02:02] Production.INFO: ==19572== Releasing lock...
[2025-01-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:02:03] Production.INFO: ==19581== Lock acquired, processing the job...
[2025-01-09 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:02:03] Production.INFO: ==19583== Lock acquired, processing the job...
[2025-01-09 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:02:03] Production.INFO: Account Balance Start.
[2025-01-09 11:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:02:03] Production.INFO: 117
[2025-01-09 11:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:02:03] Production.INFO: ==19575== Lock acquired, processing the job...
[2025-01-09 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:02:03] Production.INFO: ==19577== Lock acquired, processing the job...
[2025-01-09 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:02:03] Production.INFO: ==19579== Lock acquired, processing the job...
[2025-01-09 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:02:03] Production.INFO: ==19585== Lock acquired, processing the job...
[2025-01-09 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:02:03] Production.INFO: Total Charge 0
[2025-01-09 11:02:03] Production.INFO: CreateAllLog End
[2025-01-09 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:02:03] Production.ERROR: done
[2025-01-09 11:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:02:03] Production.INFO: Account Balance End.
[2025-01-09 11:02:03] Production.INFO: count ==21
[2025-01-09 11:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:02:03] Production.INFO: count ==21
[2025-01-09 11:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209138') start
[2025-01-09 11:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:02:03] Production.INFO: ==19581== Releasing lock...
[2025-01-09 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:02:03] Production.INFO: ==19577== Releasing lock...
[2025-01-09 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:02:03] Production.ERROR: done
[2025-01-09 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209138') end
[2025-01-09 11:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:02:04] Production.INFO: 1
[2025-01-09 11:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:02:04] Production.INFO: ==19585== Releasing lock...
[2025-01-09 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:02:05
[end_date_ymd] => 2025-01-09 11:02:05
[RateCDR] => 1
)
[2025-01-09 11:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:02:05' and `end` < '2025-01-09 11:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:02:11] Production.ERROR: CronJobId end10
[2025-01-09 11:02:11] Production.INFO: ==19579== Releasing lock...
[2025-01-09 11:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:02:13] Production.INFO: call_cost start
[2025-01-09 11:02:13] Production.INFO: call_cost end
[2025-01-09 11:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:02:14] Production.INFO: ==19575== Releasing lock...
[2025-01-09 11:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:02:25] Production.INFO: count ==3779
[2025-01-09 11:02:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:02:05 - End Time 2025-01-09 11:02:05
[2025-01-09 11:02:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209139', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209139', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209139', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:02:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209139', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:02:26] Production.INFO: ProcessCDR(1,14209139,1,1,2)
[2025-01-09 11:02:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:02:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209139,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:02:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:02:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209139,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209139', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:02:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209139', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:02:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:02:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:02:31] Production.INFO: ==19583== Releasing lock...
[2025-01-09 11:02:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:02:31] Production.INFO: 56.25 MB #Memory Used#
[2025-01-09 16:03:02] Production.INFO: ==19638== Lock acquired, processing the job...
[2025-01-09 16:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:03:02] Production.INFO: neon service started
[2025-01-09 16:03:02] Production.INFO: neon service started
[2025-01-09 16:03:02] Production.INFO: ==19638== Releasing lock...
[2025-01-09 16:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:03:02] Production.INFO: ==19640== Lock acquired, processing the job...
[2025-01-09 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:03:02] Production.INFO: ==19642== Lock acquired, processing the job...
[2025-01-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:03:02] Production.INFO: ==19642== Releasing lock...
[2025-01-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:03:03] Production.INFO: ==19640== Releasing lock...
[2025-01-09 11:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:03:03] Production.INFO: ==19645== Lock acquired, processing the job...
[2025-01-09 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:03:03] Production.INFO: ==19647== Lock acquired, processing the job...
[2025-01-09 11:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:03:03] Production.INFO: ==19651== Lock acquired, processing the job...
[2025-01-09 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:03:03] Production.INFO: Account Balance Start.
[2025-01-09 11:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:03:03] Production.INFO: 117
[2025-01-09 11:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:03:04] Production.INFO: ==19649== Lock acquired, processing the job...
[2025-01-09 11:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:03:04] Production.INFO: Total Charge 0
[2025-01-09 11:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:03:04] Production.INFO: CreateAllLog End
[2025-01-09 11:03:04] Production.INFO: ==19653== Lock acquired, processing the job...
[2025-01-09 11:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:03:04] Production.INFO: ==19647== Releasing lock...
[2025-01-09 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:03:04] Production.INFO: ==19655== Lock acquired, processing the job...
[2025-01-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:03:04] Production.INFO: Account Balance End.
[2025-01-09 11:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:03:04] Production.INFO: ==19651== Releasing lock...
[2025-01-09 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:03:04] Production.INFO: count ==21
[2025-01-09 11:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:03:04] Production.INFO: count ==21
[2025-01-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209143') start
[2025-01-09 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209143') end
[2025-01-09 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:03:04] Production.INFO: 1
[2025-01-09 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:03:04] Production.ERROR: done
[2025-01-09 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:03:04] Production.INFO: ==19655== Releasing lock...
[2025-01-09 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:03:05] Production.ERROR: done
[2025-01-09 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:03:05
[end_date_ymd] => 2025-01-09 11:03:05
[RateCDR] => 1
)
[2025-01-09 11:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:03:05' and `end` < '2025-01-09 11:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:03:11] Production.ERROR: CronJobId end10
[2025-01-09 11:03:11] Production.INFO: ==19649== Releasing lock...
[2025-01-09 11:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:03:13] Production.INFO: call_cost start
[2025-01-09 11:03:13] Production.INFO: call_cost end
[2025-01-09 11:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:03:14] Production.INFO: ==19645== Releasing lock...
[2025-01-09 11:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:03:28] Production.INFO: count ==3794
[2025-01-09 11:03:30] Production.ERROR: pbx CDR StartTime 2025-01-09 08:03:05 - End Time 2025-01-09 11:03:05
[2025-01-09 11:03:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:03:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209144', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:03:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209144', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:03:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209144', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:03:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209144', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:03:30] Production.INFO: ProcessCDR(1,14209144,1,1,2)
[2025-01-09 11:03:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:03:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209144,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:03:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:03:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209144,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:03:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209144', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:03:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209144', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:03:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:03:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:03:34] Production.INFO: ==19653== Releasing lock...
[2025-01-09 11:03:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:03:34] Production.INFO: 56.5 MB #Memory Used#
[2025-01-09 16:04:01] Production.INFO: ==19709== Lock acquired, processing the job...
[2025-01-09 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:04:01] Production.INFO: neon service started
[2025-01-09 16:04:01] Production.INFO: neon service started
[2025-01-09 16:04:01] Production.INFO: ==19709== Releasing lock...
[2025-01-09 16:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:04:01] Production.INFO: ==19711== Lock acquired, processing the job...
[2025-01-09 11:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:04:02] Production.INFO: ==19711== Releasing lock...
[2025-01-09 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:04:02] Production.INFO: ==19713== Lock acquired, processing the job...
[2025-01-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:04:02] Production.INFO: ==19713== Releasing lock...
[2025-01-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:04:03] Production.INFO: ==19715== Lock acquired, processing the job...
[2025-01-09 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:04:03] Production.INFO: ==19717== Lock acquired, processing the job...
[2025-01-09 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:04:03] Production.INFO: ==19719== Lock acquired, processing the job...
[2025-01-09 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:04:03] Production.INFO: ==19721== Lock acquired, processing the job...
[2025-01-09 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:04:03] Production.INFO: ==19723== Lock acquired, processing the job...
[2025-01-09 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:04:03] Production.INFO: ==19725== Lock acquired, processing the job...
[2025-01-09 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:04:03] Production.INFO: Account Balance Start.
[2025-01-09 11:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:04:03] Production.INFO: 117
[2025-01-09 11:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:04:03] Production.INFO: count ==21
[2025-01-09 11:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:04:03] Production.INFO: count ==21
[2025-01-09 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209148') start
[2025-01-09 11:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:04:03] Production.INFO: ==19717== Releasing lock...
[2025-01-09 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:04:03] Production.ERROR: done
[2025-01-09 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209148') end
[2025-01-09 11:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:04:03] Production.INFO: 1
[2025-01-09 11:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:04:03] Production.INFO: ==19725== Releasing lock...
[2025-01-09 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:04:03] Production.ERROR: done
[2025-01-09 11:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:04:03] Production.INFO: Total Charge 0
[2025-01-09 11:04:03] Production.INFO: CreateAllLog End
[2025-01-09 11:04:04] Production.INFO: Account Balance End.
[2025-01-09 11:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:04:04] Production.INFO: ==19721== Releasing lock...
[2025-01-09 11:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:04:04
[end_date_ymd] => 2025-01-09 11:04:04
[RateCDR] => 1
)
[2025-01-09 11:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:04:04' and `end` < '2025-01-09 11:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:04:11] Production.ERROR: CronJobId end10
[2025-01-09 11:04:11] Production.INFO: ==19719== Releasing lock...
[2025-01-09 11:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:04:12] Production.INFO: call_cost start
[2025-01-09 11:04:12] Production.INFO: call_cost end
[2025-01-09 11:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:04:13] Production.INFO: ==19715== Releasing lock...
[2025-01-09 11:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:04:25] Production.INFO: count ==3806
[2025-01-09 11:04:27] Production.ERROR: pbx CDR StartTime 2025-01-09 08:04:04 - End Time 2025-01-09 11:04:04
[2025-01-09 11:04:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209149', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209149', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209149', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:04:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209149', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:04:27] Production.INFO: ProcessCDR(1,14209149,1,1,2)
[2025-01-09 11:04:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:04:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:04:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:04:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:04:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209149', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:04:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209149', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:04:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:04:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:04:32] Production.INFO: ==19723== Releasing lock...
[2025-01-09 11:04:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:04:32] Production.INFO: 56.5 MB #Memory Used#
[2025-01-09 16:05:02] Production.INFO: ==19858== Lock acquired, processing the job...
[2025-01-09 16:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:05:02] Production.INFO: neon service started
[2025-01-09 16:05:02] Production.INFO: neon service started
[2025-01-09 16:05:02] Production.INFO: ==19858== Releasing lock...
[2025-01-09 16:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:05:02] Production.INFO: ==19860== Lock acquired, processing the job...
[2025-01-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:05:02] Production.INFO: ==19862== Lock acquired, processing the job...
[2025-01-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:05:02] Production.INFO: ==19862== Releasing lock...
[2025-01-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:05:02] Production.INFO: ==19860== Releasing lock...
[2025-01-09 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:05:03] Production.INFO: ==19867== Lock acquired, processing the job...
[2025-01-09 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:05:03] Production.INFO: ==19865== Lock acquired, processing the job...
[2025-01-09 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:05:03] Production.INFO: ==19875== Lock acquired, processing the job...
[2025-01-09 11:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:05:03] Production.INFO: ==19869== Lock acquired, processing the job...
[2025-01-09 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:05:03] Production.INFO: ==19871== Lock acquired, processing the job...
[2025-01-09 11:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:05:04] Production.INFO: ==19873== Lock acquired, processing the job...
[2025-01-09 11:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:05:04] Production.INFO: count ==21
[2025-01-09 11:05:04] Production.INFO: ==19867== Releasing lock...
[2025-01-09 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:05:04] Production.INFO: count ==21
[2025-01-09 11:05:04] Production.INFO: Account Balance Start.
[2025-01-09 11:05:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:05:04] Production.INFO: 117
[2025-01-09 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209152') start
[2025-01-09 11:05:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:05:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:05:04] Production.INFO: Total Charge 0
[2025-01-09 11:05:04] Production.INFO: CreateAllLog End
[2025-01-09 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209152') end
[2025-01-09 11:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:05:04] Production.INFO: 1
[2025-01-09 11:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:05:04] Production.INFO: ==19875== Releasing lock...
[2025-01-09 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:05:04] Production.ERROR: done
[2025-01-09 11:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:05:04] Production.INFO: Account Balance End.
[2025-01-09 11:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:05:04] Production.INFO: ==19871== Releasing lock...
[2025-01-09 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:05:04] Production.ERROR: done
[2025-01-09 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:05:05
[end_date_ymd] => 2025-01-09 11:05:05
[RateCDR] => 1
)
[2025-01-09 11:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:05:05' and `end` < '2025-01-09 11:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:05:11] Production.ERROR: CronJobId end10
[2025-01-09 11:05:11] Production.INFO: ==19869== Releasing lock...
[2025-01-09 11:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:05:13] Production.INFO: call_cost start
[2025-01-09 11:05:13] Production.INFO: call_cost end
[2025-01-09 11:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:05:14] Production.INFO: ==19865== Releasing lock...
[2025-01-09 11:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:05:25] Production.INFO: count ==3823
[2025-01-09 11:05:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:05:05 - End Time 2025-01-09 11:05:05
[2025-01-09 11:05:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209154', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209154', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209154', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209154', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:05:26] Production.INFO: ProcessCDR(1,14209154,1,1,2)
[2025-01-09 11:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:05:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:05:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:05:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:05:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209154', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209154', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:05:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:05:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:05:31] Production.INFO: ==19873== Releasing lock...
[2025-01-09 11:05:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:05:31] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 16:06:01] Production.INFO: ==19928== Lock acquired, processing the job...
[2025-01-09 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:06:01] Production.INFO: neon service started
[2025-01-09 16:06:01] Production.INFO: neon service started
[2025-01-09 16:06:01] Production.INFO: ==19928== Releasing lock...
[2025-01-09 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:06:01] Production.INFO: ==19930== Lock acquired, processing the job...
[2025-01-09 11:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:06:02] Production.INFO: ==19930== Releasing lock...
[2025-01-09 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:06:02] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-01-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:06:02] Production.INFO: ==19932== Releasing lock...
[2025-01-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:06:02] Production.INFO: ==19936== Lock acquired, processing the job...
[2025-01-09 11:06:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:06:02] Production.INFO: ==19934== Lock acquired, processing the job...
[2025-01-09 11:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:06:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:06:03] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-09 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:06:03] Production.INFO: ==19936== Releasing lock...
[2025-01-09 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:06:03] Production.INFO: ==19941== Lock acquired, processing the job...
[2025-01-09 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:06:03] Production.INFO: ==19943== Lock acquired, processing the job...
[2025-01-09 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:06:03] Production.INFO: Account Balance Start.
[2025-01-09 11:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:06:03] Production.INFO: 117
[2025-01-09 11:06:03] Production.INFO: ==19945== Lock acquired, processing the job...
[2025-01-09 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:06:03] Production.INFO: count ==21
[2025-01-09 11:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:06:03] Production.INFO: count ==21
[2025-01-09 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209158') start
[2025-01-09 11:06:03] Production.INFO: Total Charge 0
[2025-01-09 11:06:03] Production.INFO: CreateAllLog End
[2025-01-09 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209158') end
[2025-01-09 11:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:06:03] Production.INFO: 1
[2025-01-09 11:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:06:03] Production.INFO: ==19945== Releasing lock...
[2025-01-09 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:06:03] Production.ERROR: done
[2025-01-09 11:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:06:03] Production.INFO: Account Balance End.
[2025-01-09 11:06:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:06:03] Production.INFO: ==19941== Releasing lock...
[2025-01-09 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:06:04] Production.ERROR: done
[2025-01-09 11:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:06:04
[end_date_ymd] => 2025-01-09 11:06:04
[RateCDR] => 1
)
[2025-01-09 11:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:06:04' and `end` < '2025-01-09 11:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:06:11] Production.ERROR: CronJobId end10
[2025-01-09 11:06:11] Production.INFO: ==19938== Releasing lock...
[2025-01-09 11:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:06:13] Production.INFO: call_cost start
[2025-01-09 11:06:13] Production.INFO: call_cost end
[2025-01-09 11:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:06:14] Production.INFO: ==19934== Releasing lock...
[2025-01-09 11:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:06:18] Production.INFO: count ==3822
[2025-01-09 11:06:20] Production.ERROR: pbx CDR StartTime 2025-01-09 08:06:04 - End Time 2025-01-09 11:06:04
[2025-01-09 11:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209159', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209159', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209159', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209159', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:06:20] Production.INFO: ProcessCDR(1,14209159,1,1,2)
[2025-01-09 11:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209159', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209159', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:06:24] Production.INFO: ==19943== Releasing lock...
[2025-01-09 11:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:06:24] Production.INFO: 56.5 MB #Memory Used#
[2025-01-09 16:07:01] Production.INFO: ==19997== Lock acquired, processing the job...
[2025-01-09 16:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:07:01] Production.INFO: neon service started
[2025-01-09 16:07:01] Production.INFO: neon service started
[2025-01-09 16:07:01] Production.INFO: ==19997== Releasing lock...
[2025-01-09 16:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:07:02] Production.INFO: ==20001== Lock acquired, processing the job...
[2025-01-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:07:02] Production.INFO: ==20001== Releasing lock...
[2025-01-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:07:02] Production.INFO: ==19999== Lock acquired, processing the job...
[2025-01-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:07:02] Production.INFO: ==19999== Releasing lock...
[2025-01-09 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:07:03] Production.INFO: ==20006== Lock acquired, processing the job...
[2025-01-09 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:07:03] Production.INFO: ==20014== Lock acquired, processing the job...
[2025-01-09 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:07:03] Production.INFO: ==20004== Lock acquired, processing the job...
[2025-01-09 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:07:03] Production.INFO: ==20006== Releasing lock...
[2025-01-09 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:07:03] Production.INFO: ==20008== Lock acquired, processing the job...
[2025-01-09 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:07:03] Production.INFO: ==20010== Lock acquired, processing the job...
[2025-01-09 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:07:03] Production.INFO: ==20012== Lock acquired, processing the job...
[2025-01-09 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:07:03] Production.INFO: count ==21
[2025-01-09 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-01-09 11:07:03] Production.INFO: count ==21
[2025-01-09 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209161') start
[2025-01-09 11:07:03] Production.INFO: Account Balance Start.
[2025-01-09 11:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:07:03] Production.INFO: 117
[2025-01-09 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209161') end
[2025-01-09 11:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:07:03] Production.INFO: 1
[2025-01-09 11:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:07:03] Production.INFO: Total Charge 0
[2025-01-09 11:07:03] Production.INFO: CreateAllLog End
[2025-01-09 11:07:03] Production.INFO: ==20014== Releasing lock...
[2025-01-09 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:07:04] Production.INFO: Account Balance End.
[2025-01-09 11:07:04] Production.ERROR: done
[2025-01-09 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:07:04] Production.INFO: ==20010== Releasing lock...
[2025-01-09 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:07:04] Production.ERROR: done
[2025-01-09 11:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:07:05
[end_date_ymd] => 2025-01-09 11:07:05
[RateCDR] => 1
)
[2025-01-09 11:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:07:05' and `end` < '2025-01-09 11:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:07:10] Production.ERROR: CronJobId end10
[2025-01-09 11:07:10] Production.INFO: ==20008== Releasing lock...
[2025-01-09 11:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:07:12] Production.INFO: call_cost start
[2025-01-09 11:07:12] Production.INFO: call_cost end
[2025-01-09 11:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:07:13] Production.INFO: ==20004== Releasing lock...
[2025-01-09 11:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:07:24] Production.INFO: count ==3832
[2025-01-09 11:07:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:07:05 - End Time 2025-01-09 11:07:05
[2025-01-09 11:07:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209164', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209164', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209164', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209164', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:07:26] Production.INFO: ProcessCDR(1,14209164,1,1,2)
[2025-01-09 11:07:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:07:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:07:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:07:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209164', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:07:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209164', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:07:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:07:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:07:30] Production.INFO: ==20012== Releasing lock...
[2025-01-09 11:07:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:07:30] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 16:08:01] Production.INFO: ==20149== Lock acquired, processing the job...
[2025-01-09 16:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:08:01] Production.INFO: neon service started
[2025-01-09 16:08:01] Production.INFO: neon service started
[2025-01-09 16:08:01] Production.INFO: ==20149== Releasing lock...
[2025-01-09 16:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:08:02] Production.INFO: ==20151== Lock acquired, processing the job...
[2025-01-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:08:02] Production.INFO: ==20153== Lock acquired, processing the job...
[2025-01-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:08:02] Production.INFO: ==20153== Releasing lock...
[2025-01-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:08:02] Production.INFO: ==20151== Releasing lock...
[2025-01-09 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:08:03] Production.INFO: ==20156== Lock acquired, processing the job...
[2025-01-09 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:08:03] Production.INFO: ==20162== Lock acquired, processing the job...
[2025-01-09 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:08:03] Production.INFO: ==20164== Lock acquired, processing the job...
[2025-01-09 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:08:03] Production.INFO: ==20158== Lock acquired, processing the job...
[2025-01-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:08:03] Production.INFO: Account Balance Start.
[2025-01-09 11:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:08:03] Production.INFO: 117
[2025-01-09 11:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:08:03] Production.INFO: ==20160== Lock acquired, processing the job...
[2025-01-09 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:08:03] Production.INFO: Total Charge 0
[2025-01-09 11:08:03] Production.INFO: ==20166== Lock acquired, processing the job...
[2025-01-09 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:08:03] Production.INFO: CreateAllLog End
[2025-01-09 11:08:03] Production.INFO: Account Balance End.
[2025-01-09 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:08:03] Production.INFO: ==20158== Releasing lock...
[2025-01-09 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:08:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:08:03] Production.INFO: ==20162== Releasing lock...
[2025-01-09 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:08:03] Production.ERROR: done
[2025-01-09 11:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:08:03] Production.INFO: count ==21
[2025-01-09 11:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:08:03] Production.INFO: count ==21
[2025-01-09 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209168') start
[2025-01-09 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209168') end
[2025-01-09 11:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:08:03] Production.INFO: 1
[2025-01-09 11:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:08:03] Production.ERROR: done
[2025-01-09 11:08:03] Production.INFO: ==20166== Releasing lock...
[2025-01-09 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:08:04
[end_date_ymd] => 2025-01-09 11:08:04
[RateCDR] => 1
)
[2025-01-09 11:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:08:04' and `end` < '2025-01-09 11:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:08:10] Production.ERROR: CronJobId end10
[2025-01-09 11:08:10] Production.INFO: ==20160== Releasing lock...
[2025-01-09 11:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:08:12] Production.INFO: call_cost start
[2025-01-09 11:08:12] Production.INFO: call_cost end
[2025-01-09 11:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:08:13] Production.INFO: ==20156== Releasing lock...
[2025-01-09 11:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:08:18] Production.INFO: count ==3834
[2025-01-09 11:08:20] Production.ERROR: pbx CDR StartTime 2025-01-09 08:08:04 - End Time 2025-01-09 11:08:04
[2025-01-09 11:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209169', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209169', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209169', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209169', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:08:20] Production.INFO: ProcessCDR(1,14209169,1,1,2)
[2025-01-09 11:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209169', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209169', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:08:24] Production.INFO: ==20164== Releasing lock...
[2025-01-09 11:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:08:24] Production.INFO: 56.5 MB #Memory Used#
[2025-01-09 16:09:01] Production.INFO: ==20220== Lock acquired, processing the job...
[2025-01-09 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:09:01] Production.INFO: neon service started
[2025-01-09 16:09:01] Production.INFO: neon service started
[2025-01-09 16:09:01] Production.INFO: ==20220== Releasing lock...
[2025-01-09 16:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:09:02] Production.INFO: ==20223== Lock acquired, processing the job...
[2025-01-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:09:02] Production.INFO: ==20223== Releasing lock...
[2025-01-09 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:09:02] Production.INFO: ==20225== Lock acquired, processing the job...
[2025-01-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:09:02] Production.INFO: ==20225== Releasing lock...
[2025-01-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:09:03] Production.INFO: ==20233== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:09:03] Production.INFO: ==20237== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:09:03] Production.INFO: ==20227== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:09:03] Production.INFO: Account Balance Start.
[2025-01-09 11:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:09:03] Production.INFO: 117
[2025-01-09 11:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:09:03] Production.INFO: ==20229== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:09:03] Production.INFO: ==20231== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:09:03] Production.INFO: count ==21
[2025-01-09 11:09:03] Production.INFO: Total Charge 0
[2025-01-09 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:09:03] Production.INFO: CreateAllLog End
[2025-01-09 11:09:03] Production.INFO: count ==21
[2025-01-09 11:09:03] Production.INFO: ==20235== Lock acquired, processing the job...
[2025-01-09 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209171') start
[2025-01-09 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209171') end
[2025-01-09 11:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:09:03] Production.INFO: 1
[2025-01-09 11:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:09:03] Production.INFO: Account Balance End.
[2025-01-09 11:09:03] Production.INFO: ==20237== Releasing lock...
[2025-01-09 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:09:04] Production.INFO: ==20233== Releasing lock...
[2025-01-09 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:09:04] Production.INFO: ==20229== Releasing lock...
[2025-01-09 11:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:09:04] Production.ERROR: done
[2025-01-09 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:09:04] Production.ERROR: done
[2025-01-09 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:09:05
[end_date_ymd] => 2025-01-09 11:09:05
[RateCDR] => 1
)
[2025-01-09 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:09:05' and `end` < '2025-01-09 11:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:09:10] Production.ERROR: CronJobId end10
[2025-01-09 11:09:10] Production.INFO: ==20231== Releasing lock...
[2025-01-09 11:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:09:12] Production.INFO: call_cost start
[2025-01-09 11:09:12] Production.INFO: call_cost end
[2025-01-09 11:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:09:13] Production.INFO: ==20227== Releasing lock...
[2025-01-09 11:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:09:23] Production.INFO: count ==3831
[2025-01-09 11:09:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:09:05 - End Time 2025-01-09 11:09:05
[2025-01-09 11:09:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:09:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209174', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:09:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209174', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:09:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209174', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:09:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209174', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:09:25] Production.INFO: ProcessCDR(1,14209174,1,1,2)
[2025-01-09 11:09:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:09:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:09:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:09:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:09:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209174', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:09:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209174', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:09:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:09:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:09:29] Production.INFO: ==20235== Releasing lock...
[2025-01-09 11:09:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:09:29] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 16:10:02] Production.INFO: ==20292== Lock acquired, processing the job...
[2025-01-09 16:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:10:02] Production.INFO: neon service started
[2025-01-09 16:10:02] Production.INFO: neon service started
[2025-01-09 16:10:02] Production.INFO: ==20292== Releasing lock...
[2025-01-09 16:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:10:02] Production.INFO: ==20295== Lock acquired, processing the job...
[2025-01-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:10:02] Production.INFO: ==20295== Releasing lock...
[2025-01-09 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:10:03] Production.INFO: ==20297== Lock acquired, processing the job...
[2025-01-09 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:10:03] Production.INFO: ==20297== Releasing lock...
[2025-01-09 16:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:10:03] Production.INFO: ==20301== Lock acquired, processing the job...
[2025-01-09 11:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:10:04] Production.INFO: ==20299== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 11:10:04] Production.INFO: ==20307== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:10:04] Production.INFO: ==20309== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:10:04] Production.INFO: ==20303== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 11:10:04] Production.INFO: Account Balance Start.
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:10:04] Production.ERROR: CronJob PID - 20301
[2025-01-09 11:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 11:10:04] Production.ERROR: CronJob ID - 5
[2025-01-09 11:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 11:10:00
[2025-01-09 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:10:04] Production.ERROR: CronJob PID - 20307
[2025-01-09 11:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 11:10:04] Production.ERROR: CronJob ID - 12
[2025-01-09 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 11:10:00
[2025-01-09 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:10:04] Production.ERROR: CronJob PID - 20309
[2025-01-09 11:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 11:10:04] Production.ERROR: CronJob ID - 16
[2025-01-09 11:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 11:10:00
[2025-01-09 11:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:10:04] Production.INFO: 117
[2025-01-09 11:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 11:10:04] Production.INFO: ==20299== Releasing lock...
[2025-01-09 11:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 11:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 11:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:10:04] Production.INFO: ==20305== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:10:04] Production.INFO: ==20311== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 11:10:04] Production.INFO: ==20313== Lock acquired, processing the job...
[2025-01-09 11:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:10:04] Production.INFO: Total Charge 0
[2025-01-09 11:10:04] Production.INFO: CreateAllLog End
[2025-01-09 11:10:04] Production.ERROR: done
[2025-01-09 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:10:04] Production.INFO: ==20303== Releasing lock...
[2025-01-09 11:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:10:04] Production.INFO: count ==21
[2025-01-09 11:10:04] Production.ERROR: done
[2025-01-09 11:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:10:04] Production.INFO: Account Balance End.
[2025-01-09 11:10:04] Production.INFO: count ==21
[2025-01-09 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209178') start
[2025-01-09 11:10:04] Production.ERROR: done
[2025-01-09 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209180', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 11:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:10:04] Production.INFO: ==20307== Releasing lock...
[2025-01-09 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209178') end
[2025-01-09 11:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:10:04] Production.INFO: 1
[2025-01-09 11:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:10:05] Production.INFO: ==20313== Releasing lock...
[2025-01-09 11:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:10:05
[end_date_ymd] => 2025-01-09 11:10:05
[RateCDR] => 1
)
[2025-01-09 11:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:10:05' and `end` < '2025-01-09 11:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209180', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 11:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 11:10:08] Production.INFO: ProcessCDR(1,14209180,1,1,2)
[2025-01-09 11:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209180,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209180,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:10:08] Production.INFO: ==20311== Releasing lock...
[2025-01-09 11:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 11:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:10:12] Production.ERROR: CronJobId end10
[2025-01-09 11:10:12] Production.INFO: ==20305== Releasing lock...
[2025-01-09 11:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:10:14] Production.INFO: call_cost start
[2025-01-09 11:10:14] Production.INFO: call_cost end
[2025-01-09 11:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:10:15] Production.INFO: ==20301== Releasing lock...
[2025-01-09 11:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:10:27] Production.INFO: count ==3839
[2025-01-09 11:10:29] Production.ERROR: pbx CDR StartTime 2025-01-09 08:10:05 - End Time 2025-01-09 11:10:05
[2025-01-09 11:10:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209179', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209179', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209179', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:10:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209179', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:10:29] Production.INFO: ProcessCDR(1,14209179,1,1,2)
[2025-01-09 11:10:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:10:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:10:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:10:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:10:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209179', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:10:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209179', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:10:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:10:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:10:33] Production.INFO: ==20309== Releasing lock...
[2025-01-09 11:10:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:10:33] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 16:11:01] Production.INFO: ==20367== Lock acquired, processing the job...
[2025-01-09 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:11:01] Production.INFO: neon service started
[2025-01-09 16:11:01] Production.INFO: neon service started
[2025-01-09 16:11:01] Production.INFO: ==20367== Releasing lock...
[2025-01-09 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:11:02] Production.INFO: ==20369== Lock acquired, processing the job...
[2025-01-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:11:02] Production.INFO: ==20371== Lock acquired, processing the job...
[2025-01-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:11:02] Production.INFO: ==20371== Releasing lock...
[2025-01-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:11:02] Production.INFO: ==20369== Releasing lock...
[2025-01-09 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:11:03] Production.INFO: ==20374== Lock acquired, processing the job...
[2025-01-09 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:11:03] Production.INFO: ==20378== Lock acquired, processing the job...
[2025-01-09 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:11:03] Production.INFO: ==20382== Lock acquired, processing the job...
[2025-01-09 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:11:03] Production.INFO: ==20376== Lock acquired, processing the job...
[2025-01-09 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:11:03] Production.INFO: ==20380== Lock acquired, processing the job...
[2025-01-09 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:11:03] Production.INFO: ==20384== Lock acquired, processing the job...
[2025-01-09 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:11:03] Production.INFO: Account Balance Start.
[2025-01-09 11:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:11:03] Production.INFO: 117
[2025-01-09 11:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:11:03] Production.ERROR: done
[2025-01-09 11:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:11:03] Production.INFO: count ==21
[2025-01-09 11:11:03] Production.INFO: Total Charge 0
[2025-01-09 11:11:03] Production.INFO: CreateAllLog End
[2025-01-09 11:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:11:04] Production.INFO: count ==21
[2025-01-09 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209184') start
[2025-01-09 11:11:04] Production.ERROR: done
[2025-01-09 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209184') end
[2025-01-09 11:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:11:04] Production.INFO: 1
[2025-01-09 11:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:11:04] Production.INFO: Account Balance End.
[2025-01-09 11:11:04] Production.INFO: ==20376== Releasing lock...
[2025-01-09 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:11:04] Production.INFO: ==20384== Releasing lock...
[2025-01-09 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:11:04] Production.INFO: ==20380== Releasing lock...
[2025-01-09 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:11:04
[end_date_ymd] => 2025-01-09 11:11:04
[RateCDR] => 1
)
[2025-01-09 11:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:11:04' and `end` < '2025-01-09 11:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:11:10] Production.ERROR: CronJobId end10
[2025-01-09 11:11:10] Production.INFO: ==20378== Releasing lock...
[2025-01-09 11:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:11:12] Production.INFO: call_cost start
[2025-01-09 11:11:12] Production.INFO: call_cost end
[2025-01-09 11:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:11:13] Production.INFO: ==20374== Releasing lock...
[2025-01-09 11:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:11:19] Production.INFO: count ==3889
[2025-01-09 11:11:21] Production.ERROR: pbx CDR StartTime 2025-01-09 08:11:04 - End Time 2025-01-09 11:11:04
[2025-01-09 11:11:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209185', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209185', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209185', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:11:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209185', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:11:21] Production.INFO: ProcessCDR(1,14209185,1,1,2)
[2025-01-09 11:11:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:11:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:11:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:11:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209185', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:11:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209185', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:11:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:11:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:11:25] Production.INFO: ==20382== Releasing lock...
[2025-01-09 11:11:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:11:25] Production.INFO: 57 MB #Memory Used#
[2025-01-09 16:12:02] Production.INFO: ==20515== Lock acquired, processing the job...
[2025-01-09 16:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:12:02] Production.INFO: neon service started
[2025-01-09 16:12:02] Production.INFO: neon service started
[2025-01-09 16:12:02] Production.INFO: ==20515== Releasing lock...
[2025-01-09 16:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:12:02] Production.INFO: ==20517== Lock acquired, processing the job...
[2025-01-09 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:12:02] Production.INFO: ==20519== Lock acquired, processing the job...
[2025-01-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:12:02] Production.INFO: ==20519== Releasing lock...
[2025-01-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:12:03] Production.INFO: ==20517== Releasing lock...
[2025-01-09 11:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:12:04] Production.INFO: ==20528== Lock acquired, processing the job...
[2025-01-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:12:04] Production.INFO: ==20532== Lock acquired, processing the job...
[2025-01-09 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:12:04] Production.INFO: Account Balance Start.
[2025-01-09 11:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:12:04] Production.INFO: 117
[2025-01-09 11:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:12:04] Production.INFO: count ==21
[2025-01-09 11:12:04] Production.INFO: ==20522== Lock acquired, processing the job...
[2025-01-09 11:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:12:04] Production.INFO: count ==21
[2025-01-09 11:12:04] Production.INFO: ==20524== Lock acquired, processing the job...
[2025-01-09 11:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209187') start
[2025-01-09 11:12:04] Production.INFO: Total Charge 0
[2025-01-09 11:12:04] Production.INFO: CreateAllLog End
[2025-01-09 11:12:04] Production.INFO: ==20526== Lock acquired, processing the job...
[2025-01-09 11:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:12:04] Production.INFO: ==20530== Lock acquired, processing the job...
[2025-01-09 11:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:12:04] Production.INFO: Account Balance End.
[2025-01-09 11:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209187') end
[2025-01-09 11:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:12:04] Production.INFO: 1
[2025-01-09 11:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:12:04] Production.INFO: ==20532== Releasing lock...
[2025-01-09 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:12:04] Production.INFO: ==20528== Releasing lock...
[2025-01-09 11:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:12:04] Production.ERROR: done
[2025-01-09 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:12:04] Production.ERROR: done
[2025-01-09 11:12:05] Production.INFO: ==20524== Releasing lock...
[2025-01-09 11:12:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:12:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:12:05
[end_date_ymd] => 2025-01-09 11:12:05
[RateCDR] => 1
)
[2025-01-09 11:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:12:05' and `end` < '2025-01-09 11:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:12:11] Production.ERROR: CronJobId end10
[2025-01-09 11:12:11] Production.INFO: ==20526== Releasing lock...
[2025-01-09 11:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:12:13] Production.INFO: call_cost start
[2025-01-09 11:12:13] Production.INFO: call_cost end
[2025-01-09 11:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:12:14] Production.INFO: ==20522== Releasing lock...
[2025-01-09 11:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:12:26] Production.INFO: count ==3905
[2025-01-09 11:12:27] Production.ERROR: pbx CDR StartTime 2025-01-09 08:12:05 - End Time 2025-01-09 11:12:05
[2025-01-09 11:12:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:12:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209190', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209190', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209190', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209190', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:12:28] Production.INFO: ProcessCDR(1,14209190,1,1,2)
[2025-01-09 11:12:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:12:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209190,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:12:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:12:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209190,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:12:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209190', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:12:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209190', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:12:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:12:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:12:32] Production.INFO: ==20530== Releasing lock...
[2025-01-09 11:12:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:12:32] Production.INFO: 57.25 MB #Memory Used#
[2025-01-09 16:13:01] Production.INFO: ==20585== Lock acquired, processing the job...
[2025-01-09 16:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:13:01] Production.INFO: neon service started
[2025-01-09 16:13:01] Production.INFO: neon service started
[2025-01-09 16:13:01] Production.INFO: ==20585== Releasing lock...
[2025-01-09 16:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:13:01] Production.INFO: ==20587== Lock acquired, processing the job...
[2025-01-09 11:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:13:02] Production.INFO: ==20589== Lock acquired, processing the job...
[2025-01-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:13:02] Production.INFO: ==20587== Releasing lock...
[2025-01-09 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:13:02] Production.INFO: ==20589== Releasing lock...
[2025-01-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:13:03] Production.INFO: ==20593== Lock acquired, processing the job...
[2025-01-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:13:03] Production.INFO: ==20597== Lock acquired, processing the job...
[2025-01-09 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:13:03] Production.INFO: ==20599== Lock acquired, processing the job...
[2025-01-09 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:13:03] Production.INFO: ==20591== Lock acquired, processing the job...
[2025-01-09 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:13:03] Production.INFO: Account Balance Start.
[2025-01-09 11:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:13:03] Production.INFO: 117
[2025-01-09 11:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:13:03] Production.INFO: ==20595== Lock acquired, processing the job...
[2025-01-09 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:13:03] Production.INFO: ==20593== Releasing lock...
[2025-01-09 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:13:03] Production.INFO: ==20601== Lock acquired, processing the job...
[2025-01-09 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:13:03] Production.ERROR: done
[2025-01-09 11:13:03] Production.INFO: Total Charge 0
[2025-01-09 11:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:13:03] Production.INFO: CreateAllLog End
[2025-01-09 11:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:13:03] Production.INFO: count ==21
[2025-01-09 11:13:03] Production.ERROR: done
[2025-01-09 11:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:13:03] Production.INFO: count ==21
[2025-01-09 11:13:03] Production.INFO: Account Balance End.
[2025-01-09 11:13:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:13:03] Production.INFO: ==20597== Releasing lock...
[2025-01-09 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209194') start
[2025-01-09 11:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209194') end
[2025-01-09 11:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:13:03] Production.INFO: 1
[2025-01-09 11:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:13:03] Production.INFO: ==20601== Releasing lock...
[2025-01-09 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:13:04
[end_date_ymd] => 2025-01-09 11:13:04
[RateCDR] => 1
)
[2025-01-09 11:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:13:04' and `end` < '2025-01-09 11:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:13:10] Production.ERROR: CronJobId end10
[2025-01-09 11:13:10] Production.INFO: ==20595== Releasing lock...
[2025-01-09 11:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:13:12] Production.INFO: call_cost start
[2025-01-09 11:13:12] Production.INFO: call_cost end
[2025-01-09 11:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:13:13] Production.INFO: ==20591== Releasing lock...
[2025-01-09 11:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:13:23] Production.INFO: count ==3932
[2025-01-09 11:13:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:13:04 - End Time 2025-01-09 11:13:04
[2025-01-09 11:13:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209195', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209195', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209195', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:13:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209195', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:13:25] Production.INFO: ProcessCDR(1,14209195,1,1,2)
[2025-01-09 11:13:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:13:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209195,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:13:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:13:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209195,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:13:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209195', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:13:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209195', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:13:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:13:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:13:30] Production.INFO: ==20599== Releasing lock...
[2025-01-09 11:13:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:13:30] Production.INFO: 57.25 MB #Memory Used#
[2025-01-09 16:14:02] Production.INFO: ==20656== Lock acquired, processing the job...
[2025-01-09 16:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:14:02] Production.INFO: neon service started
[2025-01-09 16:14:02] Production.INFO: neon service started
[2025-01-09 16:14:02] Production.INFO: ==20656== Releasing lock...
[2025-01-09 16:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:14:02] Production.INFO: ==20658== Lock acquired, processing the job...
[2025-01-09 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:14:02] Production.INFO: ==20660== Lock acquired, processing the job...
[2025-01-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:14:02] Production.INFO: ==20660== Releasing lock...
[2025-01-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:14:03] Production.INFO: ==20658== Releasing lock...
[2025-01-09 11:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:14:03] Production.INFO: ==20665== Lock acquired, processing the job...
[2025-01-09 11:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:14:03] Production.INFO: ==20669== Lock acquired, processing the job...
[2025-01-09 11:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:14:04] Production.INFO: ==20663== Lock acquired, processing the job...
[2025-01-09 11:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:14:04] Production.INFO: Account Balance Start.
[2025-01-09 11:14:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:14:04] Production.INFO: 117
[2025-01-09 11:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:14:04] Production.INFO: ==20665== Releasing lock...
[2025-01-09 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:14:04] Production.INFO: Total Charge 0
[2025-01-09 11:14:04] Production.INFO: ==20667== Lock acquired, processing the job...
[2025-01-09 11:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:14:04] Production.INFO: CreateAllLog End
[2025-01-09 11:14:04] Production.INFO: ==20671== Lock acquired, processing the job...
[2025-01-09 11:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:14:04] Production.INFO: ==20673== Lock acquired, processing the job...
[2025-01-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:14:04] Production.INFO: Account Balance End.
[2025-01-09 11:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:14:04] Production.INFO: ==20669== Releasing lock...
[2025-01-09 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:14:04] Production.INFO: count ==21
[2025-01-09 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:14:04] Production.INFO: count ==21
[2025-01-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209199') start
[2025-01-09 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209199') end
[2025-01-09 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:14:04] Production.INFO: 1
[2025-01-09 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:14:04] Production.INFO: ==20673== Releasing lock...
[2025-01-09 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:14:04] Production.ERROR: done
[2025-01-09 11:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:14:04] Production.ERROR: done
[2025-01-09 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:14:05
[end_date_ymd] => 2025-01-09 11:14:05
[RateCDR] => 1
)
[2025-01-09 11:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:14:05' and `end` < '2025-01-09 11:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:14:11] Production.ERROR: CronJobId end10
[2025-01-09 11:14:11] Production.INFO: ==20667== Releasing lock...
[2025-01-09 11:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:14:13] Production.INFO: call_cost start
[2025-01-09 11:14:13] Production.INFO: call_cost end
[2025-01-09 11:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:14:14] Production.INFO: ==20663== Releasing lock...
[2025-01-09 11:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:14:32] Production.INFO: count ==3947
[2025-01-09 11:14:34] Production.ERROR: pbx CDR StartTime 2025-01-09 08:14:05 - End Time 2025-01-09 11:14:05
[2025-01-09 11:14:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209200', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209200', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209200', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:14:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209200', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:14:34] Production.INFO: ProcessCDR(1,14209200,1,1,2)
[2025-01-09 11:14:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:14:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209200,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:14:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:14:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209200,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:14:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209200', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:14:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209200', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:14:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:14:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:14:39] Production.INFO: ==20671== Releasing lock...
[2025-01-09 11:14:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:14:39] Production.INFO: 57.5 MB #Memory Used#
[2025-01-09 16:15:01] Production.INFO: ==20843== Lock acquired, processing the job...
[2025-01-09 16:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:15:01] Production.INFO: neon service started
[2025-01-09 16:15:01] Production.INFO: neon service started
[2025-01-09 16:15:01] Production.INFO: ==20843== Releasing lock...
[2025-01-09 16:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:15:01] Production.INFO: ==20845== Lock acquired, processing the job...
[2025-01-09 11:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:15:02] Production.INFO: ==20845== Releasing lock...
[2025-01-09 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:15:02] Production.INFO: ==20847== Lock acquired, processing the job...
[2025-01-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:15:02] Production.INFO: ==20847== Releasing lock...
[2025-01-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:15:03] Production.INFO: ==20849== Lock acquired, processing the job...
[2025-01-09 11:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:15:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-01-09 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:15:03] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-01-09 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:15:03] Production.INFO: Account Balance Start.
[2025-01-09 11:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:15:03] Production.INFO: 117
[2025-01-09 11:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:15:03] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-01-09 11:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:15:03] Production.INFO: Total Charge 0
[2025-01-09 11:15:03] Production.INFO: CreateAllLog End
[2025-01-09 11:15:03] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-01-09 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:15:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-01-09 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:15:03] Production.INFO: Account Balance End.
[2025-01-09 11:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:15:03] Production.INFO: ==20855== Releasing lock...
[2025-01-09 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 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-01-09 11:15:03] Production.INFO: count ==21
[2025-01-09 11:15:03] Production.INFO: ==20851== Releasing lock...
[2025-01-09 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 11:15:03] Production.INFO: count ==21
[2025-01-09 11:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209204') start
[2025-01-09 11:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209204') end
[2025-01-09 11:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:15:03] Production.INFO: 1
[2025-01-09 11:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:15:03] Production.INFO: ==20859== Releasing lock...
[2025-01-09 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:15:03] Production.ERROR: done
[2025-01-09 11:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:15:04] Production.ERROR: done
[2025-01-09 11:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:15:04
[end_date_ymd] => 2025-01-09 11:15:04
[RateCDR] => 1
)
[2025-01-09 11:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:15:04' and `end` < '2025-01-09 11:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:15:10] Production.ERROR: CronJobId end10
[2025-01-09 11:15:10] Production.INFO: ==20853== Releasing lock...
[2025-01-09 11:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:15:12] Production.INFO: call_cost start
[2025-01-09 11:15:12] Production.INFO: call_cost end
[2025-01-09 11:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:15:13] Production.INFO: ==20849== Releasing lock...
[2025-01-09 11:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:15:30] Production.INFO: count ==3944
[2025-01-09 11:15:31] Production.ERROR: pbx CDR StartTime 2025-01-09 08:15:04 - End Time 2025-01-09 11:15:04
[2025-01-09 11:15:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209205', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209205', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209205', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:15:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209205', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:15:31] Production.INFO: ProcessCDR(1,14209205,1,1,2)
[2025-01-09 11:15:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:15:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:15:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:15:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:15:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209205', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:15:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209205', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:15:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:15:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:15:36] Production.INFO: ==20857== Releasing lock...
[2025-01-09 11:15:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:15:36] Production.INFO: 57.5 MB #Memory Used#
[2025-01-09 16:16:02] Production.INFO: ==20913== Lock acquired, processing the job...
[2025-01-09 16:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:16:02] Production.INFO: neon service started
[2025-01-09 16:16:02] Production.INFO: neon service started
[2025-01-09 16:16:02] Production.INFO: ==20913== Releasing lock...
[2025-01-09 16:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:16:02] Production.INFO: ==20915== Lock acquired, processing the job...
[2025-01-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:16:02] Production.INFO: ==20915== Releasing lock...
[2025-01-09 11:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:16:02] Production.INFO: ==20918== Lock acquired, processing the job...
[2025-01-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:16:02] Production.INFO: ==20918== Releasing lock...
[2025-01-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:16:03] Production.INFO: ==20922== Lock acquired, processing the job...
[2025-01-09 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:16:03] Production.INFO: ==20920== Lock acquired, processing the job...
[2025-01-09 11:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:16:03] Production.INFO: ==20926== Lock acquired, processing the job...
[2025-01-09 11:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:16:03] Production.INFO: ==20924== Lock acquired, processing the job...
[2025-01-09 11:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:16:03] Production.INFO: ==20928== Lock acquired, processing the job...
[2025-01-09 11:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:16:03] Production.INFO: ==20930== Lock acquired, processing the job...
[2025-01-09 11:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:16:03] Production.INFO: Account Balance Start.
[2025-01-09 11:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:16:03] Production.INFO: 117
[2025-01-09 11:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:16:03] Production.INFO: ==20922== Releasing lock...
[2025-01-09 11:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:16:03] Production.INFO: count ==21
[2025-01-09 11:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:16:03] Production.INFO: count ==21
[2025-01-09 11:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209209') start
[2025-01-09 11:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209209') end
[2025-01-09 11:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:16:04] Production.INFO: 1
[2025-01-09 11:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:16:04] Production.INFO: Total Charge 0
[2025-01-09 11:16:04] Production.INFO: CreateAllLog End
[2025-01-09 11:16:04] Production.INFO: ==20930== Releasing lock...
[2025-01-09 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:16:04] Production.ERROR: done
[2025-01-09 11:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:16:04] Production.ERROR: done
[2025-01-09 11:16:04] Production.INFO: Account Balance End.
[2025-01-09 11:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:16:04] Production.INFO: ==20926== Releasing lock...
[2025-01-09 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:16:05
[end_date_ymd] => 2025-01-09 11:16:05
[RateCDR] => 1
)
[2025-01-09 11:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:16:05' and `end` < '2025-01-09 11:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:16:11] Production.ERROR: CronJobId end10
[2025-01-09 11:16:11] Production.INFO: ==20924== Releasing lock...
[2025-01-09 11:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:16:13] Production.INFO: call_cost start
[2025-01-09 11:16:13] Production.INFO: call_cost end
[2025-01-09 11:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:16:14] Production.INFO: ==20920== Releasing lock...
[2025-01-09 11:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:16:23] Production.INFO: count ==3957
[2025-01-09 11:16:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:16:05 - End Time 2025-01-09 11:16:05
[2025-01-09 11:16:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:16:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209210', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:16:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209210', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:16:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209210', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:16:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209210', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:16:25] Production.INFO: ProcessCDR(1,14209210,1,1,2)
[2025-01-09 11:16:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:16:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:16:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:16:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:16:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209210', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:16:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209210', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:16:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:16:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:16:30] Production.INFO: ==20928== Releasing lock...
[2025-01-09 11:16:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:16:30] Production.INFO: 57.5 MB #Memory Used#
[2025-01-09 16:17:01] Production.INFO: ==20984== Lock acquired, processing the job...
[2025-01-09 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:17:01] Production.INFO: neon service started
[2025-01-09 16:17:01] Production.INFO: neon service started
[2025-01-09 16:17:01] Production.INFO: ==20984== Releasing lock...
[2025-01-09 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:17:01] Production.INFO: ==20986== Lock acquired, processing the job...
[2025-01-09 11:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:17:02] Production.INFO: ==20986== Releasing lock...
[2025-01-09 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:17:02] Production.INFO: ==20988== Lock acquired, processing the job...
[2025-01-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:17:02] Production.INFO: ==20988== Releasing lock...
[2025-01-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:17:03] Production.INFO: ==20996== Lock acquired, processing the job...
[2025-01-09 11:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:17:03] Production.INFO: ==21001== Lock acquired, processing the job...
[2025-01-09 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:17:03] Production.INFO: ==20990== Lock acquired, processing the job...
[2025-01-09 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:17:03] Production.INFO: ==20992== Lock acquired, processing the job...
[2025-01-09 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:17:03] Production.INFO: ==20994== Lock acquired, processing the job...
[2025-01-09 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:17:03] Production.INFO: ==20999== Lock acquired, processing the job...
[2025-01-09 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:17:03] Production.INFO: Account Balance Start.
[2025-01-09 11:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:17:03] Production.INFO: 117
[2025-01-09 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 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-01-09 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:17:03] Production.INFO: count ==21
[2025-01-09 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-01-09 11:17:03] Production.INFO: count ==21
[2025-01-09 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209212') start
[2025-01-09 11:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:17:03] Production.INFO: ==20992== Releasing lock...
[2025-01-09 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209212') end
[2025-01-09 11:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:17:03] Production.INFO: 1
[2025-01-09 11:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:17:03] Production.INFO: ==21001== Releasing lock...
[2025-01-09 11:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:17:03] Production.ERROR: done
[2025-01-09 11:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:17:03] Production.INFO: Total Charge 0
[2025-01-09 11:17:03] Production.ERROR: done
[2025-01-09 11:17:03] Production.INFO: CreateAllLog End
[2025-01-09 11:17:04] Production.INFO: Account Balance End.
[2025-01-09 11:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:17:04] Production.INFO: ==20996== Releasing lock...
[2025-01-09 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:17:04
[end_date_ymd] => 2025-01-09 11:17:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 08:17:04' and `end` < '2025-01-09 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-01-09 11:17:11] Production.ERROR: CronJobId end10
[2025-01-09 11:17:11] Production.INFO: ==20994== Releasing lock...
[2025-01-09 11:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:17:13] Production.INFO: call_cost start
[2025-01-09 11:17:13] Production.INFO: call_cost end
[2025-01-09 11:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:17:13] Production.INFO: ==20990== Releasing lock...
[2025-01-09 11:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:17:27] Production.INFO: count ==3974
[2025-01-09 11:17:28] Production.ERROR: pbx CDR StartTime 2025-01-09 08:17:04 - End Time 2025-01-09 11:17:04
[2025-01-09 11:17:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209215', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209215', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209215', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209215', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:17:28] Production.INFO: ProcessCDR(1,14209215,1,1,2)
[2025-01-09 11:17:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:17:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:17:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:17:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209215', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209215', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:17:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:17:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:17:33] Production.INFO: ==20999== Releasing lock...
[2025-01-09 11:17:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:17:33] Production.INFO: 57.75 MB #Memory Used#
[2025-01-09 16:18:01] Production.INFO: ==21054== Lock acquired, processing the job...
[2025-01-09 16:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:18:01] Production.INFO: neon service started
[2025-01-09 16:18:01] Production.INFO: neon service started
[2025-01-09 16:18:01] Production.INFO: ==21054== Releasing lock...
[2025-01-09 16:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:18:02] Production.INFO: ==21056== Lock acquired, processing the job...
[2025-01-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:18:02] Production.INFO: ==21056== Releasing lock...
[2025-01-09 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:18:02] Production.INFO: ==21058== Lock acquired, processing the job...
[2025-01-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:18:02] Production.INFO: ==21058== Releasing lock...
[2025-01-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:18:03] Production.INFO: ==21063== Lock acquired, processing the job...
[2025-01-09 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:18:03] Production.INFO: ==21067== Lock acquired, processing the job...
[2025-01-09 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:18:03] Production.INFO: Account Balance Start.
[2025-01-09 11:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:18:03] Production.INFO: 117
[2025-01-09 11:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:18:03] Production.INFO: Total Charge 0
[2025-01-09 11:18:03] Production.INFO: CreateAllLog End
[2025-01-09 11:18:03] Production.INFO: ==21061== Lock acquired, processing the job...
[2025-01-09 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:18:03] Production.INFO: ==21065== Lock acquired, processing the job...
[2025-01-09 11:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:18:03] Production.INFO: ==21069== Lock acquired, processing the job...
[2025-01-09 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:18:03] Production.INFO: Account Balance End.
[2025-01-09 11:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:18:03] Production.INFO: ==21067== Releasing lock...
[2025-01-09 11:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:18:03] Production.INFO: ==21063== Releasing lock...
[2025-01-09 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:18:03] Production.INFO: ==21071== Lock acquired, processing the job...
[2025-01-09 11:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:18:04] Production.INFO: count ==21
[2025-01-09 11:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:18:04] Production.INFO: count ==21
[2025-01-09 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209219') start
[2025-01-09 11:18:04] Production.ERROR: done
[2025-01-09 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209219') end
[2025-01-09 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:18:04] Production.INFO: 1
[2025-01-09 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:18:04] Production.ERROR: done
[2025-01-09 11:18:04] Production.INFO: ==21071== Releasing lock...
[2025-01-09 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:18:05
[end_date_ymd] => 2025-01-09 11:18:05
[RateCDR] => 1
)
[2025-01-09 11:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:18:05' and `end` < '2025-01-09 11:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:18:11] Production.ERROR: CronJobId end10
[2025-01-09 11:18:11] Production.INFO: ==21065== Releasing lock...
[2025-01-09 11:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:18:13] Production.INFO: call_cost start
[2025-01-09 11:18:13] Production.INFO: call_cost end
[2025-01-09 11:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:18:14] Production.INFO: ==21061== Releasing lock...
[2025-01-09 11:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:18:23] Production.INFO: count ==4004
[2025-01-09 11:18:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:18:05 - End Time 2025-01-09 11:18:05
[2025-01-09 11:18:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209220', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209220', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209220', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209220', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:18:25] Production.INFO: ProcessCDR(1,14209220,1,1,2)
[2025-01-09 11:18:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:18:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:18:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:18:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209220', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209220', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:18:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:18:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:18:30] Production.INFO: ==21069== Releasing lock...
[2025-01-09 11:18:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:18:30] Production.INFO: 58 MB #Memory Used#
[2025-01-09 16:19:01] Production.INFO: ==21124== Lock acquired, processing the job...
[2025-01-09 16:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:19:01] Production.INFO: neon service started
[2025-01-09 16:19:01] Production.INFO: neon service started
[2025-01-09 16:19:01] Production.INFO: ==21124== Releasing lock...
[2025-01-09 16:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:19:01] Production.INFO: ==21126== Lock acquired, processing the job...
[2025-01-09 11:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:19:02] Production.INFO: ==21126== Releasing lock...
[2025-01-09 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:19:02] Production.INFO: ==21128== Lock acquired, processing the job...
[2025-01-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:19:02] Production.INFO: ==21128== Releasing lock...
[2025-01-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:19:02] Production.INFO: ==21139== Lock acquired, processing the job...
[2025-01-09 11:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:19:02] Production.INFO: Account Balance Start.
[2025-01-09 11:19:02] Production.INFO: CreateAllLog Start
[2025-01-09 11:19:02] Production.INFO: 117
[2025-01-09 11:19:02] Production.INFO: Date 2025-01-08
[2025-01-09 11:19:02] Production.INFO: Reseller ==> 0
[2025-01-09 11:19:02] Production.INFO: ==21133== Lock acquired, processing the job...
[2025-01-09 11:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:19:02] Production.INFO: Date 2025-01-09
[2025-01-09 11:19:02] Production.INFO: Reseller ==> 0
[2025-01-09 11:19:02] Production.INFO: Total Charge 0
[2025-01-09 11:19:02] Production.INFO: CreateAllLog End
[2025-01-09 11:19:03] Production.INFO: Account Balance End.
[2025-01-09 11:19:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:19:03] Production.INFO: ==21139== Releasing lock...
[2025-01-09 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:19:03] Production.INFO: ==21135== Lock acquired, processing the job...
[2025-01-09 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:19:03] Production.INFO: ==21137== Lock acquired, processing the job...
[2025-01-09 11:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:19:03] Production.INFO: ==21141== Lock acquired, processing the job...
[2025-01-09 11:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:19:03] Production.INFO: ==21143== Lock acquired, processing the job...
[2025-01-09 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:19:03] Production.INFO: ==21135== Releasing lock...
[2025-01-09 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:19:03] Production.INFO: count ==21
[2025-01-09 11:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:19:03] Production.ERROR: done
[2025-01-09 11:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:19:03] Production.INFO: count ==21
[2025-01-09 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209224') start
[2025-01-09 11:19:03] Production.ERROR: done
[2025-01-09 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209224') end
[2025-01-09 11:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:19:03] Production.INFO: 1
[2025-01-09 11:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:19:04] Production.INFO: ==21143== Releasing lock...
[2025-01-09 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:19:04
[end_date_ymd] => 2025-01-09 11:19:04
[RateCDR] => 1
)
[2025-01-09 11:19:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:19:04' and `end` < '2025-01-09 11:19:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:19:09] Production.ERROR: CronJobId end10
[2025-01-09 11:19:09] Production.INFO: ==21137== Releasing lock...
[2025-01-09 11:19:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:19:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:19:12] Production.INFO: call_cost start
[2025-01-09 11:19:12] Production.INFO: call_cost end
[2025-01-09 11:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:19:13] Production.INFO: ==21133== Releasing lock...
[2025-01-09 11:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:19:20] Production.INFO: count ==4022
[2025-01-09 11:19:22] Production.ERROR: pbx CDR StartTime 2025-01-09 08:19:04 - End Time 2025-01-09 11:19:04
[2025-01-09 11:19:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209225', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209225', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209225', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209225', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:19:22] Production.INFO: ProcessCDR(1,14209225,1,1,2)
[2025-01-09 11:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:19:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:19:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209225', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209225', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:19:26] Production.INFO: ==21141== Releasing lock...
[2025-01-09 11:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:19:26] Production.INFO: 58 MB #Memory Used#
[2025-01-09 16:20:02] Production.INFO: ==21198== Lock acquired, processing the job...
[2025-01-09 16:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:20:02] Production.INFO: neon service started
[2025-01-09 16:20:02] Production.INFO: neon service started
[2025-01-09 16:20:02] Production.INFO: ==21198== Releasing lock...
[2025-01-09 16:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:20:02] Production.INFO: ==21200== Lock acquired, processing the job...
[2025-01-09 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:20:02] Production.INFO: ==21202== Lock acquired, processing the job...
[2025-01-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:20:02] Production.INFO: ==21202== Releasing lock...
[2025-01-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:20:03] Production.INFO: ==21200== Releasing lock...
[2025-01-09 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:20:04] Production.INFO: ==21205== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 11:20:04] Production.INFO: ==21209== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 11:20:04] Production.INFO: ==21205== Releasing lock...
[2025-01-09 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 11:20:04] Production.INFO: ==21207== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:20:04] Production.INFO: ==21215== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:20:04] Production.INFO: ==21211== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:20:04] Production.INFO: ==21213== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:20:04] Production.INFO: Account Balance Start.
[2025-01-09 11:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:20:04] Production.INFO: 117
[2025-01-09 11:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:20:04] Production.INFO: ==21217== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 11:20:04] Production.INFO: ==21209== Releasing lock...
[2025-01-09 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:20:04] Production.INFO: ==21219== Lock acquired, processing the job...
[2025-01-09 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:20:04] Production.INFO: Total Charge 0
[2025-01-09 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:20:04] Production.INFO: CreateAllLog End
[2025-01-09 11:20:04] Production.ERROR: done
[2025-01-09 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:20:05] Production.ERROR: done
[2025-01-09 11:20:05] Production.INFO: count ==21
[2025-01-09 11:20:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:20:05] Production.INFO: count ==21
[2025-01-09 11:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209229') start
[2025-01-09 11:20:05] Production.INFO: Account Balance End.
[2025-01-09 11:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209229') end
[2025-01-09 11:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:20:05] Production.INFO: 1
[2025-01-09 11:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:20:05] Production.ERROR: done
[2025-01-09 11:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 11:20:05] Production.INFO: ==21213== Releasing lock...
[2025-01-09 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 11:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209231', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 11:20:05] Production.INFO: ==21219== Releasing lock...
[2025-01-09 11:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:20:06
[end_date_ymd] => 2025-01-09 11:20:06
[RateCDR] => 1
)
[2025-01-09 11:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:20:06' and `end` < '2025-01-09 11:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209231', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 11:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 11:20:08] Production.INFO: ProcessCDR(1,14209231,1,1,2)
[2025-01-09 11:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209231,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209231,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:20:09] Production.INFO: ==21217== Releasing lock...
[2025-01-09 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 11:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:20:13] Production.ERROR: CronJobId end10
[2025-01-09 11:20:13] Production.INFO: ==21211== Releasing lock...
[2025-01-09 11:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:20:15] Production.INFO: call_cost start
[2025-01-09 11:20:15] Production.INFO: call_cost end
[2025-01-09 11:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:20:16] Production.INFO: ==21207== Releasing lock...
[2025-01-09 11:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:20:28] Production.INFO: count ==4024
[2025-01-09 11:20:30] Production.ERROR: pbx CDR StartTime 2025-01-09 08:20:06 - End Time 2025-01-09 11:20:06
[2025-01-09 11:20:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209230', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209230', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209230', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:20:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209230', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:20:30] Production.INFO: ProcessCDR(1,14209230,1,1,2)
[2025-01-09 11:20:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:20:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:20:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:20:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:20:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209230', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:20:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209230', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:20:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:20:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:20:35] Production.INFO: ==21215== Releasing lock...
[2025-01-09 11:20:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:20:35] Production.INFO: 58 MB #Memory Used#
[2025-01-09 16:21:01] Production.INFO: ==21274== Lock acquired, processing the job...
[2025-01-09 16:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:21:01] Production.INFO: neon service started
[2025-01-09 16:21:01] Production.INFO: neon service started
[2025-01-09 16:21:01] Production.INFO: ==21274== Releasing lock...
[2025-01-09 16:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:21:01] Production.INFO: ==21276== Lock acquired, processing the job...
[2025-01-09 11:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:21:02] Production.INFO: ==21278== Lock acquired, processing the job...
[2025-01-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:21:02] Production.INFO: ==21278== Releasing lock...
[2025-01-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:21:02] Production.INFO: ==21276== Releasing lock...
[2025-01-09 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:21:03] Production.INFO: ==21288== Lock acquired, processing the job...
[2025-01-09 11:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:21:03] Production.INFO: ==21284== Lock acquired, processing the job...
[2025-01-09 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:21:03] Production.INFO: ==21280== Lock acquired, processing the job...
[2025-01-09 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:21:03] Production.INFO: ==21282== Lock acquired, processing the job...
[2025-01-09 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:21:03] Production.INFO: ==21291== Lock acquired, processing the job...
[2025-01-09 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:21:03] Production.INFO: ==21286== Lock acquired, processing the job...
[2025-01-09 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:21:03] Production.INFO: Account Balance Start.
[2025-01-09 11:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:21:03] Production.INFO: 117
[2025-01-09 11:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:21:03] Production.INFO: count ==21
[2025-01-09 11:21:03] Production.ERROR: done
[2025-01-09 11:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:21:03] Production.INFO: count ==21
[2025-01-09 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209234') start
[2025-01-09 11:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:21:03] Production.ERROR: done
[2025-01-09 11:21:03] Production.INFO: Total Charge 0
[2025-01-09 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209234') end
[2025-01-09 11:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:21:03] Production.INFO: 1
[2025-01-09 11:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:21:03] Production.INFO: ==21282== Releasing lock...
[2025-01-09 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:21:03] Production.INFO: CreateAllLog End
[2025-01-09 11:21:03] Production.INFO: ==21291== Releasing lock...
[2025-01-09 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:21:03] Production.INFO: Account Balance End.
[2025-01-09 11:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:21:03] Production.INFO: ==21286== Releasing lock...
[2025-01-09 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:21:04
[end_date_ymd] => 2025-01-09 11:21:04
[RateCDR] => 1
)
[2025-01-09 11:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:21:04' and `end` < '2025-01-09 11:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:21:10] Production.ERROR: CronJobId end10
[2025-01-09 11:21:10] Production.INFO: ==21284== Releasing lock...
[2025-01-09 11:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:21:12] Production.INFO: call_cost start
[2025-01-09 11:21:12] Production.INFO: call_cost end
[2025-01-09 11:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:21:13] Production.INFO: ==21280== Releasing lock...
[2025-01-09 11:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:21:24] Production.INFO: count ==4095
[2025-01-09 11:21:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:21:04 - End Time 2025-01-09 11:21:04
[2025-01-09 11:21:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209236', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209236', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209236', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:21:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209236', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:21:25] Production.INFO: ProcessCDR(1,14209236,1,1,2)
[2025-01-09 11:21:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:21:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:21:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:21:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209236', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:21:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209236', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:21:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:21:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:21:30] Production.INFO: ==21288== Releasing lock...
[2025-01-09 11:21:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:21:30] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 16:22:02] Production.INFO: ==21350== Lock acquired, processing the job...
[2025-01-09 16:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:22:02] Production.INFO: neon service started
[2025-01-09 16:22:02] Production.INFO: neon service started
[2025-01-09 16:22:02] Production.INFO: ==21350== Releasing lock...
[2025-01-09 16:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:22:02] Production.INFO: ==21355== Lock acquired, processing the job...
[2025-01-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:22:02] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-01-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:22:02] Production.INFO: ==21355== Releasing lock...
[2025-01-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:22:02] Production.INFO: ==21353== Releasing lock...
[2025-01-09 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:22:03] Production.INFO: ==21357== Lock acquired, processing the job...
[2025-01-09 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:22:03] Production.INFO: ==21359== Lock acquired, processing the job...
[2025-01-09 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:22:03] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-01-09 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:22:03] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-01-09 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:22:03] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-01-09 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:22:03] Production.INFO: ==21367== Lock acquired, processing the job...
[2025-01-09 11:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:22:03] Production.INFO: ==21359== Releasing lock...
[2025-01-09 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:22:04] Production.INFO: Account Balance Start.
[2025-01-09 11:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:22:04] Production.INFO: 117
[2025-01-09 11:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:22:04] Production.INFO: count ==21
[2025-01-09 11:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:22:04] Production.INFO: count ==21
[2025-01-09 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209240') start
[2025-01-09 11:22:04] Production.ERROR: done
[2025-01-09 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:22:04] Production.INFO: Total Charge 0
[2025-01-09 11:22:04] Production.INFO: CreateAllLog End
[2025-01-09 11:22:04] Production.ERROR: done
[2025-01-09 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209240') end
[2025-01-09 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:22:04] Production.INFO: 1
[2025-01-09 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:22:04] Production.INFO: ==21367== Releasing lock...
[2025-01-09 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:22:04] Production.INFO: Account Balance End.
[2025-01-09 11:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:22:04] Production.INFO: ==21363== Releasing lock...
[2025-01-09 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:22:05
[end_date_ymd] => 2025-01-09 11:22:05
[RateCDR] => 1
)
[2025-01-09 11:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:22:05' and `end` < '2025-01-09 11:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:22:11] Production.ERROR: CronJobId end10
[2025-01-09 11:22:11] Production.INFO: ==21361== Releasing lock...
[2025-01-09 11:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:22:12] Production.INFO: call_cost start
[2025-01-09 11:22:12] Production.INFO: call_cost end
[2025-01-09 11:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:22:13] Production.INFO: ==21357== Releasing lock...
[2025-01-09 11:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:22:24] Production.INFO: count ==4099
[2025-01-09 11:22:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:22:05 - End Time 2025-01-09 11:22:05
[2025-01-09 11:22:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209241', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209241', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209241', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209241', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:22:26] Production.INFO: ProcessCDR(1,14209241,1,1,2)
[2025-01-09 11:22:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:22:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209241,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:22:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:22:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209241,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:22:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209241', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:22:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209241', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:22:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:22:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:22:30] Production.INFO: ==21365== Releasing lock...
[2025-01-09 11:22:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:22:30] Production.INFO: 58.75 MB #Memory Used#
[2025-01-09 16:23:01] Production.INFO: ==21424== Lock acquired, processing the job...
[2025-01-09 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:23:01] Production.INFO: neon service started
[2025-01-09 16:23:01] Production.INFO: neon service started
[2025-01-09 16:23:01] Production.INFO: ==21424== Releasing lock...
[2025-01-09 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:23:01] Production.INFO: ==21426== Lock acquired, processing the job...
[2025-01-09 11:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:23:02] Production.INFO: ==21426== Releasing lock...
[2025-01-09 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:23:02] Production.INFO: ==21428== Lock acquired, processing the job...
[2025-01-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:23:02] Production.INFO: ==21428== Releasing lock...
[2025-01-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:23:02] Production.INFO: ==21432== Lock acquired, processing the job...
[2025-01-09 11:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:23:02] Production.INFO: ==21438== Lock acquired, processing the job...
[2025-01-09 11:23:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:23:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:23:02] Production.INFO: ==21430== Lock acquired, processing the job...
[2025-01-09 11:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:23:03] Production.INFO: ==21436== Lock acquired, processing the job...
[2025-01-09 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:23:03] Production.INFO: ==21440== Lock acquired, processing the job...
[2025-01-09 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:23:03] Production.INFO: ==21434== Lock acquired, processing the job...
[2025-01-09 11:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:23:03] Production.INFO: ==21432== Releasing lock...
[2025-01-09 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:23:03] Production.INFO: Account Balance Start.
[2025-01-09 11:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:23:03] Production.INFO: 117
[2025-01-09 11:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:23:03] Production.INFO: count ==21
[2025-01-09 11:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:23:03] Production.INFO: count ==21
[2025-01-09 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:23:03] Production.ERROR: done
[2025-01-09 11:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209243') start
[2025-01-09 11:23:03] Production.INFO: Total Charge 0
[2025-01-09 11:23:03] Production.INFO: CreateAllLog End
[2025-01-09 11:23:03] Production.ERROR: done
[2025-01-09 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209243') end
[2025-01-09 11:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:23:03] Production.INFO: 1
[2025-01-09 11:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:23:03] Production.INFO: Account Balance End.
[2025-01-09 11:23:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:23:03] Production.INFO: ==21440== Releasing lock...
[2025-01-09 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:23:03] Production.INFO: ==21436== Releasing lock...
[2025-01-09 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:23:04
[end_date_ymd] => 2025-01-09 11:23:04
[RateCDR] => 1
)
[2025-01-09 11:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:23:04' and `end` < '2025-01-09 11:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:23:10] Production.ERROR: CronJobId end10
[2025-01-09 11:23:10] Production.INFO: ==21434== Releasing lock...
[2025-01-09 11:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:23:12] Production.INFO: call_cost start
[2025-01-09 11:23:12] Production.INFO: call_cost end
[2025-01-09 11:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:23:13] Production.INFO: ==21430== Releasing lock...
[2025-01-09 11:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:23:22] Production.INFO: count ==4112
[2025-01-09 11:23:24] Production.ERROR: pbx CDR StartTime 2025-01-09 08:23:04 - End Time 2025-01-09 11:23:04
[2025-01-09 11:23:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209246', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209246', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209246', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:23:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209246', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:23:24] Production.INFO: ProcessCDR(1,14209246,1,1,2)
[2025-01-09 11:23:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:23:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209246,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:23:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:23:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209246,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209246', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:23:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209246', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:23:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:23:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:23:28] Production.INFO: ==21438== Releasing lock...
[2025-01-09 11:23:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:23:28] Production.INFO: 58.75 MB #Memory Used#
[2025-01-09 16:24:01] Production.INFO: ==21498== Lock acquired, processing the job...
[2025-01-09 16:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:24:01] Production.INFO: neon service started
[2025-01-09 16:24:01] Production.INFO: neon service started
[2025-01-09 16:24:01] Production.INFO: ==21498== Releasing lock...
[2025-01-09 16:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:24:02] Production.INFO: ==21500== Lock acquired, processing the job...
[2025-01-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:24:02] Production.INFO: ==21500== Releasing lock...
[2025-01-09 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:24:02] Production.INFO: ==21502== Lock acquired, processing the job...
[2025-01-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:24:02] Production.INFO: ==21502== Releasing lock...
[2025-01-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:24:03] Production.INFO: ==21504== Lock acquired, processing the job...
[2025-01-09 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:24:03] Production.INFO: ==21506== Lock acquired, processing the job...
[2025-01-09 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:24:03] Production.INFO: ==21508== Lock acquired, processing the job...
[2025-01-09 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:24:03] Production.INFO: ==21506== Releasing lock...
[2025-01-09 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:24:03] Production.INFO: ==21510== Lock acquired, processing the job...
[2025-01-09 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:24:03] Production.INFO: ==21513== Lock acquired, processing the job...
[2025-01-09 11:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:24:03] Production.INFO: Account Balance Start.
[2025-01-09 11:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:24:03] Production.INFO: 117
[2025-01-09 11:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:24:03] Production.INFO: ==21515== Lock acquired, processing the job...
[2025-01-09 11:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:24:03] Production.INFO: Total Charge 0
[2025-01-09 11:24:03] Production.INFO: CreateAllLog End
[2025-01-09 11:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:24:04] Production.INFO: Account Balance End.
[2025-01-09 11:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:24:04] Production.INFO: count ==21
[2025-01-09 11:24:04] Production.INFO: ==21510== Releasing lock...
[2025-01-09 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:24:04] Production.ERROR: done
[2025-01-09 11:24:04] Production.INFO: count ==21
[2025-01-09 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209250') start
[2025-01-09 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209250') end
[2025-01-09 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:24:04] Production.INFO: 1
[2025-01-09 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:24:04] Production.ERROR: done
[2025-01-09 11:24:04] Production.INFO: ==21515== Releasing lock...
[2025-01-09 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:24:05
[end_date_ymd] => 2025-01-09 11:24:05
[RateCDR] => 1
)
[2025-01-09 11:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:24:05' and `end` < '2025-01-09 11:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:24:11] Production.ERROR: CronJobId end10
[2025-01-09 11:24:11] Production.INFO: ==21508== Releasing lock...
[2025-01-09 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:24:12] Production.INFO: call_cost start
[2025-01-09 11:24:12] Production.INFO: call_cost end
[2025-01-09 11:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:24:13] Production.INFO: ==21504== Releasing lock...
[2025-01-09 11:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:24:25] Production.INFO: count ==4124
[2025-01-09 11:24:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:24:05 - End Time 2025-01-09 11:24:05
[2025-01-09 11:24:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209251', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209251', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209251', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:24:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209251', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:24:26] Production.INFO: ProcessCDR(1,14209251,1,1,2)
[2025-01-09 11:24:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:24:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209251,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:24:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:24:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209251,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:24:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209251', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:24:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209251', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:24:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:24:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:24:31] Production.INFO: ==21513== Releasing lock...
[2025-01-09 11:24:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:24:31] Production.INFO: 58.75 MB #Memory Used#
[2025-01-09 16:25:02] Production.INFO: ==21570== Lock acquired, processing the job...
[2025-01-09 16:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:25:02] Production.INFO: neon service started
[2025-01-09 16:25:02] Production.INFO: neon service started
[2025-01-09 16:25:02] Production.INFO: ==21570== Releasing lock...
[2025-01-09 16:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:25:02] Production.INFO: ==21573== Lock acquired, processing the job...
[2025-01-09 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:25:02] Production.INFO: ==21575== Lock acquired, processing the job...
[2025-01-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:25:03] Production.INFO: ==21575== Releasing lock...
[2025-01-09 16:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:25:03] Production.INFO: ==21573== Releasing lock...
[2025-01-09 11:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:25:03] Production.INFO: ==21577== Lock acquired, processing the job...
[2025-01-09 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:25:04] Production.INFO: ==21581== Lock acquired, processing the job...
[2025-01-09 11:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:25:04] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-01-09 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:25:04] Production.INFO: ==21579== Lock acquired, processing the job...
[2025-01-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:25:04] Production.INFO: Account Balance Start.
[2025-01-09 11:25:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:25:04] Production.INFO: 117
[2025-01-09 11:25:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:25:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:25:04] Production.INFO: Total Charge 0
[2025-01-09 11:25:04] Production.INFO: ==21585== Lock acquired, processing the job...
[2025-01-09 11:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:25:04] Production.INFO: CreateAllLog End
[2025-01-09 11:25:04] Production.INFO: ==21587== Lock acquired, processing the job...
[2025-01-09 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:25:04] Production.INFO: Account Balance End.
[2025-01-09 11:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:25:04] Production.INFO: count ==21
[2025-01-09 11:25:04] Production.INFO: ==21579== Releasing lock...
[2025-01-09 11:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:25:04] Production.INFO: ==21583== Releasing lock...
[2025-01-09 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:25:04] Production.INFO: count ==21
[2025-01-09 11:25:04] Production.ERROR: done
[2025-01-09 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209255') start
[2025-01-09 11:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:25:05] Production.ERROR: done
[2025-01-09 11:25:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209255') end
[2025-01-09 11:25:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:25:05] Production.INFO: 1
[2025-01-09 11:25:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:25:05] Production.INFO: ==21587== Releasing lock...
[2025-01-09 11:25:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:25:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:25:05
[end_date_ymd] => 2025-01-09 11:25:05
[RateCDR] => 1
)
[2025-01-09 11:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:25:05' and `end` < '2025-01-09 11:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:25:11] Production.ERROR: CronJobId end10
[2025-01-09 11:25:11] Production.INFO: ==21581== Releasing lock...
[2025-01-09 11:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:25:13] Production.INFO: call_cost start
[2025-01-09 11:25:13] Production.INFO: call_cost end
[2025-01-09 11:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:25:14] Production.INFO: ==21577== Releasing lock...
[2025-01-09 11:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:25:25] Production.INFO: count ==4135
[2025-01-09 11:25:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:25:05 - End Time 2025-01-09 11:25:05
[2025-01-09 11:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209256', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209256', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209256', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209256', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:25:27] Production.INFO: ProcessCDR(1,14209256,1,1,2)
[2025-01-09 11:25:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:25:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:25:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:25:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209256', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209256', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:25:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:25:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:25:31] Production.INFO: ==21585== Releasing lock...
[2025-01-09 11:25:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:25:31] Production.INFO: 59 MB #Memory Used#
[2025-01-09 16:26:01] Production.INFO: ==21641== Lock acquired, processing the job...
[2025-01-09 16:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:26:01] Production.INFO: neon service started
[2025-01-09 16:26:01] Production.INFO: neon service started
[2025-01-09 16:26:01] Production.INFO: ==21641== Releasing lock...
[2025-01-09 16:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:26:02] Production.INFO: ==21643== Lock acquired, processing the job...
[2025-01-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:26:02] Production.INFO: ==21643== Releasing lock...
[2025-01-09 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:26:02] Production.INFO: ==21645== Lock acquired, processing the job...
[2025-01-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:26:02] Production.INFO: ==21645== Releasing lock...
[2025-01-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:26:03] Production.INFO: ==21649== Lock acquired, processing the job...
[2025-01-09 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:26:03] Production.INFO: ==21647== Lock acquired, processing the job...
[2025-01-09 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:26:03] Production.INFO: ==21657== Lock acquired, processing the job...
[2025-01-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:26:03] Production.INFO: ==21651== Lock acquired, processing the job...
[2025-01-09 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:26:03] Production.INFO: count ==21
[2025-01-09 11:26:03] Production.INFO: ==21653== Lock acquired, processing the job...
[2025-01-09 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:26:03] Production.INFO: count ==21
[2025-01-09 11:26:03] Production.INFO: ==21655== Lock acquired, processing the job...
[2025-01-09 11:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209257') start
[2025-01-09 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209257') end
[2025-01-09 11:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:26:03] Production.INFO: 1
[2025-01-09 11:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:26:03] Production.INFO: Account Balance Start.
[2025-01-09 11:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:26:03] Production.INFO: 117
[2025-01-09 11:26:03] Production.INFO: ==21649== Releasing lock...
[2025-01-09 11:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:26:03] Production.INFO: ==21657== Releasing lock...
[2025-01-09 11:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:26:04] Production.INFO: Total Charge 0
[2025-01-09 11:26:04] Production.INFO: CreateAllLog End
[2025-01-09 11:26:04] Production.ERROR: done
[2025-01-09 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:26:04] Production.ERROR: done
[2025-01-09 11:26:04] Production.INFO: Account Balance End.
[2025-01-09 11:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:26:04] Production.INFO: ==21653== Releasing lock...
[2025-01-09 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:26:05
[end_date_ymd] => 2025-01-09 11:26:05
[RateCDR] => 1
)
[2025-01-09 11:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:26:05' and `end` < '2025-01-09 11:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:26: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-01-09 11:26:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:26:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:26:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:26:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:26:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:26:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:26:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:26:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:26:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:26:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:26:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:26:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:26:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:26:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:26:11] Production.INFO: call_cost start
[2025-01-09 11:26:11] Production.INFO: call_cost end
[2025-01-09 11:26:11] Production.ERROR: CronJobId end10
[2025-01-09 11:26:11] Production.INFO: ==21651== Releasing lock...
[2025-01-09 11:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:26:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:26:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:26:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:26:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:26:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:26:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:26:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:26:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:26:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:26:12] Production.INFO: ==21647== Releasing lock...
[2025-01-09 11:26:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:26:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:26:19] Production.INFO: count ==4146
[2025-01-09 11:26:20] Production.ERROR: pbx CDR StartTime 2025-01-09 08:26:05 - End Time 2025-01-09 11:26:05
[2025-01-09 11:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209261', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209261', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209261', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:26:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209261', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:26:21] Production.INFO: ProcessCDR(1,14209261,1,1,2)
[2025-01-09 11:26:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:26:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:26:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:26:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209261', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:26:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209261', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:26:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:26:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:26:25] Production.INFO: ==21655== Releasing lock...
[2025-01-09 11:26:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:26:25] Production.INFO: 59.25 MB #Memory Used#
[2025-01-09 16:27:02] Production.INFO: ==21712== Lock acquired, processing the job...
[2025-01-09 16:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:27:02] Production.INFO: neon service started
[2025-01-09 16:27:02] Production.INFO: neon service started
[2025-01-09 16:27:02] Production.INFO: ==21712== Releasing lock...
[2025-01-09 16:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:27:02] Production.INFO: ==21714== Lock acquired, processing the job...
[2025-01-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:27:02] Production.INFO: ==21714== Releasing lock...
[2025-01-09 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:27:02] Production.INFO: ==21716== Lock acquired, processing the job...
[2025-01-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:27:02] Production.INFO: ==21716== Releasing lock...
[2025-01-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:27:03] Production.INFO: ==21718== Lock acquired, processing the job...
[2025-01-09 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:27:03] Production.INFO: ==21722== Lock acquired, processing the job...
[2025-01-09 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:27:03] Production.INFO: ==21726== Lock acquired, processing the job...
[2025-01-09 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:27:03] Production.INFO: ==21720== Lock acquired, processing the job...
[2025-01-09 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:27:03] Production.INFO: ==21724== Lock acquired, processing the job...
[2025-01-09 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:27:03] Production.INFO: ==21728== Lock acquired, processing the job...
[2025-01-09 11:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:27:04] Production.INFO: Account Balance Start.
[2025-01-09 11:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:27:04] Production.INFO: 117
[2025-01-09 11:27:04] Production.INFO: count ==21
[2025-01-09 11:27:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:27:04] Production.INFO: count ==21
[2025-01-09 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:27:04] Production.ERROR: done
[2025-01-09 11:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:27:04] Production.INFO: ==21720== Releasing lock...
[2025-01-09 11:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209265') start
[2025-01-09 11:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209265') end
[2025-01-09 11:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:27:04] Production.INFO: 1
[2025-01-09 11:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:27:04] Production.ERROR: done
[2025-01-09 11:27:04] Production.INFO: ==21728== Releasing lock...
[2025-01-09 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:27:04] Production.INFO: Total Charge 0
[2025-01-09 11:27:04] Production.INFO: CreateAllLog End
[2025-01-09 11:27:04] Production.INFO: Account Balance End.
[2025-01-09 11:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:27:04] Production.INFO: ==21724== Releasing lock...
[2025-01-09 11:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:27:05
[end_date_ymd] => 2025-01-09 11:27:05
[RateCDR] => 1
)
[2025-01-09 11:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:27:05' and `end` < '2025-01-09 11:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:27:10] Production.ERROR: CronJobId end10
[2025-01-09 11:27:10] Production.INFO: ==21722== Releasing lock...
[2025-01-09 11:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:27:13] Production.INFO: call_cost start
[2025-01-09 11:27:13] Production.INFO: call_cost end
[2025-01-09 11:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:27:13] Production.INFO: ==21718== Releasing lock...
[2025-01-09 11:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:27:35] Production.INFO: count ==4182
[2025-01-09 11:27:37] Production.ERROR: pbx CDR StartTime 2025-01-09 08:27:05 - End Time 2025-01-09 11:27:05
[2025-01-09 11:27:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209266', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209266', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209266', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:27:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209266', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:27:37] Production.INFO: ProcessCDR(1,14209266,1,1,2)
[2025-01-09 11:27:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:27:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:27:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:27:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:27:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209266', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:27:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209266', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:27:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:27:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:27:42] Production.INFO: ==21726== Releasing lock...
[2025-01-09 11:27:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:27:42] Production.INFO: 59.25 MB #Memory Used#
[2025-01-09 16:28:01] Production.INFO: ==21785== Lock acquired, processing the job...
[2025-01-09 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:28:01] Production.INFO: neon service started
[2025-01-09 16:28:01] Production.INFO: neon service started
[2025-01-09 16:28:01] Production.INFO: ==21785== Releasing lock...
[2025-01-09 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:28:01] Production.INFO: ==21787== Lock acquired, processing the job...
[2025-01-09 11:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:28:02] Production.INFO: ==21787== Releasing lock...
[2025-01-09 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:28:02] Production.INFO: ==21789== Lock acquired, processing the job...
[2025-01-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:28:02] Production.INFO: ==21789== Releasing lock...
[2025-01-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:28:03] Production.INFO: ==21799== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:28:03] Production.INFO: ==21801== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:28:03] Production.INFO: ==21791== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:28:03] Production.INFO: ==21793== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:28:03] Production.INFO: ==21795== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:28:03] Production.INFO: ==21797== Lock acquired, processing the job...
[2025-01-09 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:28:03] Production.INFO: count ==21
[2025-01-09 11:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:28:03] Production.INFO: count ==21
[2025-01-09 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209267') start
[2025-01-09 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:28:03] Production.INFO: Account Balance Start.
[2025-01-09 11:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:28:03] Production.INFO: 117
[2025-01-09 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209267') end
[2025-01-09 11:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:28:03] Production.INFO: 1
[2025-01-09 11:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:28:03] Production.ERROR: done
[2025-01-09 11:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:28:03] Production.INFO: ==21801== Releasing lock...
[2025-01-09 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:28:03] Production.ERROR: done
[2025-01-09 11:28:03] Production.INFO: Total Charge 0
[2025-01-09 11:28:03] Production.INFO: CreateAllLog End
[2025-01-09 11:28:03] Production.INFO: ==21793== Releasing lock...
[2025-01-09 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:28:03] Production.INFO: Account Balance End.
[2025-01-09 11:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:28:04] Production.INFO: ==21797== Releasing lock...
[2025-01-09 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:28:04
[end_date_ymd] => 2025-01-09 11:28:04
[RateCDR] => 1
)
[2025-01-09 11:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:28:04' and `end` < '2025-01-09 11:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:28:09] Production.ERROR: CronJobId end10
[2025-01-09 11:28:09] Production.INFO: ==21795== Releasing lock...
[2025-01-09 11:28:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:28:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:28:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:28:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:28:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:28:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:28:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:28:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:28:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:28:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:28:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:28:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:28:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:28:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:28:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:28:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:28:12] Production.INFO: call_cost start
[2025-01-09 11:28:12] Production.INFO: call_cost end
[2025-01-09 11:28:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:28:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:28:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:28:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:28:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:28:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:28:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:28:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:28:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:28:12] Production.INFO: ==21791== Releasing lock...
[2025-01-09 11:28:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:28:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:28:28] Production.INFO: count ==4207
[2025-01-09 11:28:29] Production.ERROR: pbx CDR StartTime 2025-01-09 08:28:04 - End Time 2025-01-09 11:28:04
[2025-01-09 11:28:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:28:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209271', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209271', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209271', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:28:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209271', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:28:30] Production.INFO: ProcessCDR(1,14209271,1,1,2)
[2025-01-09 11:28:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:28:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:28:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:28:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:28:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209271', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:28:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209271', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:28:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:28:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:28:34] Production.INFO: ==21799== Releasing lock...
[2025-01-09 11:28:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:28:34] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 16:29:01] Production.INFO: ==21855== Lock acquired, processing the job...
[2025-01-09 16:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:29:01] Production.INFO: neon service started
[2025-01-09 16:29:01] Production.INFO: neon service started
[2025-01-09 16:29:01] Production.INFO: ==21855== Releasing lock...
[2025-01-09 16:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:29:02] Production.INFO: ==21857== Lock acquired, processing the job...
[2025-01-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:29:02] Production.INFO: ==21859== Lock acquired, processing the job...
[2025-01-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:29:02] Production.INFO: ==21859== Releasing lock...
[2025-01-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:29:02] Production.INFO: ==21857== Releasing lock...
[2025-01-09 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:29:03] Production.INFO: ==21868== Lock acquired, processing the job...
[2025-01-09 11:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:29:03] Production.INFO: ==21870== Lock acquired, processing the job...
[2025-01-09 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:29:03] Production.INFO: Account Balance Start.
[2025-01-09 11:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:29:03] Production.INFO: 117
[2025-01-09 11:29:03] Production.INFO: ==21862== Lock acquired, processing the job...
[2025-01-09 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:29:03] Production.INFO: ==21864== Lock acquired, processing the job...
[2025-01-09 11:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:29:03] Production.INFO: ==21866== Lock acquired, processing the job...
[2025-01-09 11:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:29:03] Production.ERROR: done
[2025-01-09 11:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:29:03] Production.INFO: Total Charge 0
[2025-01-09 11:29:03] Production.INFO: ==21872== Lock acquired, processing the job...
[2025-01-09 11:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:29:04] Production.INFO: CreateAllLog End
[2025-01-09 11:29:04] Production.ERROR: done
[2025-01-09 11:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:29:04] Production.INFO: count ==21
[2025-01-09 11:29:04] Production.INFO: Account Balance End.
[2025-01-09 11:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:29:04] Production.INFO: count ==21
[2025-01-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209275') start
[2025-01-09 11:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:29:04] Production.INFO: ==21868== Releasing lock...
[2025-01-09 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:29:04] Production.INFO: ==21864== Releasing lock...
[2025-01-09 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209275') end
[2025-01-09 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:29:04] Production.INFO: 1
[2025-01-09 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:29:04] Production.INFO: ==21872== Releasing lock...
[2025-01-09 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:29:05
[end_date_ymd] => 2025-01-09 11:29:05
[RateCDR] => 1
)
[2025-01-09 11:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:29:05' and `end` < '2025-01-09 11:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:29:11] Production.ERROR: CronJobId end10
[2025-01-09 11:29:11] Production.INFO: ==21866== Releasing lock...
[2025-01-09 11:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:29:13] Production.INFO: call_cost start
[2025-01-09 11:29:13] Production.INFO: call_cost end
[2025-01-09 11:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:29:14] Production.INFO: ==21862== Releasing lock...
[2025-01-09 11:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:29:22] Production.INFO: count ==4242
[2025-01-09 11:29:24] Production.ERROR: pbx CDR StartTime 2025-01-09 08:29:05 - End Time 2025-01-09 11:29:05
[2025-01-09 11:29:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209276', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209276', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209276', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:29:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209276', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:29:24] Production.INFO: ProcessCDR(1,14209276,1,1,2)
[2025-01-09 11:29:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:29:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:29:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:29:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:29:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209276', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:29:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209276', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:29:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:29:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:29:29] Production.INFO: ==21870== Releasing lock...
[2025-01-09 11:29:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:29:29] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 16:30:01] Production.INFO: ==21964== Lock acquired, processing the job...
[2025-01-09 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:30:01] Production.INFO: neon service started
[2025-01-09 16:30:01] Production.INFO: neon service started
[2025-01-09 16:30:01] Production.INFO: ==21964== Releasing lock...
[2025-01-09 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:30:02] Production.INFO: ==21966== Lock acquired, processing the job...
[2025-01-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:30:02] Production.INFO: ==21968== Lock acquired, processing the job...
[2025-01-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:30:02] Production.INFO: ==21968== Releasing lock...
[2025-01-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:30:02] Production.INFO: ==21966== Releasing lock...
[2025-01-09 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:30:03] Production.INFO: ==21971== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 11:30:03] Production.INFO: ==21973== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:30:03] Production.ERROR: CronJob PID - 21973
[2025-01-09 11:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 11:30:03] Production.ERROR: CronJob ID - 5
[2025-01-09 11:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 11:30:00
[2025-01-09 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 11:30:03] Production.INFO: ==21971== Releasing lock...
[2025-01-09 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 11:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 11:30:03] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:30:03] Production.INFO: ==21975== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:30:03] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:30:03] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:30:03] Production.INFO: ==21983== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 11:30:03] Production.INFO: Account Balance Start.
[2025-01-09 11:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:30:03] Production.INFO: 117
[2025-01-09 11:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:30:03] Production.INFO: ==21986== Lock acquired, processing the job...
[2025-01-09 11:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:30:04] Production.ERROR: done
[2025-01-09 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:30:04] Production.INFO: ==21975== Releasing lock...
[2025-01-09 11:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:30:04] Production.INFO: count ==21
[2025-01-09 11:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:30:04] Production.INFO: count ==21
[2025-01-09 11:30:04] Production.ERROR: done
[2025-01-09 11:30:04] Production.INFO: Total Charge 0
[2025-01-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209280') start
[2025-01-09 11:30:04] Production.INFO: CreateAllLog End
[2025-01-09 11:30:04] Production.ERROR: done
[2025-01-09 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209280') end
[2025-01-09 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:30:04] Production.INFO: 1
[2025-01-09 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209282', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 11:30:04] Production.INFO: Account Balance End.
[2025-01-09 11:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:30:04] Production.INFO: ==21979== Releasing lock...
[2025-01-09 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:30:04] Production.INFO: ==21986== Releasing lock...
[2025-01-09 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:30:05
[end_date_ymd] => 2025-01-09 11:30:05
[RateCDR] => 1
)
[2025-01-09 11:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:30:05' and `end` < '2025-01-09 11:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209282', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 11:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 11:30:08] Production.INFO: ProcessCDR(1,14209282,1,1,2)
[2025-01-09 11:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209282,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209282,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:30:08] Production.INFO: ==21983== Releasing lock...
[2025-01-09 11:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 11:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:30:12] Production.ERROR: CronJobId end10
[2025-01-09 11:30:12] Production.INFO: ==21977== Releasing lock...
[2025-01-09 11:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:30:14] Production.INFO: call_cost start
[2025-01-09 11:30:14] Production.INFO: call_cost end
[2025-01-09 11:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:30:15] Production.INFO: ==21973== Releasing lock...
[2025-01-09 11:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:30:24] Production.INFO: count ==4249
[2025-01-09 11:30:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:30:05 - End Time 2025-01-09 11:30:05
[2025-01-09 11:30:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:30:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209281', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:30:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209281', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:30:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209281', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:30:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209281', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:30:26] Production.INFO: ProcessCDR(1,14209281,1,1,2)
[2025-01-09 11:30:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:30:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:30:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:30:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:30:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209281', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:30:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209281', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:30:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:30:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:30:30] Production.INFO: ==21981== Releasing lock...
[2025-01-09 11:30:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:30:30] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 16:31:01] Production.INFO: ==22041== Lock acquired, processing the job...
[2025-01-09 16:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:31:01] Production.INFO: neon service started
[2025-01-09 16:31:01] Production.INFO: neon service started
[2025-01-09 16:31:01] Production.INFO: ==22041== Releasing lock...
[2025-01-09 16:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:31:02] Production.INFO: ==22043== Lock acquired, processing the job...
[2025-01-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:31:02] Production.INFO: ==22043== Releasing lock...
[2025-01-09 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:31:02] Production.INFO: ==22045== Lock acquired, processing the job...
[2025-01-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:31:02] Production.INFO: ==22045== Releasing lock...
[2025-01-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:31:03] Production.INFO: ==22048== Lock acquired, processing the job...
[2025-01-09 11:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:31:03] Production.INFO: ==22050== Lock acquired, processing the job...
[2025-01-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:31:03] Production.INFO: ==22052== Lock acquired, processing the job...
[2025-01-09 11:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:31:03] Production.INFO: ==22054== Lock acquired, processing the job...
[2025-01-09 11:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:31:03] Production.INFO: ==22058== Lock acquired, processing the job...
[2025-01-09 11:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:31:03] Production.INFO: ==22056== Lock acquired, processing the job...
[2025-01-09 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:31:03] Production.INFO: Account Balance Start.
[2025-01-09 11:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:31:03] Production.INFO: 117
[2025-01-09 11:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:31:03] Production.INFO: Total Charge 0
[2025-01-09 11:31:03] Production.INFO: count ==21
[2025-01-09 11:31:03] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 11:31:03] Production.INFO: count ==21
[2025-01-09 11:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209286') start
[2025-01-09 11:31:03] Production.INFO: ==22050== Releasing lock...
[2025-01-09 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209286') end
[2025-01-09 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:31:04] Production.INFO: 1
[2025-01-09 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:31:04] Production.ERROR: done
[2025-01-09 11:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:31:04] Production.INFO: ==22058== Releasing lock...
[2025-01-09 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:31:04] Production.ERROR: done
[2025-01-09 11:31:04] Production.INFO: Account Balance End.
[2025-01-09 11:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:31:04] Production.INFO: ==22054== Releasing lock...
[2025-01-09 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:31:04
[end_date_ymd] => 2025-01-09 11:31:04
[RateCDR] => 1
)
[2025-01-09 11:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:31:04' and `end` < '2025-01-09 11:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:31:11] Production.ERROR: CronJobId end10
[2025-01-09 11:31:11] Production.INFO: ==22052== Releasing lock...
[2025-01-09 11:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:31:13] Production.INFO: call_cost start
[2025-01-09 11:31:13] Production.INFO: call_cost end
[2025-01-09 11:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:31:14] Production.INFO: ==22048== Releasing lock...
[2025-01-09 11:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:31:21] Production.INFO: count ==4324
[2025-01-09 11:31:23] Production.ERROR: pbx CDR StartTime 2025-01-09 08:31:04 - End Time 2025-01-09 11:31:04
[2025-01-09 11:31:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209287', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209287', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209287', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:31:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209287', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:31:23] Production.INFO: ProcessCDR(1,14209287,1,1,2)
[2025-01-09 11:31:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:31:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:31:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:31:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209287', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:31:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209287', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:31:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:31:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:31:28] Production.INFO: ==22056== Releasing lock...
[2025-01-09 11:31:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:31:28] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 16:32:02] Production.INFO: ==22112== Lock acquired, processing the job...
[2025-01-09 16:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:32:02] Production.INFO: neon service started
[2025-01-09 16:32:02] Production.INFO: neon service started
[2025-01-09 16:32:02] Production.INFO: ==22112== Releasing lock...
[2025-01-09 16:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:32:02] Production.INFO: ==22114== Lock acquired, processing the job...
[2025-01-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:32:02] Production.INFO: ==22114== Releasing lock...
[2025-01-09 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:32:02] Production.INFO: ==22116== Lock acquired, processing the job...
[2025-01-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:32:03] Production.INFO: ==22116== Releasing lock...
[2025-01-09 16:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:32:03] Production.INFO: ==22122== Lock acquired, processing the job...
[2025-01-09 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:32:03] Production.INFO: ==22128== Lock acquired, processing the job...
[2025-01-09 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:32:03] Production.INFO: ==22118== Lock acquired, processing the job...
[2025-01-09 11:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:32:03] Production.INFO: ==22120== Lock acquired, processing the job...
[2025-01-09 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:32:03] Production.INFO: ==22124== Lock acquired, processing the job...
[2025-01-09 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:32:03] Production.INFO: ==22126== Lock acquired, processing the job...
[2025-01-09 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:32:04] Production.INFO: count ==21
[2025-01-09 11:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:32:04] Production.INFO: Account Balance Start.
[2025-01-09 11:32:04] Production.INFO: count ==21
[2025-01-09 11:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:32:04] Production.INFO: 117
[2025-01-09 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209289') start
[2025-01-09 11:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:32:04] Production.INFO: Total Charge 0
[2025-01-09 11:32:04] Production.INFO: CreateAllLog End
[2025-01-09 11:32:04] Production.INFO: ==22120== Releasing lock...
[2025-01-09 11:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209289') end
[2025-01-09 11:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:32:04] Production.INFO: 1
[2025-01-09 11:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:32:04] Production.INFO: ==22128== Releasing lock...
[2025-01-09 11:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:32:04] Production.ERROR: done
[2025-01-09 11:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:32:04] Production.INFO: Account Balance End.
[2025-01-09 11:32:04] Production.ERROR: done
[2025-01-09 11:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:32:04] Production.INFO: ==22124== Releasing lock...
[2025-01-09 11:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:32:05
[end_date_ymd] => 2025-01-09 11:32:05
[RateCDR] => 1
)
[2025-01-09 11:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:32:05' and `end` < '2025-01-09 11:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:32:11] Production.ERROR: CronJobId end10
[2025-01-09 11:32:11] Production.INFO: ==22122== Releasing lock...
[2025-01-09 11:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:32:12] Production.INFO: call_cost start
[2025-01-09 11:32:12] Production.INFO: call_cost end
[2025-01-09 11:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:32:13] Production.INFO: ==22118== Releasing lock...
[2025-01-09 11:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:32:30] Production.INFO: count ==4326
[2025-01-09 11:32:31] Production.ERROR: pbx CDR StartTime 2025-01-09 08:32:05 - End Time 2025-01-09 11:32:05
[2025-01-09 11:32:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:32:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209292', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:32:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209292', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:32:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209292', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:32:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209292', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:32:32] Production.INFO: ProcessCDR(1,14209292,1,1,2)
[2025-01-09 11:32:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:32:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:32:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:32:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:32:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209292', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:32:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209292', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:32:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:32:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:32:36] Production.INFO: ==22126== Releasing lock...
[2025-01-09 11:32:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:32:36] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 16:33:01] Production.INFO: ==22182== Lock acquired, processing the job...
[2025-01-09 16:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:33:01] Production.INFO: neon service started
[2025-01-09 16:33:01] Production.INFO: neon service started
[2025-01-09 16:33:01] Production.INFO: ==22182== Releasing lock...
[2025-01-09 16:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:33:02] Production.INFO: ==22186== Lock acquired, processing the job...
[2025-01-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:33:02] Production.INFO: ==22186== Releasing lock...
[2025-01-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:33:02] Production.INFO: ==22184== Lock acquired, processing the job...
[2025-01-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:33:02] Production.INFO: ==22184== Releasing lock...
[2025-01-09 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:33:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:33:03] Production.INFO: ==22189== Lock acquired, processing the job...
[2025-01-09 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:33:03] Production.INFO: ==22191== Lock acquired, processing the job...
[2025-01-09 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:33:03] Production.INFO: ==22197== Lock acquired, processing the job...
[2025-01-09 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:33:03] Production.INFO: ==22193== Lock acquired, processing the job...
[2025-01-09 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:33:03] Production.INFO: ==22195== Lock acquired, processing the job...
[2025-01-09 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:33:03] Production.INFO: ==22199== Lock acquired, processing the job...
[2025-01-09 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:33:03] Production.INFO: Account Balance Start.
[2025-01-09 11:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:33:03] Production.INFO: 117
[2025-01-09 11:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:33:03] Production.INFO: count ==21
[2025-01-09 11:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:33:03] Production.INFO: count ==21
[2025-01-09 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209296') start
[2025-01-09 11:33:03] Production.ERROR: done
[2025-01-09 11:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:33:03] Production.INFO: Total Charge 0
[2025-01-09 11:33:03] Production.INFO: CreateAllLog End
[2025-01-09 11:33:04] Production.INFO: ==22191== Releasing lock...
[2025-01-09 11:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:33:04] Production.ERROR: done
[2025-01-09 11:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209296') end
[2025-01-09 11:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:33:04] Production.INFO: 1
[2025-01-09 11:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:33:04] Production.INFO: Account Balance End.
[2025-01-09 11:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:33:04] Production.INFO: ==22195== Releasing lock...
[2025-01-09 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:33:04] Production.INFO: ==22199== Releasing lock...
[2025-01-09 11:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:33:05
[end_date_ymd] => 2025-01-09 11:33:05
[RateCDR] => 1
)
[2025-01-09 11:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:33:05' and `end` < '2025-01-09 11:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:33:10] Production.ERROR: CronJobId end10
[2025-01-09 11:33:10] Production.INFO: ==22193== Releasing lock...
[2025-01-09 11:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:33:13] Production.INFO: call_cost start
[2025-01-09 11:33:13] Production.INFO: call_cost end
[2025-01-09 11:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:33:14] Production.INFO: ==22189== Releasing lock...
[2025-01-09 11:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:33:20] Production.INFO: count ==4317
[2025-01-09 11:33:22] Production.ERROR: pbx CDR StartTime 2025-01-09 08:33:05 - End Time 2025-01-09 11:33:05
[2025-01-09 11:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209297', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209297', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209297', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209297', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:33:22] Production.INFO: ProcessCDR(1,14209297,1,1,2)
[2025-01-09 11:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209297,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209297,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209297', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209297', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:33:26] Production.INFO: ==22197== Releasing lock...
[2025-01-09 11:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:33:26] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 16:34:02] Production.INFO: ==22257== Lock acquired, processing the job...
[2025-01-09 16:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:34:02] Production.INFO: neon service started
[2025-01-09 16:34:02] Production.INFO: neon service started
[2025-01-09 16:34:02] Production.INFO: ==22257== Releasing lock...
[2025-01-09 16:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:34:02] Production.INFO: ==22259== Lock acquired, processing the job...
[2025-01-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:34:02] Production.INFO: ==22261== Lock acquired, processing the job...
[2025-01-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:34:02] Production.INFO: ==22261== Releasing lock...
[2025-01-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:34:02] Production.INFO: ==22259== Releasing lock...
[2025-01-09 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:34:03] Production.INFO: ==22270== Lock acquired, processing the job...
[2025-01-09 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:34:03] Production.INFO: ==22274== Lock acquired, processing the job...
[2025-01-09 11:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:34:03] Production.INFO: Account Balance Start.
[2025-01-09 11:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:34:03] Production.INFO: 117
[2025-01-09 11:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:34:03] Production.INFO: ==22264== Lock acquired, processing the job...
[2025-01-09 11:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:34:04] Production.INFO: ==22266== Lock acquired, processing the job...
[2025-01-09 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:34:04] Production.INFO: count ==21
[2025-01-09 11:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:34:04] Production.INFO: count ==21
[2025-01-09 11:34:04] Production.INFO: Total Charge 0
[2025-01-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209299') start
[2025-01-09 11:34:04] Production.INFO: CreateAllLog End
[2025-01-09 11:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:34:04] Production.INFO: ==22272== Lock acquired, processing the job...
[2025-01-09 11:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:34:04] Production.INFO: ==22268== Lock acquired, processing the job...
[2025-01-09 11:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209299') end
[2025-01-09 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:34:04] Production.INFO: 1
[2025-01-09 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:34:04] Production.INFO: Account Balance End.
[2025-01-09 11:34:04] Production.INFO: ==22274== Releasing lock...
[2025-01-09 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:34:04] Production.INFO: ==22270== Releasing lock...
[2025-01-09 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:34:04] Production.ERROR: done
[2025-01-09 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:34:04] Production.INFO: ==22266== Releasing lock...
[2025-01-09 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:34:04] Production.ERROR: done
[2025-01-09 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:34:05
[end_date_ymd] => 2025-01-09 11:34:05
[RateCDR] => 1
)
[2025-01-09 11:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:34:05' and `end` < '2025-01-09 11:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:34:11] Production.ERROR: CronJobId end10
[2025-01-09 11:34:11] Production.INFO: ==22268== Releasing lock...
[2025-01-09 11:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:34:13] Production.INFO: call_cost start
[2025-01-09 11:34:13] Production.INFO: call_cost end
[2025-01-09 11:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:34:13] Production.INFO: ==22264== Releasing lock...
[2025-01-09 11:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:34:21] Production.INFO: count ==4326
[2025-01-09 11:34:23] Production.ERROR: pbx CDR StartTime 2025-01-09 08:34:05 - End Time 2025-01-09 11:34:05
[2025-01-09 11:34:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209302', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209302', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209302', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209302', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:34:23] Production.INFO: ProcessCDR(1,14209302,1,1,2)
[2025-01-09 11:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209302', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209302', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:34:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:34:28] Production.INFO: ==22272== Releasing lock...
[2025-01-09 11:34:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:34:28] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 16:35:01] Production.INFO: ==22327== Lock acquired, processing the job...
[2025-01-09 16:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:35:01] Production.INFO: neon service started
[2025-01-09 16:35:01] Production.INFO: neon service started
[2025-01-09 16:35:01] Production.INFO: ==22327== Releasing lock...
[2025-01-09 16:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:35:01] Production.INFO: ==22329== Lock acquired, processing the job...
[2025-01-09 11:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:35:02] Production.INFO: ==22329== Releasing lock...
[2025-01-09 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:35:02] Production.INFO: ==22331== Lock acquired, processing the job...
[2025-01-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:35:02] Production.INFO: ==22331== Releasing lock...
[2025-01-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:35:02] Production.INFO: ==22333== Lock acquired, processing the job...
[2025-01-09 11:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:35:02] Production.INFO: ==22339== Lock acquired, processing the job...
[2025-01-09 11:35:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:35:02] Production.INFO: ==22335== Lock acquired, processing the job...
[2025-01-09 11:35:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:35:03] Production.INFO: ==22337== Lock acquired, processing the job...
[2025-01-09 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:35:03] Production.INFO: Account Balance Start.
[2025-01-09 11:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:35:03] Production.INFO: 117
[2025-01-09 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:35:03] Production.INFO: ==22341== Lock acquired, processing the job...
[2025-01-09 11:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:35:03] Production.INFO: ==22343== Lock acquired, processing the job...
[2025-01-09 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:35:03] Production.INFO: Total Charge 0
[2025-01-09 11:35:03] Production.INFO: CreateAllLog End
[2025-01-09 11:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:35:03] Production.INFO: ==22335== Releasing lock...
[2025-01-09 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:35:03] Production.INFO: count ==21
[2025-01-09 11:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:35:03] Production.INFO: count ==21
[2025-01-09 11:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209306') start
[2025-01-09 11:35:03] Production.INFO: Account Balance End.
[2025-01-09 11:35:03] Production.ERROR: done
[2025-01-09 11:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:35:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:35:03] Production.INFO: ==22339== Releasing lock...
[2025-01-09 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209306') end
[2025-01-09 11:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:35:03] Production.INFO: 1
[2025-01-09 11:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:35:03] Production.ERROR: done
[2025-01-09 11:35:03] Production.INFO: ==22343== Releasing lock...
[2025-01-09 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:35:04
[end_date_ymd] => 2025-01-09 11:35:04
[RateCDR] => 1
)
[2025-01-09 11:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:35:04' and `end` < '2025-01-09 11:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:35:10] Production.ERROR: CronJobId end10
[2025-01-09 11:35:10] Production.INFO: ==22337== Releasing lock...
[2025-01-09 11:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:35:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:35:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:35:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:35:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:35:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:35:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:35:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:35:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:35:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:35:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:35:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:35:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:35:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:35:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:35:12] Production.INFO: call_cost start
[2025-01-09 11:35:12] Production.INFO: call_cost end
[2025-01-09 11:35:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:35:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:35:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:35:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:35:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:35:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:35:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:35:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:35:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:35:12] Production.INFO: ==22333== Releasing lock...
[2025-01-09 11:35:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:35:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:35:27] Production.INFO: count ==4337
[2025-01-09 11:35:29] Production.ERROR: pbx CDR StartTime 2025-01-09 08:35:04 - End Time 2025-01-09 11:35:04
[2025-01-09 11:35:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:35:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209307', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:35:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209307', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:35:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209307', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:35:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209307', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:35:29] Production.INFO: ProcessCDR(1,14209307,1,1,2)
[2025-01-09 11:35:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:35:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:35:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:35:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:35:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209307', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:35:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209307', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:35:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:35:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:35:34] Production.INFO: ==22341== Releasing lock...
[2025-01-09 11:35:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:35:34] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 16:36:01] Production.INFO: ==22399== Lock acquired, processing the job...
[2025-01-09 16:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:36:01] Production.INFO: neon service started
[2025-01-09 16:36:01] Production.INFO: neon service started
[2025-01-09 16:36:01] Production.INFO: ==22399== Releasing lock...
[2025-01-09 16:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:36:02] Production.INFO: ==22403== Lock acquired, processing the job...
[2025-01-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:36:02] Production.INFO: ==22403== Releasing lock...
[2025-01-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:36:02] Production.INFO: ==22401== Lock acquired, processing the job...
[2025-01-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:36:02] Production.INFO: ==22401== Releasing lock...
[2025-01-09 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:36:03] Production.INFO: ==22405== Lock acquired, processing the job...
[2025-01-09 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:36:03] Production.INFO: ==22408== Lock acquired, processing the job...
[2025-01-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:36:03] Production.INFO: ==22414== Lock acquired, processing the job...
[2025-01-09 11:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:36:03] Production.INFO: ==22410== Lock acquired, processing the job...
[2025-01-09 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:36:03] Production.INFO: ==22412== Lock acquired, processing the job...
[2025-01-09 11:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:36:03] Production.INFO: ==22408== Releasing lock...
[2025-01-09 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:36:03] Production.INFO: ==22416== Lock acquired, processing the job...
[2025-01-09 11:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:36:03] Production.INFO: Account Balance Start.
[2025-01-09 11:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:36:03] Production.INFO: 117
[2025-01-09 11:36:03] Production.ERROR: done
[2025-01-09 11:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:36:03] Production.INFO: count ==21
[2025-01-09 11:36:03] Production.INFO: Total Charge 0
[2025-01-09 11:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:36:03] Production.INFO: count ==21
[2025-01-09 11:36:03] Production.INFO: CreateAllLog End
[2025-01-09 11:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209311') start
[2025-01-09 11:36:03] Production.ERROR: done
[2025-01-09 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209311') end
[2025-01-09 11:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:36:04] Production.INFO: 1
[2025-01-09 11:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:36:04] Production.INFO: ==22416== Releasing lock...
[2025-01-09 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:36:04] Production.INFO: Account Balance End.
[2025-01-09 11:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:36:04] Production.INFO: ==22412== Releasing lock...
[2025-01-09 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:36:04
[end_date_ymd] => 2025-01-09 11:36:04
[RateCDR] => 1
)
[2025-01-09 11:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:36:04' and `end` < '2025-01-09 11:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:36:11] Production.ERROR: CronJobId end10
[2025-01-09 11:36:11] Production.INFO: ==22410== Releasing lock...
[2025-01-09 11:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:36:12] Production.INFO: call_cost start
[2025-01-09 11:36:12] Production.INFO: call_cost end
[2025-01-09 11:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:36:13] Production.INFO: ==22405== Releasing lock...
[2025-01-09 11:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:36:26] Production.INFO: count ==4358
[2025-01-09 11:36:28] Production.ERROR: pbx CDR StartTime 2025-01-09 08:36:04 - End Time 2025-01-09 11:36:04
[2025-01-09 11:36:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209312', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209312', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209312', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:36:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209312', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:36:28] Production.INFO: ProcessCDR(1,14209312,1,1,2)
[2025-01-09 11:36:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:36:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:36:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:36:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209312', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209312', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:36:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:36:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:36:32] Production.INFO: ==22414== Releasing lock...
[2025-01-09 11:36:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:36:32] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 16:37:02] Production.INFO: ==22477== Lock acquired, processing the job...
[2025-01-09 16:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:37:02] Production.INFO: neon service started
[2025-01-09 16:37:02] Production.INFO: neon service started
[2025-01-09 16:37:02] Production.INFO: ==22477== Releasing lock...
[2025-01-09 16:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:37:02] Production.INFO: ==22481== Lock acquired, processing the job...
[2025-01-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:37:02] Production.INFO: ==22481== Releasing lock...
[2025-01-09 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:37:02] Production.INFO: ==22479== Lock acquired, processing the job...
[2025-01-09 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:37:03] Production.INFO: ==22479== Releasing lock...
[2025-01-09 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:37:03] Production.INFO: ==22484== Lock acquired, processing the job...
[2025-01-09 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:37:03] Production.INFO: ==22490== Lock acquired, processing the job...
[2025-01-09 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:37:03] Production.INFO: ==22492== Lock acquired, processing the job...
[2025-01-09 11:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:37:03] Production.INFO: Account Balance Start.
[2025-01-09 11:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:37:03] Production.INFO: 117
[2025-01-09 11:37:03] Production.INFO: ==22486== Lock acquired, processing the job...
[2025-01-09 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:37:04] Production.INFO: ==22488== Lock acquired, processing the job...
[2025-01-09 11:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:37:04] Production.INFO: ==22494== Lock acquired, processing the job...
[2025-01-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:37:04] Production.ERROR: done
[2025-01-09 11:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:37:04] Production.INFO: Total Charge 0
[2025-01-09 11:37:04] Production.INFO: CreateAllLog End
[2025-01-09 11:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:37:04] Production.INFO: count ==21
[2025-01-09 11:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:37:04] Production.INFO: count ==21
[2025-01-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209316') start
[2025-01-09 11:37:04] Production.INFO: ==22486== Releasing lock...
[2025-01-09 11:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:37:04] Production.ERROR: done
[2025-01-09 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209316') end
[2025-01-09 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:37:04] Production.INFO: 1
[2025-01-09 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:37:04] Production.INFO: Account Balance End.
[2025-01-09 11:37:04] Production.INFO: ==22494== Releasing lock...
[2025-01-09 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:37:04] Production.INFO: ==22490== Releasing lock...
[2025-01-09 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:37:05
[end_date_ymd] => 2025-01-09 11:37:05
[RateCDR] => 1
)
[2025-01-09 11:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:37:05' and `end` < '2025-01-09 11:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:37:10] Production.ERROR: CronJobId end10
[2025-01-09 11:37:10] Production.INFO: ==22488== Releasing lock...
[2025-01-09 11:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:37:13] Production.INFO: call_cost start
[2025-01-09 11:37:13] Production.INFO: call_cost end
[2025-01-09 11:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:37:14] Production.INFO: ==22484== Releasing lock...
[2025-01-09 11:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:37:23] Production.INFO: count ==4372
[2025-01-09 11:37:24] Production.ERROR: pbx CDR StartTime 2025-01-09 08:37:05 - End Time 2025-01-09 11:37:05
[2025-01-09 11:37:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:37:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209317', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209317', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209317', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209317', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:37:25] Production.INFO: ProcessCDR(1,14209317,1,1,2)
[2025-01-09 11:37:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:37:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:37:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:37:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209317', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:37:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209317', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:37:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:37:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:37:29] Production.INFO: ==22492== Releasing lock...
[2025-01-09 11:37:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:37:29] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 16:38:01] Production.INFO: ==22550== Lock acquired, processing the job...
[2025-01-09 16:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:38:01] Production.INFO: neon service started
[2025-01-09 16:38:01] Production.INFO: neon service started
[2025-01-09 16:38:01] Production.INFO: ==22550== Releasing lock...
[2025-01-09 16:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:38:02] Production.INFO: ==22554== Lock acquired, processing the job...
[2025-01-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:38:02] Production.INFO: ==22554== Releasing lock...
[2025-01-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:38:02] Production.INFO: ==22552== Lock acquired, processing the job...
[2025-01-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:38:02] Production.INFO: ==22552== Releasing lock...
[2025-01-09 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:38:03] Production.INFO: ==22561== Lock acquired, processing the job...
[2025-01-09 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:38:03] Production.INFO: ==22567== Lock acquired, processing the job...
[2025-01-09 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:38:03] Production.INFO: ==22557== Lock acquired, processing the job...
[2025-01-09 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:38:03] Production.INFO: ==22559== Lock acquired, processing the job...
[2025-01-09 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:38:03] Production.INFO: count ==21
[2025-01-09 11:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:38:03] Production.INFO: count ==21
[2025-01-09 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209318') start
[2025-01-09 11:38:03] Production.INFO: ==22563== Lock acquired, processing the job...
[2025-01-09 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:38:03] Production.INFO: ==22565== Lock acquired, processing the job...
[2025-01-09 11:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209318') end
[2025-01-09 11:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:38:03] Production.INFO: 1
[2025-01-09 11:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:38:03] Production.INFO: Account Balance Start.
[2025-01-09 11:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:38:03] Production.INFO: 117
[2025-01-09 11:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:38:03] Production.INFO: ==22567== Releasing lock...
[2025-01-09 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:38:03] Production.INFO: ==22559== Releasing lock...
[2025-01-09 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:38:04] Production.ERROR: done
[2025-01-09 11:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:38:04] Production.INFO: Total Charge 0
[2025-01-09 11:38:04] Production.INFO: CreateAllLog End
[2025-01-09 11:38:04] Production.ERROR: done
[2025-01-09 11:38:04] Production.INFO: Account Balance End.
[2025-01-09 11:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:38:04] Production.INFO: ==22563== Releasing lock...
[2025-01-09 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:38:05
[end_date_ymd] => 2025-01-09 11:38:05
[RateCDR] => 1
)
[2025-01-09 11:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:38:05' and `end` < '2025-01-09 11:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:38:10] Production.ERROR: CronJobId end10
[2025-01-09 11:38:10] Production.INFO: ==22561== Releasing lock...
[2025-01-09 11:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:38:13] Production.INFO: call_cost start
[2025-01-09 11:38:13] Production.INFO: call_cost end
[2025-01-09 11:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:38:14] Production.INFO: ==22557== Releasing lock...
[2025-01-09 11:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:38:19] Production.INFO: count ==4375
[2025-01-09 11:38:21] Production.ERROR: pbx CDR StartTime 2025-01-09 08:38:05 - End Time 2025-01-09 11:38:05
[2025-01-09 11:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209322', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209322', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209322', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209322', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:38:21] Production.INFO: ProcessCDR(1,14209322,1,1,2)
[2025-01-09 11:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:38:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:38:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:38:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209322', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:38:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209322', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:38:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:38:26] Production.INFO: ==22565== Releasing lock...
[2025-01-09 11:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:38:26] Production.INFO: 61 MB #Memory Used#
[2025-01-09 16:39:02] Production.INFO: ==22624== Lock acquired, processing the job...
[2025-01-09 16:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:39:02] Production.INFO: neon service started
[2025-01-09 16:39:02] Production.INFO: neon service started
[2025-01-09 16:39:02] Production.INFO: ==22624== Releasing lock...
[2025-01-09 16:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:39:02] Production.INFO: ==22627== Lock acquired, processing the job...
[2025-01-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:39:02] Production.INFO: ==22627== Releasing lock...
[2025-01-09 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:39:02] Production.INFO: ==22629== Lock acquired, processing the job...
[2025-01-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:39:02] Production.INFO: ==22629== Releasing lock...
[2025-01-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:39:03] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-01-09 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:39:03] Production.INFO: ==22637== Lock acquired, processing the job...
[2025-01-09 11:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:39:03] Production.ERROR: done
[2025-01-09 11:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:39:03] Production.INFO: ==22631== Lock acquired, processing the job...
[2025-01-09 11:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:39:03] Production.INFO: ==22633== Lock acquired, processing the job...
[2025-01-09 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:39:03] Production.ERROR: done
[2025-01-09 11:39:03] Production.INFO: Account Balance Start.
[2025-01-09 11:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:39:03] Production.INFO: 117
[2025-01-09 11:39:03] Production.INFO: ==22635== Lock acquired, processing the job...
[2025-01-09 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:39:04] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-01-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:39:04] Production.INFO: Total Charge 0
[2025-01-09 11:39:04] Production.INFO: CreateAllLog End
[2025-01-09 11:39:04] Production.INFO: ==22633== Releasing lock...
[2025-01-09 11:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:39:04] Production.INFO: Account Balance End.
[2025-01-09 11:39:04] Production.INFO: count ==21
[2025-01-09 11:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:39:04] Production.INFO: ==22637== Releasing lock...
[2025-01-09 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:39:04] Production.INFO: count ==21
[2025-01-09 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209327') start
[2025-01-09 11:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209327') end
[2025-01-09 11:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:39:04] Production.INFO: 1
[2025-01-09 11:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:39:04] Production.INFO: ==22641== Releasing lock...
[2025-01-09 11:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:39:04
[end_date_ymd] => 2025-01-09 11:39:04
[RateCDR] => 1
)
[2025-01-09 11:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:39:04' and `end` < '2025-01-09 11:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:39:10] Production.ERROR: CronJobId end10
[2025-01-09 11:39:10] Production.INFO: ==22635== Releasing lock...
[2025-01-09 11:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:39:13] Production.INFO: call_cost start
[2025-01-09 11:39:13] Production.INFO: call_cost end
[2025-01-09 11:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:39:13] Production.INFO: ==22631== Releasing lock...
[2025-01-09 11:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:39:19] Production.INFO: count ==4384
[2025-01-09 11:39:21] Production.ERROR: pbx CDR StartTime 2025-01-09 08:39:04 - End Time 2025-01-09 11:39:04
[2025-01-09 11:39:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209324', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209324', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209324', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209324', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:39:21] Production.INFO: ProcessCDR(1,14209324,1,1,2)
[2025-01-09 11:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209324', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209324', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:39:25] Production.INFO: ==22639== Releasing lock...
[2025-01-09 11:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:39:25] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 16:40:01] Production.INFO: ==22697== Lock acquired, processing the job...
[2025-01-09 16:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:40:01] Production.INFO: neon service started
[2025-01-09 16:40:01] Production.INFO: neon service started
[2025-01-09 16:40:01] Production.INFO: ==22697== Releasing lock...
[2025-01-09 16:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:40:01] Production.INFO: ==22699== Lock acquired, processing the job...
[2025-01-09 11:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:40:02] Production.INFO: ==22699== Releasing lock...
[2025-01-09 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:40:02] Production.INFO: ==22701== Lock acquired, processing the job...
[2025-01-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:40:02] Production.INFO: ==22701== Releasing lock...
[2025-01-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:40:03] Production.INFO: ==22706== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:40:03] Production.INFO: ==22704== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 11:40:03] Production.INFO: ==22710== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:40:03] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 11:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 11:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:40:03] Production.ERROR: CronJob PID - 22706
[2025-01-09 11:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 11:40:03] Production.ERROR: CronJob ID - 5
[2025-01-09 11:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 11:40:00
[2025-01-09 11:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:40:03] Production.ERROR: CronJob PID - 22710
[2025-01-09 11:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 11:40:03] Production.ERROR: CronJob ID - 10
[2025-01-09 11:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 11:40:00
[2025-01-09 11:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 11:40:03] Production.INFO: ==22704== Releasing lock...
[2025-01-09 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 11:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 11:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:40:03] Production.INFO: ==22708== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:40:03] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:40:03] Production.INFO: ==22712== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:40:03] Production.ERROR: done
[2025-01-09 11:40:03] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-01-09 11:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:40:03] Production.INFO: Account Balance Start.
[2025-01-09 11:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:40:03] Production.INFO: 117
[2025-01-09 11:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:40:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:40:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 11:40:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209331', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 11:40:03] Production.INFO: Total Charge 0
[2025-01-09 11:40:03] Production.INFO: CreateAllLog End
[2025-01-09 11:40:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:40:03] Production.INFO: count ==21
[2025-01-09 11:40:03] Production.ERROR: done
[2025-01-09 11:40:03] Production.INFO: ==22708== Releasing lock...
[2025-01-09 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:40:04] Production.INFO: count ==21
[2025-01-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209332') start
[2025-01-09 11:40:04] Production.INFO: Account Balance End.
[2025-01-09 11:40:04] Production.ERROR: done
[2025-01-09 11:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:40:04] Production.INFO: ==22712== Releasing lock...
[2025-01-09 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209332') end
[2025-01-09 11:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:40:04] Production.INFO: 1
[2025-01-09 11:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:40:04] Production.INFO: ==22718== Releasing lock...
[2025-01-09 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:40:05
[end_date_ymd] => 2025-01-09 11:40:05
[RateCDR] => 1
)
[2025-01-09 11:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:40:05' and `end` < '2025-01-09 11:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209331', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 11:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 11:40:07] Production.INFO: ProcessCDR(1,14209331,1,1,2)
[2025-01-09 11:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209331,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209331,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:40:08] Production.INFO: ==22716== Releasing lock...
[2025-01-09 11:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 11:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:40:12] Production.ERROR: CronJobId end10
[2025-01-09 11:40:12] Production.INFO: ==22710== Releasing lock...
[2025-01-09 11:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:40:13] Production.INFO: call_cost start
[2025-01-09 11:40:13] Production.INFO: call_cost end
[2025-01-09 11:40:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:40:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:40:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:40:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:40:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:40:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:40:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:40:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:40:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:40:14] Production.INFO: ==22706== Releasing lock...
[2025-01-09 11:40:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:40:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:40:24] Production.INFO: count ==4392
[2025-01-09 11:40:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:40:05 - End Time 2025-01-09 11:40:05
[2025-01-09 11:40:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:40:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209333', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:40:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209333', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:40:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209333', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:40:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209333', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:40:25] Production.INFO: ProcessCDR(1,14209333,1,1,2)
[2025-01-09 11:40:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:40:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:40:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:40:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:40:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209333', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:40:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209333', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:40:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:40:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:40:30] Production.INFO: ==22714== Releasing lock...
[2025-01-09 11:40:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:40:30] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 16:41:01] Production.INFO: ==22777== Lock acquired, processing the job...
[2025-01-09 16:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:41:01] Production.INFO: neon service started
[2025-01-09 16:41:01] Production.INFO: neon service started
[2025-01-09 16:41:01] Production.INFO: ==22777== Releasing lock...
[2025-01-09 16:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:41:02] Production.INFO: ==22781== Lock acquired, processing the job...
[2025-01-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:41:02] Production.INFO: ==22781== Releasing lock...
[2025-01-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:41:02] Production.INFO: ==22779== Lock acquired, processing the job...
[2025-01-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:41:02] Production.INFO: ==22779== Releasing lock...
[2025-01-09 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:41:03] Production.INFO: ==22784== Lock acquired, processing the job...
[2025-01-09 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:41:03] Production.INFO: ==22788== Lock acquired, processing the job...
[2025-01-09 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:41:03] Production.INFO: ==22794== Lock acquired, processing the job...
[2025-01-09 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:41:03] Production.INFO: ==22786== Lock acquired, processing the job...
[2025-01-09 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:41:03] Production.INFO: count ==21
[2025-01-09 11:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:41:03] Production.INFO: count ==21
[2025-01-09 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209335') start
[2025-01-09 11:41:03] Production.INFO: ==22790== Lock acquired, processing the job...
[2025-01-09 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:41:03] Production.INFO: ==22792== Lock acquired, processing the job...
[2025-01-09 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209335') end
[2025-01-09 11:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:41:03] Production.INFO: 1
[2025-01-09 11:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:41:03] Production.INFO: Account Balance Start.
[2025-01-09 11:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:41:03] Production.INFO: 117
[2025-01-09 11:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:41:03] Production.INFO: ==22794== Releasing lock...
[2025-01-09 11:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:41:03] Production.INFO: ==22786== Releasing lock...
[2025-01-09 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:41:04] Production.INFO: Total Charge 0
[2025-01-09 11:41:04] Production.INFO: CreateAllLog End
[2025-01-09 11:41:04] Production.ERROR: done
[2025-01-09 11:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:41:04] Production.INFO: Account Balance End.
[2025-01-09 11:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:41:04] Production.INFO: ==22790== Releasing lock...
[2025-01-09 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:41:04] Production.ERROR: done
[2025-01-09 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:41:05
[end_date_ymd] => 2025-01-09 11:41:05
[RateCDR] => 1
)
[2025-01-09 11:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:41:05' and `end` < '2025-01-09 11:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:41:11] Production.ERROR: CronJobId end10
[2025-01-09 11:41:11] Production.INFO: ==22788== Releasing lock...
[2025-01-09 11:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:41:12] Production.INFO: call_cost start
[2025-01-09 11:41:12] Production.INFO: call_cost end
[2025-01-09 11:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:41:13] Production.INFO: ==22784== Releasing lock...
[2025-01-09 11:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:41:19] Production.INFO: count ==4455
[2025-01-09 11:41:20] Production.ERROR: pbx CDR StartTime 2025-01-09 08:41:05 - End Time 2025-01-09 11:41:05
[2025-01-09 11:41:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209338', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209338', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209338', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:41:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209338', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:41:20] Production.INFO: ProcessCDR(1,14209338,1,1,2)
[2025-01-09 11:41:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:41:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:41:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:41:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209338', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:41:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209338', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:41:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:41:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:41:25] Production.INFO: ==22792== Releasing lock...
[2025-01-09 11:41:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:41:25] Production.INFO: 61.25 MB #Memory Used#
[2025-01-09 16:42:02] Production.INFO: ==22856== Lock acquired, processing the job...
[2025-01-09 16:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:42:02] Production.INFO: neon service started
[2025-01-09 16:42:02] Production.INFO: neon service started
[2025-01-09 16:42:02] Production.INFO: ==22856== Releasing lock...
[2025-01-09 16:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:42:02] Production.INFO: ==22858== Lock acquired, processing the job...
[2025-01-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:42:02] Production.INFO: ==22858== Releasing lock...
[2025-01-09 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:42:03] Production.INFO: ==22861== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:42:03] Production.INFO: ==22861== Releasing lock...
[2025-01-09 16:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:42:03] Production.INFO: ==22865== Lock acquired, processing the job...
[2025-01-09 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:42:03] Production.INFO: ==22867== Lock acquired, processing the job...
[2025-01-09 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:42:03] Production.INFO: ==22869== Lock acquired, processing the job...
[2025-01-09 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:42:03] Production.INFO: Account Balance Start.
[2025-01-09 11:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:42:03] Production.INFO: 117
[2025-01-09 11:42:03] Production.INFO: ==22863== Lock acquired, processing the job...
[2025-01-09 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:42:03] Production.INFO: ==22865== Releasing lock...
[2025-01-09 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:42:03] Production.INFO: Total Charge 0
[2025-01-09 11:42:04] Production.INFO: ==22871== Lock acquired, processing the job...
[2025-01-09 11:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:42:04] Production.INFO: CreateAllLog End
[2025-01-09 11:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:42:04] Production.INFO: ==22873== Lock acquired, processing the job...
[2025-01-09 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:42:04] Production.INFO: count ==21
[2025-01-09 11:42:04] Production.INFO: Account Balance End.
[2025-01-09 11:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:42:04] Production.INFO: count ==21
[2025-01-09 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209342') start
[2025-01-09 11:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:42:04] Production.INFO: ==22869== Releasing lock...
[2025-01-09 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209342') end
[2025-01-09 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:42:04] Production.INFO: 1
[2025-01-09 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:42:04] Production.INFO: ==22873== Releasing lock...
[2025-01-09 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:42:04] Production.ERROR: done
[2025-01-09 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:42:04] Production.ERROR: done
[2025-01-09 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:42:05
[end_date_ymd] => 2025-01-09 11:42:05
[RateCDR] => 1
)
[2025-01-09 11:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:42:05' and `end` < '2025-01-09 11:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:42:10] Production.ERROR: CronJobId end10
[2025-01-09 11:42:10] Production.INFO: ==22867== Releasing lock...
[2025-01-09 11:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:42:12] Production.INFO: call_cost start
[2025-01-09 11:42:12] Production.INFO: call_cost end
[2025-01-09 11:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:42:13] Production.INFO: ==22863== Releasing lock...
[2025-01-09 11:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:42:22] Production.INFO: count ==4468
[2025-01-09 11:42:24] Production.ERROR: pbx CDR StartTime 2025-01-09 08:42:05 - End Time 2025-01-09 11:42:05
[2025-01-09 11:42:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209343', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209343', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209343', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209343', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:42:24] Production.INFO: ProcessCDR(1,14209343,1,1,2)
[2025-01-09 11:42:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:42:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209343,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:42:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:42:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209343,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209343', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:42:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209343', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:42:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:42:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:42:28] Production.INFO: ==22871== Releasing lock...
[2025-01-09 11:42:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:42:28] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 16:43:01] Production.INFO: ==22938== Lock acquired, processing the job...
[2025-01-09 16:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:43:01] Production.INFO: neon service started
[2025-01-09 16:43:01] Production.INFO: neon service started
[2025-01-09 16:43:01] Production.INFO: ==22938== Releasing lock...
[2025-01-09 16:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:43:02] Production.INFO: ==22940== Lock acquired, processing the job...
[2025-01-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:43:02] Production.INFO: ==22942== Lock acquired, processing the job...
[2025-01-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:43:02] Production.INFO: ==22942== Releasing lock...
[2025-01-09 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:43:02] Production.INFO: ==22940== Releasing lock...
[2025-01-09 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:43:03] Production.INFO: ==22945== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:43:03] Production.INFO: ==22947== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:43:03] Production.INFO: ==22949== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:43:03] Production.INFO: ==22953== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:43:03] Production.INFO: ==22947== Releasing lock...
[2025-01-09 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:43:03] Production.INFO: ==22951== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:43:03] Production.INFO: ==22955== Lock acquired, processing the job...
[2025-01-09 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:43:03] Production.INFO: Account Balance Start.
[2025-01-09 11:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:43:03] Production.INFO: 117
[2025-01-09 11:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:43:03] Production.INFO: count ==21
[2025-01-09 11:43:03] Production.ERROR: done
[2025-01-09 11:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:43:04] Production.INFO: count ==21
[2025-01-09 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209347') start
[2025-01-09 11:43:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:43:04] Production.ERROR: done
[2025-01-09 11:43:04] Production.INFO: Total Charge 0
[2025-01-09 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209347') end
[2025-01-09 11:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:43:04] Production.INFO: 1
[2025-01-09 11:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:43:04] Production.INFO: CreateAllLog End
[2025-01-09 11:43:04] Production.INFO: ==22955== Releasing lock...
[2025-01-09 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:43:04] Production.INFO: Account Balance End.
[2025-01-09 11:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:43:04] Production.INFO: ==22951== Releasing lock...
[2025-01-09 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:43:05
[end_date_ymd] => 2025-01-09 11:43:05
[RateCDR] => 1
)
[2025-01-09 11:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:43:05' and `end` < '2025-01-09 11:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:43:10] Production.ERROR: CronJobId end10
[2025-01-09 11:43:10] Production.INFO: ==22949== Releasing lock...
[2025-01-09 11:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:43:12] Production.INFO: call_cost start
[2025-01-09 11:43:12] Production.INFO: call_cost end
[2025-01-09 11:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:43:13] Production.INFO: ==22945== Releasing lock...
[2025-01-09 11:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:43:22] Production.INFO: count ==4472
[2025-01-09 11:43:24] Production.ERROR: pbx CDR StartTime 2025-01-09 08:43:05 - End Time 2025-01-09 11:43:05
[2025-01-09 11:43:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209348', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209348', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209348', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209348', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:43:24] Production.INFO: ProcessCDR(1,14209348,1,1,2)
[2025-01-09 11:43:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:43:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209348,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:43:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:43:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209348,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209348', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:43:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209348', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:43:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:43:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:43:28] Production.INFO: ==22953== Releasing lock...
[2025-01-09 11:43:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:43:28] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 16:44:02] Production.INFO: ==23022== Lock acquired, processing the job...
[2025-01-09 16:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:44:02] Production.INFO: neon service started
[2025-01-09 16:44:02] Production.INFO: neon service started
[2025-01-09 16:44:02] Production.INFO: ==23022== Releasing lock...
[2025-01-09 16:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:44:02] Production.INFO: ==23027== Lock acquired, processing the job...
[2025-01-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:44:02] Production.INFO: ==23027== Releasing lock...
[2025-01-09 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:44:02] Production.INFO: ==23029== Lock acquired, processing the job...
[2025-01-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:44:02] Production.INFO: ==23029== Releasing lock...
[2025-01-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:44:03] Production.INFO: ==23031== Lock acquired, processing the job...
[2025-01-09 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:44:03] Production.INFO: ==23035== Lock acquired, processing the job...
[2025-01-09 11:44:03] Production.INFO: ==23033== Lock acquired, processing the job...
[2025-01-09 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:44:03] Production.INFO: ==23037== Lock acquired, processing the job...
[2025-01-09 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:44:03] Production.INFO: ==23039== Lock acquired, processing the job...
[2025-01-09 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:44:03] Production.INFO: ==23041== Lock acquired, processing the job...
[2025-01-09 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:44:03] Production.INFO: Account Balance Start.
[2025-01-09 11:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:44:03] Production.INFO: 117
[2025-01-09 11:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:44:03] Production.INFO: count ==21
[2025-01-09 11:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:44:04] Production.INFO: count ==21
[2025-01-09 11:44:04] Production.INFO: ==23033== Releasing lock...
[2025-01-09 11:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209352') start
[2025-01-09 11:44:04] Production.INFO: Total Charge 0
[2025-01-09 11:44:04] Production.ERROR: done
[2025-01-09 11:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:44:04] Production.INFO: CreateAllLog End
[2025-01-09 11:44:04] Production.ERROR: done
[2025-01-09 11:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209352') end
[2025-01-09 11:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:44:04] Production.INFO: 1
[2025-01-09 11:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:44:04] Production.INFO: ==23041== Releasing lock...
[2025-01-09 11:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:44:04] Production.INFO: Account Balance End.
[2025-01-09 11:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:44:04] Production.INFO: ==23037== Releasing lock...
[2025-01-09 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:44:05
[end_date_ymd] => 2025-01-09 11:44:05
[RateCDR] => 1
)
[2025-01-09 11:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:44:05' and `end` < '2025-01-09 11:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:44:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,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-01-09 11:44:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:44:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:44:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:44:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:44:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:44:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:44:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:44:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:44:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:44:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:44:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:44:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:44:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:44:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:44:11] Production.INFO: call_cost start
[2025-01-09 11:44:11] Production.INFO: call_cost end
[2025-01-09 11:44:11] Production.ERROR: CronJobId end10
[2025-01-09 11:44:11] Production.INFO: ==23035== Releasing lock...
[2025-01-09 11:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:44:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:44:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:44:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:44:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:44:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:44:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:44:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:44:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:44:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:44:12] Production.INFO: ==23031== Releasing lock...
[2025-01-09 11:44:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:44:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:44:32] Production.INFO: count ==4479
[2025-01-09 11:44:34] Production.ERROR: pbx CDR StartTime 2025-01-09 08:44:05 - End Time 2025-01-09 11:44:05
[2025-01-09 11:44:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:44:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209353', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:44:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209353', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:44:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209353', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:44:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209353', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:44:34] Production.INFO: ProcessCDR(1,14209353,1,1,2)
[2025-01-09 11:44:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:44:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:44:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:44:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:44:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209353', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:44:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209353', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:44:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:44:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:44:39] Production.INFO: ==23039== Releasing lock...
[2025-01-09 11:44:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:44:39] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 16:45:01] Production.INFO: ==23102== Lock acquired, processing the job...
[2025-01-09 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:45:01] Production.INFO: neon service started
[2025-01-09 16:45:01] Production.INFO: neon service started
[2025-01-09 16:45:01] Production.INFO: ==23102== Releasing lock...
[2025-01-09 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:45:01] Production.INFO: ==23104== Lock acquired, processing the job...
[2025-01-09 11:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:45:02] Production.INFO: ==23104== Releasing lock...
[2025-01-09 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:45:02] Production.INFO: ==23106== Lock acquired, processing the job...
[2025-01-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:45:02] Production.INFO: ==23106== Releasing lock...
[2025-01-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:45:03] Production.INFO: ==23112== Lock acquired, processing the job...
[2025-01-09 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:45:03] Production.INFO: ==23110== Lock acquired, processing the job...
[2025-01-09 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:45:03] Production.INFO: ==23108== Lock acquired, processing the job...
[2025-01-09 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:45:03] Production.INFO: ==23116== Lock acquired, processing the job...
[2025-01-09 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:45:03] Production.INFO: ==23114== Lock acquired, processing the job...
[2025-01-09 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:45:03] Production.INFO: ==23118== Lock acquired, processing the job...
[2025-01-09 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:45:03] Production.INFO: Account Balance Start.
[2025-01-09 11:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:45:03] Production.INFO: 117
[2025-01-09 11:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:45:03] Production.ERROR: done
[2025-01-09 11:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:45:03] Production.INFO: count ==21
[2025-01-09 11:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:45:03] Production.INFO: Total Charge 0
[2025-01-09 11:45:03] Production.INFO: count ==21
[2025-01-09 11:45:03] Production.INFO: CreateAllLog End
[2025-01-09 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209357') start
[2025-01-09 11:45:03] Production.INFO: ==23110== Releasing lock...
[2025-01-09 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:45:03] Production.ERROR: done
[2025-01-09 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209357') end
[2025-01-09 11:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:45:03] Production.INFO: 1
[2025-01-09 11:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:45:03] Production.INFO: ==23118== Releasing lock...
[2025-01-09 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:45:03] Production.INFO: Account Balance End.
[2025-01-09 11:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:45:03] Production.INFO: ==23114== Releasing lock...
[2025-01-09 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:45:04
[end_date_ymd] => 2025-01-09 11:45:04
[RateCDR] => 1
)
[2025-01-09 11:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:45:04' and `end` < '2025-01-09 11:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:45:10] Production.ERROR: CronJobId end10
[2025-01-09 11:45:10] Production.INFO: ==23112== Releasing lock...
[2025-01-09 11:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:45:12] Production.INFO: call_cost start
[2025-01-09 11:45:12] Production.INFO: call_cost end
[2025-01-09 11:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:45:13] Production.INFO: ==23108== Releasing lock...
[2025-01-09 11:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:45:37] Production.INFO: count ==4503
[2025-01-09 11:45:39] Production.ERROR: pbx CDR StartTime 2025-01-09 08:45:04 - End Time 2025-01-09 11:45:04
[2025-01-09 11:45:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:45:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209358', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:45:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209358', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:45:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209358', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:45:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209358', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:45:39] Production.INFO: ProcessCDR(1,14209358,1,1,2)
[2025-01-09 11:45:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:45:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:45:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:45:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:45:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209358', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:45:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209358', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:45:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:45:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:45:43] Production.INFO: ==23116== Releasing lock...
[2025-01-09 11:45:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:45:43] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 16:46:01] Production.INFO: ==23226== Lock acquired, processing the job...
[2025-01-09 16:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:46:01] Production.INFO: neon service started
[2025-01-09 16:46:01] Production.INFO: neon service started
[2025-01-09 16:46:01] Production.INFO: ==23226== Releasing lock...
[2025-01-09 16:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:46:02] Production.INFO: ==23230== Lock acquired, processing the job...
[2025-01-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:46:02] Production.INFO: ==23230== Releasing lock...
[2025-01-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:46:02] Production.INFO: ==23228== Lock acquired, processing the job...
[2025-01-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:46:02] Production.INFO: ==23228== Releasing lock...
[2025-01-09 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:46:03] Production.INFO: ==23239== Lock acquired, processing the job...
[2025-01-09 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:46:03] Production.INFO: ==23241== Lock acquired, processing the job...
[2025-01-09 11:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:46:03] Production.INFO: Account Balance Start.
[2025-01-09 11:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:46:03] Production.INFO: 117
[2025-01-09 11:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:46:03] Production.INFO: ==23233== Lock acquired, processing the job...
[2025-01-09 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:46:03] Production.INFO: Total Charge 0
[2025-01-09 11:46:03] Production.INFO: CreateAllLog End
[2025-01-09 11:46:03] Production.INFO: ==23235== Lock acquired, processing the job...
[2025-01-09 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:46:03] Production.INFO: ==23237== Lock acquired, processing the job...
[2025-01-09 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:46:03] Production.INFO: Account Balance End.
[2025-01-09 11:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:46:04] Production.INFO: ==23243== Lock acquired, processing the job...
[2025-01-09 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:46:04] Production.ERROR: done
[2025-01-09 11:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:46:04] Production.INFO: ==23239== Releasing lock...
[2025-01-09 11:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:46:04] Production.INFO: count ==21
[2025-01-09 11:46:04] Production.INFO: ==23235== Releasing lock...
[2025-01-09 11:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:46:04] Production.ERROR: done
[2025-01-09 11:46:04] Production.INFO: count ==21
[2025-01-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209362') start
[2025-01-09 11:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209362') end
[2025-01-09 11:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:46:04] Production.INFO: 1
[2025-01-09 11:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:46:04] Production.INFO: ==23243== Releasing lock...
[2025-01-09 11:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:46:05
[end_date_ymd] => 2025-01-09 11:46:05
[RateCDR] => 1
)
[2025-01-09 11:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:46:05' and `end` < '2025-01-09 11:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:46:11] Production.ERROR: CronJobId end10
[2025-01-09 11:46:11] Production.INFO: ==23237== Releasing lock...
[2025-01-09 11:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:46:13] Production.INFO: call_cost start
[2025-01-09 11:46:13] Production.INFO: call_cost end
[2025-01-09 11:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:46:14] Production.INFO: ==23233== Releasing lock...
[2025-01-09 11:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:46:32] Production.INFO: count ==4494
[2025-01-09 11:46:34] Production.ERROR: pbx CDR StartTime 2025-01-09 08:46:05 - End Time 2025-01-09 11:46:05
[2025-01-09 11:46:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209363', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209363', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209363', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209363', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:46:34] Production.INFO: ProcessCDR(1,14209363,1,1,2)
[2025-01-09 11:46:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:46:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:46:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:46:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:46:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209363', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:46:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209363', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:46:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:46:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:46:39] Production.INFO: ==23241== Releasing lock...
[2025-01-09 11:46:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:46:39] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 16:47:01] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-01-09 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:47:01] Production.INFO: neon service started
[2025-01-09 16:47:01] Production.INFO: neon service started
[2025-01-09 16:47:01] Production.INFO: ==23304== Releasing lock...
[2025-01-09 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:47:01] Production.INFO: ==23306== Lock acquired, processing the job...
[2025-01-09 11:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:47:01] Production.INFO: ==23306== Releasing lock...
[2025-01-09 11:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:47:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:47:02] Production.INFO: ==23308== Lock acquired, processing the job...
[2025-01-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:47:02] Production.INFO: ==23308== Releasing lock...
[2025-01-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:47:02] Production.INFO: ==23312== Lock acquired, processing the job...
[2025-01-09 11:47:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:47:02] Production.INFO: ==23312== Releasing lock...
[2025-01-09 11:47:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:47:02] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:47:02] Production.INFO: ==23310== Lock acquired, processing the job...
[2025-01-09 11:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:47:03] Production.INFO: ==23318== Lock acquired, processing the job...
[2025-01-09 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:47:03] Production.INFO: ==23314== Lock acquired, processing the job...
[2025-01-09 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:47:03] Production.INFO: ==23316== Lock acquired, processing the job...
[2025-01-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:47:03] Production.INFO: ==23320== Lock acquired, processing the job...
[2025-01-09 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:47:03] Production.INFO: Account Balance Start.
[2025-01-09 11:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:47:03] Production.INFO: 117
[2025-01-09 11:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:47:03] Production.INFO: count ==21
[2025-01-09 11:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:47:03] Production.INFO: count ==21
[2025-01-09 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209367') start
[2025-01-09 11:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:47:03] Production.ERROR: done
[2025-01-09 11:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:47:03] Production.INFO: Total Charge 0
[2025-01-09 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209367') end
[2025-01-09 11:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:47:03] Production.INFO: 1
[2025-01-09 11:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:47:03] Production.INFO: CreateAllLog End
[2025-01-09 11:47:03] Production.ERROR: done
[2025-01-09 11:47:03] Production.INFO: ==23320== Releasing lock...
[2025-01-09 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:47:03] Production.INFO: Account Balance End.
[2025-01-09 11:47:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:47:03] Production.INFO: ==23316== Releasing lock...
[2025-01-09 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:47:04
[end_date_ymd] => 2025-01-09 11:47:04
[RateCDR] => 1
)
[2025-01-09 11:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:47:04' and `end` < '2025-01-09 11:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:47:10] Production.ERROR: CronJobId end10
[2025-01-09 11:47:10] Production.INFO: ==23314== Releasing lock...
[2025-01-09 11:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:47:12] Production.INFO: call_cost start
[2025-01-09 11:47:12] Production.INFO: call_cost end
[2025-01-09 11:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:47:13] Production.INFO: ==23310== Releasing lock...
[2025-01-09 11:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:47:25] Production.INFO: count ==4491
[2025-01-09 11:47:27] Production.ERROR: pbx CDR StartTime 2025-01-09 08:47:04 - End Time 2025-01-09 11:47:04
[2025-01-09 11:47:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209368', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209368', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209368', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209368', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:47:27] Production.INFO: ProcessCDR(1,14209368,1,1,2)
[2025-01-09 11:47:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:47:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:47:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:47:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209368', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209368', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:47:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:47:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:47:32] Production.INFO: ==23318== Releasing lock...
[2025-01-09 11:47:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:47:32] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 16:48:01] Production.INFO: ==23389== Lock acquired, processing the job...
[2025-01-09 16:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:48:01] Production.INFO: neon service started
[2025-01-09 16:48:01] Production.INFO: neon service started
[2025-01-09 16:48:01] Production.INFO: ==23389== Releasing lock...
[2025-01-09 16:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:48:02] Production.INFO: ==23394== Lock acquired, processing the job...
[2025-01-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:48:02] Production.INFO: ==23394== Releasing lock...
[2025-01-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:48:02] Production.INFO: ==23392== Lock acquired, processing the job...
[2025-01-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:48:02] Production.INFO: ==23392== Releasing lock...
[2025-01-09 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:48:03] Production.INFO: ==23400== Lock acquired, processing the job...
[2025-01-09 11:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:48:03] Production.INFO: ==23406== Lock acquired, processing the job...
[2025-01-09 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:48:03] Production.INFO: ==23396== Lock acquired, processing the job...
[2025-01-09 11:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:48:03] Production.INFO: ==23398== Lock acquired, processing the job...
[2025-01-09 11:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:48:03] Production.INFO: count ==21
[2025-01-09 11:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:48:03] Production.INFO: count ==21
[2025-01-09 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209369') start
[2025-01-09 11:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:48:03] Production.INFO: ==23402== Lock acquired, processing the job...
[2025-01-09 11:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:48:03] Production.INFO: ==23404== Lock acquired, processing the job...
[2025-01-09 11:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209369') end
[2025-01-09 11:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:48:03] Production.INFO: 1
[2025-01-09 11:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:48:03] Production.INFO: ==23406== Releasing lock...
[2025-01-09 11:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:48:03] Production.INFO: Account Balance Start.
[2025-01-09 11:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:48:03] Production.INFO: 117
[2025-01-09 11:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:48:04] Production.INFO: ==23398== Releasing lock...
[2025-01-09 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:48:04] Production.ERROR: done
[2025-01-09 11:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:48:04] Production.INFO: Total Charge 0
[2025-01-09 11:48:04] Production.ERROR: done
[2025-01-09 11:48:04] Production.INFO: CreateAllLog End
[2025-01-09 11:48:04] Production.INFO: Account Balance End.
[2025-01-09 11:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:48:04] Production.INFO: ==23402== Releasing lock...
[2025-01-09 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:48:05
[end_date_ymd] => 2025-01-09 11:48:05
[RateCDR] => 1
)
[2025-01-09 11:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:48:05' and `end` < '2025-01-09 11:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:48:10] Production.ERROR: CronJobId end10
[2025-01-09 11:48:10] Production.INFO: ==23400== Releasing lock...
[2025-01-09 11:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:48:13] Production.INFO: call_cost start
[2025-01-09 11:48:13] Production.INFO: call_cost end
[2025-01-09 11:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:48:13] Production.INFO: ==23396== Releasing lock...
[2025-01-09 11:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:48:28] Production.INFO: count ==4500
[2025-01-09 11:48:30] Production.ERROR: pbx CDR StartTime 2025-01-09 08:48:05 - End Time 2025-01-09 11:48:05
[2025-01-09 11:48:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209373', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209373', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209373', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:48:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209373', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:48:30] Production.INFO: ProcessCDR(1,14209373,1,1,2)
[2025-01-09 11:48:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:48:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:48:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:48:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:48:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209373', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:48:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209373', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:48:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:48:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:48:35] Production.INFO: ==23404== Releasing lock...
[2025-01-09 11:48:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:48:35] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 16:49:02] Production.INFO: ==23473== Lock acquired, processing the job...
[2025-01-09 16:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:49:02] Production.INFO: neon service started
[2025-01-09 16:49:02] Production.INFO: neon service started
[2025-01-09 16:49:02] Production.INFO: ==23473== Releasing lock...
[2025-01-09 16:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:49:02] Production.INFO: ==23475== Lock acquired, processing the job...
[2025-01-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:49:02] Production.INFO: ==23477== Lock acquired, processing the job...
[2025-01-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 11:49:02] Production.INFO: ==23475== Releasing lock...
[2025-01-09 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:49:02] Production.INFO: ==23477== Releasing lock...
[2025-01-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:49:03] Production.INFO: ==23479== Lock acquired, processing the job...
[2025-01-09 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:49:03] Production.INFO: ==23485== Lock acquired, processing the job...
[2025-01-09 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:49:03] Production.INFO: ==23481== Lock acquired, processing the job...
[2025-01-09 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:49:03] Production.INFO: ==23483== Lock acquired, processing the job...
[2025-01-09 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:49:03] Production.INFO: Account Balance Start.
[2025-01-09 11:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:49:03] Production.INFO: 117
[2025-01-09 11:49:03] Production.INFO: ==23489== Lock acquired, processing the job...
[2025-01-09 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:49:03] Production.INFO: Total Charge 0
[2025-01-09 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:49:03] Production.INFO: ==23487== Lock acquired, processing the job...
[2025-01-09 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:49:03] Production.INFO: count ==21
[2025-01-09 11:49:03] Production.INFO: CreateAllLog End
[2025-01-09 11:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:49:03] Production.INFO: count ==21
[2025-01-09 11:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209377') start
[2025-01-09 11:49:04] Production.INFO: ==23481== Releasing lock...
[2025-01-09 11:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209377') end
[2025-01-09 11:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:49:04] Production.INFO: 1
[2025-01-09 11:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:49:04] Production.INFO: Account Balance End.
[2025-01-09 11:49:04] Production.INFO: ==23489== Releasing lock...
[2025-01-09 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:49:04] Production.INFO: ==23485== Releasing lock...
[2025-01-09 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:49:04] Production.ERROR: done
[2025-01-09 11:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:49:04] Production.ERROR: done
[2025-01-09 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:49:05
[end_date_ymd] => 2025-01-09 11:49:05
[RateCDR] => 1
)
[2025-01-09 11:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:49:05' and `end` < '2025-01-09 11:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:49:11] Production.ERROR: CronJobId end10
[2025-01-09 11:49:11] Production.INFO: ==23483== Releasing lock...
[2025-01-09 11:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:49:13] Production.INFO: call_cost start
[2025-01-09 11:49:13] Production.INFO: call_cost end
[2025-01-09 11:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:49:13] Production.INFO: ==23479== Releasing lock...
[2025-01-09 11:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:49:23] Production.INFO: count ==4519
[2025-01-09 11:49:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:49:05 - End Time 2025-01-09 11:49:05
[2025-01-09 11:49:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209378', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209378', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209378', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:49:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209378', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:49:25] Production.INFO: ProcessCDR(1,14209378,1,1,2)
[2025-01-09 11:49:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:49:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:49:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:49:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209378', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:49:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209378', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:49:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:49:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:49:29] Production.INFO: ==23487== Releasing lock...
[2025-01-09 11:49:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:49:29] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 16:50:01] Production.INFO: ==23553== Lock acquired, processing the job...
[2025-01-09 16:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:50:01] Production.INFO: neon service started
[2025-01-09 16:50:01] Production.INFO: neon service started
[2025-01-09 16:50:01] Production.INFO: ==23553== Releasing lock...
[2025-01-09 16:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:50:01] Production.INFO: ==23557== Lock acquired, processing the job...
[2025-01-09 16:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:50:01] Production.INFO: ==23557== Releasing lock...
[2025-01-09 16:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:50:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:50:02] Production.INFO: ==23555== Lock acquired, processing the job...
[2025-01-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:50:02] Production.INFO: ==23555== Releasing lock...
[2025-01-09 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:50:03] Production.INFO: ==23562== Lock acquired, processing the job...
[2025-01-09 11:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:50:03] Production.INFO: ==23568== Lock acquired, processing the job...
[2025-01-09 11:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:50:03] Production.INFO: Account Balance Start.
[2025-01-09 11:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:50:03] Production.INFO: 117
[2025-01-09 11:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:50:03] Production.INFO: ==23574== Lock acquired, processing the job...
[2025-01-09 11:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:50:03] Production.INFO: ==23560== Lock acquired, processing the job...
[2025-01-09 11:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 11:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:50:03] Production.INFO: count ==21
[2025-01-09 11:50:03] Production.INFO: Total Charge 0
[2025-01-09 11:50:03] Production.INFO: CreateAllLog End
[2025-01-09 11:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:50:03] Production.INFO: count ==21
[2025-01-09 11:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209381') start
[2025-01-09 11:50:04] Production.INFO: ==23564== Lock acquired, processing the job...
[2025-01-09 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 11:50:04] Production.INFO: ==23566== Lock acquired, processing the job...
[2025-01-09 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:50:04] Production.ERROR: CronJob PID - 23562
[2025-01-09 11:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 11:50:04] Production.ERROR: CronJob ID - 5
[2025-01-09 11:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 11:50:00
[2025-01-09 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:50:04] Production.ERROR: CronJob PID - 23568
[2025-01-09 11:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 11:50:04] Production.ERROR: CronJob ID - 12
[2025-01-09 11:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 11:50:00
[2025-01-09 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 11:50:04] Production.ERROR: CronJob PID - 23574
[2025-01-09 11:50:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 11:50:04] Production.ERROR: CronJob ID - 19
[2025-01-09 11:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 11:50:00
[2025-01-09 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 11:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 11:50:04] Production.INFO: ==23560== Releasing lock...
[2025-01-09 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 11:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 11:50:04] Production.INFO: ==23570== Lock acquired, processing the job...
[2025-01-09 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:50:04] Production.INFO: ==23572== Lock acquired, processing the job...
[2025-01-09 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209381') end
[2025-01-09 11:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:50:04] Production.INFO: 1
[2025-01-09 11:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:50:04] Production.INFO: ==23574== Releasing lock...
[2025-01-09 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:50:04] Production.INFO: Account Balance End.
[2025-01-09 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:50:04] Production.INFO: ==23568== Releasing lock...
[2025-01-09 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:50:04] Production.INFO: ==23564== Releasing lock...
[2025-01-09 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:50:04] Production.ERROR: done
[2025-01-09 11:50:04] Production.ERROR: done
[2025-01-09 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 11:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209383', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 11:50:04] Production.ERROR: done
[2025-01-09 11:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:50:06
[end_date_ymd] => 2025-01-09 11:50:06
[RateCDR] => 1
)
[2025-01-09 11:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:50:06' and `end` < '2025-01-09 11:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209383', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 11:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 11:50:09] Production.INFO: ProcessCDR(1,14209383,1,1,2)
[2025-01-09 11:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209383,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209383,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:50:09] Production.INFO: ==23572== Releasing lock...
[2025-01-09 11:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 11:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 11:50:13] Production.ERROR: CronJobId end10
[2025-01-09 11:50:13] Production.INFO: ==23566== Releasing lock...
[2025-01-09 11:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:50:15] Production.INFO: call_cost start
[2025-01-09 11:50:15] Production.INFO: call_cost end
[2025-01-09 11:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:50:16] Production.INFO: ==23562== Releasing lock...
[2025-01-09 11:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:50:25] Production.INFO: count ==4522
[2025-01-09 11:50:27] Production.ERROR: pbx CDR StartTime 2025-01-09 08:50:06 - End Time 2025-01-09 11:50:06
[2025-01-09 11:50:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:50:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209384', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:50:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209384', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:50:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209384', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:50:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209384', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:50:27] Production.INFO: ProcessCDR(1,14209384,1,1,2)
[2025-01-09 11:50:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:50:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:50:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:50:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:50:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209384', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:50:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209384', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:50:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:50:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:50:31] Production.INFO: ==23570== Releasing lock...
[2025-01-09 11:50:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:50:31] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 16:51:01] Production.INFO: ==23640== Lock acquired, processing the job...
[2025-01-09 16:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:51:02] Production.INFO: neon service started
[2025-01-09 16:51:02] Production.INFO: neon service started
[2025-01-09 16:51:02] Production.INFO: ==23640== Releasing lock...
[2025-01-09 16:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:51:02] Production.INFO: ==23642== Lock acquired, processing the job...
[2025-01-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:51:02] Production.INFO: ==23642== Releasing lock...
[2025-01-09 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:51:02] Production.INFO: ==23644== Lock acquired, processing the job...
[2025-01-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:51:02] Production.INFO: ==23644== Releasing lock...
[2025-01-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:51:03] Production.INFO: ==23647== Lock acquired, processing the job...
[2025-01-09 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:51:03] Production.INFO: ==23653== Lock acquired, processing the job...
[2025-01-09 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:51:03] Production.INFO: ==23655== Lock acquired, processing the job...
[2025-01-09 11:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:51:03] Production.INFO: Account Balance Start.
[2025-01-09 11:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:51:03] Production.INFO: 117
[2025-01-09 11:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:51:03] Production.INFO: ==23649== Lock acquired, processing the job...
[2025-01-09 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:51:03] Production.INFO: ==23651== Lock acquired, processing the job...
[2025-01-09 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:51:03] Production.INFO: Total Charge 0
[2025-01-09 11:51:03] Production.INFO: ==23657== Lock acquired, processing the job...
[2025-01-09 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:51:03] Production.INFO: CreateAllLog End
[2025-01-09 11:51:03] Production.INFO: Account Balance End.
[2025-01-09 11:51:03] Production.ERROR: done
[2025-01-09 11:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:51:03] Production.INFO: ==23653== Releasing lock...
[2025-01-09 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:51:03] Production.INFO: count ==21
[2025-01-09 11:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:51:03] Production.INFO: count ==21
[2025-01-09 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209387') start
[2025-01-09 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209387') end
[2025-01-09 11:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:51:03] Production.INFO: 1
[2025-01-09 11:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:51:03] Production.ERROR: done
[2025-01-09 11:51:03] Production.INFO: ==23657== Releasing lock...
[2025-01-09 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:51:03] Production.INFO: ==23649== Releasing lock...
[2025-01-09 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:51:04
[end_date_ymd] => 2025-01-09 11:51:04
[RateCDR] => 1
)
[2025-01-09 11:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:51:04' and `end` < '2025-01-09 11:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:51:11] Production.ERROR: CronJobId end10
[2025-01-09 11:51:11] Production.INFO: ==23651== Releasing lock...
[2025-01-09 11:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:51:12] Production.INFO: call_cost start
[2025-01-09 11:51:12] Production.INFO: call_cost end
[2025-01-09 11:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:51:13] Production.INFO: ==23647== Releasing lock...
[2025-01-09 11:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:51:20] Production.INFO: count ==4565
[2025-01-09 11:51:22] Production.ERROR: pbx CDR StartTime 2025-01-09 08:51:04 - End Time 2025-01-09 11:51:04
[2025-01-09 11:51:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209389', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209389', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209389', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:51:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209389', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:51:22] Production.INFO: ProcessCDR(1,14209389,1,1,2)
[2025-01-09 11:51:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:51:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209389', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:51:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209389', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:51:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:51:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:51:27] Production.INFO: ==23655== Releasing lock...
[2025-01-09 11:51:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:51:27] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 16:52:01] Production.INFO: ==23718== Lock acquired, processing the job...
[2025-01-09 16:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:52:01] Production.INFO: neon service started
[2025-01-09 16:52:01] Production.INFO: neon service started
[2025-01-09 16:52:01] Production.INFO: ==23718== Releasing lock...
[2025-01-09 16:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:52:02] Production.INFO: ==23720== Lock acquired, processing the job...
[2025-01-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:52:02] Production.INFO: ==23722== Lock acquired, processing the job...
[2025-01-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:52:02] Production.INFO: ==23722== Releasing lock...
[2025-01-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:52:02] Production.INFO: ==23720== Releasing lock...
[2025-01-09 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:52:03] Production.INFO: ==23729== Lock acquired, processing the job...
[2025-01-09 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:52:03] Production.INFO: ==23725== Lock acquired, processing the job...
[2025-01-09 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:52:03] Production.INFO: ==23735== Lock acquired, processing the job...
[2025-01-09 11:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:52:03] Production.INFO: ==23727== Lock acquired, processing the job...
[2025-01-09 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:52:03] Production.INFO: count ==21
[2025-01-09 11:52:03] Production.INFO: ==23731== Lock acquired, processing the job...
[2025-01-09 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:52:03] Production.INFO: ==23733== Lock acquired, processing the job...
[2025-01-09 11:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:52:03] Production.INFO: count ==21
[2025-01-09 11:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209390') start
[2025-01-09 11:52:03] Production.INFO: Account Balance Start.
[2025-01-09 11:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:52:03] Production.INFO: 117
[2025-01-09 11:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209390') end
[2025-01-09 11:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:52:03] Production.INFO: 1
[2025-01-09 11:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:52:04] Production.INFO: ==23727== Releasing lock...
[2025-01-09 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:52:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:52:04] Production.INFO: ==23735== Releasing lock...
[2025-01-09 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:52:04] Production.ERROR: done
[2025-01-09 11:52:04] Production.INFO: Total Charge 0
[2025-01-09 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:52:04] Production.INFO: CreateAllLog End
[2025-01-09 11:52:04] Production.ERROR: done
[2025-01-09 11:52:04] Production.INFO: Account Balance End.
[2025-01-09 11:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:52:04] Production.INFO: ==23731== Releasing lock...
[2025-01-09 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:52:05
[end_date_ymd] => 2025-01-09 11:52:05
[RateCDR] => 1
)
[2025-01-09 11:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:52:05' and `end` < '2025-01-09 11:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:52:11] Production.ERROR: CronJobId end10
[2025-01-09 11:52:11] Production.INFO: ==23729== Releasing lock...
[2025-01-09 11:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:52:12] Production.INFO: call_cost start
[2025-01-09 11:52:12] Production.INFO: call_cost end
[2025-01-09 11:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:52:13] Production.INFO: ==23725== Releasing lock...
[2025-01-09 11:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:52:20] Production.INFO: count ==4573
[2025-01-09 11:52:22] Production.ERROR: pbx CDR StartTime 2025-01-09 08:52:05 - End Time 2025-01-09 11:52:05
[2025-01-09 11:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209394', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209394', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209394', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:52:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209394', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:52:23] Production.INFO: ProcessCDR(1,14209394,1,1,2)
[2025-01-09 11:52:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:52:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209394,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:52:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:52:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209394,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:52:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209394', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:52:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209394', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:52:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:52:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:52:28] Production.INFO: ==23733== Releasing lock...
[2025-01-09 11:52:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:52:28] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 16:53:01] Production.INFO: ==23798== Lock acquired, processing the job...
[2025-01-09 16:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:53:01] Production.INFO: neon service started
[2025-01-09 16:53:01] Production.INFO: neon service started
[2025-01-09 16:53:01] Production.INFO: ==23798== Releasing lock...
[2025-01-09 16:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:53:02] Production.INFO: ==23800== Lock acquired, processing the job...
[2025-01-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:53:02] Production.INFO: ==23802== Lock acquired, processing the job...
[2025-01-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:53:02] Production.INFO: ==23802== Releasing lock...
[2025-01-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:53:02] Production.INFO: ==23800== Releasing lock...
[2025-01-09 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:53:03] Production.INFO: ==23809== Lock acquired, processing the job...
[2025-01-09 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:53:03] Production.INFO: ==23807== Lock acquired, processing the job...
[2025-01-09 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:53:03] Production.INFO: ==23805== Lock acquired, processing the job...
[2025-01-09 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:53:03] Production.INFO: ==23811== Lock acquired, processing the job...
[2025-01-09 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:53:03] Production.INFO: ==23813== Lock acquired, processing the job...
[2025-01-09 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:53:03] Production.INFO: ==23815== Lock acquired, processing the job...
[2025-01-09 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:53:03] Production.INFO: Account Balance Start.
[2025-01-09 11:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:53:03] Production.INFO: 117
[2025-01-09 11:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:53:03] Production.INFO: count ==21
[2025-01-09 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:53:04] Production.INFO: ==23807== Releasing lock...
[2025-01-09 11:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:53:04] Production.INFO: count ==21
[2025-01-09 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209397') start
[2025-01-09 11:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:53:04] Production.INFO: Total Charge 0
[2025-01-09 11:53:04] Production.INFO: CreateAllLog End
[2025-01-09 11:53:04] Production.ERROR: done
[2025-01-09 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209397') end
[2025-01-09 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:53:04] Production.INFO: 1
[2025-01-09 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:53:04] Production.INFO: ==23815== Releasing lock...
[2025-01-09 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:53:04] Production.ERROR: done
[2025-01-09 11:53:04] Production.INFO: Account Balance End.
[2025-01-09 11:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:53:04] Production.INFO: ==23811== Releasing lock...
[2025-01-09 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:53:05
[end_date_ymd] => 2025-01-09 11:53:05
[RateCDR] => 1
)
[2025-01-09 11:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:53:05' and `end` < '2025-01-09 11:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:53:10] Production.ERROR: CronJobId end10
[2025-01-09 11:53:10] Production.INFO: ==23809== Releasing lock...
[2025-01-09 11:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:53:12] Production.INFO: call_cost start
[2025-01-09 11:53:12] Production.INFO: call_cost end
[2025-01-09 11:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:53:13] Production.INFO: ==23805== Releasing lock...
[2025-01-09 11:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:53:24] Production.INFO: count ==4584
[2025-01-09 11:53:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:53:05 - End Time 2025-01-09 11:53:05
[2025-01-09 11:53:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209399', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209399', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209399', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:53:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209399', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:53:25] Production.INFO: ProcessCDR(1,14209399,1,1,2)
[2025-01-09 11:53:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:53:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209399,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:53:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:53:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209399,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:53:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209399', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:53:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209399', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:53:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:53:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:53:30] Production.INFO: ==23813== Releasing lock...
[2025-01-09 11:53:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:53:30] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 16:54:02] Production.INFO: ==23886== Lock acquired, processing the job...
[2025-01-09 16:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:54:02] Production.INFO: neon service started
[2025-01-09 16:54:02] Production.INFO: neon service started
[2025-01-09 16:54:02] Production.INFO: ==23886== Releasing lock...
[2025-01-09 16:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:54:02] Production.INFO: ==23889== Lock acquired, processing the job...
[2025-01-09 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:54:02] Production.INFO: ==23891== Lock acquired, processing the job...
[2025-01-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:54:03] Production.INFO: ==23891== Releasing lock...
[2025-01-09 16:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:54:03] Production.INFO: ==23889== Releasing lock...
[2025-01-09 11:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:54:03] Production.INFO: ==23894== Lock acquired, processing the job...
[2025-01-09 11:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:54:03] Production.INFO: ==23896== Lock acquired, processing the job...
[2025-01-09 11:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:54:04] Production.INFO: ==23902== Lock acquired, processing the job...
[2025-01-09 11:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:54:04] Production.INFO: ==23898== Lock acquired, processing the job...
[2025-01-09 11:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:54:04] Production.INFO: ==23900== Lock acquired, processing the job...
[2025-01-09 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:54:04] Production.INFO: ==23904== Lock acquired, processing the job...
[2025-01-09 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:54:04] Production.ERROR: done
[2025-01-09 11:54:04] Production.INFO: Account Balance Start.
[2025-01-09 11:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:54:04] Production.INFO: 117
[2025-01-09 11:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:54:04] Production.INFO: ==23896== Releasing lock...
[2025-01-09 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:54:04] Production.INFO: count ==21
[2025-01-09 11:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:54:04] Production.INFO: count ==21
[2025-01-09 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209403') start
[2025-01-09 11:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:54:04] Production.ERROR: done
[2025-01-09 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209403') end
[2025-01-09 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:54:04] Production.INFO: 1
[2025-01-09 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:54:04] Production.INFO: Total Charge 0
[2025-01-09 11:54:04] Production.INFO: CreateAllLog End
[2025-01-09 11:54:04] Production.INFO: ==23904== Releasing lock...
[2025-01-09 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:54:04] Production.INFO: Account Balance End.
[2025-01-09 11:54:05] Production.ERROR: CronJobId end 12
[2025-01-09 11:54:05] Production.INFO: ==23900== Releasing lock...
[2025-01-09 11:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:54:05
[end_date_ymd] => 2025-01-09 11:54:05
[RateCDR] => 1
)
[2025-01-09 11:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:54:05' and `end` < '2025-01-09 11:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:54:11] Production.ERROR: CronJobId end10
[2025-01-09 11:54:11] Production.INFO: ==23898== Releasing lock...
[2025-01-09 11:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:54:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:54:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:54:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:54:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:54:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:54:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:54:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:54:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:54:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:54:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:54:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:54:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:54:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:54:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:54:11] Production.INFO: call_cost start
[2025-01-09 11:54:11] Production.INFO: call_cost end
[2025-01-09 11:54:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:54:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:54:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:54:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:54:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:54:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:54:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:54:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:54:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:54:12] Production.INFO: ==23894== Releasing lock...
[2025-01-09 11:54:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:54:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:54:26] Production.INFO: count ==4590
[2025-01-09 11:54:28] Production.ERROR: pbx CDR StartTime 2025-01-09 08:54:05 - End Time 2025-01-09 11:54:05
[2025-01-09 11:54:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209404', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209404', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209404', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:54:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209404', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:54:28] Production.INFO: ProcessCDR(1,14209404,1,1,2)
[2025-01-09 11:54:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:54:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:54:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:54:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:54:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209404', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:54:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209404', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:54:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:54:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:54:33] Production.INFO: ==23902== Releasing lock...
[2025-01-09 11:54:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:54:33] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 16:55:01] Production.INFO: ==23966== Lock acquired, processing the job...
[2025-01-09 16:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:55:01] Production.INFO: neon service started
[2025-01-09 16:55:01] Production.INFO: neon service started
[2025-01-09 16:55:01] Production.INFO: ==23966== Releasing lock...
[2025-01-09 16:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:55:02] Production.INFO: ==23970== Lock acquired, processing the job...
[2025-01-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:55:02] Production.INFO: ==23970== Releasing lock...
[2025-01-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:55:02] Production.INFO: ==23968== Lock acquired, processing the job...
[2025-01-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:55:02] Production.INFO: ==23968== Releasing lock...
[2025-01-09 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:55:03] Production.INFO: ==23976== Lock acquired, processing the job...
[2025-01-09 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:55:03] Production.INFO: ==23972== Lock acquired, processing the job...
[2025-01-09 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:55:03] Production.INFO: ==23983== Lock acquired, processing the job...
[2025-01-09 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:55:03] Production.INFO: ==23974== Lock acquired, processing the job...
[2025-01-09 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:55:03] Production.INFO: count ==21
[2025-01-09 11:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:55:03] Production.INFO: ==23978== Lock acquired, processing the job...
[2025-01-09 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:55:03] Production.INFO: count ==21
[2025-01-09 11:55:03] Production.INFO: ==23981== Lock acquired, processing the job...
[2025-01-09 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209405') start
[2025-01-09 11:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:55:03] Production.INFO: Account Balance Start.
[2025-01-09 11:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:55:03] Production.INFO: 117
[2025-01-09 11:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209405') end
[2025-01-09 11:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:55:03] Production.INFO: 1
[2025-01-09 11:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:55:04] Production.INFO: ==23983== Releasing lock...
[2025-01-09 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:55:04] Production.INFO: ==23974== Releasing lock...
[2025-01-09 11:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:55:04] Production.ERROR: done
[2025-01-09 11:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:55:04] Production.INFO: Total Charge 0
[2025-01-09 11:55:04] Production.ERROR: done
[2025-01-09 11:55:04] Production.INFO: CreateAllLog End
[2025-01-09 11:55:04] Production.INFO: Account Balance End.
[2025-01-09 11:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:55:04] Production.INFO: ==23978== Releasing lock...
[2025-01-09 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:55:05
[end_date_ymd] => 2025-01-09 11:55:05
[RateCDR] => 1
)
[2025-01-09 11:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:55:05' and `end` < '2025-01-09 11:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:55:12] Production.ERROR: CronJobId end10
[2025-01-09 11:55:12] Production.INFO: ==23976== Releasing lock...
[2025-01-09 11:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:55:13] Production.INFO: call_cost start
[2025-01-09 11:55:13] Production.INFO: call_cost end
[2025-01-09 11:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:55:14] Production.INFO: ==23972== Releasing lock...
[2025-01-09 11:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:55:24] Production.INFO: count ==4592
[2025-01-09 11:55:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:55:05 - End Time 2025-01-09 11:55:05
[2025-01-09 11:55:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209409', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209409', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209409', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:55:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209409', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:55:26] Production.INFO: ProcessCDR(1,14209409,1,1,2)
[2025-01-09 11:55:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:55:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:55:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:55:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209409', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:55:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209409', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:55:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:55:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:55:31] Production.INFO: ==23981== Releasing lock...
[2025-01-09 11:55:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:55:31] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 16:56:02] Production.INFO: ==24048== Lock acquired, processing the job...
[2025-01-09 16:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:56:02] Production.INFO: neon service started
[2025-01-09 16:56:02] Production.INFO: neon service started
[2025-01-09 16:56:02] Production.INFO: ==24048== Releasing lock...
[2025-01-09 16:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:56:02] Production.INFO: ==24050== Lock acquired, processing the job...
[2025-01-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 11:56:02] Production.INFO: ==24050== Releasing lock...
[2025-01-09 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:56:03] Production.INFO: ==24052== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:56:03] Production.INFO: ==24052== Releasing lock...
[2025-01-09 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:56:03] Production.INFO: ==24058== Lock acquired, processing the job...
[2025-01-09 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:56:03] Production.INFO: ==24065== Lock acquired, processing the job...
[2025-01-09 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:56:03] Production.INFO: ==24054== Lock acquired, processing the job...
[2025-01-09 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:56:03] Production.INFO: ==24056== Lock acquired, processing the job...
[2025-01-09 11:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:56:03] Production.INFO: ==24063== Lock acquired, processing the job...
[2025-01-09 11:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:56:03] Production.INFO: ==24060== Lock acquired, processing the job...
[2025-01-09 11:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:56:03] Production.INFO: count ==21
[2025-01-09 11:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:56:03] Production.INFO: count ==21
[2025-01-09 11:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209410') start
[2025-01-09 11:56:04] Production.INFO: Account Balance Start.
[2025-01-09 11:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:56:04] Production.INFO: 117
[2025-01-09 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209410') end
[2025-01-09 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:56:04] Production.INFO: 1
[2025-01-09 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:56:04] Production.INFO: ==24065== Releasing lock...
[2025-01-09 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:56:04] Production.INFO: ==24056== Releasing lock...
[2025-01-09 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:56:04] Production.ERROR: done
[2025-01-09 11:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:56:04] Production.ERROR: done
[2025-01-09 11:56:04] Production.INFO: Total Charge 0
[2025-01-09 11:56:04] Production.INFO: CreateAllLog End
[2025-01-09 11:56:04] Production.INFO: Account Balance End.
[2025-01-09 11:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:56:04] Production.INFO: ==24060== Releasing lock...
[2025-01-09 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:56:05
[end_date_ymd] => 2025-01-09 11:56:05
[RateCDR] => 1
)
[2025-01-09 11:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:56:05' and `end` < '2025-01-09 11:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:56:10] Production.ERROR: CronJobId end10
[2025-01-09 11:56:10] Production.INFO: ==24058== Releasing lock...
[2025-01-09 11:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:56:13] Production.INFO: call_cost start
[2025-01-09 11:56:13] Production.INFO: call_cost end
[2025-01-09 11:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:56:14] Production.INFO: ==24054== Releasing lock...
[2025-01-09 11:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:56:20] Production.INFO: count ==4589
[2025-01-09 11:56:22] Production.ERROR: pbx CDR StartTime 2025-01-09 08:56:05 - End Time 2025-01-09 11:56:05
[2025-01-09 11:56:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209414', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209414', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209414', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:56:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209414', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:56:22] Production.INFO: ProcessCDR(1,14209414,1,1,2)
[2025-01-09 11:56:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209414', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:56:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209414', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:56:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:56:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:56:27] Production.INFO: ==24063== Releasing lock...
[2025-01-09 11:56:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:56:27] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 16:57:01] Production.INFO: ==24130== Lock acquired, processing the job...
[2025-01-09 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:57:01] Production.INFO: neon service started
[2025-01-09 16:57:01] Production.INFO: neon service started
[2025-01-09 16:57:01] Production.INFO: ==24130== Releasing lock...
[2025-01-09 16:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:57:02] Production.INFO: ==24132== Lock acquired, processing the job...
[2025-01-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:57:02] Production.INFO: ==24134== Lock acquired, processing the job...
[2025-01-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:57:02] Production.INFO: ==24134== Releasing lock...
[2025-01-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:57:02] Production.INFO: ==24132== Releasing lock...
[2025-01-09 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:57:03] Production.INFO: ==24141== Lock acquired, processing the job...
[2025-01-09 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:57:03] Production.INFO: ==24137== Lock acquired, processing the job...
[2025-01-09 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:57:03] Production.INFO: ==24147== Lock acquired, processing the job...
[2025-01-09 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:57:03] Production.INFO: ==24139== Lock acquired, processing the job...
[2025-01-09 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:57:03] Production.INFO: ==24143== Lock acquired, processing the job...
[2025-01-09 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:57:03] Production.INFO: ==24145== Lock acquired, processing the job...
[2025-01-09 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:57:03] Production.INFO: count ==21
[2025-01-09 11:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:57:03] Production.INFO: count ==21
[2025-01-09 11:57:03] Production.INFO: Account Balance Start.
[2025-01-09 11:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:57:03] Production.INFO: 117
[2025-01-09 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209417') start
[2025-01-09 11:57:03] Production.INFO: ==24139== Releasing lock...
[2025-01-09 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:57:04] Production.ERROR: done
[2025-01-09 11:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209417') end
[2025-01-09 11:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:57:04] Production.INFO: 1
[2025-01-09 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:57:04] Production.INFO: ==24147== Releasing lock...
[2025-01-09 11:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:57:04] Production.ERROR: done
[2025-01-09 11:57:04] Production.INFO: Total Charge 0
[2025-01-09 11:57:04] Production.INFO: CreateAllLog End
[2025-01-09 11:57:04] Production.INFO: Account Balance End.
[2025-01-09 11:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:57:04] Production.INFO: ==24143== Releasing lock...
[2025-01-09 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:57:05
[end_date_ymd] => 2025-01-09 11:57:05
[RateCDR] => 1
)
[2025-01-09 11:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:57:05' and `end` < '2025-01-09 11:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:57:10] Production.ERROR: CronJobId end10
[2025-01-09 11:57:10] Production.INFO: ==24141== Releasing lock...
[2025-01-09 11:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:57:13] Production.INFO: call_cost start
[2025-01-09 11:57:13] Production.INFO: call_cost end
[2025-01-09 11:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:57:14] Production.INFO: ==24137== Releasing lock...
[2025-01-09 11:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:57:36] Production.INFO: count ==4601
[2025-01-09 11:57:38] Production.ERROR: pbx CDR StartTime 2025-01-09 08:57:05 - End Time 2025-01-09 11:57:05
[2025-01-09 11:57:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209419', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209419', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209419', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:57:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209419', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:57:38] Production.INFO: ProcessCDR(1,14209419,1,1,2)
[2025-01-09 11:57:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:57:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:57:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:57:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:57:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209419', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:57:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209419', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:57:47] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:57:47] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:57:47] Production.INFO: ==24145== Releasing lock...
[2025-01-09 11:57:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:57:47] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 16:58:01] Production.INFO: ==24216== Lock acquired, processing the job...
[2025-01-09 16:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:58:02] Production.INFO: neon service started
[2025-01-09 16:58:02] Production.INFO: neon service started
[2025-01-09 16:58:02] Production.INFO: ==24216== Releasing lock...
[2025-01-09 16:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:58:02] Production.INFO: ==24218== Lock acquired, processing the job...
[2025-01-09 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:58:02] Production.INFO: ==24220== Lock acquired, processing the job...
[2025-01-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:58:02] Production.INFO: ==24220== Releasing lock...
[2025-01-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:58:03] Production.INFO: ==24218== Releasing lock...
[2025-01-09 11:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:58:03] Production.INFO: ==24223== Lock acquired, processing the job...
[2025-01-09 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:58:03] Production.INFO: ==24227== Lock acquired, processing the job...
[2025-01-09 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:58:03] Production.INFO: ==24225== Lock acquired, processing the job...
[2025-01-09 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:58:04] Production.INFO: ==24229== Lock acquired, processing the job...
[2025-01-09 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:58:04] Production.INFO: ==24231== Lock acquired, processing the job...
[2025-01-09 11:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:58:04] Production.INFO: ==24233== Lock acquired, processing the job...
[2025-01-09 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:58:04] Production.INFO: Account Balance Start.
[2025-01-09 11:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 11:58:04] Production.INFO: 117
[2025-01-09 11:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 11:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:58:04] Production.INFO: Total Charge 0
[2025-01-09 11:58:04] Production.INFO: count ==21
[2025-01-09 11:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:58:04] Production.INFO: count ==21
[2025-01-09 11:58:04] Production.INFO: ==24225== Releasing lock...
[2025-01-09 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:58:04] Production.INFO: CreateAllLog End
[2025-01-09 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209423') start
[2025-01-09 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209423') end
[2025-01-09 11:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:58:04] Production.INFO: 1
[2025-01-09 11:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:58:04] Production.ERROR: done
[2025-01-09 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:58:04] Production.INFO: Account Balance End.
[2025-01-09 11:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 11:58:04] Production.INFO: ==24229== Releasing lock...
[2025-01-09 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:58:04] Production.INFO: ==24233== Releasing lock...
[2025-01-09 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:58:04] Production.ERROR: done
[2025-01-09 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:58:05
[end_date_ymd] => 2025-01-09 11:58:05
[RateCDR] => 1
)
[2025-01-09 11:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:58:05' and `end` < '2025-01-09 11:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:58:12] Production.ERROR: CronJobId end10
[2025-01-09 11:58:12] Production.INFO: ==24227== Releasing lock...
[2025-01-09 11:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:58:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:58:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:58:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:58:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:58:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:58:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:58:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:58:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:58:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:58:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:58:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:58:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:58:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:58:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:58:14] Production.INFO: call_cost start
[2025-01-09 11:58:14] Production.INFO: call_cost end
[2025-01-09 11:58:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:58:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:58:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:58:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:58:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:58:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:58:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:58:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:58:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:58:15] Production.INFO: ==24223== Releasing lock...
[2025-01-09 11:58:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:58:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:58:24] Production.INFO: count ==4617
[2025-01-09 11:58:26] Production.ERROR: pbx CDR StartTime 2025-01-09 08:58:05 - End Time 2025-01-09 11:58:05
[2025-01-09 11:58:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209424', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209424', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209424', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:58:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209424', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:58:26] Production.INFO: ProcessCDR(1,14209424,1,1,2)
[2025-01-09 11:58:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:58:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:58:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:58:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:58:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209424', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:58:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209424', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:58:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:58:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:58:31] Production.INFO: ==24231== Releasing lock...
[2025-01-09 11:58:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:58:31] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 16:59:01] Production.INFO: ==24299== Lock acquired, processing the job...
[2025-01-09 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 16:59:01] Production.INFO: neon service started
[2025-01-09 16:59:01] Production.INFO: neon service started
[2025-01-09 16:59:01] Production.INFO: ==24299== Releasing lock...
[2025-01-09 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 11:59:02] Production.INFO: ==24302== Lock acquired, processing the job...
[2025-01-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:59:02] Production.INFO: ==24304== Lock acquired, processing the job...
[2025-01-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:59:02] Production.INFO: ==24304== Releasing lock...
[2025-01-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 11:59:02] Production.INFO: ==24302== Releasing lock...
[2025-01-09 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 11:59:03] Production.INFO: ==24306== Lock acquired, processing the job...
[2025-01-09 11:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 11:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 11:59:03] Production.INFO: ==24308== Lock acquired, processing the job...
[2025-01-09 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 11:59:03] Production.INFO: ==24312== Lock acquired, processing the job...
[2025-01-09 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 11:59:03] Production.INFO: Account Balance Start.
[2025-01-09 11:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 11:59:03] Production.INFO: 117
[2025-01-09 11:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 11:59:03] Production.INFO: ==24310== Lock acquired, processing the job...
[2025-01-09 11:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 11:59:03] Production.INFO: Total Charge 0
[2025-01-09 11:59:03] Production.INFO: CreateAllLog End
[2025-01-09 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 11:59:03] Production.INFO: ==24314== Lock acquired, processing the job...
[2025-01-09 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 11:59:03] Production.INFO: ==24316== Lock acquired, processing the job...
[2025-01-09 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 11:59:03] Production.INFO: ==24308== Releasing lock...
[2025-01-09 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 11:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 11:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 11:59:03] Production.INFO: Account Balance End.
[2025-01-09 11:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 11:59:03] Production.INFO: ==24312== Releasing lock...
[2025-01-09 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 11:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 11:59:03] Production.INFO: count ==21
[2025-01-09 11:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 11:59:03] Production.INFO: count ==21
[2025-01-09 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209428') start
[2025-01-09 11:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209428') end
[2025-01-09 11:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 11:59:04] Production.INFO: 1
[2025-01-09 11:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 11:59:04] Production.ERROR: done
[2025-01-09 11:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 11:59:04] Production.INFO: ==24316== Releasing lock...
[2025-01-09 11:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 11:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 11:59:04] Production.ERROR: done
[2025-01-09 11:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 08:59:05
[end_date_ymd] => 2025-01-09 11:59:05
[RateCDR] => 1
)
[2025-01-09 11:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 08:59:05' and `end` < '2025-01-09 11:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 11:59:11] Production.ERROR: CronJobId end10
[2025-01-09 11:59:11] Production.INFO: ==24310== Releasing lock...
[2025-01-09 11:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 11:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 11:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 11:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 11:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 11:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 11:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 11:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 11:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 11:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 11:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 11:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 11:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 11:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 11:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 11:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 11:59:12] Production.INFO: call_cost start
[2025-01-09 11:59:12] Production.INFO: call_cost end
[2025-01-09 11:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 11:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 11:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 11:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 11:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 11:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 11:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 11:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 11:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 11:59:13] Production.INFO: ==24306== Releasing lock...
[2025-01-09 11:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 11:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 11:59:23] Production.INFO: count ==4626
[2025-01-09 11:59:25] Production.ERROR: pbx CDR StartTime 2025-01-09 08:59:05 - End Time 2025-01-09 11:59:05
[2025-01-09 11:59:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209429', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209429', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209429', 'tblTempVendorCDR_20' ) start
[2025-01-09 11:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209429', 'tblTempVendorCDR_20' ) end
[2025-01-09 11:59:25] Production.INFO: ProcessCDR(1,14209429,1,1,2)
[2025-01-09 11:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:59:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 11:59:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:59:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 11:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209429', 'tblTempUsageDetail_20' ) start
[2025-01-09 11:59:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209429', 'tblTempUsageDetail_20' ) end
[2025-01-09 11:59:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 11:59:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 11:59:30] Production.INFO: ==24314== Releasing lock...
[2025-01-09 11:59:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 11:59:30] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:00:02] Production.INFO: ==24381== Lock acquired, processing the job...
[2025-01-09 17:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:00:02] Production.INFO: neon service started
[2025-01-09 17:00:02] Production.INFO: neon service started
[2025-01-09 17:00:02] Production.INFO: ==24381== Releasing lock...
[2025-01-09 17:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:00:02] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-09 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:00:02] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:00:03] Production.INFO: ==24385== Releasing lock...
[2025-01-09 17:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:00:03] Production.INFO: ==24383== Releasing lock...
[2025-01-09 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:00:04] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 12:00:04] Production.INFO: ==24396== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:00:04] Production.INFO: ==24394== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:00:04] Production.INFO: ==24392== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 12:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 12:00:04] Production.ERROR: CronJob PID - 24396
[2025-01-09 12:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 12:00:04] Production.ERROR: CronJob ID - 10
[2025-01-09 12:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 12:00:00
[2025-01-09 12:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 12:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 12:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 12:00:04] Production.INFO: ==24390== Releasing lock...
[2025-01-09 12:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 12:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 12:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:00:04] Production.INFO: ==24402== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 12:00:04] Production.INFO: ==24398== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:00:04] Production.INFO: ==24404== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:00:04] Production.INFO: ==24400== Lock acquired, processing the job...
[2025-01-09 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:00:04] Production.INFO: Account Balance Start.
[2025-01-09 12:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:00:04] Production.INFO: 117
[2025-01-09 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:00:04] Production.INFO: count ==21
[2025-01-09 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:00:04] Production.INFO: count ==21
[2025-01-09 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209433') start
[2025-01-09 12:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:00:04] Production.INFO: ==24394== Releasing lock...
[2025-01-09 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:00:04] Production.INFO: Total Charge 0
[2025-01-09 12:00:04] Production.INFO: CreateAllLog End
[2025-01-09 12:00:05] Production.ERROR: done
[2025-01-09 12:00:05] Production.ERROR: done
[2025-01-09 12:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 12:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209434', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 12:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209433') end
[2025-01-09 12:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:00:05] Production.INFO: 1
[2025-01-09 12:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:00:05] Production.INFO: ==24404== Releasing lock...
[2025-01-09 12:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:00:05] Production.INFO: Account Balance End.
[2025-01-09 12:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 12:00:05] Production.INFO: ==24398== Releasing lock...
[2025-01-09 12:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:00:05] Production.ERROR: done
[2025-01-09 12:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:00:06
[end_date_ymd] => 2025-01-09 12:00:06
[RateCDR] => 1
)
[2025-01-09 12:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:00:06' and `end` < '2025-01-09 12:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209434', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 12:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 12:00:09] Production.INFO: ProcessCDR(1,14209434,1,1,2)
[2025-01-09 12:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209434,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209434,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:00:09] Production.INFO: ==24402== Releasing lock...
[2025-01-09 12:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 12:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:00:13] Production.ERROR: CronJobId end10
[2025-01-09 12:00:13] Production.INFO: ==24396== Releasing lock...
[2025-01-09 12:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:00:16] Production.INFO: call_cost start
[2025-01-09 12:00:16] Production.INFO: call_cost end
[2025-01-09 12:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:00:16] Production.INFO: ==24392== Releasing lock...
[2025-01-09 12:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:00:27] Production.INFO: count ==4637
[2025-01-09 12:00:28] Production.ERROR: pbx CDR StartTime 2025-01-09 09:00:06 - End Time 2025-01-09 12:00:06
[2025-01-09 12:00:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209435', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209435', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209435', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209435', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:00:29] Production.INFO: ProcessCDR(1,14209435,1,1,2)
[2025-01-09 12:00:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:00:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:00:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:00:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:00:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209435', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:00:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209435', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:00:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:00:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:00:33] Production.INFO: ==24400== Releasing lock...
[2025-01-09 12:00:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:00:33] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:01:01] Production.INFO: ==24467== Lock acquired, processing the job...
[2025-01-09 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:01:01] Production.INFO: neon service started
[2025-01-09 17:01:01] Production.INFO: neon service started
[2025-01-09 17:01:01] Production.INFO: ==24467== Releasing lock...
[2025-01-09 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:01:01] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-01-09 12:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:01:02] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-01-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:01:02] Production.INFO: ==24479== Releasing lock...
[2025-01-09 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:01:02] Production.INFO: ==24481== Releasing lock...
[2025-01-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:01:03] Production.INFO: ==24483== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:01:03] Production.INFO: ==24489== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:01:03] Production.INFO: ==24485== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:01:03] Production.INFO: ==24487== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:01:03] Production.INFO: ==24492== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:01:03] Production.INFO: Account Balance Start.
[2025-01-09 12:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:01:03] Production.INFO: 117
[2025-01-09 12:01:03] Production.INFO: ==24494== Lock acquired, processing the job...
[2025-01-09 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:01:03] Production.INFO: Total Charge 0
[2025-01-09 12:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:01:03] Production.INFO: CreateAllLog End
[2025-01-09 12:01:03] Production.INFO: count ==21
[2025-01-09 12:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:01:03] Production.INFO: count ==21
[2025-01-09 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209439') start
[2025-01-09 12:01:03] Production.INFO: ==24485== Releasing lock...
[2025-01-09 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209439') end
[2025-01-09 12:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:01:03] Production.INFO: 1
[2025-01-09 12:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:01:03] Production.INFO: ==24494== Releasing lock...
[2025-01-09 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:01:03] Production.ERROR: done
[2025-01-09 12:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:01:03] Production.INFO: Account Balance End.
[2025-01-09 12:01:03] Production.ERROR: done
[2025-01-09 12:01:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:01:03] Production.INFO: ==24489== Releasing lock...
[2025-01-09 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:01:04
[end_date_ymd] => 2025-01-09 12:01:04
[RateCDR] => 1
)
[2025-01-09 12:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:01:04' and `end` < '2025-01-09 12:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:01:11] Production.ERROR: CronJobId end10
[2025-01-09 12:01:11] Production.INFO: ==24487== Releasing lock...
[2025-01-09 12:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:01:13] Production.INFO: call_cost start
[2025-01-09 12:01:13] Production.INFO: call_cost end
[2025-01-09 12:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:01:14] Production.INFO: ==24483== Releasing lock...
[2025-01-09 12:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:01:24] Production.INFO: count ==4656
[2025-01-09 12:01:25] Production.ERROR: pbx CDR StartTime 2025-01-09 09:01:04 - End Time 2025-01-09 12:01:04
[2025-01-09 12:01:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209440', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209440', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209440', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209440', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:01:26] Production.INFO: ProcessCDR(1,14209440,1,1,2)
[2025-01-09 12:01:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:01:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:01:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:01:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209440', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209440', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:01:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:01:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:01:30] Production.INFO: ==24492== Releasing lock...
[2025-01-09 12:01:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:01:30] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:02:02] Production.INFO: ==24599== Lock acquired, processing the job...
[2025-01-09 17:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:02:02] Production.INFO: neon service started
[2025-01-09 17:02:02] Production.INFO: neon service started
[2025-01-09 17:02:02] Production.INFO: ==24599== Releasing lock...
[2025-01-09 17:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:02:02] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-01-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:02:02] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-01-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:02:02] Production.INFO: ==24603== Releasing lock...
[2025-01-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:02:02] Production.INFO: ==24601== Releasing lock...
[2025-01-09 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:02:03] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-01-09 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:02:03] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-01-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:02:03] Production.INFO: ==24616== Lock acquired, processing the job...
[2025-01-09 12:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:02:03] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-01-09 12:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:02:03] Production.INFO: ==24612== Lock acquired, processing the job...
[2025-01-09 12:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:02:03] Production.INFO: count ==21
[2025-01-09 12:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:02:03] Production.INFO: count ==21
[2025-01-09 12:02:03] Production.INFO: ==24614== Lock acquired, processing the job...
[2025-01-09 12:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209443') start
[2025-01-09 12:02:03] Production.INFO: ==24607== Releasing lock...
[2025-01-09 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209443') end
[2025-01-09 12:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:02:04] Production.INFO: 1
[2025-01-09 12:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:02:04] Production.INFO: Account Balance Start.
[2025-01-09 12:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:02:04] Production.INFO: 117
[2025-01-09 12:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:02:04] Production.INFO: ==24616== Releasing lock...
[2025-01-09 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:02:04] Production.ERROR: done
[2025-01-09 12:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:02:04] Production.INFO: Total Charge 0
[2025-01-09 12:02:04] Production.INFO: CreateAllLog End
[2025-01-09 12:02:04] Production.ERROR: done
[2025-01-09 12:02:04] Production.INFO: Account Balance End.
[2025-01-09 12:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:02:04] Production.INFO: ==24612== Releasing lock...
[2025-01-09 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:02:05
[end_date_ymd] => 2025-01-09 12:02:05
[RateCDR] => 1
)
[2025-01-09 12:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:02:05' and `end` < '2025-01-09 12:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:02:11] Production.ERROR: CronJobId end10
[2025-01-09 12:02:11] Production.INFO: ==24609== Releasing lock...
[2025-01-09 12:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:02:13] Production.INFO: call_cost start
[2025-01-09 12:02:13] Production.INFO: call_cost end
[2025-01-09 12:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:02:14] Production.INFO: ==24605== Releasing lock...
[2025-01-09 12:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:02:21] Production.INFO: count ==4634
[2025-01-09 12:02:23] Production.ERROR: pbx CDR StartTime 2025-01-09 09:02:05 - End Time 2025-01-09 12:02:05
[2025-01-09 12:02:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209445', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209445', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209445', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209445', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:02:23] Production.INFO: ProcessCDR(1,14209445,1,1,2)
[2025-01-09 12:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:02:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:02:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:02:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209445', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:02:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209445', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:02:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:02:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:02:27] Production.INFO: ==24614== Releasing lock...
[2025-01-09 12:02:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:02:27] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:03:01] Production.INFO: ==24677== Lock acquired, processing the job...
[2025-01-09 17:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:03:01] Production.INFO: neon service started
[2025-01-09 17:03:01] Production.INFO: neon service started
[2025-01-09 17:03:01] Production.INFO: ==24677== Releasing lock...
[2025-01-09 17:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:03:01] Production.INFO: ==24679== Lock acquired, processing the job...
[2025-01-09 12:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:03:02] Production.INFO: ==24679== Releasing lock...
[2025-01-09 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:03:02] Production.INFO: ==24681== Lock acquired, processing the job...
[2025-01-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:03:02] Production.INFO: ==24681== Releasing lock...
[2025-01-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:03:02] Production.INFO: ==24693== Lock acquired, processing the job...
[2025-01-09 12:03:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:03:02] Production.INFO: ==24689== Lock acquired, processing the job...
[2025-01-09 12:03:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:03:03] Production.INFO: ==24683== Lock acquired, processing the job...
[2025-01-09 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 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-01-09 12:03:03] Production.INFO: Account Balance Start.
[2025-01-09 12:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:03:03] Production.INFO: 117
[2025-01-09 12:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:03:03] Production.INFO: count ==21
[2025-01-09 12:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:03:03] Production.INFO: ==24685== Lock acquired, processing the job...
[2025-01-09 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 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-01-09 12:03:03] Production.INFO: count ==21
[2025-01-09 12:03:03] Production.INFO: ==24691== Lock acquired, processing the job...
[2025-01-09 12:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:03:03] Production.INFO: ==24687== Lock acquired, processing the job...
[2025-01-09 12:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209447') start
[2025-01-09 12:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:03:03] Production.INFO: Total Charge 0
[2025-01-09 12:03:03] Production.INFO: CreateAllLog End
[2025-01-09 12:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209447') end
[2025-01-09 12:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:03:03] Production.INFO: 1
[2025-01-09 12:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:03:03] Production.INFO: ==24693== Releasing lock...
[2025-01-09 12:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:03:03] Production.ERROR: done
[2025-01-09 12:03:03] Production.INFO: Account Balance End.
[2025-01-09 12:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:03:03] Production.INFO: ==24685== Releasing lock...
[2025-01-09 12:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:03:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:03:03] Production.INFO: ==24689== Releasing lock...
[2025-01-09 12:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:03:03] Production.ERROR: done
[2025-01-09 12:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:03:04
[end_date_ymd] => 2025-01-09 12:03:04
[RateCDR] => 1
)
[2025-01-09 12:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:03:04' and `end` < '2025-01-09 12:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:03:11] Production.ERROR: CronJobId end10
[2025-01-09 12:03:11] Production.INFO: ==24687== Releasing lock...
[2025-01-09 12:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:03:12] Production.INFO: call_cost start
[2025-01-09 12:03:12] Production.INFO: call_cost end
[2025-01-09 12:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:03:13] Production.INFO: ==24683== Releasing lock...
[2025-01-09 12:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:03:23] Production.INFO: count ==4624
[2025-01-09 12:03:25] Production.ERROR: pbx CDR StartTime 2025-01-09 09:03:04 - End Time 2025-01-09 12:03:04
[2025-01-09 12:03:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209450', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209450', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209450', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:03:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209450', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:03:25] Production.INFO: ProcessCDR(1,14209450,1,1,2)
[2025-01-09 12:03:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:03:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209450,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:03:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:03:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209450,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209450', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:03:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209450', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:03:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:03:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:03:29] Production.INFO: ==24691== Releasing lock...
[2025-01-09 12:03:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:03:29] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:04:01] Production.INFO: ==24754== Lock acquired, processing the job...
[2025-01-09 17:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:04:01] Production.INFO: neon service started
[2025-01-09 17:04:01] Production.INFO: neon service started
[2025-01-09 17:04:01] Production.INFO: ==24754== Releasing lock...
[2025-01-09 17:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:04:02] Production.INFO: ==24758== Lock acquired, processing the job...
[2025-01-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:04:02] Production.INFO: ==24758== Releasing lock...
[2025-01-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:04:02] Production.INFO: ==24756== Lock acquired, processing the job...
[2025-01-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:04:02] Production.INFO: ==24756== Releasing lock...
[2025-01-09 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:04:03] Production.INFO: ==24764== Lock acquired, processing the job...
[2025-01-09 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:04:03] Production.INFO: ==24770== Lock acquired, processing the job...
[2025-01-09 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:04:03] Production.INFO: ==24760== Lock acquired, processing the job...
[2025-01-09 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:04:03] Production.INFO: ==24762== Lock acquired, processing the job...
[2025-01-09 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:04:03] Production.INFO: count ==21
[2025-01-09 12:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:04:03] Production.INFO: count ==21
[2025-01-09 12:04:03] Production.INFO: ==24766== Lock acquired, processing the job...
[2025-01-09 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209451') start
[2025-01-09 12:04:03] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-01-09 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:04:03] Production.INFO: Account Balance Start.
[2025-01-09 12:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209451') end
[2025-01-09 12:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:04:03] Production.INFO: 1
[2025-01-09 12:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:04:03] Production.INFO: 117
[2025-01-09 12:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:04:04] Production.INFO: ==24770== Releasing lock...
[2025-01-09 12:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:04:04] Production.INFO: ==24762== Releasing lock...
[2025-01-09 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:04:04] Production.INFO: Total Charge 0
[2025-01-09 12:04:04] Production.INFO: CreateAllLog End
[2025-01-09 12:04:04] Production.ERROR: done
[2025-01-09 12:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:04:04] Production.INFO: Account Balance End.
[2025-01-09 12:04:04] Production.ERROR: done
[2025-01-09 12:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:04:04] Production.INFO: ==24766== Releasing lock...
[2025-01-09 12:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:04:05
[end_date_ymd] => 2025-01-09 12:04:05
[RateCDR] => 1
)
[2025-01-09 12:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:04:05' and `end` < '2025-01-09 12:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:04:11] Production.ERROR: CronJobId end10
[2025-01-09 12:04:11] Production.INFO: ==24764== Releasing lock...
[2025-01-09 12:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:04:13] Production.INFO: call_cost start
[2025-01-09 12:04:13] Production.INFO: call_cost end
[2025-01-09 12:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:04:14] Production.INFO: ==24760== Releasing lock...
[2025-01-09 12:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:04:21] Production.INFO: count ==4622
[2025-01-09 12:04:23] Production.ERROR: pbx CDR StartTime 2025-01-09 09:04:05 - End Time 2025-01-09 12:04:05
[2025-01-09 12:04:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209455', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209455', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209455', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:04:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209455', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:04:23] Production.INFO: ProcessCDR(1,14209455,1,1,2)
[2025-01-09 12:04:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:04:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:04:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:04:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209455', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:04:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209455', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:04:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:04:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:04:28] Production.INFO: ==24768== Releasing lock...
[2025-01-09 12:04:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:04:28] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:05:01] Production.INFO: ==24830== Lock acquired, processing the job...
[2025-01-09 17:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:05:01] Production.INFO: neon service started
[2025-01-09 17:05:01] Production.INFO: neon service started
[2025-01-09 17:05:01] Production.INFO: ==24830== Releasing lock...
[2025-01-09 17:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:05:01] Production.INFO: ==24832== Lock acquired, processing the job...
[2025-01-09 12:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:05:01] Production.INFO: ==24832== Releasing lock...
[2025-01-09 12:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:05:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:05:02] Production.INFO: ==24834== Lock acquired, processing the job...
[2025-01-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:05:02] Production.INFO: ==24834== Releasing lock...
[2025-01-09 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:05:02] Production.INFO: ==24838== Lock acquired, processing the job...
[2025-01-09 12:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:05:02] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-09 12:05:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:05:03] Production.INFO: ==24836== Lock acquired, processing the job...
[2025-01-09 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:05:03] Production.INFO: ==24840== Lock acquired, processing the job...
[2025-01-09 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:05:03] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-01-09 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:05:03] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-01-09 12:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:05:03] Production.INFO: count ==21
[2025-01-09 12:05:03] Production.INFO: Account Balance Start.
[2025-01-09 12:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:05:03] Production.INFO: 117
[2025-01-09 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:05:03] Production.INFO: count ==21
[2025-01-09 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209457') start
[2025-01-09 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:05:03] Production.INFO: ==24838== Releasing lock...
[2025-01-09 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:05:03] Production.INFO: Total Charge 0
[2025-01-09 12:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209457') end
[2025-01-09 12:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:05:03] Production.INFO: 1
[2025-01-09 12:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:05:03] Production.INFO: CreateAllLog End
[2025-01-09 12:05:03] Production.INFO: ==24846== Releasing lock...
[2025-01-09 12:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:05:03] Production.INFO: Account Balance End.
[2025-01-09 12:05:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:05:03] Production.INFO: ==24842== Releasing lock...
[2025-01-09 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:05:03] Production.ERROR: done
[2025-01-09 12:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:05:03] Production.ERROR: done
[2025-01-09 12:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:05:04
[end_date_ymd] => 2025-01-09 12:05:04
[RateCDR] => 1
)
[2025-01-09 12:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:05:04' and `end` < '2025-01-09 12:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:05:11] Production.ERROR: CronJobId end10
[2025-01-09 12:05:11] Production.INFO: ==24840== Releasing lock...
[2025-01-09 12:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:05:13] Production.INFO: call_cost start
[2025-01-09 12:05:13] Production.INFO: call_cost end
[2025-01-09 12:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:05:14] Production.INFO: ==24836== Releasing lock...
[2025-01-09 12:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:05:28] Production.INFO: count ==4621
[2025-01-09 12:05:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:05:04 - End Time 2025-01-09 12:05:04
[2025-01-09 12:05:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:05:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209460', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:05:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209460', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:05:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209460', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:05:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209460', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:05:30] Production.INFO: ProcessCDR(1,14209460,1,1,2)
[2025-01-09 12:05:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:05:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:05:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:05:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:05:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209460', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:05:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209460', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:05:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:05:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:05:35] Production.INFO: ==24844== Releasing lock...
[2025-01-09 12:05:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:05:35] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:06:01] Production.INFO: ==24904== Lock acquired, processing the job...
[2025-01-09 17:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:06:01] Production.INFO: neon service started
[2025-01-09 17:06:01] Production.INFO: neon service started
[2025-01-09 17:06:01] Production.INFO: ==24904== Releasing lock...
[2025-01-09 17:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:06:02] Production.INFO: ==24906== Lock acquired, processing the job...
[2025-01-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:06:02] Production.INFO: ==24908== Lock acquired, processing the job...
[2025-01-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:06:02] Production.INFO: ==24908== Releasing lock...
[2025-01-09 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:06:02] Production.INFO: ==24906== Releasing lock...
[2025-01-09 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:06:03] Production.INFO: ==24911== Lock acquired, processing the job...
[2025-01-09 12:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:06:03] Production.INFO: ==24915== Lock acquired, processing the job...
[2025-01-09 12:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:06:03] Production.INFO: ==24921== Lock acquired, processing the job...
[2025-01-09 12:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:06:03] Production.INFO: count ==21
[2025-01-09 12:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:06:03] Production.INFO: count ==21
[2025-01-09 12:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209462') start
[2025-01-09 12:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209462') end
[2025-01-09 12:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:06:03] Production.INFO: 1
[2025-01-09 12:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:06:03] Production.INFO: ==24921== Releasing lock...
[2025-01-09 12:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:06:03] Production.INFO: ==24917== Lock acquired, processing the job...
[2025-01-09 12:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:06:03] Production.INFO: ==24913== Lock acquired, processing the job...
[2025-01-09 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:06:03] Production.INFO: ==24919== Lock acquired, processing the job...
[2025-01-09 12:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:06:03] Production.INFO: Account Balance Start.
[2025-01-09 12:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:06:03] Production.INFO: 117
[2025-01-09 12:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:06:04] Production.INFO: Total Charge 0
[2025-01-09 12:06:04] Production.INFO: CreateAllLog End
[2025-01-09 12:06:04] Production.ERROR: done
[2025-01-09 12:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:06:04] Production.INFO: ==24913== Releasing lock...
[2025-01-09 12:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:06:04] Production.ERROR: done
[2025-01-09 12:06:04] Production.INFO: Account Balance End.
[2025-01-09 12:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:06:04] Production.INFO: ==24917== Releasing lock...
[2025-01-09 12:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:06:05
[end_date_ymd] => 2025-01-09 12:06:05
[RateCDR] => 1
)
[2025-01-09 12:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:06:05' and `end` < '2025-01-09 12:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:06:11] Production.ERROR: CronJobId end10
[2025-01-09 12:06:11] Production.INFO: ==24915== Releasing lock...
[2025-01-09 12:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:06:12] Production.INFO: call_cost start
[2025-01-09 12:06:12] Production.INFO: call_cost end
[2025-01-09 12:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:06:13] Production.INFO: ==24911== Releasing lock...
[2025-01-09 12:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:06:27] Production.INFO: count ==4623
[2025-01-09 12:06:29] Production.ERROR: pbx CDR StartTime 2025-01-09 09:06:05 - End Time 2025-01-09 12:06:05
[2025-01-09 12:06:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209465', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209465', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209465', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:06:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209465', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:06:29] Production.INFO: ProcessCDR(1,14209465,1,1,2)
[2025-01-09 12:06:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:06:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:06:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:06:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:06:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209465', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:06:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209465', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:06:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:06:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:06:34] Production.INFO: ==24919== Releasing lock...
[2025-01-09 12:06:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:06:34] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:07:02] Production.INFO: ==24976== Lock acquired, processing the job...
[2025-01-09 17:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:07:02] Production.INFO: neon service started
[2025-01-09 17:07:02] Production.INFO: neon service started
[2025-01-09 17:07:02] Production.INFO: ==24976== Releasing lock...
[2025-01-09 17:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:07:02] Production.INFO: ==24980== Lock acquired, processing the job...
[2025-01-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:07:02] Production.INFO: ==24980== Releasing lock...
[2025-01-09 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:07:02] Production.INFO: ==24978== Lock acquired, processing the job...
[2025-01-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:07:02] Production.INFO: ==24978== Releasing lock...
[2025-01-09 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:07:03] Production.INFO: ==24984== Lock acquired, processing the job...
[2025-01-09 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:07:03] Production.INFO: ==24982== Lock acquired, processing the job...
[2025-01-09 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:07:03] Production.INFO: ==24992== Lock acquired, processing the job...
[2025-01-09 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:07:03] Production.INFO: ==24986== Lock acquired, processing the job...
[2025-01-09 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:07:03] Production.INFO: count ==21
[2025-01-09 12:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:07:03] Production.INFO: ==24988== Lock acquired, processing the job...
[2025-01-09 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:07:03] Production.INFO: count ==21
[2025-01-09 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209468') start
[2025-01-09 12:07:03] Production.INFO: ==24990== Lock acquired, processing the job...
[2025-01-09 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:07:03] Production.INFO: Account Balance Start.
[2025-01-09 12:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:07:03] Production.INFO: 117
[2025-01-09 12:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:07:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209468') end
[2025-01-09 12:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:07:04] Production.INFO: 1
[2025-01-09 12:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:07:04] Production.INFO: Total Charge 0
[2025-01-09 12:07:04] Production.INFO: CreateAllLog End
[2025-01-09 12:07:04] Production.INFO: ==24992== Releasing lock...
[2025-01-09 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:07:04] Production.INFO: ==24984== Releasing lock...
[2025-01-09 12:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:07:04] Production.ERROR: done
[2025-01-09 12:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:07:04] Production.INFO: Account Balance End.
[2025-01-09 12:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:07:04] Production.INFO: ==24988== Releasing lock...
[2025-01-09 12:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:07:04] Production.ERROR: done
[2025-01-09 12:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:07:05
[end_date_ymd] => 2025-01-09 12:07:05
[RateCDR] => 1
)
[2025-01-09 12:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:07:05' and `end` < '2025-01-09 12:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:07:11] Production.ERROR: CronJobId end10
[2025-01-09 12:07:11] Production.INFO: ==24986== Releasing lock...
[2025-01-09 12:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:07:13] Production.INFO: call_cost start
[2025-01-09 12:07:13] Production.INFO: call_cost end
[2025-01-09 12:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:07:14] Production.INFO: ==24982== Releasing lock...
[2025-01-09 12:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:07:21] Production.INFO: count ==4641
[2025-01-09 12:07:23] Production.ERROR: pbx CDR StartTime 2025-01-09 09:07:05 - End Time 2025-01-09 12:07:05
[2025-01-09 12:07:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209470', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209470', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209470', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:07:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209470', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:07:23] Production.INFO: ProcessCDR(1,14209470,1,1,2)
[2025-01-09 12:07:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209470', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209470', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:07:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:07:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:07:28] Production.INFO: ==24990== Releasing lock...
[2025-01-09 12:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:07:28] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:08:01] Production.INFO: ==25046== Lock acquired, processing the job...
[2025-01-09 17:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:08:01] Production.INFO: neon service started
[2025-01-09 17:08:01] Production.INFO: neon service started
[2025-01-09 17:08:01] Production.INFO: ==25046== Releasing lock...
[2025-01-09 17:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:08:01] Production.INFO: ==25049== Lock acquired, processing the job...
[2025-01-09 12:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:08:02] Production.INFO: ==25049== Releasing lock...
[2025-01-09 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:08:02] Production.INFO: ==25051== Lock acquired, processing the job...
[2025-01-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:08:02] Production.INFO: ==25051== Releasing lock...
[2025-01-09 17:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:08:03] Production.INFO: ==25061== Lock acquired, processing the job...
[2025-01-09 12:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:08:03] Production.INFO: ==25063== Lock acquired, processing the job...
[2025-01-09 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:08:03] Production.INFO: count ==21
[2025-01-09 12:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:08:03] Production.INFO: ==25053== Lock acquired, processing the job...
[2025-01-09 12:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:08:03] Production.INFO: count ==21
[2025-01-09 12:08:03] Production.INFO: ==25055== Lock acquired, processing the job...
[2025-01-09 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:08:03] Production.INFO: ==25057== Lock acquired, processing the job...
[2025-01-09 12:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209471') start
[2025-01-09 12:08:03] Production.INFO: ==25059== Lock acquired, processing the job...
[2025-01-09 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:08:03] Production.ERROR: done
[2025-01-09 12:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209471') end
[2025-01-09 12:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:08:03] Production.INFO: 1
[2025-01-09 12:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:08:03] Production.ERROR: done
[2025-01-09 12:08:03] Production.INFO: Account Balance Start.
[2025-01-09 12:08:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:08:03] Production.INFO: ==25063== Releasing lock...
[2025-01-09 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:08:03] Production.INFO: 117
[2025-01-09 12:08:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:08:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:08:03] Production.INFO: ==25055== Releasing lock...
[2025-01-09 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:08:03] Production.INFO: Total Charge 0
[2025-01-09 12:08:03] Production.INFO: CreateAllLog End
[2025-01-09 12:08:03] Production.INFO: Account Balance End.
[2025-01-09 12:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:08:04] Production.INFO: ==25059== Releasing lock...
[2025-01-09 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:08:04
[end_date_ymd] => 2025-01-09 12:08:04
[RateCDR] => 1
)
[2025-01-09 12:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:08:04' and `end` < '2025-01-09 12:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:08:10] Production.ERROR: CronJobId end10
[2025-01-09 12:08:10] Production.INFO: ==25057== Releasing lock...
[2025-01-09 12:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:08:13] Production.INFO: call_cost start
[2025-01-09 12:08:13] Production.INFO: call_cost end
[2025-01-09 12:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:08:14] Production.INFO: ==25053== Releasing lock...
[2025-01-09 12:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:08:24] Production.INFO: count ==4638
[2025-01-09 12:08:26] Production.ERROR: pbx CDR StartTime 2025-01-09 09:08:04 - End Time 2025-01-09 12:08:04
[2025-01-09 12:08:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209475', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209475', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209475', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:08:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209475', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:08:26] Production.INFO: ProcessCDR(1,14209475,1,1,2)
[2025-01-09 12:08:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:08:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:08:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:08:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209475', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:08:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209475', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:08:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:08:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:08:31] Production.INFO: ==25061== Releasing lock...
[2025-01-09 12:08:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:08:31] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:09:02] Production.INFO: ==25118== Lock acquired, processing the job...
[2025-01-09 17:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:09:02] Production.INFO: neon service started
[2025-01-09 17:09:02] Production.INFO: neon service started
[2025-01-09 17:09:02] Production.INFO: ==25118== Releasing lock...
[2025-01-09 17:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:09:02] Production.INFO: ==25120== Lock acquired, processing the job...
[2025-01-09 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:09:02] Production.INFO: ==25122== Lock acquired, processing the job...
[2025-01-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:09:02] Production.INFO: ==25122== Releasing lock...
[2025-01-09 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:09:03] Production.INFO: ==25120== Releasing lock...
[2025-01-09 12:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:09:04] Production.INFO: ==25131== Lock acquired, processing the job...
[2025-01-09 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:09:04] Production.INFO: ==25135== Lock acquired, processing the job...
[2025-01-09 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:09:04] Production.INFO: ==25125== Lock acquired, processing the job...
[2025-01-09 12:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:09:04] Production.INFO: Account Balance Start.
[2025-01-09 12:09:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:09:04] Production.INFO: 117
[2025-01-09 12:09:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:09:04] Production.INFO: count ==21
[2025-01-09 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:09:04] Production.INFO: count ==21
[2025-01-09 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209477') start
[2025-01-09 12:09:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:09:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:09:04] Production.INFO: ==25129== Lock acquired, processing the job...
[2025-01-09 12:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:09:04] Production.INFO: ==25127== Lock acquired, processing the job...
[2025-01-09 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:09:04] Production.INFO: Total Charge 0
[2025-01-09 12:09:04] Production.INFO: CreateAllLog End
[2025-01-09 12:09:04] Production.INFO: ==25133== Lock acquired, processing the job...
[2025-01-09 12:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209477') end
[2025-01-09 12:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:09:04] Production.INFO: 1
[2025-01-09 12:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:09:04] Production.INFO: ==25135== Releasing lock...
[2025-01-09 12:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:09:04] Production.INFO: Account Balance End.
[2025-01-09 12:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:09:04] Production.INFO: ==25131== Releasing lock...
[2025-01-09 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:09:04] Production.INFO: ==25127== Releasing lock...
[2025-01-09 12:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:09:04] Production.ERROR: done
[2025-01-09 12:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:09:05] Production.ERROR: done
[2025-01-09 12:09:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:09:06
[end_date_ymd] => 2025-01-09 12:09:06
[RateCDR] => 1
)
[2025-01-09 12: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-01-09 09:09:06' and `end` < '2025-01-09 12: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-01-09 12:09:11] Production.ERROR: CronJobId end10
[2025-01-09 12:09:11] Production.INFO: ==25129== Releasing lock...
[2025-01-09 12:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:09:13] Production.INFO: call_cost start
[2025-01-09 12:09:13] Production.INFO: call_cost end
[2025-01-09 12:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:09:14] Production.INFO: ==25125== Releasing lock...
[2025-01-09 12:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:09:30] Production.INFO: count ==4620
[2025-01-09 12:09:32] Production.ERROR: pbx CDR StartTime 2025-01-09 09:09:06 - End Time 2025-01-09 12:09:06
[2025-01-09 12:09:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209480', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209480', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209480', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209480', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:09:32] Production.INFO: ProcessCDR(1,14209480,1,1,2)
[2025-01-09 12:09:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:09:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:09:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:09:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:09:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209480', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:09:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209480', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:09:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:09:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:09:37] Production.INFO: ==25133== Releasing lock...
[2025-01-09 12:09:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:09:37] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:10:01] Production.INFO: ==25189== Lock acquired, processing the job...
[2025-01-09 17:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:10:02] Production.INFO: neon service started
[2025-01-09 17:10:02] Production.INFO: neon service started
[2025-01-09 17:10:02] Production.INFO: ==25189== Releasing lock...
[2025-01-09 17:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:10:02] Production.INFO: ==25191== Lock acquired, processing the job...
[2025-01-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:10:02] Production.INFO: ==25193== Lock acquired, processing the job...
[2025-01-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:10:02] Production.INFO: ==25191== Releasing lock...
[2025-01-09 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:10:02] Production.INFO: ==25193== Releasing lock...
[2025-01-09 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:10:03] Production.INFO: ==25196== Lock acquired, processing the job...
[2025-01-09 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 12:10:03] Production.INFO: ==25200== Lock acquired, processing the job...
[2025-01-09 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:10:03] Production.INFO: ==25198== Lock acquired, processing the job...
[2025-01-09 12:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:10:03] Production.INFO: ==25202== Lock acquired, processing the job...
[2025-01-09 12:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 12:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 12:10:03] Production.ERROR: CronJob PID - 25198
[2025-01-09 12:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 12:10:03] Production.ERROR: CronJob ID - 5
[2025-01-09 12:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 12:10:00
[2025-01-09 12:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 12:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 12:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 12:10:03] Production.ERROR: CronJob PID - 25200
[2025-01-09 12:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 12:10:03] Production.ERROR: CronJob ID - 7
[2025-01-09 12:10:03] Production.ERROR: CronJob Last Run Time 2025-01-09 12:10:00
[2025-01-09 12:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 12:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 12:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 12:10:03] Production.INFO: ==25196== Releasing lock...
[2025-01-09 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 12:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 12:10:03] Production.INFO: ==25204== Lock acquired, processing the job...
[2025-01-09 12:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:10:04] Production.INFO: ==25206== Lock acquired, processing the job...
[2025-01-09 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:10:04] Production.INFO: ==25208== Lock acquired, processing the job...
[2025-01-09 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 12:10:04] Production.INFO: Account Balance Start.
[2025-01-09 12:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:10:04] Production.INFO: 117
[2025-01-09 12:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:10:04] Production.INFO: ==25210== Lock acquired, processing the job...
[2025-01-09 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:10:04] Production.INFO: ==25200== Releasing lock...
[2025-01-09 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:10:04] Production.INFO: Total Charge 0
[2025-01-09 12:10:04] Production.INFO: count ==21
[2025-01-09 12:10:04] Production.INFO: CreateAllLog End
[2025-01-09 12:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:10:04] Production.INFO: count ==21
[2025-01-09 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209484') start
[2025-01-09 12:10:04] Production.ERROR: done
[2025-01-09 12:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:10:04] Production.ERROR: done
[2025-01-09 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209485', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 12:10:04] Production.ERROR: done
[2025-01-09 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209484') end
[2025-01-09 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:10:04] Production.INFO: 1
[2025-01-09 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:10:04] Production.INFO: Account Balance End.
[2025-01-09 12:10:04] Production.INFO: ==25210== Releasing lock...
[2025-01-09 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:10:04] Production.INFO: ==25204== Releasing lock...
[2025-01-09 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:10:06
[end_date_ymd] => 2025-01-09 12:10:06
[RateCDR] => 1
)
[2025-01-09 12:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:10:06' and `end` < '2025-01-09 12:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209485', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 12:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 12:10:08] Production.INFO: ProcessCDR(1,14209485,1,1,2)
[2025-01-09 12:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209485,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209485,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:10:08] Production.INFO: ==25208== Releasing lock...
[2025-01-09 12:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 12:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:10:13] Production.ERROR: CronJobId end10
[2025-01-09 12:10:13] Production.INFO: ==25202== Releasing lock...
[2025-01-09 12:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:10:15] Production.INFO: call_cost start
[2025-01-09 12:10:15] Production.INFO: call_cost end
[2025-01-09 12:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:10:16] Production.INFO: ==25198== Releasing lock...
[2025-01-09 12:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:10:28] Production.INFO: count ==4604
[2025-01-09 12:10:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:10:06 - End Time 2025-01-09 12:10:06
[2025-01-09 12:10:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209486', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209486', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209486', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:10:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209486', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:10:30] Production.INFO: ProcessCDR(1,14209486,1,1,2)
[2025-01-09 12:10:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:10:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:10:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:10:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:10:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209486', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:10:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209486', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:10:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:10:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:10:34] Production.INFO: ==25206== Releasing lock...
[2025-01-09 12:10:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:10:34] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:11:01] Production.INFO: ==25264== Lock acquired, processing the job...
[2025-01-09 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:11:01] Production.INFO: neon service started
[2025-01-09 17:11:01] Production.INFO: neon service started
[2025-01-09 17:11:01] Production.INFO: ==25264== Releasing lock...
[2025-01-09 17:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:11:02] Production.INFO: ==25266== Lock acquired, processing the job...
[2025-01-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:11:02] Production.INFO: ==25268== Lock acquired, processing the job...
[2025-01-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:11:02] Production.INFO: ==25268== Releasing lock...
[2025-01-09 17:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:11:02] Production.INFO: ==25266== Releasing lock...
[2025-01-09 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:11:03] Production.INFO: ==25277== Lock acquired, processing the job...
[2025-01-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:11:03] Production.INFO: ==25279== Lock acquired, processing the job...
[2025-01-09 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:11:03] Production.INFO: Account Balance Start.
[2025-01-09 12:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:11:03] Production.INFO: 117
[2025-01-09 12:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:11:03] Production.INFO: ==25271== Lock acquired, processing the job...
[2025-01-09 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:11:03] Production.INFO: ==25273== Lock acquired, processing the job...
[2025-01-09 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:11:03] Production.INFO: Total Charge 0
[2025-01-09 12:11:03] Production.INFO: ==25275== Lock acquired, processing the job...
[2025-01-09 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:11:03] Production.INFO: CreateAllLog End
[2025-01-09 12:11:03] Production.INFO: ==25281== Lock acquired, processing the job...
[2025-01-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:11:03] Production.INFO: Account Balance End.
[2025-01-09 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:11:03] Production.INFO: ==25277== Releasing lock...
[2025-01-09 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:11:03] Production.ERROR: done
[2025-01-09 12:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:11:03] Production.INFO: ==25273== Releasing lock...
[2025-01-09 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:11:03] Production.INFO: count ==21
[2025-01-09 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:11:03] Production.INFO: count ==21
[2025-01-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209490') start
[2025-01-09 12:11:03] Production.ERROR: done
[2025-01-09 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209490') end
[2025-01-09 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:11:03] Production.INFO: 1
[2025-01-09 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:11:03] Production.INFO: ==25281== Releasing lock...
[2025-01-09 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:11:04
[end_date_ymd] => 2025-01-09 12:11:04
[RateCDR] => 1
)
[2025-01-09 12:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:11:04' and `end` < '2025-01-09 12:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:11:11] Production.ERROR: CronJobId end10
[2025-01-09 12:11:11] Production.INFO: ==25275== Releasing lock...
[2025-01-09 12:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:11:12] Production.INFO: call_cost start
[2025-01-09 12:11:12] Production.INFO: call_cost end
[2025-01-09 12:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:11:13] Production.INFO: ==25271== Releasing lock...
[2025-01-09 12:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:11:22] Production.INFO: count ==4637
[2025-01-09 12:11:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:11:04 - End Time 2025-01-09 12:11:04
[2025-01-09 12:11:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209491', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209491', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209491', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:11:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209491', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:11:24] Production.INFO: ProcessCDR(1,14209491,1,1,2)
[2025-01-09 12:11:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:11:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:11:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:11:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:11:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209491', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:11:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209491', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:11:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:11:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:11:29] Production.INFO: ==25279== Releasing lock...
[2025-01-09 12:11:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:11:29] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:12:01] Production.INFO: ==25333== Lock acquired, processing the job...
[2025-01-09 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:12:01] Production.INFO: neon service started
[2025-01-09 17:12:01] Production.INFO: neon service started
[2025-01-09 17:12:01] Production.INFO: ==25333== Releasing lock...
[2025-01-09 17:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:12:02] Production.INFO: ==25335== Lock acquired, processing the job...
[2025-01-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:12:02] Production.INFO: ==25337== Lock acquired, processing the job...
[2025-01-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:12:02] Production.INFO: ==25337== Releasing lock...
[2025-01-09 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:12:02] Production.INFO: ==25335== Releasing lock...
[2025-01-09 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:12:03] Production.INFO: ==25342== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:12:03] Production.INFO: ==25350== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:12:03] Production.INFO: count ==21
[2025-01-09 12:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:12:03] Production.INFO: count ==21
[2025-01-09 12:12:03] Production.INFO: ==25342== Releasing lock...
[2025-01-09 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209493') start
[2025-01-09 12:12:03] Production.INFO: ==25340== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209493') end
[2025-01-09 12:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:12:03] Production.INFO: 1
[2025-01-09 12:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:12:03] Production.INFO: ==25344== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:12:03] Production.INFO: ==25346== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:12:03] Production.INFO: ==25348== Lock acquired, processing the job...
[2025-01-09 12:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:12:03] Production.INFO: ==25350== Releasing lock...
[2025-01-09 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:12:04] Production.INFO: Account Balance Start.
[2025-01-09 12:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:12:04] Production.INFO: 117
[2025-01-09 12:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:12:04] Production.INFO: Total Charge 0
[2025-01-09 12:12:04] Production.INFO: CreateAllLog End
[2025-01-09 12:12:04] Production.ERROR: done
[2025-01-09 12:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:12:04] Production.INFO: Account Balance End.
[2025-01-09 12:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:12:04] Production.INFO: ==25346== Releasing lock...
[2025-01-09 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:12:04] Production.ERROR: done
[2025-01-09 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:12:05
[end_date_ymd] => 2025-01-09 12:12:05
[RateCDR] => 1
)
[2025-01-09 12:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:12:05' and `end` < '2025-01-09 12:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:12:12] Production.ERROR: CronJobId end10
[2025-01-09 12:12:12] Production.INFO: ==25344== Releasing lock...
[2025-01-09 12:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:12:13] Production.INFO: call_cost start
[2025-01-09 12:12:13] Production.INFO: call_cost end
[2025-01-09 12:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:12:14] Production.INFO: ==25340== Releasing lock...
[2025-01-09 12:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:12:20] Production.INFO: count ==4643
[2025-01-09 12:12:22] Production.ERROR: pbx CDR StartTime 2025-01-09 09:12:05 - End Time 2025-01-09 12:12:05
[2025-01-09 12:12:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209496', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209496', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209496', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:12:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209496', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:12:22] Production.INFO: ProcessCDR(1,14209496,1,1,2)
[2025-01-09 12:12:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:12:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209496,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:12:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:12:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209496,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209496', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:12:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209496', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:12:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:12:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:12:26] Production.INFO: ==25348== Releasing lock...
[2025-01-09 12:12:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:12:26] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:13:02] Production.INFO: ==25403== Lock acquired, processing the job...
[2025-01-09 17:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:13:02] Production.INFO: neon service started
[2025-01-09 17:13:02] Production.INFO: neon service started
[2025-01-09 17:13:02] Production.INFO: ==25403== Releasing lock...
[2025-01-09 17:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:13:02] Production.INFO: ==25405== Lock acquired, processing the job...
[2025-01-09 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:13:02] Production.INFO: ==25407== Lock acquired, processing the job...
[2025-01-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:13:02] Production.INFO: ==25407== Releasing lock...
[2025-01-09 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:13:03] Production.INFO: ==25405== Releasing lock...
[2025-01-09 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:13:03] Production.INFO: ==25410== Lock acquired, processing the job...
[2025-01-09 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:13:03] Production.INFO: ==25412== Lock acquired, processing the job...
[2025-01-09 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:13:04] Production.INFO: ==25418== Lock acquired, processing the job...
[2025-01-09 12:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:13:04] Production.INFO: ==25414== Lock acquired, processing the job...
[2025-01-09 12:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:13:04] Production.INFO: ==25416== Lock acquired, processing the job...
[2025-01-09 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:13:04] Production.INFO: ==25412== Releasing lock...
[2025-01-09 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:13:04] Production.INFO: ==25420== Lock acquired, processing the job...
[2025-01-09 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:13:04] Production.INFO: Account Balance Start.
[2025-01-09 12:13:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:13:04] Production.INFO: 117
[2025-01-09 12:13:04] Production.ERROR: done
[2025-01-09 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:13:04] Production.INFO: count ==21
[2025-01-09 12:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:13:04] Production.INFO: count ==21
[2025-01-09 12:13:04] Production.ERROR: done
[2025-01-09 12:13:04] Production.INFO: Total Charge 0
[2025-01-09 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209500') start
[2025-01-09 12:13:04] Production.INFO: CreateAllLog End
[2025-01-09 12:13:04] Production.INFO: Account Balance End.
[2025-01-09 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209500') end
[2025-01-09 12:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:13:04] Production.INFO: 1
[2025-01-09 12:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:13:04] Production.INFO: ==25416== Releasing lock...
[2025-01-09 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:13:04] Production.INFO: ==25420== Releasing lock...
[2025-01-09 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:13:05
[end_date_ymd] => 2025-01-09 12:13:05
[RateCDR] => 1
)
[2025-01-09 12:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:13:05' and `end` < '2025-01-09 12:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:13:12] Production.ERROR: CronJobId end10
[2025-01-09 12:13:12] Production.INFO: ==25414== Releasing lock...
[2025-01-09 12:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:13:14] Production.INFO: call_cost start
[2025-01-09 12:13:14] Production.INFO: call_cost end
[2025-01-09 12:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:13:14] Production.INFO: ==25410== Releasing lock...
[2025-01-09 12:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:13:27] Production.INFO: count ==4654
[2025-01-09 12:13:29] Production.ERROR: pbx CDR StartTime 2025-01-09 09:13:05 - End Time 2025-01-09 12:13:05
[2025-01-09 12:13:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209501', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209501', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209501', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209501', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:13:29] Production.INFO: ProcessCDR(1,14209501,1,1,2)
[2025-01-09 12:13:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:13:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209501,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:13:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:13:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209501,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209501', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209501', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:13:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:13:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:13:34] Production.INFO: ==25418== Releasing lock...
[2025-01-09 12:13:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:13:34] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:14:01] Production.INFO: ==25476== Lock acquired, processing the job...
[2025-01-09 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:14:01] Production.INFO: neon service started
[2025-01-09 17:14:01] Production.INFO: neon service started
[2025-01-09 17:14:01] Production.INFO: ==25476== Releasing lock...
[2025-01-09 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:14:02] Production.INFO: ==25478== Lock acquired, processing the job...
[2025-01-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:14:02] Production.INFO: ==25478== Releasing lock...
[2025-01-09 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:14:02] Production.INFO: ==25480== Lock acquired, processing the job...
[2025-01-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:14:02] Production.INFO: ==25480== Releasing lock...
[2025-01-09 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:14:03] Production.INFO: ==25483== Lock acquired, processing the job...
[2025-01-09 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:14:03] Production.INFO: ==25485== Lock acquired, processing the job...
[2025-01-09 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:14:03] Production.INFO: ==25489== Lock acquired, processing the job...
[2025-01-09 12:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:14:03] Production.INFO: ==25487== Lock acquired, processing the job...
[2025-01-09 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:14:03] Production.INFO: Account Balance Start.
[2025-01-09 12:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:14:03] Production.INFO: 117
[2025-01-09 12:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:14:03] Production.INFO: Total Charge 0
[2025-01-09 12:14:03] Production.INFO: ==25491== Lock acquired, processing the job...
[2025-01-09 12:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-09 12:14:03] Production.INFO: CreateAllLog End
[2025-01-09 12:14:03] Production.INFO: ==25493== Lock acquired, processing the job...
[2025-01-09 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:14:03] Production.INFO: -- Xero Api Check --
[2025-01-09 12:14:03] Production.INFO: ==25485== Releasing lock...
[2025-01-09 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:14:04] Production.INFO: ==25495== Lock acquired, processing the job...
[2025-01-09 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:14:04] Production.INFO: Account Balance End.
[2025-01-09 12:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:14:04] Production.INFO: ==25489== Releasing lock...
[2025-01-09 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:14:04] Production.INFO: count ==21
[2025-01-09 12:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:14:04] Production.INFO: count ==21
[2025-01-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209505') start
[2025-01-09 12:14:04] Production.ERROR: done
[2025-01-09 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209505') end
[2025-01-09 12:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:14:04] Production.INFO: 1
[2025-01-09 12:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:14:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 855
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.700633
[namelookup_time] => 0.309863
[connect_time] => 0.321298
[pretransfer_time] => 0.546234
[size_upload] => 82
[size_download] => 2755
[speed_download] => 3932
[speed_upload] => 117
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.700574
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 58066
)
[2025-01-09 12:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0NDI4NDQsImV4cCI6MTczNjQ0MzE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NDQyODQ0LCJhdF9oYXNoIjoiQTdXajlZTXZadEtXYm5JV0dvNGFRZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ynZNwQ35HULDyQE6IMlXzSwarBo-n-DDAMk9e1t_89ADPON9bKKwpQQ0cQBjCNPtfKkvRzq4jpYXuMWS-ouVtRoVP1qOJkbqVlkDlQF5vR3ptJ1cgIGeOLtWTfrNCHeR96oeDI2s_F-y-SWVGbKeKuB9SK6Mq-4OdbrJVYxMJ0fdp-2M8FHuzibPSmYEVmJDLmO-PaL20Da5TMR4CTjxQH2DZLMuiZ_O2ATL7DpRb5nE90AShqsUNcu33rDrHutcsrJOoy9gOT_HU7yx_XaCYT1gi-IWU779rRk-eb_dYsnvbbGRxl6mWM_o6fMzEzZYAYJ6eVDXUvnRsvooCKywWQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0NDI4NDQsImV4cCI6MTczNjQ0NDY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Y5gWJKDOwmnqyzolUFkYwTcNyYicGgo4T-xrjkLyZVC3Lw_UN1R3xW7svk8CJ4Wf8EC7hUneOYMeto2O2yxuAIXUjsTCyFCMFSk6KQQe736gv8jvJv5ukD_wyfJg6DPfpahjBszrnwM7evwmgSlAQlR7K57erl53JCTqiwYkX7xTZXlKt3bDFg0UdRJ0WQoFWJAcSH8Le3CF6PFdo0MrEaz6xE26MRcRqpqe5cNvfgn44ZSwKqN4mfFkTL_apGc5LGKfyMlP3z7Kes53mBekwwSNTIylju2QFuzi3fQSfO1Eq3UNPoVRpLruYiRCdbil3V-MvoMCUMmLQBckpRENUA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ZqZfAJ5pa6YCekFjN84dPNupf4JeP6QesUQaH79-oeE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-09 12:14:04] Production.INFO: ==25495== Releasing lock...
[2025-01-09 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0NDI4NDQsImV4cCI6MTczNjQ0MzE0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NDQyODQ0LCJhdF9oYXNoIjoiQTdXajlZTXZadEtXYm5JV0dvNGFRZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.ynZNwQ35HULDyQE6IMlXzSwarBo-n-DDAMk9e1t_89ADPON9bKKwpQQ0cQBjCNPtfKkvRzq4jpYXuMWS-ouVtRoVP1qOJkbqVlkDlQF5vR3ptJ1cgIGeOLtWTfrNCHeR96oeDI2s_F-y-SWVGbKeKuB9SK6Mq-4OdbrJVYxMJ0fdp-2M8FHuzibPSmYEVmJDLmO-PaL20Da5TMR4CTjxQH2DZLMuiZ_O2ATL7DpRb5nE90AShqsUNcu33rDrHutcsrJOoy9gOT_HU7yx_XaCYT1gi-IWU779rRk-eb_dYsnvbbGRxl6mWM_o6fMzEzZYAYJ6eVDXUvnRsvooCKywWQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY0NDI4NDQsImV4cCI6MTczNjQ0NDY0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Y5gWJKDOwmnqyzolUFkYwTcNyYicGgo4T-xrjkLyZVC3Lw_UN1R3xW7svk8CJ4Wf8EC7hUneOYMeto2O2yxuAIXUjsTCyFCMFSk6KQQe736gv8jvJv5ukD_wyfJg6DPfpahjBszrnwM7evwmgSlAQlR7K57erl53JCTqiwYkX7xTZXlKt3bDFg0UdRJ0WQoFWJAcSH8Le3CF6PFdo0MrEaz6xE26MRcRqpqe5cNvfgn44ZSwKqN4mfFkTL_apGc5LGKfyMlP3z7Kes53mBekwwSNTIylju2QFuzi3fQSfO1Eq3UNPoVRpLruYiRCdbil3V-MvoMCUMmLQBckpRENUA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => ZqZfAJ5pa6YCekFjN84dPNupf4JeP6QesUQaH79-oeE
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-09 12:14:04] Production.ERROR: Invoice Payment Date 2025-01-08 00:00:00
[2025-01-09 12:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,08)
[2025-01-09 12:14:04] Production.ERROR: done
[2025-01-09 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:14:05
[end_date_ymd] => 2025-01-09 12:14:05
[RateCDR] => 1
)
[2025-01-09 12:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:14:05' and `end` < '2025-01-09 12:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:14:07] Production.INFO: Batch insert start
[2025-01-09 12:14:07] Production.INFO: global counter1
[2025-01-09 12:14:07] Production.INFO: insertion start
[2025-01-09 12:14:07] Production.INFO: last batch insert 1
[2025-01-09 12:14:07] Production.INFO: insertion end
[2025-01-09 12:14:07] Production.INFO: CALL prc_importPaymentAccounting ('20d44ee0-cead-11ef-93a3-55f0fa7251c9') start
[2025-01-09 12:14:07] Production.INFO: CALL prc_importPaymentAccounting ('20d44ee0-cead-11ef-93a3-55f0fa7251c9') end
[2025-01-09 12:14:07] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-09 12:14:07] Production.INFO: 2
[2025-01-09 12:14:07] Production.ERROR: CronJobId end14
[2025-01-09 12:14:07] Production.INFO: ==25491== Releasing lock...
[2025-01-09 12:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-09 12:14:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:14:12] Production.ERROR: CronJobId end10
[2025-01-09 12:14:12] Production.INFO: ==25487== Releasing lock...
[2025-01-09 12:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:14:14] Production.INFO: call_cost start
[2025-01-09 12:14:14] Production.INFO: call_cost end
[2025-01-09 12:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:14:14] Production.INFO: ==25483== Releasing lock...
[2025-01-09 12:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:14:28] Production.INFO: count ==4669
[2025-01-09 12:14:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:14:05 - End Time 2025-01-09 12:14:05
[2025-01-09 12:14:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209506', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209506', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209506', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:14:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209506', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:14:30] Production.INFO: ProcessCDR(1,14209506,1,1,2)
[2025-01-09 12:14:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:14:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:14:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:14:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:14:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209506', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:14:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209506', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:14:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:14:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:14:35] Production.INFO: ==25493== Releasing lock...
[2025-01-09 12:14:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:14:35] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:15:02] Production.INFO: ==25550== Lock acquired, processing the job...
[2025-01-09 17:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:15:02] Production.INFO: neon service started
[2025-01-09 17:15:02] Production.INFO: neon service started
[2025-01-09 17:15:02] Production.INFO: ==25550== Releasing lock...
[2025-01-09 17:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:15:02] Production.INFO: ==25554== Lock acquired, processing the job...
[2025-01-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:15:02] Production.INFO: ==25554== Releasing lock...
[2025-01-09 17:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:15:02] Production.INFO: ==25552== Lock acquired, processing the job...
[2025-01-09 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:15:03] Production.INFO: ==25552== Releasing lock...
[2025-01-09 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:15:03] Production.INFO: ==25556== Lock acquired, processing the job...
[2025-01-09 12:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:15:03] Production.INFO: ==25561== Lock acquired, processing the job...
[2025-01-09 12:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:15:03] Production.INFO: ==25559== Lock acquired, processing the job...
[2025-01-09 12:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:15:04] Production.INFO: ==25559== Releasing lock...
[2025-01-09 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:15:04] Production.INFO: ==25563== Lock acquired, processing the job...
[2025-01-09 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:15:04] Production.INFO: ==25565== Lock acquired, processing the job...
[2025-01-09 12:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:15:04] Production.INFO: ==25567== Lock acquired, processing the job...
[2025-01-09 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:15:04] Production.INFO: Account Balance Start.
[2025-01-09 12:15:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:15:04] Production.INFO: 117
[2025-01-09 12:15:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:15:04] Production.INFO: count ==21
[2025-01-09 12:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:15:04] Production.INFO: count ==21
[2025-01-09 12:15:04] Production.ERROR: done
[2025-01-09 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209510') start
[2025-01-09 12:15:04] Production.INFO: Total Charge 0
[2025-01-09 12:15:04] Production.INFO: CreateAllLog End
[2025-01-09 12:15:04] Production.ERROR: done
[2025-01-09 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209510') end
[2025-01-09 12:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:15:04] Production.INFO: 1
[2025-01-09 12:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:15:05] Production.INFO: Account Balance End.
[2025-01-09 12:15:05] Production.ERROR: CronJobId end 12
[2025-01-09 12:15:05] Production.INFO: ==25563== Releasing lock...
[2025-01-09 12:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:15:05] Production.INFO: ==25567== Releasing lock...
[2025-01-09 12:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:15:05
[end_date_ymd] => 2025-01-09 12:15:05
[RateCDR] => 1
)
[2025-01-09 12:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:15:05' and `end` < '2025-01-09 12:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:15:12] Production.ERROR: CronJobId end10
[2025-01-09 12:15:12] Production.INFO: ==25561== Releasing lock...
[2025-01-09 12:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:15:13] Production.INFO: call_cost start
[2025-01-09 12:15:13] Production.INFO: call_cost end
[2025-01-09 12:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:15:14] Production.INFO: ==25556== Releasing lock...
[2025-01-09 12:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:15:28] Production.INFO: count ==4684
[2025-01-09 12:15:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:15:05 - End Time 2025-01-09 12:15:05
[2025-01-09 12:15:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209511', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209511', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209511', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:15:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209511', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:15:30] Production.INFO: ProcessCDR(1,14209511,1,1,2)
[2025-01-09 12:15:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:15:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:15:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:15:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:15:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209511', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:15:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209511', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:15:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:15:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:15:35] Production.INFO: ==25565== Releasing lock...
[2025-01-09 12:15:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:15:35] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:16:01] Production.INFO: ==25620== Lock acquired, processing the job...
[2025-01-09 17:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:16:01] Production.INFO: neon service started
[2025-01-09 17:16:01] Production.INFO: neon service started
[2025-01-09 17:16:01] Production.INFO: ==25620== Releasing lock...
[2025-01-09 17:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:16:02] Production.INFO: ==25624== Lock acquired, processing the job...
[2025-01-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:16:02] Production.INFO: ==25624== Releasing lock...
[2025-01-09 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:16:02] Production.INFO: ==25622== Lock acquired, processing the job...
[2025-01-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:16:02] Production.INFO: ==25622== Releasing lock...
[2025-01-09 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:16:03] Production.INFO: ==25626== Lock acquired, processing the job...
[2025-01-09 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:16:03] Production.INFO: ==25633== Lock acquired, processing the job...
[2025-01-09 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:16:03] Production.INFO: ==25628== Lock acquired, processing the job...
[2025-01-09 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:16:03] Production.INFO: Account Balance Start.
[2025-01-09 12:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:16:03] Production.INFO: 117
[2025-01-09 12:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:16:03] Production.INFO: Total Charge 0
[2025-01-09 12:16:03] Production.INFO: CreateAllLog End
[2025-01-09 12:16:03] Production.INFO: ==25631== Lock acquired, processing the job...
[2025-01-09 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:16:03] Production.INFO: ==25635== Lock acquired, processing the job...
[2025-01-09 12:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:16:03] Production.INFO: ==25637== Lock acquired, processing the job...
[2025-01-09 12:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:16:03] Production.INFO: Account Balance End.
[2025-01-09 12:16:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:16:03] Production.INFO: ==25633== Releasing lock...
[2025-01-09 12:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:16:04] Production.INFO: count ==21
[2025-01-09 12:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:16:04] Production.INFO: count ==21
[2025-01-09 12:16:04] Production.ERROR: done
[2025-01-09 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:16:04] Production.INFO: ==25628== Releasing lock...
[2025-01-09 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209515') start
[2025-01-09 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209515') end
[2025-01-09 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:16:04] Production.INFO: 1
[2025-01-09 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:16:04] Production.INFO: ==25637== Releasing lock...
[2025-01-09 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:16:04] Production.ERROR: done
[2025-01-09 12:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:16:04
[end_date_ymd] => 2025-01-09 12:16:04
[RateCDR] => 1
)
[2025-01-09 12:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:16:04' and `end` < '2025-01-09 12:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:16:12] Production.ERROR: CronJobId end10
[2025-01-09 12:16:12] Production.INFO: ==25631== Releasing lock...
[2025-01-09 12:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:16:13] Production.INFO: call_cost start
[2025-01-09 12:16:13] Production.INFO: call_cost end
[2025-01-09 12:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:16:14] Production.INFO: ==25626== Releasing lock...
[2025-01-09 12:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:16:32] Production.INFO: count ==4675
[2025-01-09 12:16:34] Production.ERROR: pbx CDR StartTime 2025-01-09 09:16:04 - End Time 2025-01-09 12:16:04
[2025-01-09 12:16:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:16:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209516', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:16:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209516', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:16:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209516', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:16:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209516', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:16:34] Production.INFO: ProcessCDR(1,14209516,1,1,2)
[2025-01-09 12:16:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:16:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:16:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:16:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:16:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209516', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:16:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209516', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:16:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:16:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:16:39] Production.INFO: ==25635== Releasing lock...
[2025-01-09 12:16:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:16:39] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:17:02] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-09 17:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:17:02] Production.INFO: neon service started
[2025-01-09 17:17:02] Production.INFO: neon service started
[2025-01-09 17:17:02] Production.INFO: ==25730== Releasing lock...
[2025-01-09 17:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:17:02] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:17:02] Production.INFO: ==25732== Releasing lock...
[2025-01-09 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:17:02] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-01-09 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:17:03] Production.INFO: ==25734== Releasing lock...
[2025-01-09 17:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:17:03] Production.INFO: ==25740== Lock acquired, processing the job...
[2025-01-09 12:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:17:03] Production.INFO: ==25744== Lock acquired, processing the job...
[2025-01-09 12:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:17:03] Production.INFO: ==25746== Lock acquired, processing the job...
[2025-01-09 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:17:03] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-01-09 12:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:17:03] Production.INFO: ==25738== Lock acquired, processing the job...
[2025-01-09 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:17:03] Production.INFO: ==25742== Lock acquired, processing the job...
[2025-01-09 12:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:17:03] Production.INFO: count ==21
[2025-01-09 12:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:17:04] Production.INFO: count ==21
[2025-01-09 12:17:04] Production.ERROR: done
[2025-01-09 12:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:17:04] Production.INFO: Account Balance Start.
[2025-01-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209517') start
[2025-01-09 12:17:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:17:04] Production.INFO: 117
[2025-01-09 12:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:17:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:17:04] Production.INFO: Total Charge 0
[2025-01-09 12:17:04] Production.ERROR: done
[2025-01-09 12:17:04] Production.INFO: CreateAllLog End
[2025-01-09 12:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209517') end
[2025-01-09 12:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:17:04] Production.INFO: 1
[2025-01-09 12:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:17:04] Production.INFO: ==25746== Releasing lock...
[2025-01-09 12:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:17:04] Production.INFO: Account Balance End.
[2025-01-09 12:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:17:04] Production.INFO: ==25742== Releasing lock...
[2025-01-09 12:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:17:04] Production.INFO: ==25738== Releasing lock...
[2025-01-09 12:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:17:05
[end_date_ymd] => 2025-01-09 12:17:05
[RateCDR] => 1
)
[2025-01-09 12:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:17:05' and `end` < '2025-01-09 12:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:17:12] Production.ERROR: CronJobId end10
[2025-01-09 12:17:12] Production.INFO: ==25740== Releasing lock...
[2025-01-09 12:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:17:14] Production.INFO: call_cost start
[2025-01-09 12:17:14] Production.INFO: call_cost end
[2025-01-09 12:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:17:15] Production.INFO: ==25736== Releasing lock...
[2025-01-09 12:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:17:34] Production.INFO: count ==4677
[2025-01-09 12:17:36] Production.ERROR: pbx CDR StartTime 2025-01-09 09:17:05 - End Time 2025-01-09 12:17:05
[2025-01-09 12:17:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:17:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209521', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:17:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209521', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:17:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209521', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:17:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209521', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:17:36] Production.INFO: ProcessCDR(1,14209521,1,1,2)
[2025-01-09 12:17:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:17:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:17:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:17:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:17:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209521', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:17:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209521', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:17:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:17:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:17:41] Production.INFO: ==25744== Releasing lock...
[2025-01-09 12:17:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:17:41] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:18:01] Production.INFO: ==25811== Lock acquired, processing the job...
[2025-01-09 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:18:01] Production.INFO: neon service started
[2025-01-09 17:18:01] Production.INFO: neon service started
[2025-01-09 17:18:01] Production.INFO: ==25811== Releasing lock...
[2025-01-09 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:18:02] Production.INFO: ==25815== Lock acquired, processing the job...
[2025-01-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:18:02] Production.INFO: ==25815== Releasing lock...
[2025-01-09 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:18:02] Production.INFO: ==25813== Lock acquired, processing the job...
[2025-01-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:18:02] Production.INFO: ==25813== Releasing lock...
[2025-01-09 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:18:03] Production.INFO: ==25817== Lock acquired, processing the job...
[2025-01-09 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:18:03] Production.INFO: ==25821== Lock acquired, processing the job...
[2025-01-09 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:18:03] Production.INFO: ==25819== Lock acquired, processing the job...
[2025-01-09 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:18:03] Production.INFO: ==25819== Releasing lock...
[2025-01-09 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:18:03] Production.INFO: ==25823== Lock acquired, processing the job...
[2025-01-09 12:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:18:03] Production.INFO: ==25825== Lock acquired, processing the job...
[2025-01-09 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:18:03] Production.INFO: ==25828== Lock acquired, processing the job...
[2025-01-09 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:18:03] Production.INFO: Account Balance Start.
[2025-01-09 12:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:18:03] Production.INFO: 117
[2025-01-09 12:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:18:03] Production.INFO: count ==21
[2025-01-09 12:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:18:03] Production.INFO: Total Charge 0
[2025-01-09 12:18:03] Production.INFO: count ==21
[2025-01-09 12:18:03] Production.INFO: CreateAllLog End
[2025-01-09 12:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209525') start
[2025-01-09 12:18:04] Production.ERROR: done
[2025-01-09 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:18:04] Production.ERROR: done
[2025-01-09 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209525') end
[2025-01-09 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:18:04] Production.INFO: 1
[2025-01-09 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:18:04] Production.INFO: ==25828== Releasing lock...
[2025-01-09 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:18:04] Production.INFO: Account Balance End.
[2025-01-09 12:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:18:04] Production.INFO: ==25823== Releasing lock...
[2025-01-09 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:18:05
[end_date_ymd] => 2025-01-09 12:18:05
[RateCDR] => 1
)
[2025-01-09 12:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:18:05' and `end` < '2025-01-09 12:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:18:10] Production.ERROR: CronJobId end10
[2025-01-09 12:18:10] Production.INFO: ==25821== Releasing lock...
[2025-01-09 12:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:18:13] Production.INFO: call_cost start
[2025-01-09 12:18:13] Production.INFO: call_cost end
[2025-01-09 12:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:18:13] Production.INFO: ==25817== Releasing lock...
[2025-01-09 12:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:18:23] Production.INFO: count ==4684
[2025-01-09 12:18:25] Production.ERROR: pbx CDR StartTime 2025-01-09 09:18:05 - End Time 2025-01-09 12:18:05
[2025-01-09 12:18:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209526', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209526', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209526', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209526', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:18:25] Production.INFO: ProcessCDR(1,14209526,1,1,2)
[2025-01-09 12:18:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:18:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:18:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:18:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209526', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:18:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209526', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:18:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:18:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:18:30] Production.INFO: ==25825== Releasing lock...
[2025-01-09 12:18:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:18:30] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:19:02] Production.INFO: ==25886== Lock acquired, processing the job...
[2025-01-09 17:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:19:02] Production.INFO: neon service started
[2025-01-09 17:19:02] Production.INFO: neon service started
[2025-01-09 17:19:02] Production.INFO: ==25886== Releasing lock...
[2025-01-09 17:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:19:02] Production.INFO: ==25888== Lock acquired, processing the job...
[2025-01-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:19:02] Production.INFO: ==25888== Releasing lock...
[2025-01-09 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:19:02] Production.INFO: ==25890== Lock acquired, processing the job...
[2025-01-09 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:19:03] Production.INFO: ==25890== Releasing lock...
[2025-01-09 17:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:19:03] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-01-09 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:19:03] Production.INFO: ==25896== Lock acquired, processing the job...
[2025-01-09 12:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:19:03] Production.INFO: ==25898== Lock acquired, processing the job...
[2025-01-09 12:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:19:03] Production.INFO: Account Balance Start.
[2025-01-09 12:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:19:03] Production.INFO: 117
[2025-01-09 12:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:19:03] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-01-09 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:19:03] Production.INFO: ==25900== Lock acquired, processing the job...
[2025-01-09 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:19:04] Production.INFO: Total Charge 0
[2025-01-09 12:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:19:04] Production.INFO: CreateAllLog End
[2025-01-09 12:19:04] Production.INFO: ==25902== Lock acquired, processing the job...
[2025-01-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:19:04] Production.INFO: ==25894== Releasing lock...
[2025-01-09 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:19:04] Production.INFO: Account Balance End.
[2025-01-09 12:19:04] Production.INFO: count ==21
[2025-01-09 12:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:19:04] Production.INFO: count ==21
[2025-01-09 12:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:19:04] Production.INFO: ==25898== Releasing lock...
[2025-01-09 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209530') start
[2025-01-09 12:19:04] Production.ERROR: done
[2025-01-09 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209530') end
[2025-01-09 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:19:04] Production.INFO: 1
[2025-01-09 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:19:04] Production.ERROR: done
[2025-01-09 12:19:04] Production.INFO: ==25902== Releasing lock...
[2025-01-09 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:19:05
[end_date_ymd] => 2025-01-09 12:19:05
[RateCDR] => 1
)
[2025-01-09 12:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:19:05' and `end` < '2025-01-09 12:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:19:12] Production.ERROR: CronJobId end10
[2025-01-09 12:19:12] Production.INFO: ==25896== Releasing lock...
[2025-01-09 12:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:19:14] Production.INFO: call_cost start
[2025-01-09 12:19:14] Production.INFO: call_cost end
[2025-01-09 12:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:19:14] Production.INFO: ==25892== Releasing lock...
[2025-01-09 12:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:19:28] Production.INFO: count ==4681
[2025-01-09 12:19:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:19:05 - End Time 2025-01-09 12:19:05
[2025-01-09 12:19:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:19:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209531', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:19:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209531', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:19:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209531', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:19:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209531', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:19:30] Production.INFO: ProcessCDR(1,14209531,1,1,2)
[2025-01-09 12:19:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:19:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:19:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:19:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:19:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209531', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:19:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209531', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:19:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:19:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:19:35] Production.INFO: ==25900== Releasing lock...
[2025-01-09 12:19:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:19:35] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:20:02] Production.INFO: ==25955== Lock acquired, processing the job...
[2025-01-09 17:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:20:02] Production.INFO: neon service started
[2025-01-09 17:20:02] Production.INFO: neon service started
[2025-01-09 17:20:02] Production.INFO: ==25955== Releasing lock...
[2025-01-09 17:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:20:02] Production.INFO: ==25957== Lock acquired, processing the job...
[2025-01-09 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:20:02] Production.INFO: ==25959== Lock acquired, processing the job...
[2025-01-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:20:02] Production.INFO: ==25959== Releasing lock...
[2025-01-09 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:20:03] Production.INFO: ==25957== Releasing lock...
[2025-01-09 12:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:20:04] Production.INFO: ==25962== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 12:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 12:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 12:20:04] Production.INFO: ==25962== Releasing lock...
[2025-01-09 12:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 12:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 12:20:04] Production.INFO: ==25968== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:20:04] Production.INFO: ==25964== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:20:04] Production.INFO: ==25966== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:20:04] Production.INFO: ==25970== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:20:04] Production.INFO: ==25976== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:20:04] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:20:04] Production.INFO: ==25974== Lock acquired, processing the job...
[2025-01-09 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:20:04] Production.INFO: Account Balance Start.
[2025-01-09 12:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:20:04] Production.INFO: 117
[2025-01-09 12:20:04] Production.INFO: count ==21
[2025-01-09 12:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:20:04] Production.INFO: count ==21
[2025-01-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209534') start
[2025-01-09 12:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209534') end
[2025-01-09 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:20:04] Production.INFO: 1
[2025-01-09 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:20:04] Production.INFO: ==25966== Releasing lock...
[2025-01-09 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:20:04] Production.INFO: ==25976== Releasing lock...
[2025-01-09 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:20:04] Production.INFO: Total Charge 0
[2025-01-09 12:20:05] Production.ERROR: done
[2025-01-09 12:20:05] Production.INFO: CreateAllLog End
[2025-01-09 12:20:05] Production.ERROR: done
[2025-01-09 12:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 12:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209536', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 12:20:05] Production.INFO: Account Balance End.
[2025-01-09 12:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 12:20:05] Production.INFO: ==25970== Releasing lock...
[2025-01-09 12:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:20:05] Production.ERROR: done
[2025-01-09 12:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:20:06
[end_date_ymd] => 2025-01-09 12:20:06
[RateCDR] => 1
)
[2025-01-09 12:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:20:06' and `end` < '2025-01-09 12:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209536', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 12:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 12:20:08] Production.INFO: ProcessCDR(1,14209536,1,1,2)
[2025-01-09 12:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209536,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209536,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:20:08] Production.INFO: ==25974== Releasing lock...
[2025-01-09 12:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 12:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:20:13] Production.ERROR: CronJobId end10
[2025-01-09 12:20:13] Production.INFO: ==25968== Releasing lock...
[2025-01-09 12:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:20:15] Production.INFO: call_cost start
[2025-01-09 12:20:15] Production.INFO: call_cost end
[2025-01-09 12:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:20:16] Production.INFO: ==25964== Releasing lock...
[2025-01-09 12:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:20:26] Production.INFO: count ==4661
[2025-01-09 12:20:28] Production.ERROR: pbx CDR StartTime 2025-01-09 09:20:06 - End Time 2025-01-09 12:20:06
[2025-01-09 12:20:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209537', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209537', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209537', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:20:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209537', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:20:28] Production.INFO: ProcessCDR(1,14209537,1,1,2)
[2025-01-09 12:20:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:20:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:20:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:20:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:20:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209537', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:20:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209537', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:20:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:20:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:20:33] Production.INFO: ==25972== Releasing lock...
[2025-01-09 12:20:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:20:33] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:21:01] Production.INFO: ==26030== Lock acquired, processing the job...
[2025-01-09 17:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:21:01] Production.INFO: neon service started
[2025-01-09 17:21:01] Production.INFO: neon service started
[2025-01-09 17:21:01] Production.INFO: ==26030== Releasing lock...
[2025-01-09 17:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:21:02] Production.INFO: ==26032== Lock acquired, processing the job...
[2025-01-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:21:02] Production.INFO: ==26034== Lock acquired, processing the job...
[2025-01-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:21:02] Production.INFO: ==26034== Releasing lock...
[2025-01-09 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:21:02] Production.INFO: ==26032== Releasing lock...
[2025-01-09 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:21:03] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-01-09 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:21:03] Production.INFO: ==26039== Lock acquired, processing the job...
[2025-01-09 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:21:03] Production.INFO: ==26045== Lock acquired, processing the job...
[2025-01-09 12:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:21:03] Production.INFO: ==26041== Lock acquired, processing the job...
[2025-01-09 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:21:03] Production.INFO: ==26039== Releasing lock...
[2025-01-09 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:21:03] Production.INFO: ==26043== Lock acquired, processing the job...
[2025-01-09 12:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:21:03] Production.INFO: ==26047== Lock acquired, processing the job...
[2025-01-09 12:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:21:03] Production.INFO: Account Balance Start.
[2025-01-09 12:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:21:03] Production.INFO: 117
[2025-01-09 12:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:21:03] Production.ERROR: done
[2025-01-09 12:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:21:03] Production.INFO: Total Charge 0
[2025-01-09 12:21:03] Production.INFO: count ==21
[2025-01-09 12:21:03] Production.INFO: CreateAllLog End
[2025-01-09 12:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:21:03] Production.INFO: count ==21
[2025-01-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209541') start
[2025-01-09 12:21:04] Production.ERROR: done
[2025-01-09 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209541') end
[2025-01-09 12:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:21:04] Production.INFO: 1
[2025-01-09 12:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:21:04] Production.INFO: ==26047== Releasing lock...
[2025-01-09 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:21:04] Production.INFO: Account Balance End.
[2025-01-09 12:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:21:04] Production.INFO: ==26043== Releasing lock...
[2025-01-09 12:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:21:05
[end_date_ymd] => 2025-01-09 12:21:05
[RateCDR] => 1
)
[2025-01-09 12:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:21:05' and `end` < '2025-01-09 12:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:21:11] Production.ERROR: CronJobId end10
[2025-01-09 12:21:11] Production.INFO: ==26041== Releasing lock...
[2025-01-09 12:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:21:13] Production.INFO: call_cost start
[2025-01-09 12:21:13] Production.INFO: call_cost end
[2025-01-09 12:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:21:13] Production.INFO: ==26037== Releasing lock...
[2025-01-09 12:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:21:19] Production.INFO: count ==4665
[2025-01-09 12:21:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:21:05 - End Time 2025-01-09 12:21:05
[2025-01-09 12:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209542', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209542', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209542', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209542', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:21:21] Production.INFO: ProcessCDR(1,14209542,1,1,2)
[2025-01-09 12:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209542', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209542', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:21:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:21:26] Production.INFO: ==26045== Releasing lock...
[2025-01-09 12:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:21:26] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:22:02] Production.INFO: ==26102== Lock acquired, processing the job...
[2025-01-09 17:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:22:02] Production.INFO: neon service started
[2025-01-09 17:22:02] Production.INFO: neon service started
[2025-01-09 17:22:02] Production.INFO: ==26102== Releasing lock...
[2025-01-09 17:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:22:02] Production.INFO: ==26106== Lock acquired, processing the job...
[2025-01-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:22:02] Production.INFO: ==26106== Releasing lock...
[2025-01-09 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:22:02] Production.INFO: ==26104== Lock acquired, processing the job...
[2025-01-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:22:02] Production.INFO: ==26104== Releasing lock...
[2025-01-09 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:22:03] Production.INFO: ==26109== Lock acquired, processing the job...
[2025-01-09 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:22:03] Production.INFO: ==26111== Lock acquired, processing the job...
[2025-01-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:22:03] Production.INFO: ==26113== Lock acquired, processing the job...
[2025-01-09 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:22:03] Production.INFO: ==26115== Lock acquired, processing the job...
[2025-01-09 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:22:03] Production.INFO: ==26111== Releasing lock...
[2025-01-09 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:22:03] Production.INFO: Account Balance Start.
[2025-01-09 12:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:22:03] Production.INFO: ==26119== Lock acquired, processing the job...
[2025-01-09 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:22:04] Production.INFO: 117
[2025-01-09 12:22:04] Production.INFO: ==26117== Lock acquired, processing the job...
[2025-01-09 12:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:22:04] Production.INFO: Total Charge 0
[2025-01-09 12:22:04] Production.INFO: CreateAllLog End
[2025-01-09 12:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:22:04] Production.INFO: count ==21
[2025-01-09 12:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:22:04] Production.INFO: count ==21
[2025-01-09 12:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209546') start
[2025-01-09 12:22:04] Production.ERROR: done
[2025-01-09 12:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:22:04] Production.INFO: Account Balance End.
[2025-01-09 12:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209546') end
[2025-01-09 12:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:22:04] Production.INFO: 1
[2025-01-09 12:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:22:04] Production.INFO: ==26115== Releasing lock...
[2025-01-09 12:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:22:04] Production.INFO: ==26119== Releasing lock...
[2025-01-09 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:22:04] Production.ERROR: done
[2025-01-09 12:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:22:05
[end_date_ymd] => 2025-01-09 12:22:05
[RateCDR] => 1
)
[2025-01-09 12:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:22:05' and `end` < '2025-01-09 12:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:22:11] Production.ERROR: CronJobId end10
[2025-01-09 12:22:11] Production.INFO: ==26113== Releasing lock...
[2025-01-09 12:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:22:13] Production.INFO: call_cost start
[2025-01-09 12:22:13] Production.INFO: call_cost end
[2025-01-09 12:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:22:14] Production.INFO: ==26109== Releasing lock...
[2025-01-09 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:22:19] Production.INFO: count ==4665
[2025-01-09 12:22:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:22:05 - End Time 2025-01-09 12:22:05
[2025-01-09 12:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209547', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209547', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209547', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209547', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:22:21] Production.INFO: ProcessCDR(1,14209547,1,1,2)
[2025-01-09 12:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:22:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:22:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:22:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:22:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209547', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209547', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:22:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:22:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:22:26] Production.INFO: ==26117== Releasing lock...
[2025-01-09 12:22:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:22:26] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:23:01] Production.INFO: ==26172== Lock acquired, processing the job...
[2025-01-09 17:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:23:01] Production.INFO: neon service started
[2025-01-09 17:23:01] Production.INFO: neon service started
[2025-01-09 17:23:01] Production.INFO: ==26172== Releasing lock...
[2025-01-09 17:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:23:01] Production.INFO: ==26174== Lock acquired, processing the job...
[2025-01-09 12:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:23:02] Production.INFO: ==26174== Releasing lock...
[2025-01-09 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:23:02] Production.INFO: ==26176== Lock acquired, processing the job...
[2025-01-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:23:02] Production.INFO: ==26176== Releasing lock...
[2025-01-09 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:23:03] Production.INFO: ==26179== Lock acquired, processing the job...
[2025-01-09 12:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:23:03] Production.INFO: ==26181== Lock acquired, processing the job...
[2025-01-09 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:23:03] Production.INFO: ==26185== Lock acquired, processing the job...
[2025-01-09 12:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:23:03] Production.INFO: ==26183== Lock acquired, processing the job...
[2025-01-09 12:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:23:03] Production.INFO: Account Balance Start.
[2025-01-09 12:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:23:03] Production.INFO: 117
[2025-01-09 12:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:23:03] Production.INFO: ==26187== Lock acquired, processing the job...
[2025-01-09 12:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:23:03] Production.INFO: ==26189== Lock acquired, processing the job...
[2025-01-09 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:23:03] Production.INFO: Total Charge 0
[2025-01-09 12:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:23:03] Production.INFO: CreateAllLog End
[2025-01-09 12:23:03] Production.INFO: ==26181== Releasing lock...
[2025-01-09 12:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:23:03] Production.INFO: count ==21
[2025-01-09 12:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:23:03] Production.INFO: count ==21
[2025-01-09 12:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209551') start
[2025-01-09 12:23:03] Production.ERROR: done
[2025-01-09 12:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209551') end
[2025-01-09 12:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:23:03] Production.INFO: 1
[2025-01-09 12:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:23:03] Production.INFO: ==26189== Releasing lock...
[2025-01-09 12:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:23:03] Production.INFO: Account Balance End.
[2025-01-09 12:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:23:04] Production.INFO: ==26185== Releasing lock...
[2025-01-09 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:23:04] Production.ERROR: done
[2025-01-09 12:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:23:05
[end_date_ymd] => 2025-01-09 12:23:05
[RateCDR] => 1
)
[2025-01-09 12:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:23:05' and `end` < '2025-01-09 12:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:23:11] Production.ERROR: CronJobId end10
[2025-01-09 12:23:11] Production.INFO: ==26183== Releasing lock...
[2025-01-09 12:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:23:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:23:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:23:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:23:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:23:12] Production.INFO: call_cost start
[2025-01-09 12:23:12] Production.INFO: call_cost end
[2025-01-09 12:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:23:13] Production.INFO: ==26179== Releasing lock...
[2025-01-09 12:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:23:28] Production.INFO: count ==4703
[2025-01-09 12:23:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:23:05 - End Time 2025-01-09 12:23:05
[2025-01-09 12:23:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209552', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209552', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209552', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209552', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:23:30] Production.INFO: ProcessCDR(1,14209552,1,1,2)
[2025-01-09 12:23:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:23:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209552,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:23:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:23:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209552,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:23:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209552', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:23:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209552', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:23:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:23:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:23:35] Production.INFO: ==26187== Releasing lock...
[2025-01-09 12:23:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:23:35] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 17:24:01] Production.INFO: ==26244== Lock acquired, processing the job...
[2025-01-09 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:24:01] Production.INFO: neon service started
[2025-01-09 17:24:01] Production.INFO: neon service started
[2025-01-09 17:24:01] Production.INFO: ==26244== Releasing lock...
[2025-01-09 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:24:02] Production.INFO: ==26248== Lock acquired, processing the job...
[2025-01-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:24:02] Production.INFO: ==26248== Releasing lock...
[2025-01-09 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:24:02] Production.INFO: ==26246== Lock acquired, processing the job...
[2025-01-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:24:02] Production.INFO: ==26246== Releasing lock...
[2025-01-09 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:24:03] Production.INFO: ==26258== Lock acquired, processing the job...
[2025-01-09 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:24:03] Production.INFO: ==26262== Lock acquired, processing the job...
[2025-01-09 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:24:03] Production.INFO: ==26252== Lock acquired, processing the job...
[2025-01-09 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:24:03] Production.INFO: Account Balance Start.
[2025-01-09 12:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:24:03] Production.INFO: 117
[2025-01-09 12:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:24:04] Production.INFO: ==26254== Lock acquired, processing the job...
[2025-01-09 12:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:24:04] Production.INFO: count ==21
[2025-01-09 12:24:04] Production.INFO: ==26256== Lock acquired, processing the job...
[2025-01-09 12:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:24:04] Production.INFO: count ==21
[2025-01-09 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:24:04] Production.INFO: ==26260== Lock acquired, processing the job...
[2025-01-09 12:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209554') start
[2025-01-09 12:24:04] Production.INFO: Total Charge 0
[2025-01-09 12:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:24:04] Production.INFO: CreateAllLog End
[2025-01-09 12:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209554') end
[2025-01-09 12:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:24:04] Production.INFO: 1
[2025-01-09 12:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:24:04] Production.INFO: ==26262== Releasing lock...
[2025-01-09 12:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:24:04] Production.INFO: Account Balance End.
[2025-01-09 12:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:24:04] Production.INFO: ==26258== Releasing lock...
[2025-01-09 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:24:04] Production.INFO: ==26254== Releasing lock...
[2025-01-09 12:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:24:04] Production.ERROR: done
[2025-01-09 12:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:24:04] Production.ERROR: done
[2025-01-09 12:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:24:05
[end_date_ymd] => 2025-01-09 12:24:05
[RateCDR] => 1
)
[2025-01-09 12:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:24:05' and `end` < '2025-01-09 12:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:24:11] Production.ERROR: CronJobId end10
[2025-01-09 12:24:11] Production.INFO: ==26256== Releasing lock...
[2025-01-09 12:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:24:13] Production.INFO: call_cost start
[2025-01-09 12:24:13] Production.INFO: call_cost end
[2025-01-09 12:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:24:14] Production.INFO: ==26252== Releasing lock...
[2025-01-09 12:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:24:33] Production.INFO: count ==4663
[2025-01-09 12:24:35] Production.ERROR: pbx CDR StartTime 2025-01-09 09:24:05 - End Time 2025-01-09 12:24:05
[2025-01-09 12:24:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:24:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209557', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:24:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209557', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:24:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209557', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:24:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209557', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:24:35] Production.INFO: ProcessCDR(1,14209557,1,1,2)
[2025-01-09 12:24:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:24:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:24:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:24:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:24:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209557', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:24:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209557', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:24:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:24:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:24:40] Production.INFO: ==26260== Releasing lock...
[2025-01-09 12:24:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:24:40] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:25:01] Production.INFO: ==26322== Lock acquired, processing the job...
[2025-01-09 17:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:25:01] Production.INFO: neon service started
[2025-01-09 17:25:01] Production.INFO: neon service started
[2025-01-09 17:25:01] Production.INFO: ==26322== Releasing lock...
[2025-01-09 17:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:25:01] Production.INFO: ==26326== Lock acquired, processing the job...
[2025-01-09 17:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:25:01] Production.INFO: ==26326== Releasing lock...
[2025-01-09 17:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:25:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:25:01] Production.INFO: ==26324== Lock acquired, processing the job...
[2025-01-09 12:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:25:02] Production.INFO: ==26324== Releasing lock...
[2025-01-09 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:25:02] Production.INFO: ==26328== Lock acquired, processing the job...
[2025-01-09 12:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:25:02] Production.INFO: ==26330== Lock acquired, processing the job...
[2025-01-09 12:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:25:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:25:02] Production.INFO: ==26332== Lock acquired, processing the job...
[2025-01-09 12:25:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:25:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:25:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:25:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:25:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:25:03] Production.INFO: ==26330== Releasing lock...
[2025-01-09 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:25:03] Production.INFO: ==26336== Lock acquired, processing the job...
[2025-01-09 12:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:25:03] Production.INFO: ==26334== Lock acquired, processing the job...
[2025-01-09 12:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:25:03] Production.INFO: ==26339== Lock acquired, processing the job...
[2025-01-09 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:25:03] Production.ERROR: done
[2025-01-09 12:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:25:03] Production.INFO: Account Balance Start.
[2025-01-09 12:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:25:03] Production.INFO: 117
[2025-01-09 12:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:25:03] Production.ERROR: done
[2025-01-09 12:25:03] Production.INFO: count ==21
[2025-01-09 12:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:25:03] Production.INFO: count ==21
[2025-01-09 12:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209561') start
[2025-01-09 12:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:25:03] Production.INFO: Total Charge 0
[2025-01-09 12:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209561') end
[2025-01-09 12:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:25:03] Production.INFO: 1
[2025-01-09 12:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:25:03] Production.INFO: CreateAllLog End
[2025-01-09 12:25:04] Production.INFO: ==26339== Releasing lock...
[2025-01-09 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:25:04] Production.INFO: Account Balance End.
[2025-01-09 12:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:25:04] Production.INFO: ==26334== Releasing lock...
[2025-01-09 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:25:04
[end_date_ymd] => 2025-01-09 12:25:04
[RateCDR] => 1
)
[2025-01-09 12:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:25:04' and `end` < '2025-01-09 12:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:25:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:362
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(362): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateSOAOffSet(1,0))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(363): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->statement()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::getOutstandingAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-09 12:25:10] Production.ERROR: CronJobId end10
[2025-01-09 12:25:10] Production.INFO: ==26332== Releasing lock...
[2025-01-09 12:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:25:12] Production.INFO: call_cost start
[2025-01-09 12:25:12] Production.INFO: call_cost end
[2025-01-09 12:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:25:13] Production.INFO: ==26328== Releasing lock...
[2025-01-09 12:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:25:34] Production.INFO: count ==4642
[2025-01-09 12:25:35] Production.ERROR: pbx CDR StartTime 2025-01-09 09:25:04 - End Time 2025-01-09 12:25:04
[2025-01-09 12:25:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:25:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209562', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209562', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209562', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:25:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209562', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:25:36] Production.INFO: ProcessCDR(1,14209562,1,1,2)
[2025-01-09 12:25:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:25:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:25:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:25:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:25:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209562', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:25:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209562', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:25:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:25:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:25:40] Production.INFO: ==26336== Releasing lock...
[2025-01-09 12:25:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:25:40] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:26:01] Production.INFO: ==26400== Lock acquired, processing the job...
[2025-01-09 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:26:01] Production.INFO: neon service started
[2025-01-09 17:26:01] Production.INFO: neon service started
[2025-01-09 17:26:01] Production.INFO: ==26400== Releasing lock...
[2025-01-09 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:26:02] Production.INFO: ==26402== Lock acquired, processing the job...
[2025-01-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:26:02] Production.INFO: ==26404== Lock acquired, processing the job...
[2025-01-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:26:02] Production.INFO: ==26402== Releasing lock...
[2025-01-09 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:26:02] Production.INFO: ==26404== Releasing lock...
[2025-01-09 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:26:03] Production.INFO: ==26413== Lock acquired, processing the job...
[2025-01-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:26:03] Production.INFO: ==26417== Lock acquired, processing the job...
[2025-01-09 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:26:03] Production.INFO: Account Balance Start.
[2025-01-09 12:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:26:03] Production.INFO: 117
[2025-01-09 12:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:26:03] Production.INFO: count ==21
[2025-01-09 12:26:03] Production.INFO: Total Charge 0
[2025-01-09 12:26:03] Production.INFO: ==26406== Lock acquired, processing the job...
[2025-01-09 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:26:03] Production.INFO: CreateAllLog End
[2025-01-09 12:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:26:03] Production.INFO: ==26408== Lock acquired, processing the job...
[2025-01-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:26:03] Production.INFO: count ==21
[2025-01-09 12:26:03] Production.INFO: ==26411== Lock acquired, processing the job...
[2025-01-09 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209564') start
[2025-01-09 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:26:03] Production.INFO: Account Balance End.
[2025-01-09 12:26:03] Production.INFO: ==26415== Lock acquired, processing the job...
[2025-01-09 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:26:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:26:03] Production.INFO: ==26413== Releasing lock...
[2025-01-09 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209564') end
[2025-01-09 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:26:03] Production.INFO: 1
[2025-01-09 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:26:03] Production.INFO: ==26417== Releasing lock...
[2025-01-09 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:26:03] Production.INFO: ==26408== Releasing lock...
[2025-01-09 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:26:04] Production.ERROR: done
[2025-01-09 12:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:26:04] Production.ERROR: done
[2025-01-09 12:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:26:05
[end_date_ymd] => 2025-01-09 12:26:05
[RateCDR] => 1
)
[2025-01-09 12:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:26:05' and `end` < '2025-01-09 12:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:26:12] Production.ERROR: CronJobId end10
[2025-01-09 12:26:12] Production.INFO: ==26411== Releasing lock...
[2025-01-09 12:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:26:13] Production.INFO: call_cost start
[2025-01-09 12:26:13] Production.INFO: call_cost end
[2025-01-09 12:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:26:14] Production.INFO: ==26406== Releasing lock...
[2025-01-09 12:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:26:25] Production.INFO: count ==4626
[2025-01-09 12:26:27] Production.ERROR: pbx CDR StartTime 2025-01-09 09:26:05 - End Time 2025-01-09 12:26:05
[2025-01-09 12:26:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:26:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209567', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:26:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209567', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:26:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209567', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:26:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209567', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:26:27] Production.INFO: ProcessCDR(1,14209567,1,1,2)
[2025-01-09 12:26:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:26:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:26:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:26:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:26:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209567', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:26:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209567', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:26:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:26:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:26:30] Production.INFO: ==26415== Releasing lock...
[2025-01-09 12:26:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:26:30] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:27:02] Production.INFO: ==26471== Lock acquired, processing the job...
[2025-01-09 17:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:27:02] Production.INFO: neon service started
[2025-01-09 17:27:02] Production.INFO: neon service started
[2025-01-09 17:27:02] Production.INFO: ==26471== Releasing lock...
[2025-01-09 17:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:27:02] Production.INFO: ==26475== Lock acquired, processing the job...
[2025-01-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:27:02] Production.INFO: ==26475== Releasing lock...
[2025-01-09 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:27:02] Production.INFO: ==26473== Lock acquired, processing the job...
[2025-01-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:27:02] Production.INFO: ==26473== Releasing lock...
[2025-01-09 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:27:03] Production.INFO: ==26484== Lock acquired, processing the job...
[2025-01-09 12:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:27:03] Production.INFO: ==26482== Lock acquired, processing the job...
[2025-01-09 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:27:03] Production.INFO: Account Balance Start.
[2025-01-09 12:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:27:03] Production.INFO: 117
[2025-01-09 12:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:27:03] Production.INFO: Total Charge 0
[2025-01-09 12:27:03] Production.INFO: CreateAllLog End
[2025-01-09 12:27:03] Production.INFO: ==26477== Lock acquired, processing the job...
[2025-01-09 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:27:03] Production.INFO: ==26479== Lock acquired, processing the job...
[2025-01-09 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:27:04] Production.INFO: ==26486== Lock acquired, processing the job...
[2025-01-09 12:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:27:04] Production.INFO: Account Balance End.
[2025-01-09 12:27:04] Production.INFO: ==26488== Lock acquired, processing the job...
[2025-01-09 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:27:04] Production.INFO: ==26484== Releasing lock...
[2025-01-09 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:27:04] Production.INFO: count ==21
[2025-01-09 12:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:27:04] Production.INFO: count ==21
[2025-01-09 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209571') start
[2025-01-09 12:27:04] Production.ERROR: done
[2025-01-09 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209571') end
[2025-01-09 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:27:04] Production.INFO: 1
[2025-01-09 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:27:04] Production.INFO: ==26488== Releasing lock...
[2025-01-09 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:27:04] Production.ERROR: done
[2025-01-09 12:27:04] Production.INFO: ==26479== Releasing lock...
[2025-01-09 12:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:27:05
[end_date_ymd] => 2025-01-09 12:27:05
[RateCDR] => 1
)
[2025-01-09 12:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:27:05' and `end` < '2025-01-09 12:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:27:11] Production.ERROR: CronJobId end10
[2025-01-09 12:27:11] Production.INFO: ==26482== Releasing lock...
[2025-01-09 12:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:27:14] Production.INFO: call_cost start
[2025-01-09 12:27:14] Production.INFO: call_cost end
[2025-01-09 12:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:27:14] Production.INFO: ==26477== Releasing lock...
[2025-01-09 12:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:27:22] Production.INFO: count ==4609
[2025-01-09 12:27:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:27:05 - End Time 2025-01-09 12:27:05
[2025-01-09 12:27:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209572', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209572', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209572', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:27:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209572', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:27:24] Production.INFO: ProcessCDR(1,14209572,1,1,2)
[2025-01-09 12:27:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:27:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:27:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:27:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:27:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209572', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:27:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209572', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:27:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:27:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:27:29] Production.INFO: ==26486== Releasing lock...
[2025-01-09 12:27:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:27:29] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:28:01] Production.INFO: ==26550== Lock acquired, processing the job...
[2025-01-09 17:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:28:01] Production.INFO: neon service started
[2025-01-09 17:28:01] Production.INFO: neon service started
[2025-01-09 17:28:01] Production.INFO: ==26550== Releasing lock...
[2025-01-09 17:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:28:01] Production.INFO: ==26552== Lock acquired, processing the job...
[2025-01-09 12:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:28:02] Production.INFO: ==26552== Releasing lock...
[2025-01-09 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:28:02] Production.INFO: ==26554== Lock acquired, processing the job...
[2025-01-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:28:02] Production.INFO: ==26554== Releasing lock...
[2025-01-09 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:28:02] Production.INFO: ==26557== Lock acquired, processing the job...
[2025-01-09 12:28:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:28:02] Production.INFO: ==26559== Lock acquired, processing the job...
[2025-01-09 12:28:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:28:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:28:03] Production.INFO: ==26563== Lock acquired, processing the job...
[2025-01-09 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:28:03] Production.INFO: ==26559== Releasing lock...
[2025-01-09 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:28:03] Production.INFO: Account Balance Start.
[2025-01-09 12:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:28:03] Production.INFO: 117
[2025-01-09 12:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:28:03] Production.INFO: Total Charge 0
[2025-01-09 12:28:03] Production.INFO: ==26567== Lock acquired, processing the job...
[2025-01-09 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:28:03] Production.INFO: CreateAllLog End
[2025-01-09 12:28:03] Production.INFO: ==26561== Lock acquired, processing the job...
[2025-01-09 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:28:03] Production.INFO: ==26565== Lock acquired, processing the job...
[2025-01-09 12:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:28:03] Production.INFO: Account Balance End.
[2025-01-09 12:28:03] Production.INFO: count ==21
[2025-01-09 12:28:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:28:03] Production.INFO: ==26563== Releasing lock...
[2025-01-09 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:28:03] Production.INFO: count ==21
[2025-01-09 12:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209576') start
[2025-01-09 12:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209576') end
[2025-01-09 12:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:28:03] Production.INFO: 1
[2025-01-09 12:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:28:03] Production.INFO: ==26567== Releasing lock...
[2025-01-09 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:28:04] Production.ERROR: done
[2025-01-09 12:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:28:04] Production.ERROR: done
[2025-01-09 12:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:28:05
[end_date_ymd] => 2025-01-09 12:28:05
[RateCDR] => 1
)
[2025-01-09 12:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:28:05' and `end` < '2025-01-09 12:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:28:10] Production.ERROR: CronJobId end10
[2025-01-09 12:28:10] Production.INFO: ==26561== Releasing lock...
[2025-01-09 12:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:28:13] Production.INFO: call_cost start
[2025-01-09 12:28:13] Production.INFO: call_cost end
[2025-01-09 12:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:28:13] Production.INFO: ==26557== Releasing lock...
[2025-01-09 12:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:28:19] Production.INFO: count ==4585
[2025-01-09 12:28:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:28:05 - End Time 2025-01-09 12:28:05
[2025-01-09 12:28:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209577', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209577', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209577', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:28:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209577', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:28:21] Production.INFO: ProcessCDR(1,14209577,1,1,2)
[2025-01-09 12:28:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:28:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:28:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209577', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209577', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:28:26] Production.INFO: ==26565== Releasing lock...
[2025-01-09 12:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:28:26] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 17:29:02] Production.INFO: ==26634== Lock acquired, processing the job...
[2025-01-09 17:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:29:02] Production.INFO: neon service started
[2025-01-09 17:29:02] Production.INFO: neon service started
[2025-01-09 17:29:02] Production.INFO: ==26634== Releasing lock...
[2025-01-09 17:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:29:02] Production.INFO: ==26639== Lock acquired, processing the job...
[2025-01-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:29:02] Production.INFO: ==26637== Lock acquired, processing the job...
[2025-01-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:29:02] Production.INFO: ==26639== Releasing lock...
[2025-01-09 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:29:02] Production.INFO: ==26637== Releasing lock...
[2025-01-09 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:29:03] Production.INFO: ==26645== Lock acquired, processing the job...
[2025-01-09 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:29:03] Production.INFO: ==26647== Lock acquired, processing the job...
[2025-01-09 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:29:03] Production.INFO: Account Balance Start.
[2025-01-09 12:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:29:03] Production.INFO: 117
[2025-01-09 12:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:29:03] Production.INFO: ==26649== Lock acquired, processing the job...
[2025-01-09 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:29:03] Production.INFO: Total Charge 0
[2025-01-09 12:29:03] Production.INFO: CreateAllLog End
[2025-01-09 12:29:03] Production.INFO: ==26641== Lock acquired, processing the job...
[2025-01-09 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:29:03] Production.INFO: ==26643== Lock acquired, processing the job...
[2025-01-09 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:29:04] Production.INFO: ==26651== Lock acquired, processing the job...
[2025-01-09 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:29:04] Production.INFO: Account Balance End.
[2025-01-09 12:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:29:04] Production.INFO: ==26647== Releasing lock...
[2025-01-09 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 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-01-09 12:29:04] Production.ERROR: done
[2025-01-09 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:29:04] Production.INFO: count ==21
[2025-01-09 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-01-09 12:29:04] Production.INFO: count ==21
[2025-01-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209580') start
[2025-01-09 12:29:04] Production.ERROR: done
[2025-01-09 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209580') end
[2025-01-09 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:29:04] Production.INFO: 1
[2025-01-09 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:29:04] Production.INFO: ==26651== Releasing lock...
[2025-01-09 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:29:04] Production.INFO: ==26643== Releasing lock...
[2025-01-09 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:29:05
[end_date_ymd] => 2025-01-09 12:29:05
[RateCDR] => 1
)
[2025-01-09 12:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:29:05' and `end` < '2025-01-09 12:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:29:12] Production.ERROR: CronJobId end10
[2025-01-09 12:29:12] Production.INFO: ==26645== Releasing lock...
[2025-01-09 12:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:29:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:29:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:29:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:29:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:29:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:29:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:29:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:29:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:29:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:29:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:29:14] Production.INFO: call_cost start
[2025-01-09 12:29:14] Production.INFO: call_cost end
[2025-01-09 12:29:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:29:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:29:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:29:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:29:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:29:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:29:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:29:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:29:15] Production.INFO: ==26641== Releasing lock...
[2025-01-09 12:29:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:29:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:29:24] Production.INFO: count ==4586
[2025-01-09 12:29:26] Production.ERROR: pbx CDR StartTime 2025-01-09 09:29:05 - End Time 2025-01-09 12:29:05
[2025-01-09 12:29:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209582', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209582', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209582', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:29:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209582', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:29:26] Production.INFO: ProcessCDR(1,14209582,1,1,2)
[2025-01-09 12:29:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:29:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:29:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:29:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:29:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209582', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:29:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209582', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:29:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:29:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:29:31] Production.INFO: ==26649== Releasing lock...
[2025-01-09 12:29:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:29:31] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 17:30:01] Production.INFO: ==26721== Lock acquired, processing the job...
[2025-01-09 17:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:30:01] Production.INFO: neon service started
[2025-01-09 17:30:01] Production.INFO: neon service started
[2025-01-09 17:30:01] Production.INFO: ==26721== Releasing lock...
[2025-01-09 17:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:30:01] Production.INFO: ==26723== Lock acquired, processing the job...
[2025-01-09 12:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:30:02] Production.INFO: ==26723== Releasing lock...
[2025-01-09 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:30:02] Production.INFO: ==26725== Lock acquired, processing the job...
[2025-01-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:30:02] Production.INFO: ==26725== Releasing lock...
[2025-01-09 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:30:03] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 12:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 12:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 12:30:03] Production.INFO: ==26727== Releasing lock...
[2025-01-09 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 12:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 12:30:03] Production.INFO: ==26732== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:30:03] Production.INFO: ==26730== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:30:03] Production.INFO: ==26734== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:30:03] Production.INFO: ==26736== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:30:03] Production.INFO: ==26738== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:30:03] Production.INFO: ==26740== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 12:30:03] Production.INFO: Account Balance Start.
[2025-01-09 12:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:30:03] Production.INFO: 117
[2025-01-09 12:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:30:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:30:03] Production.INFO: ==26742== Lock acquired, processing the job...
[2025-01-09 12:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:30:03] Production.INFO: Total Charge 0
[2025-01-09 12:30:03] Production.INFO: CreateAllLog End
[2025-01-09 12:30:03] Production.INFO: ==26732== Releasing lock...
[2025-01-09 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:30:04] Production.INFO: count ==21
[2025-01-09 12:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:30:04] Production.INFO: count ==21
[2025-01-09 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209586') start
[2025-01-09 12:30:04] Production.ERROR: done
[2025-01-09 12:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:30:04] Production.ERROR: done
[2025-01-09 12:30:04] Production.ERROR: done
[2025-01-09 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209586') end
[2025-01-09 12:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:30:04] Production.INFO: 1
[2025-01-09 12:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209587', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 12:30:04] Production.INFO: ==26742== Releasing lock...
[2025-01-09 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:30:04] Production.INFO: Account Balance End.
[2025-01-09 12:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:30:04] Production.INFO: ==26736== Releasing lock...
[2025-01-09 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:30:05
[end_date_ymd] => 2025-01-09 12:30:05
[RateCDR] => 1
)
[2025-01-09 12:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:30:05' and `end` < '2025-01-09 12:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209587', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 12:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 12:30:08] Production.INFO: ProcessCDR(1,14209587,1,1,2)
[2025-01-09 12:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209587,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209587,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:30:08] Production.INFO: ==26740== Releasing lock...
[2025-01-09 12:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 12:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:30:12] Production.ERROR: CronJobId end10
[2025-01-09 12:30:12] Production.INFO: ==26734== Releasing lock...
[2025-01-09 12:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:30:15] Production.INFO: call_cost start
[2025-01-09 12:30:15] Production.INFO: call_cost end
[2025-01-09 12:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:30:16] Production.INFO: ==26730== Releasing lock...
[2025-01-09 12:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:30:22] Production.INFO: count ==4599
[2025-01-09 12:30:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:30:05 - End Time 2025-01-09 12:30:05
[2025-01-09 12:30:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209588', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209588', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209588', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209588', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:30:24] Production.INFO: ProcessCDR(1,14209588,1,1,2)
[2025-01-09 12:30:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:30:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:30:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:30:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209588', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:30:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209588', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:30:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:30:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:30:28] Production.INFO: ==26738== Releasing lock...
[2025-01-09 12:30:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:30:28] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:31:01] Production.INFO: ==26808== Lock acquired, processing the job...
[2025-01-09 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:31:01] Production.INFO: neon service started
[2025-01-09 17:31:01] Production.INFO: neon service started
[2025-01-09 17:31:01] Production.INFO: ==26808== Releasing lock...
[2025-01-09 17:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:31:02] Production.INFO: ==26812== Lock acquired, processing the job...
[2025-01-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:31:02] Production.INFO: ==26812== Releasing lock...
[2025-01-09 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:31:02] Production.INFO: ==26814== Lock acquired, processing the job...
[2025-01-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:31:02] Production.INFO: ==26814== Releasing lock...
[2025-01-09 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:31:03] Production.INFO: ==26823== Lock acquired, processing the job...
[2025-01-09 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:31:03] Production.INFO: ==26827== Lock acquired, processing the job...
[2025-01-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:31:03] Production.INFO: ==26817== Lock acquired, processing the job...
[2025-01-09 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:31:03] Production.INFO: ==26819== Lock acquired, processing the job...
[2025-01-09 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:31:03] Production.INFO: Account Balance Start.
[2025-01-09 12:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:31:03] Production.INFO: 117
[2025-01-09 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:31:03] Production.INFO: ==26821== Lock acquired, processing the job...
[2025-01-09 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:31:03] Production.INFO: count ==21
[2025-01-09 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:31:03] Production.INFO: count ==21
[2025-01-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209589') start
[2025-01-09 12:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:31:03] Production.INFO: ==26825== Lock acquired, processing the job...
[2025-01-09 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:31:03] Production.INFO: Total Charge 0
[2025-01-09 12:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:31:03] Production.INFO: CreateAllLog End
[2025-01-09 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209589') end
[2025-01-09 12:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:31:03] Production.INFO: 1
[2025-01-09 12:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:31:03] Production.INFO: ==26827== Releasing lock...
[2025-01-09 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:31:04] Production.INFO: ==26819== Releasing lock...
[2025-01-09 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:31:04] Production.INFO: Account Balance End.
[2025-01-09 12:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:31:04] Production.INFO: ==26823== Releasing lock...
[2025-01-09 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:31:04] Production.ERROR: done
[2025-01-09 12:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:31:04] Production.ERROR: done
[2025-01-09 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:31:05
[end_date_ymd] => 2025-01-09 12:31:05
[RateCDR] => 1
)
[2025-01-09 12:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:31:05' and `end` < '2025-01-09 12:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:31:12] Production.ERROR: CronJobId end10
[2025-01-09 12:31:12] Production.INFO: ==26821== Releasing lock...
[2025-01-09 12:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:31:13] Production.INFO: call_cost start
[2025-01-09 12:31:13] Production.INFO: call_cost end
[2025-01-09 12:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:31:14] Production.INFO: ==26817== Releasing lock...
[2025-01-09 12:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:31:29] Production.INFO: count ==4620
[2025-01-09 12:31:31] Production.ERROR: pbx CDR StartTime 2025-01-09 09:31:05 - End Time 2025-01-09 12:31:05
[2025-01-09 12:31:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209593', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209593', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209593', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:31:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209593', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:31:31] Production.INFO: ProcessCDR(1,14209593,1,1,2)
[2025-01-09 12:31:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:31:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:31:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:31:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:31:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209593', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:31:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209593', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:31:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:31:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:31:36] Production.INFO: ==26825== Releasing lock...
[2025-01-09 12:31:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:31:36] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:32:02] Production.INFO: ==26892== Lock acquired, processing the job...
[2025-01-09 17:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:32:02] Production.INFO: neon service started
[2025-01-09 17:32:02] Production.INFO: neon service started
[2025-01-09 17:32:02] Production.INFO: ==26892== Releasing lock...
[2025-01-09 17:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:32:02] Production.INFO: ==26894== Lock acquired, processing the job...
[2025-01-09 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:32:02] Production.INFO: ==26896== Lock acquired, processing the job...
[2025-01-09 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:32:03] Production.INFO: ==26894== Releasing lock...
[2025-01-09 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:32:03] Production.INFO: ==26896== Releasing lock...
[2025-01-09 17:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:32:03] Production.INFO: ==26906== Lock acquired, processing the job...
[2025-01-09 12:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:32:03] Production.INFO: ==26898== Lock acquired, processing the job...
[2025-01-09 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:32:03] Production.INFO: ==26908== Lock acquired, processing the job...
[2025-01-09 12:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:32:04] Production.INFO: ==26900== Lock acquired, processing the job...
[2025-01-09 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:32:04] Production.INFO: ==26902== Lock acquired, processing the job...
[2025-01-09 12:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:32:04] Production.INFO: ==26904== Lock acquired, processing the job...
[2025-01-09 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:32:04] Production.INFO: count ==21
[2025-01-09 12:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:32:04] Production.INFO: count ==21
[2025-01-09 12:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209594') start
[2025-01-09 12:32:04] Production.ERROR: done
[2025-01-09 12:32:04] Production.INFO: Account Balance Start.
[2025-01-09 12:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:32:04] Production.INFO: 117
[2025-01-09 12:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209594') end
[2025-01-09 12:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:32:04] Production.INFO: 1
[2025-01-09 12:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:32:04] Production.INFO: Total Charge 0
[2025-01-09 12:32:04] Production.INFO: ==26908== Releasing lock...
[2025-01-09 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:32:04] Production.INFO: CreateAllLog End
[2025-01-09 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:32:04] Production.INFO: ==26900== Releasing lock...
[2025-01-09 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:32:04] Production.ERROR: done
[2025-01-09 12:32:04] Production.INFO: Account Balance End.
[2025-01-09 12:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:32:04] Production.INFO: ==26904== Releasing lock...
[2025-01-09 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:32:05
[end_date_ymd] => 2025-01-09 12:32:05
[RateCDR] => 1
)
[2025-01-09 12:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:32:05' and `end` < '2025-01-09 12:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:32:12] Production.ERROR: CronJobId end10
[2025-01-09 12:32:12] Production.INFO: ==26902== Releasing lock...
[2025-01-09 12:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:32:14] Production.INFO: call_cost start
[2025-01-09 12:32:14] Production.INFO: call_cost end
[2025-01-09 12:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:32:15] Production.INFO: ==26898== Releasing lock...
[2025-01-09 12:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:32:22] Production.INFO: count ==4611
[2025-01-09 12:32:23] Production.ERROR: pbx CDR StartTime 2025-01-09 09:32:05 - End Time 2025-01-09 12:32:05
[2025-01-09 12:32:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:32:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209598', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209598', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209598', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:32:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209598', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:32:24] Production.INFO: ProcessCDR(1,14209598,1,1,2)
[2025-01-09 12:32:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:32:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209598,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:32:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:32:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209598,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209598', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:32:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209598', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:32:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:32:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:32:28] Production.INFO: ==26906== Releasing lock...
[2025-01-09 12:32:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:32:28] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:33:01] Production.INFO: ==27021== Lock acquired, processing the job...
[2025-01-09 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:33:01] Production.INFO: neon service started
[2025-01-09 17:33:02] Production.INFO: neon service started
[2025-01-09 17:33:02] Production.INFO: ==27021== Releasing lock...
[2025-01-09 17:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:33:02] Production.INFO: ==27023== Lock acquired, processing the job...
[2025-01-09 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:33:02] Production.INFO: ==27025== Lock acquired, processing the job...
[2025-01-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:33:02] Production.INFO: ==27025== Releasing lock...
[2025-01-09 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:33:03] Production.INFO: ==27023== Releasing lock...
[2025-01-09 12:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:33:03] Production.INFO: ==27032== Lock acquired, processing the job...
[2025-01-09 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:33:03] Production.INFO: ==27038== Lock acquired, processing the job...
[2025-01-09 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:33:03] Production.INFO: ==27028== Lock acquired, processing the job...
[2025-01-09 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 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-01-09 12:33:04] Production.INFO: ==27030== Lock acquired, processing the job...
[2025-01-09 12:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:33:04] Production.INFO: count ==21
[2025-01-09 12:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 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-01-09 12:33:04] Production.INFO: ==27036== Lock acquired, processing the job...
[2025-01-09 12:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:33:04] Production.INFO: ==27034== Lock acquired, processing the job...
[2025-01-09 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:33:04] Production.INFO: count ==21
[2025-01-09 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209599') start
[2025-01-09 12:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209599') end
[2025-01-09 12:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:33:04] Production.INFO: 1
[2025-01-09 12:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:33:04] Production.INFO: ==27038== Releasing lock...
[2025-01-09 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:33:04] Production.INFO: Account Balance Start.
[2025-01-09 12:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:33:04] Production.INFO: 117
[2025-01-09 12:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:33:04] Production.INFO: ==27030== Releasing lock...
[2025-01-09 12:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:33:04] Production.ERROR: done
[2025-01-09 12:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:33:04] Production.INFO: Total Charge 0
[2025-01-09 12:33:04] Production.INFO: CreateAllLog End
[2025-01-09 12:33:04] Production.ERROR: done
[2025-01-09 12:33:04] Production.INFO: Account Balance End.
[2025-01-09 12:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:33:04] Production.INFO: ==27034== Releasing lock...
[2025-01-09 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:33:05
[end_date_ymd] => 2025-01-09 12:33:05
[RateCDR] => 1
)
[2025-01-09 12:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:33:05' and `end` < '2025-01-09 12:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:33:11] Production.ERROR: CronJobId end10
[2025-01-09 12:33:11] Production.INFO: ==27032== Releasing lock...
[2025-01-09 12:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:33:14] Production.INFO: call_cost start
[2025-01-09 12:33:14] Production.INFO: call_cost end
[2025-01-09 12:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:33:14] Production.INFO: ==27028== Releasing lock...
[2025-01-09 12:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:33:20] Production.INFO: count ==4599
[2025-01-09 12:33:22] Production.ERROR: pbx CDR StartTime 2025-01-09 09:33:05 - End Time 2025-01-09 12:33:05
[2025-01-09 12:33:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209603', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209603', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209603', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:33:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209603', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:33:22] Production.INFO: ProcessCDR(1,14209603,1,1,2)
[2025-01-09 12:33:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:33:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209603,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:33:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:33:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209603,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209603', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:33:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209603', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:33:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:33:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:33:27] Production.INFO: ==27036== Releasing lock...
[2025-01-09 12:33:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:33:27] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:34:01] Production.INFO: ==27106== Lock acquired, processing the job...
[2025-01-09 17:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:34:01] Production.INFO: neon service started
[2025-01-09 17:34:01] Production.INFO: neon service started
[2025-01-09 17:34:01] Production.INFO: ==27106== Releasing lock...
[2025-01-09 17:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:34:01] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-01-09 17:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:34:01] Production.INFO: ==27111== Releasing lock...
[2025-01-09 17:34:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:34:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:34:02] Production.INFO: ==27109== Lock acquired, processing the job...
[2025-01-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:34:02] Production.INFO: ==27109== Releasing lock...
[2025-01-09 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:34:03] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:34:03] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:34:03] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:34:03] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:34:03] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:34:03] Production.INFO: ==27123== Lock acquired, processing the job...
[2025-01-09 12:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:34:03] Production.INFO: Account Balance Start.
[2025-01-09 12:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:34:03] Production.INFO: 117
[2025-01-09 12:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:34:03] Production.INFO: Total Charge 0
[2025-01-09 12:34:03] Production.INFO: count ==21
[2025-01-09 12:34:03] Production.INFO: CreateAllLog End
[2025-01-09 12:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:34:03] Production.INFO: ==27115== Releasing lock...
[2025-01-09 12:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:34:03] Production.INFO: count ==21
[2025-01-09 12:34:03] Production.ERROR: done
[2025-01-09 12:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209607') start
[2025-01-09 12:34:03] Production.ERROR: done
[2025-01-09 12:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209607') end
[2025-01-09 12:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:34:03] Production.INFO: 1
[2025-01-09 12:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:34:03] Production.INFO: Account Balance End.
[2025-01-09 12:34:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:34:03] Production.INFO: ==27119== Releasing lock...
[2025-01-09 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:34:03] Production.INFO: ==27123== Releasing lock...
[2025-01-09 12:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:34:04
[end_date_ymd] => 2025-01-09 12:34:04
[RateCDR] => 1
)
[2025-01-09 12:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:34:04' and `end` < '2025-01-09 12:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:34:11] Production.ERROR: CronJobId end10
[2025-01-09 12:34:11] Production.INFO: ==27117== Releasing lock...
[2025-01-09 12:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:34:12] Production.INFO: call_cost start
[2025-01-09 12:34:12] Production.INFO: call_cost end
[2025-01-09 12:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:34:13] Production.INFO: ==27113== Releasing lock...
[2025-01-09 12:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:34:19] Production.INFO: count ==4596
[2025-01-09 12:34:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:34:04 - End Time 2025-01-09 12:34:04
[2025-01-09 12:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209608', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209608', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209608', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209608', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:34:21] Production.INFO: ProcessCDR(1,14209608,1,1,2)
[2025-01-09 12:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209608', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209608', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:34:26] Production.INFO: ==27121== Releasing lock...
[2025-01-09 12:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:34:26] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:35:01] Production.INFO: ==27190== Lock acquired, processing the job...
[2025-01-09 17:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:35:01] Production.INFO: neon service started
[2025-01-09 17:35:01] Production.INFO: neon service started
[2025-01-09 17:35:01] Production.INFO: ==27190== Releasing lock...
[2025-01-09 17:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:35:02] Production.INFO: ==27194== Lock acquired, processing the job...
[2025-01-09 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:35:02] Production.INFO: ==27194== Releasing lock...
[2025-01-09 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:35:02] Production.INFO: ==27192== Lock acquired, processing the job...
[2025-01-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:35:02] Production.INFO: ==27192== Releasing lock...
[2025-01-09 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:35:03] Production.INFO: ==27199== Lock acquired, processing the job...
[2025-01-09 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:35:03] Production.INFO: ==27203== Lock acquired, processing the job...
[2025-01-09 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:35:03] Production.INFO: ==27201== Lock acquired, processing the job...
[2025-01-09 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:35:03] Production.INFO: ==27207== Lock acquired, processing the job...
[2025-01-09 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:35:03] Production.INFO: ==27205== Lock acquired, processing the job...
[2025-01-09 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:35:03] Production.INFO: ==27201== Releasing lock...
[2025-01-09 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:35:03] Production.INFO: ==27209== Lock acquired, processing the job...
[2025-01-09 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:35:04] Production.INFO: count ==21
[2025-01-09 12:35:04] Production.ERROR: done
[2025-01-09 12:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:35:04] Production.INFO: Account Balance Start.
[2025-01-09 12:35:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:35:04] Production.INFO: count ==21
[2025-01-09 12:35:04] Production.INFO: 117
[2025-01-09 12:35:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209611') start
[2025-01-09 12:35:04] Production.ERROR: done
[2025-01-09 12:35:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209611') end
[2025-01-09 12:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:35:04] Production.INFO: 1
[2025-01-09 12:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:35:04] Production.INFO: ==27209== Releasing lock...
[2025-01-09 12:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:35:04] Production.INFO: Total Charge 0
[2025-01-09 12:35:04] Production.INFO: CreateAllLog End
[2025-01-09 12:35:04] Production.INFO: Account Balance End.
[2025-01-09 12:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:35:04] Production.INFO: ==27205== Releasing lock...
[2025-01-09 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:35:04
[end_date_ymd] => 2025-01-09 12:35:04
[RateCDR] => 1
)
[2025-01-09 12:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:35:04' and `end` < '2025-01-09 12:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:35:11] Production.ERROR: CronJobId end10
[2025-01-09 12:35:11] Production.INFO: ==27203== Releasing lock...
[2025-01-09 12:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:35:13] Production.INFO: call_cost start
[2025-01-09 12:35:13] Production.INFO: call_cost end
[2025-01-09 12:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:35:14] Production.INFO: ==27199== Releasing lock...
[2025-01-09 12:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:35:19] Production.INFO: count ==4586
[2025-01-09 12:35:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:35:04 - End Time 2025-01-09 12:35:04
[2025-01-09 12:35:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209613', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209613', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209613', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:35:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209613', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:35:21] Production.INFO: ProcessCDR(1,14209613,1,1,2)
[2025-01-09 12:35:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:35:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:35:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:35:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209613', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:35:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209613', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:35:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:35:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:35:26] Production.INFO: ==27207== Releasing lock...
[2025-01-09 12:35:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:35:26] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 17:36:02] Production.INFO: ==27276== Lock acquired, processing the job...
[2025-01-09 17:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:36:02] Production.INFO: neon service started
[2025-01-09 17:36:02] Production.INFO: neon service started
[2025-01-09 17:36:02] Production.INFO: ==27276== Releasing lock...
[2025-01-09 17:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:36:02] Production.INFO: ==27278== Lock acquired, processing the job...
[2025-01-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:36:02] Production.INFO: ==27278== Releasing lock...
[2025-01-09 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:36:03] Production.INFO: ==27280== Lock acquired, processing the job...
[2025-01-09 17:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:36:03] Production.INFO: ==27280== Releasing lock...
[2025-01-09 17:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:36:03] Production.INFO: ==27282== Lock acquired, processing the job...
[2025-01-09 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:36:03] Production.INFO: ==27284== Lock acquired, processing the job...
[2025-01-09 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:36:03] Production.INFO: ==27291== Lock acquired, processing the job...
[2025-01-09 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:36:03] Production.INFO: ==27284== Releasing lock...
[2025-01-09 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:36:03] Production.INFO: ==27287== Lock acquired, processing the job...
[2025-01-09 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:36:04] Production.INFO: ==27289== Lock acquired, processing the job...
[2025-01-09 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:36:04] Production.INFO: ==27293== Lock acquired, processing the job...
[2025-01-09 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:36:04] Production.INFO: Account Balance Start.
[2025-01-09 12:36:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:36:04] Production.INFO: 117
[2025-01-09 12:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:36:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:36:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:36:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:36:04] Production.INFO: Total Charge 0
[2025-01-09 12:36:04] Production.INFO: CreateAllLog End
[2025-01-09 12:36:04] Production.ERROR: done
[2025-01-09 12:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:36:04] Production.INFO: count ==21
[2025-01-09 12:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:36:04] Production.INFO: count ==21
[2025-01-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209617') start
[2025-01-09 12:36:04] Production.ERROR: done
[2025-01-09 12:36:04] Production.INFO: Account Balance End.
[2025-01-09 12:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:36:04] Production.INFO: ==27289== Releasing lock...
[2025-01-09 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209617') end
[2025-01-09 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:36:04] Production.INFO: 1
[2025-01-09 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:36:04] Production.INFO: ==27293== Releasing lock...
[2025-01-09 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:36:05
[end_date_ymd] => 2025-01-09 12:36:05
[RateCDR] => 1
)
[2025-01-09 12:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:36:05' and `end` < '2025-01-09 12:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:36:13] Production.ERROR: CronJobId end10
[2025-01-09 12:36:13] Production.INFO: ==27287== Releasing lock...
[2025-01-09 12:36:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:36:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:36:14] Production.INFO: call_cost start
[2025-01-09 12:36:14] Production.INFO: call_cost end
[2025-01-09 12:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:36:14] Production.INFO: ==27282== Releasing lock...
[2025-01-09 12:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:36:22] Production.INFO: count ==4582
[2025-01-09 12:36:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:36:05 - End Time 2025-01-09 12:36:05
[2025-01-09 12:36:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209618', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209618', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209618', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209618', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:36:24] Production.INFO: ProcessCDR(1,14209618,1,1,2)
[2025-01-09 12:36:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:36:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:36:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:36:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:36:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209618', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:36:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209618', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:36:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:36:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:36:29] Production.INFO: ==27291== Releasing lock...
[2025-01-09 12:36:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:36:29] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 17:37:01] Production.INFO: ==27360== Lock acquired, processing the job...
[2025-01-09 17:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:37:01] Production.INFO: neon service started
[2025-01-09 17:37:01] Production.INFO: neon service started
[2025-01-09 17:37:01] Production.INFO: ==27360== Releasing lock...
[2025-01-09 17:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:37:02] Production.INFO: ==27364== Lock acquired, processing the job...
[2025-01-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:37:02] Production.INFO: ==27362== Lock acquired, processing the job...
[2025-01-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:37:02] Production.INFO: ==27364== Releasing lock...
[2025-01-09 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:37:02] Production.INFO: ==27362== Releasing lock...
[2025-01-09 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:37:03] Production.INFO: ==27369== Lock acquired, processing the job...
[2025-01-09 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:37:03] Production.INFO: ==27373== Lock acquired, processing the job...
[2025-01-09 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:37:03] Production.INFO: ==27379== Lock acquired, processing the job...
[2025-01-09 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:37:03] Production.INFO: ==27371== Lock acquired, processing the job...
[2025-01-09 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:37:03] Production.INFO: count ==21
[2025-01-09 12:37:03] Production.INFO: ==27377== Lock acquired, processing the job...
[2025-01-09 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:37:03] Production.INFO: count ==21
[2025-01-09 12:37:03] Production.INFO: ==27375== Lock acquired, processing the job...
[2025-01-09 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209620') start
[2025-01-09 12:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209620') end
[2025-01-09 12:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:37:03] Production.INFO: 1
[2025-01-09 12:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:37:04] Production.INFO: Account Balance Start.
[2025-01-09 12:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:37:04] Production.INFO: 117
[2025-01-09 12:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:37:04] Production.INFO: ==27371== Releasing lock...
[2025-01-09 12:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:37:04] Production.INFO: ==27379== Releasing lock...
[2025-01-09 12:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:37:04] Production.ERROR: done
[2025-01-09 12:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:37:04] Production.INFO: Total Charge 0
[2025-01-09 12:37:04] Production.INFO: CreateAllLog End
[2025-01-09 12:37:04] Production.ERROR: done
[2025-01-09 12:37:04] Production.INFO: Account Balance End.
[2025-01-09 12:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:37:04] Production.INFO: ==27375== Releasing lock...
[2025-01-09 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:37:05
[end_date_ymd] => 2025-01-09 12:37:05
[RateCDR] => 1
)
[2025-01-09 12:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:37:05' and `end` < '2025-01-09 12:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:37:11] Production.ERROR: CronJobId end10
[2025-01-09 12:37:11] Production.INFO: ==27373== Releasing lock...
[2025-01-09 12:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:37:13] Production.INFO: call_cost start
[2025-01-09 12:37:13] Production.INFO: call_cost end
[2025-01-09 12:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:37:14] Production.INFO: ==27369== Releasing lock...
[2025-01-09 12:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:37:22] Production.INFO: count ==4567
[2025-01-09 12:37:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:37:05 - End Time 2025-01-09 12:37:05
[2025-01-09 12:37:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:37:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209623', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:37:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209623', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:37:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209623', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:37:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209623', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:37:24] Production.INFO: ProcessCDR(1,14209623,1,1,2)
[2025-01-09 12:37:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:37:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:37:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:37:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209623', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:37:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209623', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:37:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:37:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:37:28] Production.INFO: ==27377== Releasing lock...
[2025-01-09 12:37:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:37:28] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 17:38:02] Production.INFO: ==27447== Lock acquired, processing the job...
[2025-01-09 17:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:38:02] Production.INFO: neon service started
[2025-01-09 17:38:02] Production.INFO: neon service started
[2025-01-09 17:38:02] Production.INFO: ==27447== Releasing lock...
[2025-01-09 17:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:38:02] Production.INFO: ==27449== Lock acquired, processing the job...
[2025-01-09 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:38:02] Production.INFO: ==27451== Lock acquired, processing the job...
[2025-01-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:38:02] Production.INFO: ==27451== Releasing lock...
[2025-01-09 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:38:03] Production.INFO: ==27449== Releasing lock...
[2025-01-09 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:38:03] Production.INFO: ==27464== Lock acquired, processing the job...
[2025-01-09 12:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:38:04] Production.INFO: ==27466== Lock acquired, processing the job...
[2025-01-09 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:38:04] Production.INFO: ==27458== Lock acquired, processing the job...
[2025-01-09 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:38:04] Production.INFO: ==27456== Lock acquired, processing the job...
[2025-01-09 12:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:38:04] Production.INFO: ==27460== Lock acquired, processing the job...
[2025-01-09 12:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:38:04] Production.INFO: ==27462== Lock acquired, processing the job...
[2025-01-09 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:38:04] Production.INFO: count ==21
[2025-01-09 12:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:38:04] Production.INFO: count ==21
[2025-01-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209624') start
[2025-01-09 12:38:04] Production.INFO: Account Balance Start.
[2025-01-09 12:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:38:04] Production.INFO: 117
[2025-01-09 12:38:04] Production.ERROR: done
[2025-01-09 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209624') end
[2025-01-09 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:38:04] Production.INFO: 1
[2025-01-09 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:38:04] Production.INFO: Total Charge 0
[2025-01-09 12:38:04] Production.INFO: CreateAllLog End
[2025-01-09 12:38:04] Production.INFO: ==27458== Releasing lock...
[2025-01-09 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:38:04] Production.INFO: ==27466== Releasing lock...
[2025-01-09 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:38:04] Production.ERROR: done
[2025-01-09 12:38:04] Production.INFO: Account Balance End.
[2025-01-09 12:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:38:04] Production.INFO: ==27462== Releasing lock...
[2025-01-09 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:38:05
[end_date_ymd] => 2025-01-09 12:38:05
[RateCDR] => 1
)
[2025-01-09 12:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:38:05' and `end` < '2025-01-09 12:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:38:12] Production.ERROR: CronJobId end10
[2025-01-09 12:38:12] Production.INFO: ==27460== Releasing lock...
[2025-01-09 12:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:38:13] Production.INFO: call_cost start
[2025-01-09 12:38:13] Production.INFO: call_cost end
[2025-01-09 12:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:38:14] Production.INFO: ==27456== Releasing lock...
[2025-01-09 12:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:38:20] Production.INFO: count ==4587
[2025-01-09 12:38:22] Production.ERROR: pbx CDR StartTime 2025-01-09 09:38:05 - End Time 2025-01-09 12:38:05
[2025-01-09 12:38:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209628', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209628', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209628', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209628', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:38:22] Production.INFO: ProcessCDR(1,14209628,1,1,2)
[2025-01-09 12:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:38:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:38:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:38:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209628', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:38:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209628', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:38:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:38:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:38:27] Production.INFO: ==27464== Releasing lock...
[2025-01-09 12:38:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:38:27] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 17:39:01] Production.INFO: ==27531== Lock acquired, processing the job...
[2025-01-09 17:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:39:01] Production.INFO: neon service started
[2025-01-09 17:39:01] Production.INFO: neon service started
[2025-01-09 17:39:01] Production.INFO: ==27531== Releasing lock...
[2025-01-09 17:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:39:01] Production.INFO: ==27535== Lock acquired, processing the job...
[2025-01-09 17:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:39:02] Production.INFO: ==27535== Releasing lock...
[2025-01-09 17:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:39:02] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-01-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:39:02] Production.INFO: ==27533== Releasing lock...
[2025-01-09 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:39:03] Production.INFO: ==27544== Lock acquired, processing the job...
[2025-01-09 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:39:03] Production.INFO: ==27542== Lock acquired, processing the job...
[2025-01-09 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:39:03] Production.INFO: ==27546== Lock acquired, processing the job...
[2025-01-09 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:39:03] Production.INFO: Account Balance Start.
[2025-01-09 12:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:39:03] Production.INFO: 117
[2025-01-09 12:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:39:03] Production.INFO: Total Charge 0
[2025-01-09 12:39:03] Production.INFO: CreateAllLog End
[2025-01-09 12:39:03] Production.INFO: ==27540== Lock acquired, processing the job...
[2025-01-09 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:39:03] Production.INFO: ==27538== Lock acquired, processing the job...
[2025-01-09 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:39:03] Production.INFO: ==27548== Lock acquired, processing the job...
[2025-01-09 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:39:03] Production.INFO: Account Balance End.
[2025-01-09 12:39:03] Production.ERROR: done
[2025-01-09 12:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:39:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:39:03] Production.INFO: ==27544== Releasing lock...
[2025-01-09 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:39:03] Production.INFO: count ==21
[2025-01-09 12:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:39:03] Production.INFO: ==27540== Releasing lock...
[2025-01-09 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:39:03] Production.INFO: count ==21
[2025-01-09 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209632') start
[2025-01-09 12:39:03] Production.ERROR: done
[2025-01-09 12:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209632') end
[2025-01-09 12:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:39:04] Production.INFO: 1
[2025-01-09 12:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:39:04] Production.INFO: ==27548== Releasing lock...
[2025-01-09 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:39:04
[end_date_ymd] => 2025-01-09 12:39:04
[RateCDR] => 1
)
[2025-01-09 12:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:39:04' and `end` < '2025-01-09 12:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:39:11] Production.ERROR: CronJobId end10
[2025-01-09 12:39:11] Production.INFO: ==27542== Releasing lock...
[2025-01-09 12:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:39:14] Production.INFO: call_cost start
[2025-01-09 12:39:14] Production.INFO: call_cost end
[2025-01-09 12:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:39:14] Production.INFO: ==27538== Releasing lock...
[2025-01-09 12:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:39:18] Production.INFO: count ==4598
[2025-01-09 12:39:20] Production.ERROR: pbx CDR StartTime 2025-01-09 09:39:04 - End Time 2025-01-09 12:39:04
[2025-01-09 12:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209633', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209633', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209633', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:39:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209633', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:39:21] Production.INFO: ProcessCDR(1,14209633,1,1,2)
[2025-01-09 12:39:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209633', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209633', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:39:25] Production.INFO: ==27546== Releasing lock...
[2025-01-09 12:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:39:25] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:40:02] Production.INFO: ==27619== Lock acquired, processing the job...
[2025-01-09 17:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:40:02] Production.INFO: neon service started
[2025-01-09 17:40:02] Production.INFO: neon service started
[2025-01-09 17:40:02] Production.INFO: ==27619== Releasing lock...
[2025-01-09 17:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:40:02] Production.INFO: ==27621== Lock acquired, processing the job...
[2025-01-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:40:02] Production.INFO: ==27621== Releasing lock...
[2025-01-09 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:40:02] Production.INFO: ==27623== Lock acquired, processing the job...
[2025-01-09 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:40:03] Production.INFO: ==27623== Releasing lock...
[2025-01-09 17:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:40:03] Production.INFO: ==27625== Lock acquired, processing the job...
[2025-01-09 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 12:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 12:40:03] Production.INFO: ==27627== Lock acquired, processing the job...
[2025-01-09 12:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 12:40:03] Production.INFO: ==27625== Releasing lock...
[2025-01-09 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 12:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 12:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:40:03] Production.INFO: ==27631== Lock acquired, processing the job...
[2025-01-09 12:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:40:04] Production.INFO: ==27633== Lock acquired, processing the job...
[2025-01-09 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:40:04] Production.INFO: ==27629== Lock acquired, processing the job...
[2025-01-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:40:04] Production.INFO: Account Balance Start.
[2025-01-09 12:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:40:04] Production.INFO: 117
[2025-01-09 12:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:40:04] Production.INFO: Total Charge 0
[2025-01-09 12:40:04] Production.INFO: CreateAllLog End
[2025-01-09 12:40:04] Production.INFO: ==27636== Lock acquired, processing the job...
[2025-01-09 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:40:04] Production.INFO: ==27638== Lock acquired, processing the job...
[2025-01-09 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:40:04] Production.INFO: Account Balance End.
[2025-01-09 12:40:04] Production.INFO: ==27640== Lock acquired, processing the job...
[2025-01-09 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:40:04] Production.INFO: ==27633== Releasing lock...
[2025-01-09 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:40:04] Production.INFO: ==27629== Releasing lock...
[2025-01-09 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:40:04] Production.INFO: count ==21
[2025-01-09 12:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:40:04] Production.INFO: count ==21
[2025-01-09 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209637') start
[2025-01-09 12:40:04] Production.ERROR: done
[2025-01-09 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:40:04] Production.ERROR: done
[2025-01-09 12:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 12:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209638', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 12:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209637') end
[2025-01-09 12:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:40:05] Production.INFO: 1
[2025-01-09 12:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:40:05] Production.INFO: ==27640== Releasing lock...
[2025-01-09 12:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:40:05] Production.ERROR: done
[2025-01-09 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:40:06
[end_date_ymd] => 2025-01-09 12:40:06
[RateCDR] => 1
)
[2025-01-09 12:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:40:06' and `end` < '2025-01-09 12:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209638', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 12:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 12:40:09] Production.INFO: ProcessCDR(1,14209638,1,1,2)
[2025-01-09 12:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209638,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209638,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:40:09] Production.INFO: ==27638== Releasing lock...
[2025-01-09 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 12:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:40:13] Production.ERROR: CronJobId end10
[2025-01-09 12:40:13] Production.INFO: ==27631== Releasing lock...
[2025-01-09 12:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:40:14] Production.INFO: call_cost start
[2025-01-09 12:40:14] Production.INFO: call_cost end
[2025-01-09 12:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:40:15] Production.INFO: ==27627== Releasing lock...
[2025-01-09 12:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:40:39] Production.INFO: count ==4618
[2025-01-09 12:40:41] Production.ERROR: pbx CDR StartTime 2025-01-09 09:40:06 - End Time 2025-01-09 12:40:06
[2025-01-09 12:40:41] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:40:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209639', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:40:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209639', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:40:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209639', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:40:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209639', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:40:41] Production.INFO: ProcessCDR(1,14209639,1,1,2)
[2025-01-09 12:40:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:40:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:40:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:40:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:40:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209639', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:40:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209639', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:40:46] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:40:46] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:40:46] Production.INFO: ==27636== Releasing lock...
[2025-01-09 12:40:46] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:40:46] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:41:01] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-01-09 17:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:41:01] Production.INFO: neon service started
[2025-01-09 17:41:01] Production.INFO: neon service started
[2025-01-09 17:41:01] Production.INFO: ==27707== Releasing lock...
[2025-01-09 17:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:41:01] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-09 12:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:41:02] Production.INFO: ==27712== Lock acquired, processing the job...
[2025-01-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:41:02] Production.INFO: ==27712== Releasing lock...
[2025-01-09 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:41:02] Production.INFO: ==27709== Releasing lock...
[2025-01-09 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:41:03] Production.INFO: ==27718== Lock acquired, processing the job...
[2025-01-09 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:41:03] Production.INFO: ==27722== Lock acquired, processing the job...
[2025-01-09 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:41:03] Production.INFO: ==27724== Lock acquired, processing the job...
[2025-01-09 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:41:03] Production.INFO: ==27714== Lock acquired, processing the job...
[2025-01-09 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:41:03] Production.INFO: ==27716== Lock acquired, processing the job...
[2025-01-09 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:41:03] Production.INFO: ==27720== Lock acquired, processing the job...
[2025-01-09 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:41:03] Production.INFO: Account Balance Start.
[2025-01-09 12:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:41:03] Production.INFO: 117
[2025-01-09 12:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:41:03] Production.INFO: count ==21
[2025-01-09 12:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:41:03] Production.INFO: count ==21
[2025-01-09 12:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209640') start
[2025-01-09 12:41:03] Production.ERROR: done
[2025-01-09 12:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209640') end
[2025-01-09 12:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:41:03] Production.INFO: 1
[2025-01-09 12:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:41:03] Production.INFO: Total Charge 0
[2025-01-09 12:41:03] Production.INFO: CreateAllLog End
[2025-01-09 12:41:03] Production.INFO: ==27724== Releasing lock...
[2025-01-09 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:41:03] Production.ERROR: done
[2025-01-09 12:41:04] Production.INFO: ==27716== Releasing lock...
[2025-01-09 12:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:41:04] Production.INFO: Account Balance End.
[2025-01-09 12:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:41:04] Production.INFO: ==27720== Releasing lock...
[2025-01-09 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:41:04
[end_date_ymd] => 2025-01-09 12:41:04
[RateCDR] => 1
)
[2025-01-09 12:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:41:04' and `end` < '2025-01-09 12:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:41:11] Production.ERROR: CronJobId end10
[2025-01-09 12:41:11] Production.INFO: ==27718== Releasing lock...
[2025-01-09 12:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:41:13] Production.INFO: call_cost start
[2025-01-09 12:41:13] Production.INFO: call_cost end
[2025-01-09 12:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:41:14] Production.INFO: ==27714== Releasing lock...
[2025-01-09 12:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:41:26] Production.INFO: count ==4666
[2025-01-09 12:41:28] Production.ERROR: pbx CDR StartTime 2025-01-09 09:41:04 - End Time 2025-01-09 12:41:04
[2025-01-09 12:41:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209644', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209644', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209644', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:41:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209644', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:41:28] Production.INFO: ProcessCDR(1,14209644,1,1,2)
[2025-01-09 12:41:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:41:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:41:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:41:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:41:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209644', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:41:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209644', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:41:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:41:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:41:33] Production.INFO: ==27722== Releasing lock...
[2025-01-09 12:41:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:41:33] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:42:01] Production.INFO: ==27793== Lock acquired, processing the job...
[2025-01-09 17:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:42:01] Production.INFO: neon service started
[2025-01-09 17:42:02] Production.INFO: neon service started
[2025-01-09 17:42:02] Production.INFO: ==27793== Releasing lock...
[2025-01-09 17:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:42:02] Production.INFO: ==27795== Lock acquired, processing the job...
[2025-01-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:42:02] Production.INFO: ==27795== Releasing lock...
[2025-01-09 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:42:02] Production.INFO: ==27797== Lock acquired, processing the job...
[2025-01-09 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:42:02] Production.INFO: ==27797== Releasing lock...
[2025-01-09 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:42:03] Production.INFO: ==27806== Lock acquired, processing the job...
[2025-01-09 12:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:42:03] Production.INFO: ==27810== Lock acquired, processing the job...
[2025-01-09 12:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:42:03] Production.INFO: ==27800== Lock acquired, processing the job...
[2025-01-09 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:42:03] Production.INFO: ==27802== Lock acquired, processing the job...
[2025-01-09 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:42:03] Production.INFO: Account Balance Start.
[2025-01-09 12:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:42:03] Production.INFO: 117
[2025-01-09 12:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:42:03] Production.INFO: count ==21
[2025-01-09 12:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:42:03] Production.INFO: count ==21
[2025-01-09 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209645') start
[2025-01-09 12:42:03] Production.INFO: ==27804== Lock acquired, processing the job...
[2025-01-09 12:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:42:03] Production.INFO: ==27808== Lock acquired, processing the job...
[2025-01-09 12:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:42:03] Production.INFO: Total Charge 0
[2025-01-09 12:42:03] Production.INFO: CreateAllLog End
[2025-01-09 12:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209645') end
[2025-01-09 12:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:42:03] Production.INFO: 1
[2025-01-09 12:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:42:04] Production.INFO: ==27810== Releasing lock...
[2025-01-09 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:42:04] Production.INFO: Account Balance End.
[2025-01-09 12:42:04] Production.INFO: ==27802== Releasing lock...
[2025-01-09 12:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:42:04] Production.INFO: ==27806== Releasing lock...
[2025-01-09 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:42:04] Production.ERROR: done
[2025-01-09 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:42:04] Production.ERROR: done
[2025-01-09 12:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:42:05
[end_date_ymd] => 2025-01-09 12:42:05
[RateCDR] => 1
)
[2025-01-09 12:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:42:05' and `end` < '2025-01-09 12:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:42:12] Production.ERROR: CronJobId end10
[2025-01-09 12:42:12] Production.INFO: ==27804== Releasing lock...
[2025-01-09 12:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:42:14] Production.INFO: call_cost start
[2025-01-09 12:42:14] Production.INFO: call_cost end
[2025-01-09 12:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:42:15] Production.INFO: ==27800== Releasing lock...
[2025-01-09 12:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:42:24] Production.INFO: count ==4645
[2025-01-09 12:42:25] Production.ERROR: pbx CDR StartTime 2025-01-09 09:42:05 - End Time 2025-01-09 12:42:05
[2025-01-09 12:42:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209649', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209649', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209649', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:42:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209649', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:42:26] Production.INFO: ProcessCDR(1,14209649,1,1,2)
[2025-01-09 12:42:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:42:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209649,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:42:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:42:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209649,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:42:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209649', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:42:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209649', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:42:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:42:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:42:30] Production.INFO: ==27808== Releasing lock...
[2025-01-09 12:42:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:42:30] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:43:01] Production.INFO: ==27879== Lock acquired, processing the job...
[2025-01-09 17:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:43:01] Production.INFO: neon service started
[2025-01-09 17:43:01] Production.INFO: neon service started
[2025-01-09 17:43:01] Production.INFO: ==27879== Releasing lock...
[2025-01-09 17:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:43:01] Production.INFO: ==27881== Lock acquired, processing the job...
[2025-01-09 12:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:43:01] Production.INFO: ==27881== Releasing lock...
[2025-01-09 12:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:43:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:43:02] Production.INFO: ==27883== Lock acquired, processing the job...
[2025-01-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:43:02] Production.INFO: ==27883== Releasing lock...
[2025-01-09 17:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:43:02] Production.INFO: ==27885== Lock acquired, processing the job...
[2025-01-09 12:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:43:02] Production.INFO: ==27893== Lock acquired, processing the job...
[2025-01-09 12:43:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:43:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:43:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:43:02] Production.INFO: ==27887== Lock acquired, processing the job...
[2025-01-09 12:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:43:02] Production.INFO: ==27889== Lock acquired, processing the job...
[2025-01-09 12:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:43:03] Production.INFO: ==27895== Lock acquired, processing the job...
[2025-01-09 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:43:03] Production.INFO: ==27891== Lock acquired, processing the job...
[2025-01-09 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:43:03] Production.INFO: count ==21
[2025-01-09 12:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:43:03] Production.INFO: Account Balance Start.
[2025-01-09 12:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:43:03] Production.INFO: count ==21
[2025-01-09 12:43:03] Production.INFO: 117
[2025-01-09 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209651') start
[2025-01-09 12:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:43:03] Production.INFO: Total Charge 0
[2025-01-09 12:43:03] Production.INFO: CreateAllLog End
[2025-01-09 12:43:03] Production.ERROR: done
[2025-01-09 12:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:43:03] Production.INFO: ==27887== Releasing lock...
[2025-01-09 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209651') end
[2025-01-09 12:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:43:03] Production.INFO: 1
[2025-01-09 12:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:43:03] Production.INFO: ==27895== Releasing lock...
[2025-01-09 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:43:03] Production.ERROR: done
[2025-01-09 12:43:03] Production.INFO: Account Balance End.
[2025-01-09 12:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:43:03] Production.INFO: ==27891== Releasing lock...
[2025-01-09 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:43:04
[end_date_ymd] => 2025-01-09 12:43:04
[RateCDR] => 1
)
[2025-01-09 12:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:43:04' and `end` < '2025-01-09 12:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:43:11] Production.ERROR: CronJobId end10
[2025-01-09 12:43:11] Production.INFO: ==27889== Releasing lock...
[2025-01-09 12:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:43:13] Production.INFO: call_cost start
[2025-01-09 12:43:13] Production.INFO: call_cost end
[2025-01-09 12:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:43:14] Production.INFO: ==27885== Releasing lock...
[2025-01-09 12:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:43:20] Production.INFO: count ==4633
[2025-01-09 12:43:22] Production.ERROR: pbx CDR StartTime 2025-01-09 09:43:04 - End Time 2025-01-09 12:43:04
[2025-01-09 12:43:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209654', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209654', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209654', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:43:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209654', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:43:22] Production.INFO: ProcessCDR(1,14209654,1,1,2)
[2025-01-09 12:43:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:43:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209654,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:43:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:43:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209654,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209654', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:43:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209654', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:43:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:43:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:43:27] Production.INFO: ==27893== Releasing lock...
[2025-01-09 12:43:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:43:27] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:44:01] Production.INFO: ==27966== Lock acquired, processing the job...
[2025-01-09 17:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:44:01] Production.INFO: neon service started
[2025-01-09 17:44:01] Production.INFO: neon service started
[2025-01-09 17:44:01] Production.INFO: ==27966== Releasing lock...
[2025-01-09 17:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:44:02] Production.INFO: ==27968== Lock acquired, processing the job...
[2025-01-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:44:02] Production.INFO: ==27968== Releasing lock...
[2025-01-09 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:44:02] Production.INFO: ==27970== Lock acquired, processing the job...
[2025-01-09 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:44:02] Production.INFO: ==27970== Releasing lock...
[2025-01-09 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:44:03] Production.INFO: ==27977== Lock acquired, processing the job...
[2025-01-09 12:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:44:03] Production.INFO: ==27973== Lock acquired, processing the job...
[2025-01-09 12:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:44:03] Production.INFO: ==27979== Lock acquired, processing the job...
[2025-01-09 12:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:44:03] Production.INFO: ==27975== Lock acquired, processing the job...
[2025-01-09 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:44:03] Production.INFO: ==27981== Lock acquired, processing the job...
[2025-01-09 12:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:44:03] Production.INFO: Account Balance Start.
[2025-01-09 12:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:44:03] Production.INFO: 117
[2025-01-09 12:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:44:03] Production.INFO: ==27983== Lock acquired, processing the job...
[2025-01-09 12:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:44:03] Production.INFO: Total Charge 0
[2025-01-09 12:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:44:03] Production.INFO: CreateAllLog End
[2025-01-09 12:44:03] Production.INFO: count ==21
[2025-01-09 12:44:03] Production.ERROR: done
[2025-01-09 12:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:44:03] Production.INFO: count ==21
[2025-01-09 12:44:03] Production.INFO: ==27975== Releasing lock...
[2025-01-09 12:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209658') start
[2025-01-09 12:44:04] Production.ERROR: done
[2025-01-09 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209658') end
[2025-01-09 12:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:44:04] Production.INFO: 1
[2025-01-09 12:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:44:04] Production.INFO: Account Balance End.
[2025-01-09 12:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:44:04] Production.INFO: ==27979== Releasing lock...
[2025-01-09 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:44:04] Production.INFO: ==27983== Releasing lock...
[2025-01-09 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:44:05
[end_date_ymd] => 2025-01-09 12:44:05
[RateCDR] => 1
)
[2025-01-09 12:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:44:05' and `end` < '2025-01-09 12:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:44:10] Production.ERROR: CronJobId end10
[2025-01-09 12:44:10] Production.INFO: ==27977== Releasing lock...
[2025-01-09 12:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:44:13] Production.INFO: call_cost start
[2025-01-09 12:44:13] Production.INFO: call_cost end
[2025-01-09 12:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:44:13] Production.INFO: ==27973== Releasing lock...
[2025-01-09 12:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:44:21] Production.INFO: count ==4629
[2025-01-09 12:44:23] Production.ERROR: pbx CDR StartTime 2025-01-09 09:44:05 - End Time 2025-01-09 12:44:05
[2025-01-09 12:44:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209659', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209659', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209659', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:44:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209659', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:44:23] Production.INFO: ProcessCDR(1,14209659,1,1,2)
[2025-01-09 12:44:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:44:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209659,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:44:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:44:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209659,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209659', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:44:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209659', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:44:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:44:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:44:28] Production.INFO: ==27981== Releasing lock...
[2025-01-09 12:44:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:44:28] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:45:02] Production.INFO: ==28057== Lock acquired, processing the job...
[2025-01-09 17:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:45:02] Production.INFO: neon service started
[2025-01-09 17:45:02] Production.INFO: neon service started
[2025-01-09 17:45:02] Production.INFO: ==28057== Releasing lock...
[2025-01-09 17:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:45:02] Production.INFO: ==28061== Lock acquired, processing the job...
[2025-01-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:45:02] Production.INFO: ==28061== Releasing lock...
[2025-01-09 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:45:02] Production.INFO: ==28059== Lock acquired, processing the job...
[2025-01-09 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:45:03] Production.INFO: ==28059== Releasing lock...
[2025-01-09 12:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:45:03] Production.INFO: ==28069== Lock acquired, processing the job...
[2025-01-09 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:45:03] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-01-09 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:45:03] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-01-09 12:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:45:04] Production.INFO: Account Balance Start.
[2025-01-09 12:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:45:04] Production.INFO: 117
[2025-01-09 12:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:45:04] Production.INFO: count ==21
[2025-01-09 12:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:45:04] Production.INFO: count ==21
[2025-01-09 12:45:04] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-01-09 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209660') start
[2025-01-09 12:45:04] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-01-09 12:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:45:04] Production.INFO: ==28071== Lock acquired, processing the job...
[2025-01-09 12:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:45:04] Production.INFO: Total Charge 0
[2025-01-09 12:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:45:04] Production.INFO: CreateAllLog End
[2025-01-09 12:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209660') end
[2025-01-09 12:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:45:04] Production.INFO: 1
[2025-01-09 12:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:45:04] Production.INFO: ==28074== Releasing lock...
[2025-01-09 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:45:04] Production.INFO: Account Balance End.
[2025-01-09 12:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:45:04] Production.INFO: ==28069== Releasing lock...
[2025-01-09 12:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:45:04] Production.INFO: ==28065== Releasing lock...
[2025-01-09 12:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:45:04] Production.ERROR: done
[2025-01-09 12:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:45:04] Production.ERROR: done
[2025-01-09 12:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:45:05
[end_date_ymd] => 2025-01-09 12:45:05
[RateCDR] => 1
)
[2025-01-09 12:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:45:05' and `end` < '2025-01-09 12:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:45:12] Production.ERROR: CronJobId end10
[2025-01-09 12:45:12] Production.INFO: ==28067== Releasing lock...
[2025-01-09 12:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:45:13] Production.INFO: call_cost start
[2025-01-09 12:45:13] Production.INFO: call_cost end
[2025-01-09 12:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:45:14] Production.INFO: ==28063== Releasing lock...
[2025-01-09 12:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:45:19] Production.INFO: count ==4630
[2025-01-09 12:45:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:45:05 - End Time 2025-01-09 12:45:05
[2025-01-09 12:45:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209664', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209664', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209664', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:45:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209664', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:45:21] Production.INFO: ProcessCDR(1,14209664,1,1,2)
[2025-01-09 12:45:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:45:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:45:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:45:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209664', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:45:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209664', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:45:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:45:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:45:26] Production.INFO: ==28071== Releasing lock...
[2025-01-09 12:45:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:45:26] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:46:01] Production.INFO: ==28137== Lock acquired, processing the job...
[2025-01-09 17:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:46:01] Production.INFO: neon service started
[2025-01-09 17:46:01] Production.INFO: neon service started
[2025-01-09 17:46:01] Production.INFO: ==28137== Releasing lock...
[2025-01-09 17:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:46:02] Production.INFO: ==28139== Lock acquired, processing the job...
[2025-01-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:46:02] Production.INFO: ==28141== Lock acquired, processing the job...
[2025-01-09 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:46:02] Production.INFO: ==28141== Releasing lock...
[2025-01-09 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:46:02] Production.INFO: ==28139== Releasing lock...
[2025-01-09 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:46:03] Production.INFO: ==28147== Lock acquired, processing the job...
[2025-01-09 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:46:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-01-09 12:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:46:03] Production.INFO: ==28145== Lock acquired, processing the job...
[2025-01-09 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:46:03] Production.INFO: ==28147== Releasing lock...
[2025-01-09 12:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:46:03] Production.INFO: ==28150== Lock acquired, processing the job...
[2025-01-09 12:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:46:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-09 12:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:46:03] Production.INFO: ==28156== Lock acquired, processing the job...
[2025-01-09 12:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:46:03] Production.INFO: Account Balance Start.
[2025-01-09 12:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:46:03] Production.INFO: 117
[2025-01-09 12:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:46:03] Production.INFO: Total Charge 0
[2025-01-09 12:46:03] Production.ERROR: done
[2025-01-09 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:46:04] Production.INFO: CreateAllLog End
[2025-01-09 12:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:46:04] Production.INFO: count ==21
[2025-01-09 12:46:04] Production.ERROR: done
[2025-01-09 12:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:46:04] Production.INFO: count ==21
[2025-01-09 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209668') start
[2025-01-09 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209668') end
[2025-01-09 12:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:46:04] Production.INFO: 1
[2025-01-09 12:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:46:04] Production.INFO: Account Balance End.
[2025-01-09 12:46:04] Production.INFO: ==28156== Releasing lock...
[2025-01-09 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:46:04] Production.INFO: ==28152== Releasing lock...
[2025-01-09 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:46:05
[end_date_ymd] => 2025-01-09 12:46:05
[RateCDR] => 1
)
[2025-01-09 12:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:46:05' and `end` < '2025-01-09 12:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:46:10] Production.ERROR: CronJobId end10
[2025-01-09 12:46:10] Production.INFO: ==28150== Releasing lock...
[2025-01-09 12:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:46:13] Production.INFO: call_cost start
[2025-01-09 12:46:13] Production.INFO: call_cost end
[2025-01-09 12:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:46:14] Production.INFO: ==28145== Releasing lock...
[2025-01-09 12:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:46:27] Production.INFO: count ==4637
[2025-01-09 12:46:29] Production.ERROR: pbx CDR StartTime 2025-01-09 09:46:05 - End Time 2025-01-09 12:46:05
[2025-01-09 12:46:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:46:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209669', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:46:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209669', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:46:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209669', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:46:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209669', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:46:29] Production.INFO: ProcessCDR(1,14209669,1,1,2)
[2025-01-09 12:46:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:46:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:46:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:46:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:46:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209669', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:46:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209669', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:46:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:46:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:46:34] Production.INFO: ==28154== Releasing lock...
[2025-01-09 12:46:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:46:34] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:47:02] Production.INFO: ==28227== Lock acquired, processing the job...
[2025-01-09 17:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:47:02] Production.INFO: neon service started
[2025-01-09 17:47:02] Production.INFO: neon service started
[2025-01-09 17:47:02] Production.INFO: ==28227== Releasing lock...
[2025-01-09 17:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:47:02] Production.INFO: ==28229== Lock acquired, processing the job...
[2025-01-09 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:47:02] Production.INFO: ==28231== Lock acquired, processing the job...
[2025-01-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:47:02] Production.INFO: ==28231== Releasing lock...
[2025-01-09 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:47:03] Production.INFO: ==28229== Releasing lock...
[2025-01-09 12:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:47:03] Production.INFO: ==28240== Lock acquired, processing the job...
[2025-01-09 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:47:03] Production.INFO: ==28242== Lock acquired, processing the job...
[2025-01-09 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:47:03] Production.INFO: ==28234== Lock acquired, processing the job...
[2025-01-09 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:47:03] Production.INFO: Account Balance Start.
[2025-01-09 12:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:47:03] Production.INFO: 117
[2025-01-09 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:47:04] Production.INFO: ==28236== Lock acquired, processing the job...
[2025-01-09 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:47:04] Production.INFO: ==28238== Lock acquired, processing the job...
[2025-01-09 12:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:47:04] Production.INFO: ==28244== Lock acquired, processing the job...
[2025-01-09 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:47:04] Production.INFO: Total Charge 0
[2025-01-09 12:47:04] Production.INFO: CreateAllLog End
[2025-01-09 12:47:04] Production.ERROR: done
[2025-01-09 12:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:47:04] Production.INFO: Account Balance End.
[2025-01-09 12:47:04] Production.INFO: count ==21
[2025-01-09 12:47:04] Production.ERROR: done
[2025-01-09 12:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:47:04] Production.INFO: count ==21
[2025-01-09 12:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:47:04] Production.INFO: ==28240== Releasing lock...
[2025-01-09 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209673') start
[2025-01-09 12:47:04] Production.INFO: ==28236== Releasing lock...
[2025-01-09 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209673') end
[2025-01-09 12:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:47:04] Production.INFO: 1
[2025-01-09 12:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:47:04] Production.INFO: ==28244== Releasing lock...
[2025-01-09 12:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:47:05
[end_date_ymd] => 2025-01-09 12:47:05
[RateCDR] => 1
)
[2025-01-09 12:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:47:05' and `end` < '2025-01-09 12:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:47:12] Production.ERROR: CronJobId end10
[2025-01-09 12:47:12] Production.INFO: ==28238== Releasing lock...
[2025-01-09 12:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:47:13] Production.INFO: call_cost start
[2025-01-09 12:47:13] Production.INFO: call_cost end
[2025-01-09 12:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:47:14] Production.INFO: ==28234== Releasing lock...
[2025-01-09 12:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:47:25] Production.INFO: count ==4637
[2025-01-09 12:47:27] Production.ERROR: pbx CDR StartTime 2025-01-09 09:47:05 - End Time 2025-01-09 12:47:05
[2025-01-09 12:47:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209674', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209674', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209674', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:47:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209674', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:47:27] Production.INFO: ProcessCDR(1,14209674,1,1,2)
[2025-01-09 12:47:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:47:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:47:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:47:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209674', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209674', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:47:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:47:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:47:32] Production.INFO: ==28242== Releasing lock...
[2025-01-09 12:47:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:47:32] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:48:01] Production.INFO: ==28350== Lock acquired, processing the job...
[2025-01-09 17:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:48:01] Production.INFO: neon service started
[2025-01-09 17:48:01] Production.INFO: neon service started
[2025-01-09 17:48:01] Production.INFO: ==28350== Releasing lock...
[2025-01-09 17:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:48:01] Production.INFO: ==28353== Lock acquired, processing the job...
[2025-01-09 12:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:48:02] Production.INFO: ==28355== Lock acquired, processing the job...
[2025-01-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:48:02] Production.INFO: ==28353== Releasing lock...
[2025-01-09 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:48:02] Production.INFO: ==28355== Releasing lock...
[2025-01-09 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:48:03] Production.INFO: ==28361== Lock acquired, processing the job...
[2025-01-09 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:48:03] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-01-09 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:48:03] Production.INFO: ==28357== Lock acquired, processing the job...
[2025-01-09 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:48:03] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-01-09 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:48:03] Production.INFO: Account Balance Start.
[2025-01-09 12:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:48:03] Production.INFO: 117
[2025-01-09 12:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:48:03] Production.INFO: ==28359== Lock acquired, processing the job...
[2025-01-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:48:03] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-01-09 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:48:03] Production.INFO: count ==21
[2025-01-09 12:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:48:03] Production.INFO: count ==21
[2025-01-09 12:48:03] Production.INFO: Total Charge 0
[2025-01-09 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209676') start
[2025-01-09 12:48:03] Production.INFO: CreateAllLog End
[2025-01-09 12:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209676') end
[2025-01-09 12:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:48:03] Production.INFO: 1
[2025-01-09 12:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:48:03] Production.INFO: ==28367== Releasing lock...
[2025-01-09 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:48:03] Production.INFO: ==28359== Releasing lock...
[2025-01-09 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:48:03] Production.INFO: Account Balance End.
[2025-01-09 12:48:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:48:03] Production.INFO: ==28363== Releasing lock...
[2025-01-09 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:48:04] Production.ERROR: done
[2025-01-09 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:48:04] Production.ERROR: done
[2025-01-09 12:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:48:04
[end_date_ymd] => 2025-01-09 12:48:04
[RateCDR] => 1
)
[2025-01-09 12:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:48:04' and `end` < '2025-01-09 12:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:48:11] Production.ERROR: CronJobId end10
[2025-01-09 12:48:11] Production.INFO: ==28361== Releasing lock...
[2025-01-09 12:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:48:13] Production.INFO: call_cost start
[2025-01-09 12:48:13] Production.INFO: call_cost end
[2025-01-09 12:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:48:13] Production.INFO: ==28357== Releasing lock...
[2025-01-09 12:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:48:30] Production.INFO: count ==4638
[2025-01-09 12:48:32] Production.ERROR: pbx CDR StartTime 2025-01-09 09:48:04 - End Time 2025-01-09 12:48:04
[2025-01-09 12:48:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:48:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209679', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:48:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209679', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:48:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209679', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:48:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209679', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:48:32] Production.INFO: ProcessCDR(1,14209679,1,1,2)
[2025-01-09 12:48:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:48:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:48:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:48:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:48:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209679', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:48:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209679', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:48:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:48:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:48:36] Production.INFO: ==28365== Releasing lock...
[2025-01-09 12:48:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:48:36] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:49:01] Production.INFO: ==28435== Lock acquired, processing the job...
[2025-01-09 17:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:49:01] Production.INFO: neon service started
[2025-01-09 17:49:02] Production.INFO: neon service started
[2025-01-09 17:49:02] Production.INFO: ==28435== Releasing lock...
[2025-01-09 17:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:49:02] Production.INFO: ==28437== Lock acquired, processing the job...
[2025-01-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:49:02] Production.INFO: ==28437== Releasing lock...
[2025-01-09 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:49:02] Production.INFO: ==28439== Lock acquired, processing the job...
[2025-01-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:49:02] Production.INFO: ==28439== Releasing lock...
[2025-01-09 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:49:03] Production.INFO: ==28450== Lock acquired, processing the job...
[2025-01-09 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:49:03] Production.INFO: ==28452== Lock acquired, processing the job...
[2025-01-09 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:49:03] Production.INFO: ==28442== Lock acquired, processing the job...
[2025-01-09 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:49:03] Production.INFO: ==28444== Lock acquired, processing the job...
[2025-01-09 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:49:03] Production.INFO: ==28446== Lock acquired, processing the job...
[2025-01-09 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:49:03] Production.INFO: count ==21
[2025-01-09 12:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:49:03] Production.INFO: count ==21
[2025-01-09 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209680') start
[2025-01-09 12:49:03] Production.INFO: ==28448== Lock acquired, processing the job...
[2025-01-09 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209680') end
[2025-01-09 12:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:49:03] Production.INFO: 1
[2025-01-09 12:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:49:03] Production.INFO: ==28452== Releasing lock...
[2025-01-09 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:49:03] Production.ERROR: done
[2025-01-09 12:49:03] Production.INFO: ==28444== Releasing lock...
[2025-01-09 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:49:03] Production.INFO: Account Balance Start.
[2025-01-09 12:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:49:03] Production.INFO: 117
[2025-01-09 12:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:49:04] Production.INFO: Total Charge 0
[2025-01-09 12:49:04] Production.ERROR: done
[2025-01-09 12:49:04] Production.INFO: CreateAllLog End
[2025-01-09 12:49:04] Production.INFO: Account Balance End.
[2025-01-09 12:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:49:04] Production.INFO: ==28448== Releasing lock...
[2025-01-09 12:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:49:05
[end_date_ymd] => 2025-01-09 12:49:05
[RateCDR] => 1
)
[2025-01-09 12:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:49:05' and `end` < '2025-01-09 12:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:49:10] Production.ERROR: CronJobId end10
[2025-01-09 12:49:10] Production.INFO: ==28446== Releasing lock...
[2025-01-09 12:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:49:13] Production.INFO: call_cost start
[2025-01-09 12:49:13] Production.INFO: call_cost end
[2025-01-09 12:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:49:14] Production.INFO: ==28442== Releasing lock...
[2025-01-09 12:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:49:25] Production.INFO: count ==4654
[2025-01-09 12:49:27] Production.ERROR: pbx CDR StartTime 2025-01-09 09:49:05 - End Time 2025-01-09 12:49:05
[2025-01-09 12:49:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:49:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209684', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:49:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209684', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:49:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209684', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:49:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209684', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:49:27] Production.INFO: ProcessCDR(1,14209684,1,1,2)
[2025-01-09 12:49:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:49:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:49:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:49:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:49:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209684', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:49:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209684', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:49:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:49:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:49:32] Production.INFO: ==28450== Releasing lock...
[2025-01-09 12:49:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:49:32] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:50:01] Production.INFO: ==28511== Lock acquired, processing the job...
[2025-01-09 17:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:50:01] Production.INFO: neon service started
[2025-01-09 17:50:01] Production.INFO: neon service started
[2025-01-09 17:50:01] Production.INFO: ==28511== Releasing lock...
[2025-01-09 17:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:50:01] Production.INFO: ==28513== Lock acquired, processing the job...
[2025-01-09 12:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:50:02] Production.INFO: ==28515== Lock acquired, processing the job...
[2025-01-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:50:02] Production.INFO: ==28515== Releasing lock...
[2025-01-09 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:50:02] Production.INFO: ==28513== Releasing lock...
[2025-01-09 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:50:03] Production.INFO: ==28517== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 12:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 12:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 12:50:03] Production.INFO: ==28517== Releasing lock...
[2025-01-09 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 12:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 12:50:03] Production.INFO: ==28519== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:50:03] Production.INFO: ==28523== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:50:03] Production.INFO: ==28526== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:50:03] Production.INFO: ==28521== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:50:03] Production.INFO: Account Balance Start.
[2025-01-09 12:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:50:03] Production.INFO: 117
[2025-01-09 12:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:50:03] Production.INFO: ==28528== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:50:03] Production.INFO: Total Charge 0
[2025-01-09 12:50:03] Production.INFO: ==28530== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 12:50:03] Production.INFO: ==28532== Lock acquired, processing the job...
[2025-01-09 12:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:50:03] Production.INFO: CreateAllLog End
[2025-01-09 12:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:50:03] Production.INFO: Account Balance End.
[2025-01-09 12:50:03] Production.INFO: count ==21
[2025-01-09 12:50:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:50:03] Production.INFO: ==28526== Releasing lock...
[2025-01-09 12:50:03] Production.INFO: ==28521== Releasing lock...
[2025-01-09 12:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:50:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:50:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:50:03] Production.INFO: count ==21
[2025-01-09 12:50:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209688') start
[2025-01-09 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209688') end
[2025-01-09 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:50:04] Production.INFO: 1
[2025-01-09 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:50:04] Production.ERROR: done
[2025-01-09 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:50:04] Production.INFO: ==28532== Releasing lock...
[2025-01-09 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:50:04] Production.ERROR: done
[2025-01-09 12:50:04] Production.ERROR: done
[2025-01-09 12:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 12:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209689', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 12:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:50:05
[end_date_ymd] => 2025-01-09 12:50:05
[RateCDR] => 1
)
[2025-01-09 12:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:50:05' and `end` < '2025-01-09 12:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209689', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 12:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 12:50:08] Production.INFO: ProcessCDR(1,14209689,1,1,2)
[2025-01-09 12:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209689,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209689,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:50:08] Production.INFO: ==28530== Releasing lock...
[2025-01-09 12:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 12:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 12:50:12] Production.ERROR: CronJobId end10
[2025-01-09 12:50:12] Production.INFO: ==28523== Releasing lock...
[2025-01-09 12:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:50:14] Production.INFO: call_cost start
[2025-01-09 12:50:14] Production.INFO: call_cost end
[2025-01-09 12:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:50:15] Production.INFO: ==28519== Releasing lock...
[2025-01-09 12:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:50:27] Production.INFO: count ==4653
[2025-01-09 12:50:29] Production.ERROR: pbx CDR StartTime 2025-01-09 09:50:05 - End Time 2025-01-09 12:50:05
[2025-01-09 12:50:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209690', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209690', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209690', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:50:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209690', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:50:29] Production.INFO: ProcessCDR(1,14209690,1,1,2)
[2025-01-09 12:50:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:50:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:50:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:50:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209690', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209690', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:50:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:50:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:50:33] Production.INFO: ==28528== Releasing lock...
[2025-01-09 12:50:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:50:33] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:51:01] Production.INFO: ==28591== Lock acquired, processing the job...
[2025-01-09 17:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:51:01] Production.INFO: neon service started
[2025-01-09 17:51:01] Production.INFO: neon service started
[2025-01-09 17:51:01] Production.INFO: ==28591== Releasing lock...
[2025-01-09 17:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:51:02] Production.INFO: ==28593== Lock acquired, processing the job...
[2025-01-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:51:02] Production.INFO: ==28593== Releasing lock...
[2025-01-09 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:51:02] Production.INFO: ==28595== Lock acquired, processing the job...
[2025-01-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:51:02] Production.INFO: ==28595== Releasing lock...
[2025-01-09 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:51:03] Production.INFO: ==28606== Lock acquired, processing the job...
[2025-01-09 12:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:51:03] Production.INFO: ==28598== Lock acquired, processing the job...
[2025-01-09 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:51:03] Production.INFO: ==28608== Lock acquired, processing the job...
[2025-01-09 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:51:03] Production.INFO: ==28600== Lock acquired, processing the job...
[2025-01-09 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:51:03] Production.INFO: ==28602== Lock acquired, processing the job...
[2025-01-09 12:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:51:03] Production.INFO: ==28604== Lock acquired, processing the job...
[2025-01-09 12:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 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-01-09 12:51:03] Production.INFO: count ==21
[2025-01-09 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-01-09 12:51:03] Production.INFO: count ==21
[2025-01-09 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209691') start
[2025-01-09 12:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:51:03] Production.INFO: Account Balance Start.
[2025-01-09 12:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:51:03] Production.INFO: 117
[2025-01-09 12:51:03] Production.ERROR: done
[2025-01-09 12:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209691') end
[2025-01-09 12:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:51:03] Production.INFO: 1
[2025-01-09 12:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:51:03] Production.INFO: ==28608== Releasing lock...
[2025-01-09 12:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:51:03] Production.ERROR: done
[2025-01-09 12:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:51:03] Production.INFO: Total Charge 0
[2025-01-09 12:51:03] Production.INFO: CreateAllLog End
[2025-01-09 12:51:04] Production.INFO: ==28600== Releasing lock...
[2025-01-09 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:51:04] Production.INFO: Account Balance End.
[2025-01-09 12:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:51:04] Production.INFO: ==28604== Releasing lock...
[2025-01-09 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:51:04
[end_date_ymd] => 2025-01-09 12:51:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 09:51:04' and `end` < '2025-01-09 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-01-09 12:51:11] Production.ERROR: CronJobId end10
[2025-01-09 12:51:11] Production.INFO: ==28602== Releasing lock...
[2025-01-09 12:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:51:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:51:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:51:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:51:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:51:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:51:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:51:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:51:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:51:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:51:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:51:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:51:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:51:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:51:11] Production.INFO: call_cost start
[2025-01-09 12:51:11] Production.INFO: call_cost end
[2025-01-09 12:51:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:51:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:51:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:51:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:51:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:51:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:51:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:51:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:51:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:51:12] Production.INFO: ==28598== Releasing lock...
[2025-01-09 12:51:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:51:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:51:22] Production.INFO: count ==4661
[2025-01-09 12:51:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:51:04 - End Time 2025-01-09 12:51:04
[2025-01-09 12:51:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209695', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209695', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209695', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209695', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:51:24] Production.INFO: ProcessCDR(1,14209695,1,1,2)
[2025-01-09 12:51:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:51:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:51:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:51:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209695', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209695', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:51:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:51:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:51:29] Production.INFO: ==28606== Releasing lock...
[2025-01-09 12:51:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:51:29] Production.INFO: 63 MB #Memory Used#
[2025-01-09 17:52:02] Production.INFO: ==28666== Lock acquired, processing the job...
[2025-01-09 17:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:52:02] Production.INFO: neon service started
[2025-01-09 17:52:02] Production.INFO: neon service started
[2025-01-09 17:52:02] Production.INFO: ==28666== Releasing lock...
[2025-01-09 17:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:52:02] Production.INFO: ==28668== Lock acquired, processing the job...
[2025-01-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:52:02] Production.INFO: ==28668== Releasing lock...
[2025-01-09 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:52:03] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-09 17:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:52:03] Production.INFO: ==28671== Releasing lock...
[2025-01-09 17:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:52:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-09 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:52:03] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-09 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:52:03] Production.INFO: Account Balance Start.
[2025-01-09 12:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:52:03] Production.INFO: 117
[2025-01-09 12:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:52:03] Production.INFO: ==28683== Lock acquired, processing the job...
[2025-01-09 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:52:03] Production.INFO: Total Charge 0
[2025-01-09 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:52:03] Production.INFO: CreateAllLog End
[2025-01-09 12:52:03] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-09 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:52:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-09 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:52:04] Production.INFO: count ==21
[2025-01-09 12:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:52:04] Production.INFO: Account Balance End.
[2025-01-09 12:52:04] Production.INFO: count ==21
[2025-01-09 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209698') start
[2025-01-09 12:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:52:04] Production.INFO: ==28679== Releasing lock...
[2025-01-09 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:52:04] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-01-09 12:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209698') end
[2025-01-09 12:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:52:04] Production.INFO: 1
[2025-01-09 12:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:52:04] Production.INFO: ==28683== Releasing lock...
[2025-01-09 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:52:04] Production.ERROR: done
[2025-01-09 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:52:04] Production.INFO: ==28675== Releasing lock...
[2025-01-09 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:52:04] Production.ERROR: done
[2025-01-09 12:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:52:05
[end_date_ymd] => 2025-01-09 12:52:05
[RateCDR] => 1
)
[2025-01-09 12:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:52:05' and `end` < '2025-01-09 12:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:52:11] Production.ERROR: CronJobId end10
[2025-01-09 12:52:11] Production.INFO: ==28677== Releasing lock...
[2025-01-09 12:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:52:13] Production.INFO: call_cost start
[2025-01-09 12:52:13] Production.INFO: call_cost end
[2025-01-09 12:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:52:13] Production.INFO: ==28673== Releasing lock...
[2025-01-09 12:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:52:19] Production.INFO: count ==4648
[2025-01-09 12:52:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:52:05 - End Time 2025-01-09 12:52:05
[2025-01-09 12:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209700', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209700', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209700', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209700', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:52:21] Production.INFO: ProcessCDR(1,14209700,1,1,2)
[2025-01-09 12:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209700,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209700,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209700', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209700', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:52:25] Production.INFO: ==28681== Releasing lock...
[2025-01-09 12:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:52:25] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:53:01] Production.INFO: ==28736== Lock acquired, processing the job...
[2025-01-09 17:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:53:01] Production.INFO: neon service started
[2025-01-09 17:53:01] Production.INFO: neon service started
[2025-01-09 17:53:01] Production.INFO: ==28736== Releasing lock...
[2025-01-09 17:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:53:01] Production.INFO: ==28738== Lock acquired, processing the job...
[2025-01-09 12:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:53:02] Production.INFO: ==28740== Lock acquired, processing the job...
[2025-01-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 12:53:02] Production.INFO: ==28738== Releasing lock...
[2025-01-09 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:53:02] Production.INFO: ==28740== Releasing lock...
[2025-01-09 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:53:03] Production.INFO: ==28749== Lock acquired, processing the job...
[2025-01-09 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:53:03] Production.INFO: ==28743== Lock acquired, processing the job...
[2025-01-09 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:53:03] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-01-09 12:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:53:03] Production.INFO: Account Balance Start.
[2025-01-09 12:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:53:03] Production.INFO: 117
[2025-01-09 12:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:53:03] Production.INFO: ==28745== Lock acquired, processing the job...
[2025-01-09 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:53:03] Production.INFO: ==28747== Lock acquired, processing the job...
[2025-01-09 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:53:03] Production.INFO: Total Charge 0
[2025-01-09 12:53:03] Production.INFO: CreateAllLog End
[2025-01-09 12:53:03] Production.INFO: ==28753== Lock acquired, processing the job...
[2025-01-09 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:53:03] Production.ERROR: done
[2025-01-09 12:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:53:03] Production.INFO: Account Balance End.
[2025-01-09 12:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:53:03] Production.INFO: count ==21
[2025-01-09 12:53:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:53:03] Production.INFO: ==28749== Releasing lock...
[2025-01-09 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:53:03] Production.ERROR: done
[2025-01-09 12:53:03] Production.INFO: count ==21
[2025-01-09 12:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209704') start
[2025-01-09 12:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209704') end
[2025-01-09 12:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:53:03] Production.INFO: 1
[2025-01-09 12:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:53:03] Production.INFO: ==28753== Releasing lock...
[2025-01-09 12:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:53:03] Production.INFO: ==28745== Releasing lock...
[2025-01-09 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:53:04
[end_date_ymd] => 2025-01-09 12:53:04
[RateCDR] => 1
)
[2025-01-09 12:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:53:04' and `end` < '2025-01-09 12:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:53:10] Production.ERROR: CronJobId end10
[2025-01-09 12:53:10] Production.INFO: ==28747== Releasing lock...
[2025-01-09 12:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:53:12] Production.INFO: call_cost start
[2025-01-09 12:53:12] Production.INFO: call_cost end
[2025-01-09 12:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:53:13] Production.INFO: ==28743== Releasing lock...
[2025-01-09 12:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:53:25] Production.INFO: count ==4641
[2025-01-09 12:53:27] Production.ERROR: pbx CDR StartTime 2025-01-09 09:53:04 - End Time 2025-01-09 12:53:04
[2025-01-09 12:53:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209705', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209705', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209705', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:53:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209705', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:53:27] Production.INFO: ProcessCDR(1,14209705,1,1,2)
[2025-01-09 12:53:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:53:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209705,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:53:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:53:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209705,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:53:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209705', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:53:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209705', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:53:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:53:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:53:32] Production.INFO: ==28751== Releasing lock...
[2025-01-09 12:53:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:53:32] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:54:02] Production.INFO: ==28828== Lock acquired, processing the job...
[2025-01-09 17:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:54:02] Production.INFO: neon service started
[2025-01-09 17:54:02] Production.INFO: neon service started
[2025-01-09 17:54:02] Production.INFO: ==28828== Releasing lock...
[2025-01-09 17:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:54:02] Production.INFO: ==28830== Lock acquired, processing the job...
[2025-01-09 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:54:02] Production.INFO: ==28832== Lock acquired, processing the job...
[2025-01-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:54:02] Production.INFO: ==28832== Releasing lock...
[2025-01-09 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:54:03] Production.INFO: ==28830== Releasing lock...
[2025-01-09 12:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:54:03] Production.INFO: ==28835== Lock acquired, processing the job...
[2025-01-09 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:54:03] Production.INFO: ==28837== Lock acquired, processing the job...
[2025-01-09 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:54:03] Production.INFO: ==28843== Lock acquired, processing the job...
[2025-01-09 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:54:04] Production.INFO: ==28837== Releasing lock...
[2025-01-09 12:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:54:04] Production.INFO: ==28839== Lock acquired, processing the job...
[2025-01-09 12:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:54:04] Production.INFO: ==28841== Lock acquired, processing the job...
[2025-01-09 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:54:04] Production.INFO: ==28845== Lock acquired, processing the job...
[2025-01-09 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:54:04] Production.INFO: Account Balance Start.
[2025-01-09 12:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:54:04] Production.INFO: 117
[2025-01-09 12:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:54:04] Production.INFO: Total Charge 0
[2025-01-09 12:54:04] Production.INFO: CreateAllLog End
[2025-01-09 12:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:54:04] Production.INFO: count ==21
[2025-01-09 12:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:54:04] Production.INFO: count ==21
[2025-01-09 12:54:04] Production.ERROR: done
[2025-01-09 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209709') start
[2025-01-09 12:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:54:04] Production.ERROR: done
[2025-01-09 12:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209709') end
[2025-01-09 12:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:54:04] Production.INFO: 1
[2025-01-09 12:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:54:04] Production.INFO: Account Balance End.
[2025-01-09 12:54:05] Production.INFO: ==28845== Releasing lock...
[2025-01-09 12:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:54:05] Production.ERROR: CronJobId end 12
[2025-01-09 12:54:05] Production.INFO: ==28841== Releasing lock...
[2025-01-09 12:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:54:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:54:06
[end_date_ymd] => 2025-01-09 12:54:06
[RateCDR] => 1
)
[2025-01-09 12:54:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:54:06' and `end` < '2025-01-09 12:54:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:54:14] Production.ERROR: CronJobId end10
[2025-01-09 12:54:14] Production.INFO: ==28839== Releasing lock...
[2025-01-09 12:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:54:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:54:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:54:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:54:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:54:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:54:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:54:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:54:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:54:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:54:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:54:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:54:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:54:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:54:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:54:15] Production.INFO: call_cost start
[2025-01-09 12:54:15] Production.INFO: call_cost end
[2025-01-09 12:54:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:54:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:54:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:54:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:54:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:54:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:54:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:54:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:54:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:54:16] Production.INFO: ==28835== Releasing lock...
[2025-01-09 12:54:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:54:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:54:23] Production.INFO: count ==4640
[2025-01-09 12:54:25] Production.ERROR: pbx CDR StartTime 2025-01-09 09:54:06 - End Time 2025-01-09 12:54:06
[2025-01-09 12:54:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209710', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209710', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209710', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:54:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209710', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:54:25] Production.INFO: ProcessCDR(1,14209710,1,1,2)
[2025-01-09 12:54:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:54:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:54:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:54:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209710', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:54:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209710', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:54:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:54:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:54:30] Production.INFO: ==28843== Releasing lock...
[2025-01-09 12:54:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:54:30] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:55:01] Production.INFO: ==28901== Lock acquired, processing the job...
[2025-01-09 17:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:55:01] Production.INFO: neon service started
[2025-01-09 17:55:01] Production.INFO: neon service started
[2025-01-09 17:55:01] Production.INFO: ==28901== Releasing lock...
[2025-01-09 17:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:55:02] Production.INFO: ==28903== Lock acquired, processing the job...
[2025-01-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:55:02] Production.INFO: ==28903== Releasing lock...
[2025-01-09 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:55:02] Production.INFO: ==28905== Lock acquired, processing the job...
[2025-01-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:55:02] Production.INFO: ==28905== Releasing lock...
[2025-01-09 17:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:55:03] Production.INFO: ==28914== Lock acquired, processing the job...
[2025-01-09 12:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:55:03] Production.INFO: ==28916== Lock acquired, processing the job...
[2025-01-09 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:55:03] Production.INFO: ==28908== Lock acquired, processing the job...
[2025-01-09 12:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:55:03] Production.INFO: Account Balance Start.
[2025-01-09 12:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:55:03] Production.INFO: 117
[2025-01-09 12:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:55:03] Production.INFO: ==28910== Lock acquired, processing the job...
[2025-01-09 12:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:55:03] Production.INFO: ==28912== Lock acquired, processing the job...
[2025-01-09 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:55:03] Production.INFO: Total Charge 0
[2025-01-09 12:55:03] Production.INFO: ==28918== Lock acquired, processing the job...
[2025-01-09 12:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:55:04] Production.INFO: CreateAllLog End
[2025-01-09 12:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:55:04] Production.ERROR: done
[2025-01-09 12:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:55:04] Production.INFO: count ==21
[2025-01-09 12:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:55:04] Production.INFO: count ==21
[2025-01-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209714') start
[2025-01-09 12:55:04] Production.ERROR: done
[2025-01-09 12:55:04] Production.INFO: ==28910== Releasing lock...
[2025-01-09 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:55:04] Production.INFO: Account Balance End.
[2025-01-09 12:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:55:04] Production.INFO: ==28914== Releasing lock...
[2025-01-09 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209714') end
[2025-01-09 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:55:04] Production.INFO: 1
[2025-01-09 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:55:04] Production.INFO: ==28918== Releasing lock...
[2025-01-09 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:55:05
[end_date_ymd] => 2025-01-09 12:55:05
[RateCDR] => 1
)
[2025-01-09 12:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:55:05' and `end` < '2025-01-09 12:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:55:12] Production.ERROR: CronJobId end10
[2025-01-09 12:55:12] Production.INFO: ==28912== Releasing lock...
[2025-01-09 12:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:55:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:55:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:55:15] Production.INFO: call_cost start
[2025-01-09 12:55:15] Production.INFO: call_cost end
[2025-01-09 12:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:55:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:55:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:55:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:55:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:55:16] Production.INFO: ==28908== Releasing lock...
[2025-01-09 12:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:55:19] Production.INFO: count ==4644
[2025-01-09 12:55:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:55:05 - End Time 2025-01-09 12:55:05
[2025-01-09 12:55:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:55:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209715', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209715', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209715', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209715', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:55:22] Production.INFO: ProcessCDR(1,14209715,1,1,2)
[2025-01-09 12:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:55:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:55:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209715', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209715', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:55:27] Production.INFO: ==28916== Releasing lock...
[2025-01-09 12:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:55:27] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 17:56:02] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-01-09 17:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:56:02] Production.INFO: neon service started
[2025-01-09 17:56:02] Production.INFO: neon service started
[2025-01-09 17:56:02] Production.INFO: ==28975== Releasing lock...
[2025-01-09 17:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:56:02] Production.INFO: ==28979== Lock acquired, processing the job...
[2025-01-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:56:02] Production.INFO: ==28979== Releasing lock...
[2025-01-09 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:56:02] Production.INFO: ==28977== Lock acquired, processing the job...
[2025-01-09 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:56:03] Production.INFO: ==28977== Releasing lock...
[2025-01-09 12:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:56:03] Production.INFO: ==28981== Lock acquired, processing the job...
[2025-01-09 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:56:03] Production.INFO: ==28985== Lock acquired, processing the job...
[2025-01-09 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:56:03] Production.INFO: ==28992== Lock acquired, processing the job...
[2025-01-09 12:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:56:04] Production.INFO: ==28983== Lock acquired, processing the job...
[2025-01-09 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:56:04] Production.INFO: count ==21
[2025-01-09 12:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:56:04] Production.INFO: ==28987== Lock acquired, processing the job...
[2025-01-09 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:56:04] Production.INFO: count ==21
[2025-01-09 12:56:04] Production.INFO: ==28989== Lock acquired, processing the job...
[2025-01-09 12:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209717') start
[2025-01-09 12:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:56:04] Production.INFO: Account Balance Start.
[2025-01-09 12:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:56:04] Production.INFO: 117
[2025-01-09 12:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209717') end
[2025-01-09 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:56:04] Production.INFO: 1
[2025-01-09 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:56:04] Production.INFO: Total Charge 0
[2025-01-09 12:56:04] Production.INFO: CreateAllLog End
[2025-01-09 12:56:04] Production.INFO: ==28992== Releasing lock...
[2025-01-09 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:56:04] Production.INFO: ==28983== Releasing lock...
[2025-01-09 12:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:56:04] Production.ERROR: done
[2025-01-09 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:56:04] Production.INFO: Account Balance End.
[2025-01-09 12:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:56:04] Production.INFO: ==28987== Releasing lock...
[2025-01-09 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:56:04] Production.ERROR: done
[2025-01-09 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:56:05
[end_date_ymd] => 2025-01-09 12:56:05
[RateCDR] => 1
)
[2025-01-09 12:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:56:05' and `end` < '2025-01-09 12:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:56:11] Production.ERROR: CronJobId end10
[2025-01-09 12:56:11] Production.INFO: ==28985== Releasing lock...
[2025-01-09 12:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:56:13] Production.INFO: call_cost start
[2025-01-09 12:56:13] Production.INFO: call_cost end
[2025-01-09 12:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:56:14] Production.INFO: ==28981== Releasing lock...
[2025-01-09 12:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:56:28] Production.INFO: count ==4625
[2025-01-09 12:56:30] Production.ERROR: pbx CDR StartTime 2025-01-09 09:56:05 - End Time 2025-01-09 12:56:05
[2025-01-09 12:56:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209720', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209720', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209720', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:56:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209720', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:56:30] Production.INFO: ProcessCDR(1,14209720,1,1,2)
[2025-01-09 12:56:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:56:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:56:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:56:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:56:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209720', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:56:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209720', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:56:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:56:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:56:34] Production.INFO: ==28989== Releasing lock...
[2025-01-09 12:56:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:56:34] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:57:01] Production.INFO: ==29047== Lock acquired, processing the job...
[2025-01-09 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:57:01] Production.INFO: neon service started
[2025-01-09 17:57:01] Production.INFO: neon service started
[2025-01-09 17:57:01] Production.INFO: ==29047== Releasing lock...
[2025-01-09 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:57:02] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-01-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:57:02] Production.INFO: ==29049== Releasing lock...
[2025-01-09 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:57:02] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-01-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:57:02] Production.INFO: ==29051== Releasing lock...
[2025-01-09 17:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:57:03] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-01-09 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:57:03] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-01-09 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:57:03] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-01-09 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:57:03] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-01-09 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:57:03] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-01-09 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:57:03] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-01-09 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:57:03] Production.INFO: count ==21
[2025-01-09 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:57:03] Production.INFO: count ==21
[2025-01-09 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209723') start
[2025-01-09 12:57:03] Production.INFO: Account Balance Start.
[2025-01-09 12:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:57:03] Production.INFO: 117
[2025-01-09 12:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209723') end
[2025-01-09 12:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:57:03] Production.INFO: 1
[2025-01-09 12:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:57:03] Production.INFO: ==29063== Releasing lock...
[2025-01-09 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:57:03] Production.ERROR: done
[2025-01-09 12:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:57:03] Production.INFO: Total Charge 0
[2025-01-09 12:57:03] Production.INFO: CreateAllLog End
[2025-01-09 12:57:04] Production.INFO: ==29055== Releasing lock...
[2025-01-09 12:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:57:04] Production.ERROR: done
[2025-01-09 12:57:04] Production.INFO: Account Balance End.
[2025-01-09 12:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:57:04] Production.INFO: ==29059== Releasing lock...
[2025-01-09 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:57:04
[end_date_ymd] => 2025-01-09 12:57:04
[RateCDR] => 1
)
[2025-01-09 12:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:57:04' and `end` < '2025-01-09 12:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:57:10] Production.ERROR: CronJobId end10
[2025-01-09 12:57:10] Production.INFO: ==29057== Releasing lock...
[2025-01-09 12:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:57:12] Production.INFO: call_cost start
[2025-01-09 12:57:12] Production.INFO: call_cost end
[2025-01-09 12:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:57:13] Production.INFO: ==29053== Releasing lock...
[2025-01-09 12:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:57:21] Production.INFO: count ==4616
[2025-01-09 12:57:23] Production.ERROR: pbx CDR StartTime 2025-01-09 09:57:04 - End Time 2025-01-09 12:57:04
[2025-01-09 12:57:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209725', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209725', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209725', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209725', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:57:23] Production.INFO: ProcessCDR(1,14209725,1,1,2)
[2025-01-09 12:57:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:57:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:57:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:57:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209725', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:57:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209725', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:57:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:57:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:57:27] Production.INFO: ==29061== Releasing lock...
[2025-01-09 12:57:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:57:27] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:58:02] Production.INFO: ==29116== Lock acquired, processing the job...
[2025-01-09 17:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:58:02] Production.INFO: neon service started
[2025-01-09 17:58:02] Production.INFO: neon service started
[2025-01-09 17:58:02] Production.INFO: ==29116== Releasing lock...
[2025-01-09 17:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:58:02] Production.INFO: ==29120== Lock acquired, processing the job...
[2025-01-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:58:02] Production.INFO: ==29120== Releasing lock...
[2025-01-09 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:58:02] Production.INFO: ==29118== Lock acquired, processing the job...
[2025-01-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:58:02] Production.INFO: ==29118== Releasing lock...
[2025-01-09 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 12:58:03] Production.INFO: ==29127== Lock acquired, processing the job...
[2025-01-09 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:58:03] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-01-09 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:58:03] Production.INFO: ==29123== Lock acquired, processing the job...
[2025-01-09 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 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-01-09 12:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:58:03] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-01-09 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:58:03] Production.INFO: count ==21
[2025-01-09 12:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:58:04] Production.INFO: count ==21
[2025-01-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209726') start
[2025-01-09 12:58:04] Production.INFO: ==29129== Lock acquired, processing the job...
[2025-01-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:58:04] Production.INFO: ==29131== Lock acquired, processing the job...
[2025-01-09 12:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209726') end
[2025-01-09 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:58:04] Production.INFO: 1
[2025-01-09 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:58:04] Production.INFO: ==29133== Releasing lock...
[2025-01-09 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:58:04] Production.INFO: Account Balance Start.
[2025-01-09 12:58:04] Production.INFO: CreateAllLog Start
[2025-01-09 12:58:04] Production.INFO: 117
[2025-01-09 12:58:04] Production.INFO: Date 2025-01-08
[2025-01-09 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:58:04] Production.INFO: ==29125== Releasing lock...
[2025-01-09 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 12:58:04] Production.INFO: Total Charge 0
[2025-01-09 12:58:04] Production.INFO: CreateAllLog End
[2025-01-09 12:58:04] Production.ERROR: done
[2025-01-09 12:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:58:04] Production.INFO: Account Balance End.
[2025-01-09 12:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 12:58:04] Production.INFO: ==29129== Releasing lock...
[2025-01-09 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:58:04] Production.ERROR: done
[2025-01-09 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:58:05
[end_date_ymd] => 2025-01-09 12:58:05
[RateCDR] => 1
)
[2025-01-09 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:58:05' and `end` < '2025-01-09 12:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:58:11] Production.ERROR: CronJobId end10
[2025-01-09 12:58:11] Production.INFO: ==29127== Releasing lock...
[2025-01-09 12:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:58:12] Production.INFO: call_cost start
[2025-01-09 12:58:12] Production.INFO: call_cost end
[2025-01-09 12:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:58:13] Production.INFO: ==29123== Releasing lock...
[2025-01-09 12:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:58:20] Production.INFO: count ==4605
[2025-01-09 12:58:21] Production.ERROR: pbx CDR StartTime 2025-01-09 09:58:05 - End Time 2025-01-09 12:58:05
[2025-01-09 12:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209730', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209730', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209730', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209730', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:58:22] Production.INFO: ProcessCDR(1,14209730,1,1,2)
[2025-01-09 12:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209730', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209730', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:58:26] Production.INFO: ==29131== Releasing lock...
[2025-01-09 12:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:58:26] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 17:59:01] Production.INFO: ==29189== Lock acquired, processing the job...
[2025-01-09 17:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 17:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 17:59:01] Production.INFO: neon service started
[2025-01-09 17:59:01] Production.INFO: neon service started
[2025-01-09 17:59:01] Production.INFO: ==29189== Releasing lock...
[2025-01-09 17:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 17:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 12:59:01] Production.INFO: ==29191== Lock acquired, processing the job...
[2025-01-09 12:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 12:59:02] Production.INFO: ==29191== Releasing lock...
[2025-01-09 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 12:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:59:02] Production.INFO: ==29193== Lock acquired, processing the job...
[2025-01-09 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:59:02] Production.INFO: ==29193== Releasing lock...
[2025-01-09 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 17:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 12:59:03] Production.INFO: ==29195== Lock acquired, processing the job...
[2025-01-09 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 12:59:03] Production.INFO: ==29197== Lock acquired, processing the job...
[2025-01-09 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 12:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 12:59:03] Production.INFO: ==29199== Lock acquired, processing the job...
[2025-01-09 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 12:59:03] Production.INFO: ==29201== Lock acquired, processing the job...
[2025-01-09 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 12:59:03] Production.INFO: ==29203== Lock acquired, processing the job...
[2025-01-09 12:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 12:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 12:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 12:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 12:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 12:59:03] Production.INFO: Account Balance Start.
[2025-01-09 12:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 12:59:03] Production.INFO: 117
[2025-01-09 12:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 12:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 12:59:03] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-01-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 12:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 12:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 12:59:03] Production.INFO: Total Charge 0
[2025-01-09 12:59:03] Production.INFO: CreateAllLog End
[2025-01-09 12:59:03] Production.INFO: ==29197== Releasing lock...
[2025-01-09 12:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 12:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 12:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:59:03] Production.ERROR: done
[2025-01-09 12:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 12:59:03] Production.INFO: count ==21
[2025-01-09 12:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 12:59:03] Production.INFO: count ==21
[2025-01-09 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209734') start
[2025-01-09 12:59:03] Production.ERROR: done
[2025-01-09 12:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209734') end
[2025-01-09 12:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 12:59:03] Production.INFO: 1
[2025-01-09 12:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 12:59:03] Production.INFO: Account Balance End.
[2025-01-09 12:59:03] Production.INFO: ==29205== Releasing lock...
[2025-01-09 12:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 12:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 12:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 12:59:03] Production.INFO: ==29201== Releasing lock...
[2025-01-09 12:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 12:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 12:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 09:59:04
[end_date_ymd] => 2025-01-09 12:59:04
[RateCDR] => 1
)
[2025-01-09 12:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 09:59:04' and `end` < '2025-01-09 12:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 12:59:11] Production.ERROR: CronJobId end10
[2025-01-09 12:59:11] Production.INFO: ==29199== Releasing lock...
[2025-01-09 12:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 12:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 12:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 12:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 12:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 12:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 12:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 12:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 12:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 12:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 12:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 12:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 12:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 12:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 12:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 12:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 12:59:13] Production.INFO: call_cost start
[2025-01-09 12:59:13] Production.INFO: call_cost end
[2025-01-09 12:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 12:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 12:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 12:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 12:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 12:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 12:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 12:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 12:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 12:59:13] Production.INFO: ==29195== Releasing lock...
[2025-01-09 12:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 12:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 12:59:23] Production.INFO: count ==4591
[2025-01-09 12:59:24] Production.ERROR: pbx CDR StartTime 2025-01-09 09:59:04 - End Time 2025-01-09 12:59:04
[2025-01-09 12:59:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 12:59:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209735', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209735', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209735', 'tblTempVendorCDR_20' ) start
[2025-01-09 12:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209735', 'tblTempVendorCDR_20' ) end
[2025-01-09 12:59:25] Production.INFO: ProcessCDR(1,14209735,1,1,2)
[2025-01-09 12:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:59:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 12:59:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:59:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 12:59:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209735', 'tblTempUsageDetail_20' ) start
[2025-01-09 12:59:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209735', 'tblTempUsageDetail_20' ) end
[2025-01-09 12:59:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 12:59:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 12:59:29] Production.INFO: ==29203== Releasing lock...
[2025-01-09 12:59:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 12:59:29] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:00:02] Production.INFO: ==29263== Lock acquired, processing the job...
[2025-01-09 18:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:00:02] Production.INFO: neon service started
[2025-01-09 18:00:02] Production.INFO: neon service started
[2025-01-09 18:00:02] Production.INFO: ==29263== Releasing lock...
[2025-01-09 18:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:00:02] Production.INFO: ==29267== Lock acquired, processing the job...
[2025-01-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:00:02] Production.INFO: ==29267== Releasing lock...
[2025-01-09 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:00:02] Production.INFO: ==29265== Lock acquired, processing the job...
[2025-01-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:00:02] Production.INFO: ==29265== Releasing lock...
[2025-01-09 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:00:03] Production.INFO: ==29276== Lock acquired, processing the job...
[2025-01-09 13:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:00:03] Production.INFO: ==29284== Lock acquired, processing the job...
[2025-01-09 13:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:00:04] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-01-09 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 13:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:00:04] Production.INFO: ==29270== Lock acquired, processing the job...
[2025-01-09 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 13:00:04] Production.INFO: count ==21
[2025-01-09 13:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:00:04] Production.INFO: ==29272== Lock acquired, processing the job...
[2025-01-09 13:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:00:04] Production.INFO: count ==21
[2025-01-09 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209736') start
[2025-01-09 13:00:04] Production.INFO: ==29274== Lock acquired, processing the job...
[2025-01-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:00:04] Production.ERROR: CronJob PID - 29272
[2025-01-09 13:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 13:00:04] Production.ERROR: CronJob ID - 5
[2025-01-09 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:00:00
[2025-01-09 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:00:04] Production.ERROR: CronJob PID - 29276
[2025-01-09 13:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 13:00:04] Production.ERROR: CronJob ID - 10
[2025-01-09 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:00:00
[2025-01-09 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:00:04] Production.ERROR: CronJob PID - 29282
[2025-01-09 13:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 13:00:04] Production.ERROR: CronJob ID - 17
[2025-01-09 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:00:00
[2025-01-09 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:00:04] Production.ERROR: CronJob PID - 29284
[2025-01-09 13:00:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 13:00:04] Production.ERROR: CronJob ID - 19
[2025-01-09 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:00:00
[2025-01-09 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:00:04] Production.INFO: ==29278== Lock acquired, processing the job...
[2025-01-09 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:00:04] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-01-09 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 13:00:04] Production.INFO: ==29270== Releasing lock...
[2025-01-09 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 13:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:00:04] Production.ERROR: done
[2025-01-09 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:00:04] Production.INFO: Account Balance Start.
[2025-01-09 13:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:00:04] Production.INFO: 117
[2025-01-09 13:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 13:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209739', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209736') end
[2025-01-09 13:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:00:04] Production.INFO: 1
[2025-01-09 13:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:00:04] Production.INFO: ==29284== Releasing lock...
[2025-01-09 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:00:04] Production.INFO: Total Charge 0
[2025-01-09 13:00:04] Production.INFO: CreateAllLog End
[2025-01-09 13:00:04] Production.INFO: ==29274== Releasing lock...
[2025-01-09 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:00:05] Production.ERROR: done
[2025-01-09 13:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:00:05] Production.ERROR: done
[2025-01-09 13:00:05] Production.INFO: Account Balance End.
[2025-01-09 13:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 13:00:05] Production.INFO: ==29278== Releasing lock...
[2025-01-09 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:00:06
[end_date_ymd] => 2025-01-09 13:00:06
[RateCDR] => 1
)
[2025-01-09 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-01-09 10:00:06' and `end` < '2025-01-09 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-01-09 13:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209739', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 13:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 13:00:08] Production.INFO: ProcessCDR(1,14209739,1,1,2)
[2025-01-09 13:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209739,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209739,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:00:08] Production.INFO: ==29282== Releasing lock...
[2025-01-09 13:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 13:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 13:00:13] Production.ERROR: CronJobId end10
[2025-01-09 13:00:13] Production.INFO: ==29276== Releasing lock...
[2025-01-09 13:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:00:15] Production.INFO: call_cost start
[2025-01-09 13:00:15] Production.INFO: call_cost end
[2025-01-09 13:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:00:16] Production.INFO: ==29272== Releasing lock...
[2025-01-09 13:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:00:31] Production.INFO: count ==4560
[2025-01-09 13:00:33] Production.ERROR: pbx CDR StartTime 2025-01-09 10:00:06 - End Time 2025-01-09 13:00:06
[2025-01-09 13:00:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209741', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209741', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209741', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:00:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209741', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:00:33] Production.INFO: ProcessCDR(1,14209741,1,1,2)
[2025-01-09 13:00:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:00:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:00:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:00:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:00:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209741', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:00:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209741', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:00:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:00:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:00:38] Production.INFO: ==29280== Releasing lock...
[2025-01-09 13:00:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:00:38] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:01:01] Production.INFO: ==29352== Lock acquired, processing the job...
[2025-01-09 18:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:01:01] Production.INFO: neon service started
[2025-01-09 18:01:01] Production.INFO: neon service started
[2025-01-09 18:01:01] Production.INFO: ==29352== Releasing lock...
[2025-01-09 18:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:01:01] Production.INFO: ==29356== Lock acquired, processing the job...
[2025-01-09 18:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:01:01] Production.INFO: ==29356== Releasing lock...
[2025-01-09 18:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:01:01] Production.INFO: ==29354== Lock acquired, processing the job...
[2025-01-09 13:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:01:02] Production.INFO: ==29354== Releasing lock...
[2025-01-09 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:01:02] Production.INFO: ==29358== Lock acquired, processing the job...
[2025-01-09 13:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:01:02] Production.INFO: ==29360== Lock acquired, processing the job...
[2025-01-09 13:01:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:01:02] Production.INFO: ==29362== Lock acquired, processing the job...
[2025-01-09 13:01:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:01:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:01:03] Production.INFO: ==29360== Releasing lock...
[2025-01-09 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:01:03] Production.INFO: ==29364== Lock acquired, processing the job...
[2025-01-09 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:01:03] Production.INFO: ==29366== Lock acquired, processing the job...
[2025-01-09 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:01:03] Production.INFO: Account Balance Start.
[2025-01-09 13:01:03] Production.INFO: ==29368== Lock acquired, processing the job...
[2025-01-09 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:01:03] Production.INFO: 117
[2025-01-09 13:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:01:03] Production.INFO: Total Charge 0
[2025-01-09 13:01:03] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 13:01:03] Production.INFO: count ==21
[2025-01-09 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-01-09 13:01:03] Production.ERROR: done
[2025-01-09 13:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:01:03] Production.INFO: count ==21
[2025-01-09 13:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209745') start
[2025-01-09 13:01:03] Production.INFO: Account Balance End.
[2025-01-09 13:01:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:01:03] Production.INFO: ==29364== Releasing lock...
[2025-01-09 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209745') end
[2025-01-09 13:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:01:03] Production.INFO: 1
[2025-01-09 13:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:01:03] Production.ERROR: done
[2025-01-09 13:01:04] Production.INFO: ==29368== Releasing lock...
[2025-01-09 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:01:04
[end_date_ymd] => 2025-01-09 13:01:04
[RateCDR] => 1
)
[2025-01-09 13:01:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:01:04' and `end` < '2025-01-09 13:01:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:01:11] Production.ERROR: CronJobId end10
[2025-01-09 13:01:11] Production.INFO: ==29362== Releasing lock...
[2025-01-09 13:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:01:13] Production.INFO: call_cost start
[2025-01-09 13:01:13] Production.INFO: call_cost end
[2025-01-09 13:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:01:14] Production.INFO: ==29358== Releasing lock...
[2025-01-09 13:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:01:24] Production.INFO: count ==4516
[2025-01-09 13:01:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:01:04 - End Time 2025-01-09 13:01:04
[2025-01-09 13:01:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:01:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209746', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209746', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209746', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:01:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209746', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:01:26] Production.INFO: ProcessCDR(1,14209746,1,1,2)
[2025-01-09 13:01:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:01:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:01:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:01:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209746', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:01:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209746', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:01:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:01:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:01:30] Production.INFO: ==29366== Releasing lock...
[2025-01-09 13:01:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:01:30] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:02:01] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-01-09 18:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:02:01] Production.INFO: neon service started
[2025-01-09 18:02:01] Production.INFO: neon service started
[2025-01-09 18:02:01] Production.INFO: ==29428== Releasing lock...
[2025-01-09 18:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:02:02] Production.INFO: ==29430== Lock acquired, processing the job...
[2025-01-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:02:02] Production.INFO: ==29430== Releasing lock...
[2025-01-09 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:02:02] Production.INFO: ==29432== Lock acquired, processing the job...
[2025-01-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:02:02] Production.INFO: ==29432== Releasing lock...
[2025-01-09 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:02:03] Production.INFO: ==29435== Lock acquired, processing the job...
[2025-01-09 13:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:02:03] Production.INFO: ==29445== Lock acquired, processing the job...
[2025-01-09 13:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:02:03] Production.INFO: ==29441== Lock acquired, processing the job...
[2025-01-09 13:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:02:03] Production.INFO: ==29437== Lock acquired, processing the job...
[2025-01-09 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:02:03] Production.INFO: ==29439== Lock acquired, processing the job...
[2025-01-09 13:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:02:03] Production.INFO: Account Balance Start.
[2025-01-09 13:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:02:03] Production.INFO: 117
[2025-01-09 13:02:03] Production.INFO: count ==21
[2025-01-09 13:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:02:03] Production.INFO: count ==21
[2025-01-09 13:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209748') start
[2025-01-09 13:02:03] Production.INFO: ==29443== Lock acquired, processing the job...
[2025-01-09 13:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:02:03] Production.INFO: Total Charge 0
[2025-01-09 13:02:03] Production.INFO: CreateAllLog End
[2025-01-09 13:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209748') end
[2025-01-09 13:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:02:03] Production.INFO: 1
[2025-01-09 13:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:02:03] Production.INFO: ==29437== Releasing lock...
[2025-01-09 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:02:03] Production.INFO: ==29445== Releasing lock...
[2025-01-09 13:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:02:04] Production.INFO: Account Balance End.
[2025-01-09 13:02:04] Production.ERROR: done
[2025-01-09 13:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:02:04] Production.INFO: ==29441== Releasing lock...
[2025-01-09 13:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:02:04] Production.ERROR: done
[2025-01-09 13:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:02:05
[end_date_ymd] => 2025-01-09 13:02:05
[RateCDR] => 1
)
[2025-01-09 13:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:02:05' and `end` < '2025-01-09 13:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:02:11] Production.ERROR: CronJobId end10
[2025-01-09 13:02:11] Production.INFO: ==29439== Releasing lock...
[2025-01-09 13:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:02:13] Production.INFO: call_cost start
[2025-01-09 13:02:13] Production.INFO: call_cost end
[2025-01-09 13:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:02:14] Production.INFO: ==29435== Releasing lock...
[2025-01-09 13:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:02:21] Production.INFO: count ==4499
[2025-01-09 13:02:23] Production.ERROR: pbx CDR StartTime 2025-01-09 10:02:05 - End Time 2025-01-09 13:02:05
[2025-01-09 13:02:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209751', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209751', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209751', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:02:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209751', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:02:23] Production.INFO: ProcessCDR(1,14209751,1,1,2)
[2025-01-09 13:02:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:02:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209751,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:02:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:02:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209751,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209751', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:02:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209751', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:02:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:02:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:02:28] Production.INFO: ==29443== Releasing lock...
[2025-01-09 13:02:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:02:28] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:03:02] Production.INFO: ==29502== Lock acquired, processing the job...
[2025-01-09 18:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:03:02] Production.INFO: neon service started
[2025-01-09 18:03:02] Production.INFO: neon service started
[2025-01-09 18:03:02] Production.INFO: ==29502== Releasing lock...
[2025-01-09 18:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:03:02] Production.INFO: ==29506== Lock acquired, processing the job...
[2025-01-09 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:03:02] Production.INFO: ==29504== Lock acquired, processing the job...
[2025-01-09 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:03:02] Production.INFO: ==29506== Releasing lock...
[2025-01-09 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:03:03] Production.INFO: ==29504== Releasing lock...
[2025-01-09 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:03:03] Production.INFO: ==29510== Lock acquired, processing the job...
[2025-01-09 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:03:03] Production.INFO: ==29512== Lock acquired, processing the job...
[2025-01-09 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:03:03] Production.INFO: ==29516== Lock acquired, processing the job...
[2025-01-09 13:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:03:04] Production.INFO: ==29508== Lock acquired, processing the job...
[2025-01-09 13:03:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:03:04] Production.INFO: ==29510== Releasing lock...
[2025-01-09 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:03:04] Production.INFO: ==29514== Lock acquired, processing the job...
[2025-01-09 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:03:04] Production.INFO: ==29519== Lock acquired, processing the job...
[2025-01-09 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:03:04] Production.ERROR: done
[2025-01-09 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:03:04] Production.INFO: Account Balance Start.
[2025-01-09 13:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:03:04] Production.INFO: 117
[2025-01-09 13:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:03:04] Production.INFO: count ==21
[2025-01-09 13:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:03:04] Production.INFO: count ==21
[2025-01-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209755') start
[2025-01-09 13:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:03:04] Production.ERROR: done
[2025-01-09 13:03:04] Production.INFO: Total Charge 0
[2025-01-09 13:03:04] Production.INFO: CreateAllLog End
[2025-01-09 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209755') end
[2025-01-09 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:03:04] Production.INFO: 1
[2025-01-09 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:03:04] Production.INFO: ==29519== Releasing lock...
[2025-01-09 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:03:04] Production.INFO: Account Balance End.
[2025-01-09 13:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:03:04] Production.INFO: ==29514== Releasing lock...
[2025-01-09 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:03:05
[end_date_ymd] => 2025-01-09 13:03:05
[RateCDR] => 1
)
[2025-01-09 13:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:03:05' and `end` < '2025-01-09 13:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:03:12] Production.ERROR: CronJobId end10
[2025-01-09 13:03:12] Production.INFO: ==29512== Releasing lock...
[2025-01-09 13:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:03:14] Production.INFO: call_cost start
[2025-01-09 13:03:14] Production.INFO: call_cost end
[2025-01-09 13:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:03:15] Production.INFO: ==29508== Releasing lock...
[2025-01-09 13:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:03:19] Production.INFO: count ==4509
[2025-01-09 13:03:21] Production.ERROR: pbx CDR StartTime 2025-01-09 10:03:05 - End Time 2025-01-09 13:03:05
[2025-01-09 13:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209756', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209756', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209756', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209756', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:03:21] Production.INFO: ProcessCDR(1,14209756,1,1,2)
[2025-01-09 13:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209756,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209756,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209756', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:03:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209756', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:03:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:03:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:03:26] Production.INFO: ==29516== Releasing lock...
[2025-01-09 13:03:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:03:26] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:04:01] Production.INFO: ==29612== Lock acquired, processing the job...
[2025-01-09 18:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:04:01] Production.INFO: neon service started
[2025-01-09 18:04:01] Production.INFO: neon service started
[2025-01-09 18:04:01] Production.INFO: ==29612== Releasing lock...
[2025-01-09 18:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:04:01] Production.INFO: ==29614== Lock acquired, processing the job...
[2025-01-09 13:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:04:02] Production.INFO: ==29614== Releasing lock...
[2025-01-09 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:04:02] Production.INFO: ==29616== Lock acquired, processing the job...
[2025-01-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:04:02] Production.INFO: ==29616== Releasing lock...
[2025-01-09 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:04:03] Production.INFO: ==29624== Lock acquired, processing the job...
[2025-01-09 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:04:03] Production.INFO: Account Balance Start.
[2025-01-09 13:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:04:03] Production.INFO: 117
[2025-01-09 13:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:04:03] Production.INFO: ==29629== Lock acquired, processing the job...
[2025-01-09 13:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:04:03] Production.INFO: ==29618== Lock acquired, processing the job...
[2025-01-09 13:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:04:03] Production.INFO: Total Charge 0
[2025-01-09 13:04:03] Production.INFO: CreateAllLog End
[2025-01-09 13:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:04:03] Production.INFO: ==29622== Lock acquired, processing the job...
[2025-01-09 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:04:03] Production.INFO: count ==21
[2025-01-09 13:04:03] Production.INFO: ==29620== Lock acquired, processing the job...
[2025-01-09 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:04:03] Production.INFO: count ==21
[2025-01-09 13:04:03] Production.INFO: ==29626== Lock acquired, processing the job...
[2025-01-09 13:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:04:03] Production.INFO: Account Balance End.
[2025-01-09 13:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209758') start
[2025-01-09 13:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:04:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:04:03] Production.INFO: ==29624== Releasing lock...
[2025-01-09 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209758') end
[2025-01-09 13:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:04:03] Production.INFO: 1
[2025-01-09 13:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:04:03] Production.INFO: ==29629== Releasing lock...
[2025-01-09 13:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:04:03] Production.ERROR: done
[2025-01-09 13:04:03] Production.INFO: ==29620== Releasing lock...
[2025-01-09 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:04:04] Production.ERROR: done
[2025-01-09 13:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:04:04
[end_date_ymd] => 2025-01-09 13:04:04
[RateCDR] => 1
)
[2025-01-09 13:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:04:04' and `end` < '2025-01-09 13:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:04:11] Production.ERROR: CronJobId end10
[2025-01-09 13:04:11] Production.INFO: ==29622== Releasing lock...
[2025-01-09 13:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:04:13] Production.INFO: call_cost start
[2025-01-09 13:04:13] Production.INFO: call_cost end
[2025-01-09 13:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:04:14] Production.INFO: ==29618== Releasing lock...
[2025-01-09 13:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:04:24] Production.INFO: count ==4516
[2025-01-09 13:04:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:04:04 - End Time 2025-01-09 13:04:04
[2025-01-09 13:04:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209761', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209761', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209761', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209761', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:04:26] Production.INFO: ProcessCDR(1,14209761,1,1,2)
[2025-01-09 13:04:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:04:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209761', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209761', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:04:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:04:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:04:31] Production.INFO: ==29626== Releasing lock...
[2025-01-09 13:04:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:04:31] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:05:02] Production.INFO: ==29686== Lock acquired, processing the job...
[2025-01-09 18:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:05:02] Production.INFO: neon service started
[2025-01-09 18:05:02] Production.INFO: neon service started
[2025-01-09 18:05:02] Production.INFO: ==29686== Releasing lock...
[2025-01-09 18:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:05:02] Production.INFO: ==29688== Lock acquired, processing the job...
[2025-01-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:05:02] Production.INFO: ==29690== Lock acquired, processing the job...
[2025-01-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:05:02] Production.INFO: ==29690== Releasing lock...
[2025-01-09 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:05:02] Production.INFO: ==29688== Releasing lock...
[2025-01-09 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:05:03] Production.INFO: ==29697== Lock acquired, processing the job...
[2025-01-09 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:05:03] Production.INFO: ==29693== Lock acquired, processing the job...
[2025-01-09 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:05:03] Production.INFO: ==29701== Lock acquired, processing the job...
[2025-01-09 13:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:05:04] Production.INFO: ==29695== Lock acquired, processing the job...
[2025-01-09 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:05:04] Production.ERROR: done
[2025-01-09 13:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:05:04] Production.INFO: ==29699== Lock acquired, processing the job...
[2025-01-09 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:05:04] Production.INFO: ==29703== Lock acquired, processing the job...
[2025-01-09 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:05:04] Production.ERROR: done
[2025-01-09 13:05:04] Production.INFO: Account Balance Start.
[2025-01-09 13:05:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:05:04] Production.INFO: 117
[2025-01-09 13:05:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:05:04] Production.INFO: ==29695== Releasing lock...
[2025-01-09 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:05:04] Production.INFO: count ==21
[2025-01-09 13:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:05:04] Production.INFO: count ==21
[2025-01-09 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209766') start
[2025-01-09 13:05:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:05:04] Production.INFO: Total Charge 0
[2025-01-09 13:05:04] Production.INFO: CreateAllLog End
[2025-01-09 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209766') end
[2025-01-09 13:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:05:04] Production.INFO: 1
[2025-01-09 13:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:05:04] Production.INFO: ==29703== Releasing lock...
[2025-01-09 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:05:04] Production.INFO: Account Balance End.
[2025-01-09 13:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:05:04] Production.INFO: ==29699== Releasing lock...
[2025-01-09 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:05:05
[end_date_ymd] => 2025-01-09 13:05:05
[RateCDR] => 1
)
[2025-01-09 13:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:05:05' and `end` < '2025-01-09 13:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:05:13] Production.ERROR: CronJobId end10
[2025-01-09 13:05:13] Production.INFO: ==29697== Releasing lock...
[2025-01-09 13:05:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:05:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:05:14] Production.INFO: call_cost start
[2025-01-09 13:05:14] Production.INFO: call_cost end
[2025-01-09 13:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:05:15] Production.INFO: ==29693== Releasing lock...
[2025-01-09 13:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:05:21] Production.INFO: count ==4512
[2025-01-09 13:05:22] Production.ERROR: pbx CDR StartTime 2025-01-09 10:05:05 - End Time 2025-01-09 13:05:05
[2025-01-09 13:05:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:05:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209765', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209765', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209765', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209765', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:05:23] Production.INFO: ProcessCDR(1,14209765,1,1,2)
[2025-01-09 13:05:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:05:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209765,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:05:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:05:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209765,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209765', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:05:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209765', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:05:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:05:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:05:27] Production.INFO: ==29701== Releasing lock...
[2025-01-09 13:05:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:05:27] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:06:01] Production.INFO: ==29768== Lock acquired, processing the job...
[2025-01-09 18:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:06:01] Production.INFO: neon service started
[2025-01-09 18:06:01] Production.INFO: neon service started
[2025-01-09 18:06:01] Production.INFO: ==29768== Releasing lock...
[2025-01-09 18:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:06:01] Production.INFO: ==29770== Lock acquired, processing the job...
[2025-01-09 13:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:06:02] Production.INFO: ==29770== Releasing lock...
[2025-01-09 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:06:02] Production.INFO: ==29772== Lock acquired, processing the job...
[2025-01-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:06:02] Production.INFO: ==29772== Releasing lock...
[2025-01-09 18:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:06:03] Production.INFO: ==29774== Lock acquired, processing the job...
[2025-01-09 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:06:03] Production.INFO: ==29778== Lock acquired, processing the job...
[2025-01-09 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:06:03] Production.INFO: ==29784== Lock acquired, processing the job...
[2025-01-09 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:06:03] Production.INFO: ==29776== Lock acquired, processing the job...
[2025-01-09 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:06:03] Production.INFO: count ==21
[2025-01-09 13:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:06:03] Production.INFO: count ==21
[2025-01-09 13:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209768') start
[2025-01-09 13:06:03] Production.INFO: ==29780== Lock acquired, processing the job...
[2025-01-09 13:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:06:03] Production.INFO: ==29782== Lock acquired, processing the job...
[2025-01-09 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209768') end
[2025-01-09 13:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:06:03] Production.INFO: 1
[2025-01-09 13:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:06:03] Production.INFO: ==29784== Releasing lock...
[2025-01-09 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:06:03] Production.INFO: Account Balance Start.
[2025-01-09 13:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:06:03] Production.INFO: 117
[2025-01-09 13:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:06:03] Production.INFO: ==29776== Releasing lock...
[2025-01-09 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:06:03] Production.INFO: Total Charge 0
[2025-01-09 13:06:03] Production.INFO: CreateAllLog End
[2025-01-09 13:06:04] Production.ERROR: done
[2025-01-09 13:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:06:04] Production.INFO: Account Balance End.
[2025-01-09 13:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:06:04] Production.INFO: ==29780== Releasing lock...
[2025-01-09 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:06:04] Production.ERROR: done
[2025-01-09 13:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:06:05
[end_date_ymd] => 2025-01-09 13:06:05
[RateCDR] => 1
)
[2025-01-09 13:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:06:05' and `end` < '2025-01-09 13:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:06:11] Production.ERROR: CronJobId end10
[2025-01-09 13:06:11] Production.INFO: ==29778== Releasing lock...
[2025-01-09 13:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:06:13] Production.INFO: call_cost start
[2025-01-09 13:06:13] Production.INFO: call_cost end
[2025-01-09 13:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:06:13] Production.INFO: ==29774== Releasing lock...
[2025-01-09 13:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:06:29] Production.INFO: count ==4505
[2025-01-09 13:06:31] Production.ERROR: pbx CDR StartTime 2025-01-09 10:06:05 - End Time 2025-01-09 13:06:05
[2025-01-09 13:06:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:06:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209771', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:06:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209771', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:06:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209771', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:06:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209771', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:06:31] Production.INFO: ProcessCDR(1,14209771,1,1,2)
[2025-01-09 13:06:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:06:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:06:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:06:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:06:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209771', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:06:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209771', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:06:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:06:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:06:35] Production.INFO: ==29782== Releasing lock...
[2025-01-09 13:06:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:06:35] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:07:01] Production.INFO: ==29847== Lock acquired, processing the job...
[2025-01-09 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:07:01] Production.INFO: neon service started
[2025-01-09 18:07:01] Production.INFO: neon service started
[2025-01-09 18:07:01] Production.INFO: ==29847== Releasing lock...
[2025-01-09 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:07:02] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-01-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:07:02] Production.INFO: ==29851== Releasing lock...
[2025-01-09 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:07:02] Production.INFO: ==29849== Lock acquired, processing the job...
[2025-01-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:07:02] Production.INFO: ==29849== Releasing lock...
[2025-01-09 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:07:03] Production.INFO: ==29857== Lock acquired, processing the job...
[2025-01-09 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:07:03] Production.INFO: ==29853== Lock acquired, processing the job...
[2025-01-09 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:07:03] Production.INFO: ==29855== Lock acquired, processing the job...
[2025-01-09 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:07:03] Production.INFO: ==29859== Lock acquired, processing the job...
[2025-01-09 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:07:03] Production.INFO: ==29863== Lock acquired, processing the job...
[2025-01-09 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:07:03] Production.INFO: Account Balance Start.
[2025-01-09 13:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:07:03] Production.INFO: 117
[2025-01-09 13:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:07:03] Production.INFO: ==29861== Lock acquired, processing the job...
[2025-01-09 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:07:03] Production.INFO: count ==21
[2025-01-09 13:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:07:03] Production.INFO: count ==21
[2025-01-09 13:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209775') start
[2025-01-09 13:07:03] Production.INFO: Total Charge 0
[2025-01-09 13:07:03] Production.INFO: CreateAllLog End
[2025-01-09 13:07:03] Production.INFO: ==29855== Releasing lock...
[2025-01-09 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209775') end
[2025-01-09 13:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:07:04] Production.INFO: 1
[2025-01-09 13:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:07:04] Production.INFO: Account Balance End.
[2025-01-09 13:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:07:04] Production.INFO: ==29859== Releasing lock...
[2025-01-09 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:07:04] Production.INFO: ==29863== Releasing lock...
[2025-01-09 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:07:04] Production.ERROR: done
[2025-01-09 13:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:07:04] Production.ERROR: done
[2025-01-09 13:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:07:05
[end_date_ymd] => 2025-01-09 13:07:05
[RateCDR] => 1
)
[2025-01-09 13:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:07:05' and `end` < '2025-01-09 13:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:07:10] Production.ERROR: CronJobId end10
[2025-01-09 13:07:10] Production.INFO: ==29857== Releasing lock...
[2025-01-09 13:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:07:12] Production.INFO: call_cost start
[2025-01-09 13:07:12] Production.INFO: call_cost end
[2025-01-09 13:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:07:13] Production.INFO: ==29853== Releasing lock...
[2025-01-09 13:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:07:22] Production.INFO: count ==4506
[2025-01-09 13:07:24] Production.ERROR: pbx CDR StartTime 2025-01-09 10:07:05 - End Time 2025-01-09 13:07:05
[2025-01-09 13:07:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209776', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209776', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209776', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209776', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:07:24] Production.INFO: ProcessCDR(1,14209776,1,1,2)
[2025-01-09 13:07:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:07:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:07:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:07:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209776', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:07:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209776', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:07:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:07:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:07:29] Production.INFO: ==29861== Releasing lock...
[2025-01-09 13:07:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:07:29] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:08:02] Production.INFO: ==29921== Lock acquired, processing the job...
[2025-01-09 18:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:08:02] Production.INFO: neon service started
[2025-01-09 18:08:02] Production.INFO: neon service started
[2025-01-09 18:08:02] Production.INFO: ==29921== Releasing lock...
[2025-01-09 18:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:08:02] Production.INFO: ==29923== Lock acquired, processing the job...
[2025-01-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:08:02] Production.INFO: ==29925== Lock acquired, processing the job...
[2025-01-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:08:02] Production.INFO: ==29925== Releasing lock...
[2025-01-09 18:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:08:02] Production.INFO: ==29923== Releasing lock...
[2025-01-09 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:08:03] Production.INFO: ==29927== Lock acquired, processing the job...
[2025-01-09 13:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:08:03] Production.INFO: ==29929== Lock acquired, processing the job...
[2025-01-09 13:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:08:03] Production.INFO: ==29931== Lock acquired, processing the job...
[2025-01-09 13:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:08:04] Production.INFO: ==29933== Lock acquired, processing the job...
[2025-01-09 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:08:04] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-01-09 13:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:08:04] Production.INFO: ==29929== Releasing lock...
[2025-01-09 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:08:04] Production.INFO: ==29938== Lock acquired, processing the job...
[2025-01-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:08:04] Production.INFO: Account Balance Start.
[2025-01-09 13:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:08:04] Production.INFO: 117
[2025-01-09 13:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:08:04] Production.INFO: Total Charge 0
[2025-01-09 13:08:04] Production.INFO: CreateAllLog End
[2025-01-09 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:08:04] Production.INFO: count ==21
[2025-01-09 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:08:04] Production.INFO: count ==21
[2025-01-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209780') start
[2025-01-09 13:08:04] Production.ERROR: done
[2025-01-09 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:08:04] Production.INFO: Account Balance End.
[2025-01-09 13:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:08:04] Production.INFO: ==29933== Releasing lock...
[2025-01-09 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209780') end
[2025-01-09 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:08:04] Production.INFO: 1
[2025-01-09 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:08:04] Production.ERROR: done
[2025-01-09 13:08:04] Production.INFO: ==29938== Releasing lock...
[2025-01-09 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:08:05
[end_date_ymd] => 2025-01-09 13:08:05
[RateCDR] => 1
)
[2025-01-09 13:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:08:05' and `end` < '2025-01-09 13:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:08:11] Production.ERROR: CronJobId end10
[2025-01-09 13:08:11] Production.INFO: ==29931== Releasing lock...
[2025-01-09 13:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:08:14] Production.INFO: call_cost start
[2025-01-09 13:08:14] Production.INFO: call_cost end
[2025-01-09 13:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:08:15] Production.INFO: ==29927== Releasing lock...
[2025-01-09 13:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:08:20] Production.INFO: count ==4488
[2025-01-09 13:08:22] Production.ERROR: pbx CDR StartTime 2025-01-09 10:08:05 - End Time 2025-01-09 13:08:05
[2025-01-09 13:08:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209781', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209781', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209781', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:08:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209781', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:08:22] Production.INFO: ProcessCDR(1,14209781,1,1,2)
[2025-01-09 13:08:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:08:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209781', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:08:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209781', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:08:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:08:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:08:27] Production.INFO: ==29935== Releasing lock...
[2025-01-09 13:08:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:08:27] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 18:09:01] Production.INFO: ==29992== Lock acquired, processing the job...
[2025-01-09 18:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:09:01] Production.INFO: neon service started
[2025-01-09 18:09:01] Production.INFO: neon service started
[2025-01-09 18:09:01] Production.INFO: ==29992== Releasing lock...
[2025-01-09 18:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:09:02] Production.INFO: ==29994== Lock acquired, processing the job...
[2025-01-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:09:02] Production.INFO: ==29994== Releasing lock...
[2025-01-09 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:09:02] Production.INFO: ==29996== Lock acquired, processing the job...
[2025-01-09 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:09:02] Production.INFO: ==29996== Releasing lock...
[2025-01-09 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:09:03] Production.INFO: ==30007== Lock acquired, processing the job...
[2025-01-09 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:09:03] Production.INFO: ==30009== Lock acquired, processing the job...
[2025-01-09 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:09:03] Production.INFO: ==29998== Lock acquired, processing the job...
[2025-01-09 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:09:03] Production.INFO: ==30000== Lock acquired, processing the job...
[2025-01-09 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:09:03] Production.INFO: ==30003== Lock acquired, processing the job...
[2025-01-09 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:09:03] Production.INFO: ==30005== Lock acquired, processing the job...
[2025-01-09 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:09:03] Production.INFO: count ==21
[2025-01-09 13:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:09:03] Production.ERROR: done
[2025-01-09 13:09:03] Production.INFO: count ==21
[2025-01-09 13:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209782') start
[2025-01-09 13:09:03] Production.INFO: Account Balance Start.
[2025-01-09 13:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:09:03] Production.INFO: 117
[2025-01-09 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209782') end
[2025-01-09 13:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:09:03] Production.INFO: 1
[2025-01-09 13:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:09:03] Production.INFO: Total Charge 0
[2025-01-09 13:09:03] Production.INFO: CreateAllLog End
[2025-01-09 13:09:03] Production.INFO: ==30009== Releasing lock...
[2025-01-09 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:09:03] Production.ERROR: done
[2025-01-09 13:09:03] Production.INFO: ==30000== Releasing lock...
[2025-01-09 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:09:04] Production.INFO: Account Balance End.
[2025-01-09 13:09:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:09:04] Production.INFO: ==30005== Releasing lock...
[2025-01-09 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:09:04
[end_date_ymd] => 2025-01-09 13:09:04
[RateCDR] => 1
)
[2025-01-09 13:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:09:04' and `end` < '2025-01-09 13:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:09:10] Production.ERROR: CronJobId end10
[2025-01-09 13:09:10] Production.INFO: ==30003== Releasing lock...
[2025-01-09 13:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:09:13] Production.INFO: call_cost start
[2025-01-09 13:09:13] Production.INFO: call_cost end
[2025-01-09 13:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:09:14] Production.INFO: ==29998== Releasing lock...
[2025-01-09 13:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:09:18] Production.INFO: count ==4487
[2025-01-09 13:09:20] Production.ERROR: pbx CDR StartTime 2025-01-09 10:09:04 - End Time 2025-01-09 13:09:04
[2025-01-09 13:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209786', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209786', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209786', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209786', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:09:21] Production.INFO: ProcessCDR(1,14209786,1,1,2)
[2025-01-09 13:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:09:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:09:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:09:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:09:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209786', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209786', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:09:26] Production.INFO: ==30007== Releasing lock...
[2025-01-09 13:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:09:26] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 18:10:02] Production.INFO: ==30068== Lock acquired, processing the job...
[2025-01-09 18:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:10:02] Production.INFO: neon service started
[2025-01-09 18:10:02] Production.INFO: neon service started
[2025-01-09 18:10:02] Production.INFO: ==30068== Releasing lock...
[2025-01-09 18:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:10:02] Production.INFO: ==30070== Lock acquired, processing the job...
[2025-01-09 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:10:03] Production.INFO: ==30070== Releasing lock...
[2025-01-09 13:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:10:03] Production.INFO: ==30072== Lock acquired, processing the job...
[2025-01-09 18:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:10:03] Production.INFO: ==30072== Releasing lock...
[2025-01-09 18:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:10:04] Production.INFO: ==30074== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 13:10:04] Production.INFO: ==30076== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:10:04] Production.INFO: ==30082== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 13:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 13:10:04] Production.INFO: ==30074== Releasing lock...
[2025-01-09 13:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 13:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 13:10:04] Production.INFO: ==30078== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:10:04] Production.INFO: ==30084== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:10:04] Production.INFO: ==30080== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:10:04] Production.INFO: Account Balance Start.
[2025-01-09 13:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:10:04] Production.INFO: 117
[2025-01-09 13:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:10:04] Production.INFO: ==30088== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:10:04] Production.INFO: ==30086== Lock acquired, processing the job...
[2025-01-09 13:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 13:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:10:04] Production.INFO: Total Charge 0
[2025-01-09 13:10:04] Production.INFO: CreateAllLog End
[2025-01-09 13:10:04] Production.INFO: count ==21
[2025-01-09 13:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:10:04] Production.INFO: count ==21
[2025-01-09 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209790') start
[2025-01-09 13:10:04] Production.INFO: ==30078== Releasing lock...
[2025-01-09 13:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:10:04] Production.ERROR: done
[2025-01-09 13:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:10:04] Production.ERROR: done
[2025-01-09 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209791', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 13:10:04] Production.INFO: Account Balance End.
[2025-01-09 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209790') end
[2025-01-09 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:10:04] Production.INFO: 1
[2025-01-09 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:10:04] Production.INFO: ==30082== Releasing lock...
[2025-01-09 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:10:05] Production.ERROR: done
[2025-01-09 13:10:05] Production.INFO: ==30088== Releasing lock...
[2025-01-09 13:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:10:06
[end_date_ymd] => 2025-01-09 13:10:06
[RateCDR] => 1
)
[2025-01-09 13:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:10:06' and `end` < '2025-01-09 13:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209791', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 13:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 13:10:09] Production.INFO: ProcessCDR(1,14209791,1,1,2)
[2025-01-09 13:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209791,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209791,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:10:09] Production.INFO: ==30086== Releasing lock...
[2025-01-09 13:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 13:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 13:10:13] Production.ERROR: CronJobId end10
[2025-01-09 13:10:13] Production.INFO: ==30080== Releasing lock...
[2025-01-09 13:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:10:15] Production.INFO: call_cost start
[2025-01-09 13:10:15] Production.INFO: call_cost end
[2025-01-09 13:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:10:16] Production.INFO: ==30076== Releasing lock...
[2025-01-09 13:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:10:21] Production.INFO: count ==4490
[2025-01-09 13:10:22] Production.ERROR: pbx CDR StartTime 2025-01-09 10:10:06 - End Time 2025-01-09 13:10:06
[2025-01-09 13:10:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:10:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209792', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209792', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209792', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209792', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:10:23] Production.INFO: ProcessCDR(1,14209792,1,1,2)
[2025-01-09 13:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209792,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:10:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209792,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209792', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209792', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:10:28] Production.INFO: ==30084== Releasing lock...
[2025-01-09 13:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:10:28] Production.INFO: 61.5 MB #Memory Used#
[2025-01-09 18:11:01] Production.INFO: ==30145== Lock acquired, processing the job...
[2025-01-09 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:11:01] Production.INFO: neon service started
[2025-01-09 18:11:01] Production.INFO: neon service started
[2025-01-09 18:11:01] Production.INFO: ==30145== Releasing lock...
[2025-01-09 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:11:01] Production.INFO: ==30149== Lock acquired, processing the job...
[2025-01-09 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:11:01] Production.INFO: ==30149== Releasing lock...
[2025-01-09 18:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:11:02] Production.INFO: ==30147== Lock acquired, processing the job...
[2025-01-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:11:02] Production.INFO: ==30147== Releasing lock...
[2025-01-09 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:11:02] Production.INFO: ==30153== Lock acquired, processing the job...
[2025-01-09 13:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:11:03] Production.INFO: ==30155== Lock acquired, processing the job...
[2025-01-09 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:11:03] Production.INFO: ==30157== Lock acquired, processing the job...
[2025-01-09 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:11:03] Production.INFO: ==30153== Releasing lock...
[2025-01-09 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:11:03] Production.INFO: Account Balance Start.
[2025-01-09 13:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:11:03] Production.INFO: 117
[2025-01-09 13:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:11:03] Production.INFO: ==30151== Lock acquired, processing the job...
[2025-01-09 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:11:03] Production.INFO: ==30162== Lock acquired, processing the job...
[2025-01-09 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:11:03] Production.INFO: Total Charge 0
[2025-01-09 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:11:03] Production.INFO: CreateAllLog End
[2025-01-09 13:11:03] Production.INFO: ==30159== Lock acquired, processing the job...
[2025-01-09 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:11:03] Production.INFO: count ==21
[2025-01-09 13:11:03] Production.INFO: Account Balance End.
[2025-01-09 13:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:11:03] Production.INFO: count ==21
[2025-01-09 13:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:11:03] Production.INFO: ==30157== Releasing lock...
[2025-01-09 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209796') start
[2025-01-09 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209796') end
[2025-01-09 13:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:11:03] Production.INFO: 1
[2025-01-09 13:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:11:03] Production.ERROR: done
[2025-01-09 13:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:11:03] Production.INFO: ==30162== Releasing lock...
[2025-01-09 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:11:04] Production.ERROR: done
[2025-01-09 13:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:11:05
[end_date_ymd] => 2025-01-09 13:11:05
[RateCDR] => 1
)
[2025-01-09 13:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:11:05' and `end` < '2025-01-09 13:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:11:11] Production.ERROR: CronJobId end10
[2025-01-09 13:11:11] Production.INFO: ==30155== Releasing lock...
[2025-01-09 13:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:11:13] Production.INFO: call_cost start
[2025-01-09 13:11:13] Production.INFO: call_cost end
[2025-01-09 13:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:11:14] Production.INFO: ==30151== Releasing lock...
[2025-01-09 13:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:11:21] Production.INFO: count ==4553
[2025-01-09 13:11:23] Production.ERROR: pbx CDR StartTime 2025-01-09 10:11:05 - End Time 2025-01-09 13:11:05
[2025-01-09 13:11:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209797', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209797', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209797', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:11:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209797', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:11:23] Production.INFO: ProcessCDR(1,14209797,1,1,2)
[2025-01-09 13:11:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:11:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:11:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:11:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209797', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:11:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209797', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:11:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:11:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:11:28] Production.INFO: ==30159== Releasing lock...
[2025-01-09 13:11:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:11:28] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:12:02] Production.INFO: ==30219== Lock acquired, processing the job...
[2025-01-09 18:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:12:02] Production.INFO: neon service started
[2025-01-09 18:12:02] Production.INFO: neon service started
[2025-01-09 18:12:02] Production.INFO: ==30219== Releasing lock...
[2025-01-09 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:12:02] Production.INFO: ==30224== Lock acquired, processing the job...
[2025-01-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:12:02] Production.INFO: ==30224== Releasing lock...
[2025-01-09 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:12:02] Production.INFO: ==30222== Lock acquired, processing the job...
[2025-01-09 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:12:03] Production.INFO: ==30222== Releasing lock...
[2025-01-09 13:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:12:03] Production.INFO: ==30226== Lock acquired, processing the job...
[2025-01-09 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:12:03] Production.INFO: ==30230== Lock acquired, processing the job...
[2025-01-09 13:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:12:03] Production.INFO: ==30228== Lock acquired, processing the job...
[2025-01-09 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:12:04] Production.INFO: ==30232== Lock acquired, processing the job...
[2025-01-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:12:04] Production.INFO: ==30236== Lock acquired, processing the job...
[2025-01-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:12:04] Production.INFO: ==30234== Lock acquired, processing the job...
[2025-01-09 13:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:12:04] Production.INFO: Account Balance Start.
[2025-01-09 13:12:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:12:04] Production.INFO: 117
[2025-01-09 13:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:12:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:12:04] Production.INFO: Total Charge 0
[2025-01-09 13:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:12:04] Production.INFO: CreateAllLog End
[2025-01-09 13:12:04] Production.INFO: count ==21
[2025-01-09 13:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:12:04] Production.INFO: ==30228== Releasing lock...
[2025-01-09 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:12:04] Production.INFO: count ==21
[2025-01-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209801') start
[2025-01-09 13:12:04] Production.ERROR: done
[2025-01-09 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209801') end
[2025-01-09 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:12:04] Production.INFO: 1
[2025-01-09 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:12:04] Production.INFO: ==30236== Releasing lock...
[2025-01-09 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:12:04] Production.ERROR: done
[2025-01-09 13:12:04] Production.INFO: Account Balance End.
[2025-01-09 13:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:12:04] Production.INFO: ==30232== Releasing lock...
[2025-01-09 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:12:05
[end_date_ymd] => 2025-01-09 13:12:05
[RateCDR] => 1
)
[2025-01-09 13:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:12:05' and `end` < '2025-01-09 13:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:12:12] Production.ERROR: CronJobId end10
[2025-01-09 13:12:12] Production.INFO: ==30230== Releasing lock...
[2025-01-09 13:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:12:13] Production.INFO: call_cost start
[2025-01-09 13:12:13] Production.INFO: call_cost end
[2025-01-09 13:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:12:14] Production.INFO: ==30226== Releasing lock...
[2025-01-09 13:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:12:29] Production.INFO: count ==4552
[2025-01-09 13:12:30] Production.ERROR: pbx CDR StartTime 2025-01-09 10:12:05 - End Time 2025-01-09 13:12:05
[2025-01-09 13:12:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:12:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209802', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209802', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209802', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209802', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:12:31] Production.INFO: ProcessCDR(1,14209802,1,1,2)
[2025-01-09 13:12:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:12:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:12:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:12:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:12:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209802', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:12:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209802', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:12:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:12:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:12:35] Production.INFO: ==30234== Releasing lock...
[2025-01-09 13:12:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:12:35] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:13:01] Production.INFO: ==30296== Lock acquired, processing the job...
[2025-01-09 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:13:01] Production.INFO: neon service started
[2025-01-09 18:13:01] Production.INFO: neon service started
[2025-01-09 18:13:01] Production.INFO: ==30296== Releasing lock...
[2025-01-09 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:13:02] Production.INFO: ==30298== Lock acquired, processing the job...
[2025-01-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:13:02] Production.INFO: ==30300== Lock acquired, processing the job...
[2025-01-09 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:13:02] Production.INFO: ==30300== Releasing lock...
[2025-01-09 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:13:02] Production.INFO: ==30298== Releasing lock...
[2025-01-09 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:13:03] Production.INFO: ==30303== Lock acquired, processing the job...
[2025-01-09 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:13:03] Production.INFO: ==30305== Lock acquired, processing the job...
[2025-01-09 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:13:03] Production.INFO: ==30307== Lock acquired, processing the job...
[2025-01-09 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:13:03] Production.INFO: ==30309== Lock acquired, processing the job...
[2025-01-09 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:13:03] Production.INFO: ==30305== Releasing lock...
[2025-01-09 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:13:03] Production.INFO: ==30311== Lock acquired, processing the job...
[2025-01-09 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:13:03] Production.INFO: Account Balance Start.
[2025-01-09 13:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:13:03] Production.INFO: 117
[2025-01-09 13:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:13:03] Production.INFO: ==30313== Lock acquired, processing the job...
[2025-01-09 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:13:04] Production.INFO: Total Charge 0
[2025-01-09 13:13:04] Production.INFO: CreateAllLog End
[2025-01-09 13:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:13:04] Production.INFO: count ==21
[2025-01-09 13:13:04] Production.ERROR: done
[2025-01-09 13:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:13:04] Production.INFO: count ==21
[2025-01-09 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209806') start
[2025-01-09 13:13:04] Production.INFO: Account Balance End.
[2025-01-09 13:13:04] Production.ERROR: done
[2025-01-09 13:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:13:04] Production.INFO: ==30309== Releasing lock...
[2025-01-09 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209806') end
[2025-01-09 13:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:13:04] Production.INFO: 1
[2025-01-09 13:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:13:04] Production.INFO: ==30313== Releasing lock...
[2025-01-09 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:13:05
[end_date_ymd] => 2025-01-09 13:13:05
[RateCDR] => 1
)
[2025-01-09 13:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:13:05' and `end` < '2025-01-09 13:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:13:12] Production.ERROR: CronJobId end10
[2025-01-09 13:13:12] Production.INFO: ==30307== Releasing lock...
[2025-01-09 13:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:13:14] Production.INFO: call_cost start
[2025-01-09 13:13:14] Production.INFO: call_cost end
[2025-01-09 13:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:13:15] Production.INFO: ==30303== Releasing lock...
[2025-01-09 13:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:13:28] Production.INFO: count ==4555
[2025-01-09 13:13:29] Production.ERROR: pbx CDR StartTime 2025-01-09 10:13:05 - End Time 2025-01-09 13:13:05
[2025-01-09 13:13:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209807', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209807', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209807', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:13:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209807', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:13:30] Production.INFO: ProcessCDR(1,14209807,1,1,2)
[2025-01-09 13:13:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:13:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209807,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:13:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:13:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209807,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209807', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:13:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209807', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:13:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:13:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:13:34] Production.INFO: ==30311== Releasing lock...
[2025-01-09 13:13:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:13:34] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:14:02] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-01-09 18:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:14:02] Production.INFO: neon service started
[2025-01-09 18:14:02] Production.INFO: neon service started
[2025-01-09 18:14:02] Production.INFO: ==30372== Releasing lock...
[2025-01-09 18:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:14:02] Production.INFO: ==30374== Lock acquired, processing the job...
[2025-01-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:14:02] Production.INFO: ==30374== Releasing lock...
[2025-01-09 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:14:02] Production.INFO: ==30376== Lock acquired, processing the job...
[2025-01-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:14:02] Production.INFO: ==30376== Releasing lock...
[2025-01-09 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:14:03] Production.INFO: ==30383== Lock acquired, processing the job...
[2025-01-09 13:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:14:03] Production.INFO: ==30387== Lock acquired, processing the job...
[2025-01-09 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:14:03] Production.INFO: ==30379== Lock acquired, processing the job...
[2025-01-09 13:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:14:03] Production.INFO: ==30381== Lock acquired, processing the job...
[2025-01-09 13:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:14:03] Production.INFO: ==30385== Lock acquired, processing the job...
[2025-01-09 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:14:03] Production.INFO: ==30389== Lock acquired, processing the job...
[2025-01-09 13:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:14:03] Production.INFO: Account Balance Start.
[2025-01-09 13:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:14:03] Production.INFO: 117
[2025-01-09 13:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:14:04] Production.INFO: count ==21
[2025-01-09 13:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:14:04] Production.INFO: count ==21
[2025-01-09 13:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209811') start
[2025-01-09 13:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:14:04] Production.ERROR: done
[2025-01-09 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:14:04] Production.INFO: Total Charge 0
[2025-01-09 13:14:04] Production.INFO: CreateAllLog End
[2025-01-09 13:14:04] Production.INFO: ==30381== Releasing lock...
[2025-01-09 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:14:04] Production.ERROR: done
[2025-01-09 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209811') end
[2025-01-09 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:14:04] Production.INFO: 1
[2025-01-09 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:14:04] Production.INFO: ==30389== Releasing lock...
[2025-01-09 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:14:04] Production.INFO: Account Balance End.
[2025-01-09 13:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:14:04] Production.INFO: ==30385== Releasing lock...
[2025-01-09 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:14:05
[end_date_ymd] => 2025-01-09 13:14:05
[RateCDR] => 1
)
[2025-01-09 13:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:14:05' and `end` < '2025-01-09 13:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:14:12] Production.ERROR: CronJobId end10
[2025-01-09 13:14:12] Production.INFO: ==30383== Releasing lock...
[2025-01-09 13:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:14:13] Production.INFO: call_cost start
[2025-01-09 13:14:13] Production.INFO: call_cost end
[2025-01-09 13:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:14:14] Production.INFO: ==30379== Releasing lock...
[2025-01-09 13:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:14:24] Production.INFO: count ==4572
[2025-01-09 13:14:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:14:05 - End Time 2025-01-09 13:14:05
[2025-01-09 13:14:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209812', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209812', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209812', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:14:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209812', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:14:26] Production.INFO: ProcessCDR(1,14209812,1,1,2)
[2025-01-09 13:14:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:14:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209812,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:14:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:14:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209812,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:14:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209812', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:14:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209812', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:14:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:14:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:14:30] Production.INFO: ==30387== Releasing lock...
[2025-01-09 13:14:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:14:30] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:15:01] Production.INFO: ==30446== Lock acquired, processing the job...
[2025-01-09 18:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:15:01] Production.INFO: neon service started
[2025-01-09 18:15:01] Production.INFO: neon service started
[2025-01-09 18:15:01] Production.INFO: ==30446== Releasing lock...
[2025-01-09 18:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:15:01] Production.INFO: ==30448== Lock acquired, processing the job...
[2025-01-09 13:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:15:02] Production.INFO: ==30448== Releasing lock...
[2025-01-09 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:15:02] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-01-09 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:15:02] Production.INFO: ==30450== Releasing lock...
[2025-01-09 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:15:03] Production.INFO: ==30460== Lock acquired, processing the job...
[2025-01-09 13:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:15:03] Production.INFO: ==30454== Lock acquired, processing the job...
[2025-01-09 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:15:03] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-01-09 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:15:03] Production.INFO: ==30463== Lock acquired, processing the job...
[2025-01-09 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:15:03] Production.INFO: ==30456== Lock acquired, processing the job...
[2025-01-09 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:15:03] Production.INFO: ==30458== Lock acquired, processing the job...
[2025-01-09 13:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:15:03] Production.INFO: Account Balance Start.
[2025-01-09 13:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:15:03] Production.INFO: 117
[2025-01-09 13:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:15:03] Production.INFO: count ==21
[2025-01-09 13:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:15:03] Production.INFO: count ==21
[2025-01-09 13:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209813') start
[2025-01-09 13:15:03] Production.ERROR: done
[2025-01-09 13:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:15:03] Production.INFO: Total Charge 0
[2025-01-09 13:15:03] Production.INFO: CreateAllLog End
[2025-01-09 13:15:03] Production.ERROR: done
[2025-01-09 13:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209813') end
[2025-01-09 13:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:15:03] Production.INFO: 1
[2025-01-09 13:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:15:03] Production.INFO: ==30454== Releasing lock...
[2025-01-09 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:15:03] Production.INFO: ==30463== Releasing lock...
[2025-01-09 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:15:03] Production.INFO: Account Balance End.
[2025-01-09 13:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:15:03] Production.INFO: ==30458== Releasing lock...
[2025-01-09 13:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:15:04
[end_date_ymd] => 2025-01-09 13:15:04
[RateCDR] => 1
)
[2025-01-09 13:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:15:04' and `end` < '2025-01-09 13:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:15:11] Production.ERROR: CronJobId end10
[2025-01-09 13:15:11] Production.INFO: ==30456== Releasing lock...
[2025-01-09 13:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:15:13] Production.INFO: call_cost start
[2025-01-09 13:15:13] Production.INFO: call_cost end
[2025-01-09 13:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:15:14] Production.INFO: ==30452== Releasing lock...
[2025-01-09 13:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:15:27] Production.INFO: count ==4538
[2025-01-09 13:15:29] Production.ERROR: pbx CDR StartTime 2025-01-09 10:15:04 - End Time 2025-01-09 13:15:04
[2025-01-09 13:15:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:15:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209817', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:15:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209817', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:15:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209817', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:15:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209817', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:15:29] Production.INFO: ProcessCDR(1,14209817,1,1,2)
[2025-01-09 13:15:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:15:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:15:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:15:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:15:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209817', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:15:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209817', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:15:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:15:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:15:34] Production.INFO: ==30460== Releasing lock...
[2025-01-09 13:15:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:15:34] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:16:02] Production.INFO: ==30522== Lock acquired, processing the job...
[2025-01-09 18:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:16:02] Production.INFO: neon service started
[2025-01-09 18:16:02] Production.INFO: neon service started
[2025-01-09 18:16:02] Production.INFO: ==30522== Releasing lock...
[2025-01-09 18:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:16:02] Production.INFO: ==30526== Lock acquired, processing the job...
[2025-01-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:16:02] Production.INFO: ==30526== Releasing lock...
[2025-01-09 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:16:02] Production.INFO: ==30524== Lock acquired, processing the job...
[2025-01-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:16:02] Production.INFO: ==30524== Releasing lock...
[2025-01-09 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:16:03] Production.INFO: ==30528== Lock acquired, processing the job...
[2025-01-09 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:16:03] Production.INFO: ==30533== Lock acquired, processing the job...
[2025-01-09 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:16:03] Production.INFO: ==30539== Lock acquired, processing the job...
[2025-01-09 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:16:04] Production.INFO: ==30530== Lock acquired, processing the job...
[2025-01-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:16:04] Production.INFO: ==30535== Lock acquired, processing the job...
[2025-01-09 13:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:16:04] Production.INFO: count ==21
[2025-01-09 13:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:16:04] Production.INFO: count ==21
[2025-01-09 13:16:04] Production.INFO: ==30537== Lock acquired, processing the job...
[2025-01-09 13:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209819') start
[2025-01-09 13:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:16:04] Production.INFO: Account Balance Start.
[2025-01-09 13:16:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:16:04] Production.INFO: 117
[2025-01-09 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209819') end
[2025-01-09 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:16:04] Production.INFO: 1
[2025-01-09 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:16:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:16:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:16:04] Production.INFO: ==30539== Releasing lock...
[2025-01-09 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:16:04] Production.INFO: ==30530== Releasing lock...
[2025-01-09 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:16:04] Production.INFO: Total Charge 0
[2025-01-09 13:16:04] Production.INFO: CreateAllLog End
[2025-01-09 13:16:04] Production.ERROR: done
[2025-01-09 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:16:04] Production.ERROR: done
[2025-01-09 13:16:04] Production.INFO: Account Balance End.
[2025-01-09 13:16:05] Production.ERROR: CronJobId end 12
[2025-01-09 13:16:05] Production.INFO: ==30535== Releasing lock...
[2025-01-09 13:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:16:05
[end_date_ymd] => 2025-01-09 13:16:05
[RateCDR] => 1
)
[2025-01-09 13:16:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:16:05' and `end` < '2025-01-09 13:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:16:12] Production.ERROR: CronJobId end10
[2025-01-09 13:16:12] Production.INFO: ==30533== Releasing lock...
[2025-01-09 13:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:16:14] Production.INFO: call_cost start
[2025-01-09 13:16:14] Production.INFO: call_cost end
[2025-01-09 13:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:16:14] Production.INFO: ==30528== Releasing lock...
[2025-01-09 13:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:16:27] Production.INFO: count ==4523
[2025-01-09 13:16:29] Production.ERROR: pbx CDR StartTime 2025-01-09 10:16:05 - End Time 2025-01-09 13:16:05
[2025-01-09 13:16:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:16:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209822', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:16:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209822', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:16:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209822', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:16:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209822', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:16:29] Production.INFO: ProcessCDR(1,14209822,1,1,2)
[2025-01-09 13:16:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:16:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:16:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:16:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:16:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209822', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:16:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209822', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:16:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:16:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:16:34] Production.INFO: ==30537== Releasing lock...
[2025-01-09 13:16:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:16:34] Production.INFO: 61.75 MB #Memory Used#
[2025-01-09 18:17:01] Production.INFO: ==30593== Lock acquired, processing the job...
[2025-01-09 18:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:17:01] Production.INFO: neon service started
[2025-01-09 18:17:01] Production.INFO: neon service started
[2025-01-09 18:17:01] Production.INFO: ==30593== Releasing lock...
[2025-01-09 18:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:17:02] Production.INFO: ==30595== Lock acquired, processing the job...
[2025-01-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:17:02] Production.INFO: ==30597== Lock acquired, processing the job...
[2025-01-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:17:02] Production.INFO: ==30597== Releasing lock...
[2025-01-09 18:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:17:02] Production.INFO: ==30595== Releasing lock...
[2025-01-09 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:17:03] Production.INFO: ==30602== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:17:03] Production.INFO: ==30600== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:17:03] Production.INFO: ==30608== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:17:03] Production.INFO: ==30604== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:17:03] Production.INFO: ==30606== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:17:03] Production.INFO: ==30602== Releasing lock...
[2025-01-09 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:17:03] Production.INFO: ==30610== Lock acquired, processing the job...
[2025-01-09 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:17:03] Production.INFO: Account Balance Start.
[2025-01-09 13:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:17:03] Production.ERROR: done
[2025-01-09 13:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:17:03] Production.INFO: 117
[2025-01-09 13:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:17:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:17:03] Production.INFO: count ==21
[2025-01-09 13:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:17:03] Production.INFO: count ==21
[2025-01-09 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209826') start
[2025-01-09 13:17:03] Production.INFO: Total Charge 0
[2025-01-09 13:17:03] Production.INFO: CreateAllLog End
[2025-01-09 13:17:03] Production.ERROR: done
[2025-01-09 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209826') end
[2025-01-09 13:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:17:03] Production.INFO: 1
[2025-01-09 13:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:17:03] Production.INFO: Account Balance End.
[2025-01-09 13:17:03] Production.INFO: ==30610== Releasing lock...
[2025-01-09 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:17:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:17:03] Production.INFO: ==30606== Releasing lock...
[2025-01-09 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:17:04
[end_date_ymd] => 2025-01-09 13:17:04
[RateCDR] => 1
)
[2025-01-09 13:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:17:04' and `end` < '2025-01-09 13:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:17:11] Production.ERROR: CronJobId end10
[2025-01-09 13:17:11] Production.INFO: ==30604== Releasing lock...
[2025-01-09 13:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:17:13] Production.INFO: call_cost start
[2025-01-09 13:17:13] Production.INFO: call_cost end
[2025-01-09 13:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:17:14] Production.INFO: ==30600== Releasing lock...
[2025-01-09 13:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:17:20] Production.INFO: count ==4543
[2025-01-09 13:17:22] Production.ERROR: pbx CDR StartTime 2025-01-09 10:17:04 - End Time 2025-01-09 13:17:04
[2025-01-09 13:17:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209827', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209827', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209827', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:17:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209827', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:17:22] Production.INFO: ProcessCDR(1,14209827,1,1,2)
[2025-01-09 13:17:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:17:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:17:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:17:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209827', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:17:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209827', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:17:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:17:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:17:27] Production.INFO: ==30608== Releasing lock...
[2025-01-09 13:17:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:17:27] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:18:01] Production.INFO: ==30663== Lock acquired, processing the job...
[2025-01-09 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:18:01] Production.INFO: neon service started
[2025-01-09 18:18:01] Production.INFO: neon service started
[2025-01-09 18:18:01] Production.INFO: ==30663== Releasing lock...
[2025-01-09 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:18:02] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-01-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:18:02] Production.INFO: ==30665== Releasing lock...
[2025-01-09 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:18:02] Production.INFO: ==30667== Lock acquired, processing the job...
[2025-01-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:18:02] Production.INFO: ==30667== Releasing lock...
[2025-01-09 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:18:03] Production.INFO: ==30675== Lock acquired, processing the job...
[2025-01-09 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:18:03] Production.INFO: ==30677== Lock acquired, processing the job...
[2025-01-09 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:18:03] Production.INFO: Account Balance Start.
[2025-01-09 13:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:18:03] Production.INFO: 117
[2025-01-09 13:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:18:03] Production.INFO: Total Charge 0
[2025-01-09 13:18:03] Production.INFO: ==30671== Lock acquired, processing the job...
[2025-01-09 13:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:18:03] Production.INFO: CreateAllLog End
[2025-01-09 13:18:03] Production.INFO: ==30669== Lock acquired, processing the job...
[2025-01-09 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:18:03] Production.INFO: ==30673== Lock acquired, processing the job...
[2025-01-09 13:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:18:03] Production.INFO: ==30679== Lock acquired, processing the job...
[2025-01-09 13:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:18:03] Production.ERROR: done
[2025-01-09 13:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:18:03] Production.INFO: Account Balance End.
[2025-01-09 13:18:03] Production.INFO: count ==21
[2025-01-09 13:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:18:03] Production.INFO: count ==21
[2025-01-09 13:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209831') start
[2025-01-09 13:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:18:03] Production.INFO: ==30675== Releasing lock...
[2025-01-09 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:18:04] Production.ERROR: done
[2025-01-09 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209831') end
[2025-01-09 13:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:18:04] Production.INFO: 1
[2025-01-09 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:18:04] Production.INFO: ==30679== Releasing lock...
[2025-01-09 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:18:04] Production.INFO: ==30671== Releasing lock...
[2025-01-09 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:18:05
[end_date_ymd] => 2025-01-09 13:18:05
[RateCDR] => 1
)
[2025-01-09 13:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:18:05' and `end` < '2025-01-09 13:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:18:11] Production.ERROR: CronJobId end10
[2025-01-09 13:18:11] Production.INFO: ==30673== Releasing lock...
[2025-01-09 13:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:18:13] Production.INFO: call_cost start
[2025-01-09 13:18:13] Production.INFO: call_cost end
[2025-01-09 13:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:18:14] Production.INFO: ==30669== Releasing lock...
[2025-01-09 13:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:18:23] Production.INFO: count ==4549
[2025-01-09 13:18:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:18:05 - End Time 2025-01-09 13:18:05
[2025-01-09 13:18:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209832', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209832', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209832', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:18:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209832', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:18:25] Production.INFO: ProcessCDR(1,14209832,1,1,2)
[2025-01-09 13:18:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:18:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:18:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:18:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209832', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:18:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209832', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:18:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:18:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:18:29] Production.INFO: ==30677== Releasing lock...
[2025-01-09 13:18:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:18:29] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:19:01] Production.INFO: ==30734== Lock acquired, processing the job...
[2025-01-09 18:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:19:01] Production.INFO: neon service started
[2025-01-09 18:19:01] Production.INFO: neon service started
[2025-01-09 18:19:01] Production.INFO: ==30734== Releasing lock...
[2025-01-09 18:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:19:01] Production.INFO: ==30736== Lock acquired, processing the job...
[2025-01-09 13:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:19:02] Production.INFO: ==30736== Releasing lock...
[2025-01-09 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:19:02] Production.INFO: ==30738== Lock acquired, processing the job...
[2025-01-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:19:02] Production.INFO: ==30738== Releasing lock...
[2025-01-09 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:19:02] Production.INFO: ==30744== Lock acquired, processing the job...
[2025-01-09 13:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:19:02] Production.INFO: ==30751== Lock acquired, processing the job...
[2025-01-09 13:19:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:19:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:19:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:19:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:19:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:19:03] Production.INFO: count ==21
[2025-01-09 13:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:19:03] Production.INFO: ==30740== Lock acquired, processing the job...
[2025-01-09 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:19:03] Production.INFO: count ==21
[2025-01-09 13:19:03] Production.INFO: ==30742== Lock acquired, processing the job...
[2025-01-09 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209833') start
[2025-01-09 13:19:03] Production.INFO: ==30746== Lock acquired, processing the job...
[2025-01-09 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209833') end
[2025-01-09 13:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:19:03] Production.INFO: 1
[2025-01-09 13:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:19:03] Production.INFO: ==30748== Lock acquired, processing the job...
[2025-01-09 13:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:19:03] Production.INFO: ==30751== Releasing lock...
[2025-01-09 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:19:03] Production.INFO: Account Balance Start.
[2025-01-09 13:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:19:03] Production.INFO: 117
[2025-01-09 13:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:19:03] Production.INFO: ==30742== Releasing lock...
[2025-01-09 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:19:03] Production.INFO: Total Charge 0
[2025-01-09 13:19:03] Production.INFO: CreateAllLog End
[2025-01-09 13:19:03] Production.ERROR: done
[2025-01-09 13:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:19:03] Production.INFO: Account Balance End.
[2025-01-09 13:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:19:04] Production.INFO: ==30746== Releasing lock...
[2025-01-09 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:19:04] Production.ERROR: done
[2025-01-09 13:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:19:05
[end_date_ymd] => 2025-01-09 13:19:05
[RateCDR] => 1
)
[2025-01-09 13:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:19:05' and `end` < '2025-01-09 13:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:19:11] Production.ERROR: CronJobId end10
[2025-01-09 13:19:11] Production.INFO: ==30744== Releasing lock...
[2025-01-09 13:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:19:14] Production.INFO: call_cost start
[2025-01-09 13:19:14] Production.INFO: call_cost end
[2025-01-09 13:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:19:15] Production.INFO: ==30740== Releasing lock...
[2025-01-09 13:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:19:18] Production.INFO: count ==4552
[2025-01-09 13:19:20] Production.ERROR: pbx CDR StartTime 2025-01-09 10:19:05 - End Time 2025-01-09 13:19:05
[2025-01-09 13:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209837', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209837', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209837', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209837', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:19:21] Production.INFO: ProcessCDR(1,14209837,1,1,2)
[2025-01-09 13:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209837', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209837', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:19:26] Production.INFO: ==30748== Releasing lock...
[2025-01-09 13:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:19:26] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:20:01] Production.INFO: ==30847== Lock acquired, processing the job...
[2025-01-09 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:20:01] Production.INFO: neon service started
[2025-01-09 18:20:01] Production.INFO: neon service started
[2025-01-09 18:20:01] Production.INFO: ==30847== Releasing lock...
[2025-01-09 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:20:02] Production.INFO: ==30850== Lock acquired, processing the job...
[2025-01-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:20:02] Production.INFO: ==30852== Lock acquired, processing the job...
[2025-01-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:20:02] Production.INFO: ==30852== Releasing lock...
[2025-01-09 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:20:02] Production.INFO: ==30850== Releasing lock...
[2025-01-09 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:20:03] Production.INFO: ==30858== Lock acquired, processing the job...
[2025-01-09 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:20:03] Production.INFO: ==30860== Lock acquired, processing the job...
[2025-01-09 13:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:20:04] Production.INFO: ==30866== Lock acquired, processing the job...
[2025-01-09 13:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 13:20:04] Production.INFO: ==30854== Lock acquired, processing the job...
[2025-01-09 13:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:20:04] Production.ERROR: CronJob PID - 30858
[2025-01-09 13:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 13:20:04] Production.ERROR: CronJob ID - 7
[2025-01-09 13:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:20:00
[2025-01-09 13:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:20:04] Production.ERROR: CronJob PID - 30860
[2025-01-09 13:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 13:20:04] Production.ERROR: CronJob ID - 10
[2025-01-09 13:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:20:00
[2025-01-09 13:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:20:04] Production.ERROR: CronJob PID - 30866
[2025-01-09 13:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 13:20:04] Production.ERROR: CronJob ID - 17
[2025-01-09 13:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:20:00
[2025-01-09 13:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:20:04] Production.INFO: ==30856== Lock acquired, processing the job...
[2025-01-09 13:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 13:20:04] Production.INFO: ==30854== Releasing lock...
[2025-01-09 13:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 13:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 13:20:04] Production.INFO: ==30862== Lock acquired, processing the job...
[2025-01-09 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:20:04] Production.ERROR: done
[2025-01-09 13:20:04] Production.INFO: ==30864== Lock acquired, processing the job...
[2025-01-09 13:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:20:04] Production.INFO: ==30858== Releasing lock...
[2025-01-09 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:20:04] Production.INFO: Account Balance Start.
[2025-01-09 13:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:20:04] Production.INFO: 117
[2025-01-09 13:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:20:04] Production.INFO: ==30868== Lock acquired, processing the job...
[2025-01-09 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:20:04] Production.INFO: Total Charge 0
[2025-01-09 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209841', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 13:20:04] Production.INFO: CreateAllLog End
[2025-01-09 13:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:20:04] Production.INFO: count ==21
[2025-01-09 13:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:20:04] Production.INFO: count ==21
[2025-01-09 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209842') start
[2025-01-09 13:20:04] Production.INFO: Account Balance End.
[2025-01-09 13:20:05] Production.ERROR: done
[2025-01-09 13:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14209842') end
[2025-01-09 13:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:20:05] Production.INFO: 1
[2025-01-09 13:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:20:05] Production.ERROR: CronJobId end 12
[2025-01-09 13:20:05] Production.INFO: ==30862== Releasing lock...
[2025-01-09 13:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:20:05] Production.INFO: ==30868== Releasing lock...
[2025-01-09 13:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:20:05] Production.ERROR: done
[2025-01-09 13:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:20:06
[end_date_ymd] => 2025-01-09 13:20:06
[RateCDR] => 1
)
[2025-01-09 13:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:20:06' and `end` < '2025-01-09 13:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209841', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 13:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 13:20:08] Production.INFO: ProcessCDR(1,14209841,1,1,2)
[2025-01-09 13:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209841,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209841,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:20:09] Production.INFO: ==30866== Releasing lock...
[2025-01-09 13:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 13:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 13:20:14] Production.ERROR: CronJobId end10
[2025-01-09 13:20:14] Production.INFO: ==30860== Releasing lock...
[2025-01-09 13:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:20:16] Production.INFO: call_cost start
[2025-01-09 13:20:16] Production.INFO: call_cost end
[2025-01-09 13:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:20:16] Production.INFO: ==30856== Releasing lock...
[2025-01-09 13:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:20:30] Production.INFO: count ==4538
[2025-01-09 13:20:32] Production.ERROR: pbx CDR StartTime 2025-01-09 10:20:06 - End Time 2025-01-09 13:20:06
[2025-01-09 13:20:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209843', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209843', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209843', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:20:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209843', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:20:32] Production.INFO: ProcessCDR(1,14209843,1,1,2)
[2025-01-09 13:20:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:20:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:20:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:20:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:20:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209843', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:20:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209843', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:20:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:20:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:20:37] Production.INFO: ==30864== Releasing lock...
[2025-01-09 13:20:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:20:37] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:21:02] Production.INFO: ==30929== Lock acquired, processing the job...
[2025-01-09 18:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:21:02] Production.INFO: neon service started
[2025-01-09 18:21:02] Production.INFO: neon service started
[2025-01-09 18:21:02] Production.INFO: ==30929== Releasing lock...
[2025-01-09 18:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:21:02] Production.INFO: ==30933== Lock acquired, processing the job...
[2025-01-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:21:02] Production.INFO: ==30933== Releasing lock...
[2025-01-09 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:21:02] Production.INFO: ==30931== Lock acquired, processing the job...
[2025-01-09 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:21:03] Production.INFO: ==30931== Releasing lock...
[2025-01-09 13:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:21:03] Production.INFO: ==30936== Lock acquired, processing the job...
[2025-01-09 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:21:03] Production.INFO: ==30940== Lock acquired, processing the job...
[2025-01-09 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:21:03] Production.INFO: ==30942== Lock acquired, processing the job...
[2025-01-09 13:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:21:04] Production.INFO: Account Balance Start.
[2025-01-09 13:21:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:21:04] Production.INFO: 117
[2025-01-09 13:21:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:21:04] Production.INFO: ==30938== Lock acquired, processing the job...
[2025-01-09 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:21:04] Production.INFO: Total Charge 0
[2025-01-09 13:21:04] Production.INFO: CreateAllLog End
[2025-01-09 13:21:04] Production.INFO: ==30944== Lock acquired, processing the job...
[2025-01-09 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:21:04] Production.INFO: ==30946== Lock acquired, processing the job...
[2025-01-09 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:21:04] Production.INFO: Account Balance End.
[2025-01-09 13:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:21:04] Production.INFO: ==30942== Releasing lock...
[2025-01-09 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:21:04] Production.INFO: ==30938== Releasing lock...
[2025-01-09 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:21:04] Production.INFO: count ==21
[2025-01-09 13:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:21:04] Production.INFO: count ==21
[2025-01-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209847') start
[2025-01-09 13:21:04] Production.ERROR: done
[2025-01-09 13:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209847') end
[2025-01-09 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:21:04] Production.INFO: 1
[2025-01-09 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:21:04] Production.INFO: ==30946== Releasing lock...
[2025-01-09 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:21:04] Production.ERROR: done
[2025-01-09 13:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:21:05
[end_date_ymd] => 2025-01-09 13:21:05
[RateCDR] => 1
)
[2025-01-09 13:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:21:05' and `end` < '2025-01-09 13:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:21:12] Production.ERROR: CronJobId end10
[2025-01-09 13:21:12] Production.INFO: ==30940== Releasing lock...
[2025-01-09 13:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:21:13] Production.INFO: call_cost start
[2025-01-09 13:21:13] Production.INFO: call_cost end
[2025-01-09 13:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:21:14] Production.INFO: ==30936== Releasing lock...
[2025-01-09 13:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:21:25] Production.INFO: count ==4544
[2025-01-09 13:21:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:21:05 - End Time 2025-01-09 13:21:05
[2025-01-09 13:21:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209848', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209848', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:21:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209848', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209848', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:21:27] Production.INFO: ProcessCDR(1,14209848,1,1,2)
[2025-01-09 13:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:21:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:21:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:21:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209848', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:21:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209848', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:21:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:21:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:21:31] Production.INFO: ==30944== Releasing lock...
[2025-01-09 13:21:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:21:31] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:22:01] Production.INFO: ==30998== Lock acquired, processing the job...
[2025-01-09 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:22:01] Production.INFO: neon service started
[2025-01-09 18:22:01] Production.INFO: neon service started
[2025-01-09 18:22:01] Production.INFO: ==30998== Releasing lock...
[2025-01-09 18:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:22:02] Production.INFO: ==31002== Lock acquired, processing the job...
[2025-01-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:22:02] Production.INFO: ==31002== Releasing lock...
[2025-01-09 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:22:02] Production.INFO: ==31000== Lock acquired, processing the job...
[2025-01-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:22:02] Production.INFO: ==31000== Releasing lock...
[2025-01-09 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:22:03] Production.INFO: ==31005== Lock acquired, processing the job...
[2025-01-09 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:22:03] Production.INFO: ==31007== Lock acquired, processing the job...
[2025-01-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:22:03] Production.INFO: ==31009== Lock acquired, processing the job...
[2025-01-09 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:22:03] Production.INFO: ==31011== Lock acquired, processing the job...
[2025-01-09 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:22:03] Production.INFO: ==31013== Lock acquired, processing the job...
[2025-01-09 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:22:03] Production.INFO: Account Balance Start.
[2025-01-09 13:22:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:22:03] Production.INFO: 117
[2025-01-09 13:22:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:22:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:22:03] Production.INFO: Total Charge 0
[2025-01-09 13:22:03] Production.INFO: ==31015== Lock acquired, processing the job...
[2025-01-09 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:22:03] Production.INFO: CreateAllLog End
[2025-01-09 13:22:03] Production.INFO: ==31007== Releasing lock...
[2025-01-09 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:22:04] Production.INFO: count ==21
[2025-01-09 13:22:04] Production.ERROR: done
[2025-01-09 13:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:22:04] Production.INFO: count ==21
[2025-01-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209852') start
[2025-01-09 13:22:04] Production.ERROR: done
[2025-01-09 13:22:04] Production.INFO: Account Balance End.
[2025-01-09 13:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:22:04] Production.INFO: ==31011== Releasing lock...
[2025-01-09 13:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209852') end
[2025-01-09 13:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:22:04] Production.INFO: 1
[2025-01-09 13:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:22:04] Production.INFO: ==31015== Releasing lock...
[2025-01-09 13:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:22:05
[end_date_ymd] => 2025-01-09 13:22:05
[RateCDR] => 1
)
[2025-01-09 13:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:22:05' and `end` < '2025-01-09 13:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:22:10] Production.ERROR: CronJobId end10
[2025-01-09 13:22:10] Production.INFO: ==31009== Releasing lock...
[2025-01-09 13:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:22:13] Production.INFO: call_cost start
[2025-01-09 13:22:13] Production.INFO: call_cost end
[2025-01-09 13:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:22:14] Production.INFO: ==31005== Releasing lock...
[2025-01-09 13:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:22:21] Production.INFO: count ==4554
[2025-01-09 13:22:22] Production.ERROR: pbx CDR StartTime 2025-01-09 10:22:05 - End Time 2025-01-09 13:22:05
[2025-01-09 13:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209853', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209853', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209853', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:22:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209853', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:22:23] Production.INFO: ProcessCDR(1,14209853,1,1,2)
[2025-01-09 13:22:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:22:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209853,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:22:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:22:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209853,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209853', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209853', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:22:27] Production.INFO: ==31013== Releasing lock...
[2025-01-09 13:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:22:27] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:23:02] Production.INFO: ==31071== Lock acquired, processing the job...
[2025-01-09 18:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:23:02] Production.INFO: neon service started
[2025-01-09 18:23:02] Production.INFO: neon service started
[2025-01-09 18:23:02] Production.INFO: ==31071== Releasing lock...
[2025-01-09 18:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:23:02] Production.INFO: ==31073== Lock acquired, processing the job...
[2025-01-09 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:23:02] Production.INFO: ==31075== Lock acquired, processing the job...
[2025-01-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:23:02] Production.INFO: ==31075== Releasing lock...
[2025-01-09 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:23:03] Production.INFO: ==31073== Releasing lock...
[2025-01-09 13:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:23:03] Production.INFO: ==31084== Lock acquired, processing the job...
[2025-01-09 13:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:23:03] Production.INFO: ==31086== Lock acquired, processing the job...
[2025-01-09 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:23:04] Production.INFO: ==31080== Lock acquired, processing the job...
[2025-01-09 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:23:04] Production.INFO: ==31078== Lock acquired, processing the job...
[2025-01-09 13:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:23:04] Production.INFO: Account Balance Start.
[2025-01-09 13:23:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:23:04] Production.INFO: 117
[2025-01-09 13:23:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:23:04] Production.INFO: ==31082== Lock acquired, processing the job...
[2025-01-09 13:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:23:04] Production.INFO: ==31088== Lock acquired, processing the job...
[2025-01-09 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:23:04] Production.INFO: Total Charge 0
[2025-01-09 13:23:04] Production.INFO: CreateAllLog End
[2025-01-09 13:23:04] Production.ERROR: done
[2025-01-09 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:23:04] Production.INFO: count ==21
[2025-01-09 13:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:23:04] Production.INFO: count ==21
[2025-01-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209857') start
[2025-01-09 13:23:04] Production.INFO: ==31080== Releasing lock...
[2025-01-09 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:23:04] Production.ERROR: done
[2025-01-09 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209857') end
[2025-01-09 13:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:23:04] Production.INFO: 1
[2025-01-09 13:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:23:04] Production.INFO: Account Balance End.
[2025-01-09 13:23:04] Production.INFO: ==31088== Releasing lock...
[2025-01-09 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:23:04] Production.INFO: ==31084== Releasing lock...
[2025-01-09 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:23:05
[end_date_ymd] => 2025-01-09 13:23:05
[RateCDR] => 1
)
[2025-01-09 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:23:05' and `end` < '2025-01-09 13:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:23:11] Production.ERROR: CronJobId end10
[2025-01-09 13:23:11] Production.INFO: ==31082== Releasing lock...
[2025-01-09 13:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:23:13] Production.INFO: call_cost start
[2025-01-09 13:23:13] Production.INFO: call_cost end
[2025-01-09 13:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:23:14] Production.INFO: ==31078== Releasing lock...
[2025-01-09 13:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:23:28] Production.INFO: count ==4562
[2025-01-09 13:23:29] Production.ERROR: pbx CDR StartTime 2025-01-09 10:23:05 - End Time 2025-01-09 13:23:05
[2025-01-09 13:23:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:23:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209858', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209858', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209858', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:23:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209858', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:23:30] Production.INFO: ProcessCDR(1,14209858,1,1,2)
[2025-01-09 13:23:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:23:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:23:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:23:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:23:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209858', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:23:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209858', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:23:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:23:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:23:34] Production.INFO: ==31086== Releasing lock...
[2025-01-09 13:23:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:23:34] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:24:01] Production.INFO: ==31148== Lock acquired, processing the job...
[2025-01-09 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:24:01] Production.INFO: neon service started
[2025-01-09 18:24:01] Production.INFO: neon service started
[2025-01-09 18:24:01] Production.INFO: ==31148== Releasing lock...
[2025-01-09 18:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:24:02] Production.INFO: ==31150== Lock acquired, processing the job...
[2025-01-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:24:02] Production.INFO: ==31150== Releasing lock...
[2025-01-09 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:24:02] Production.INFO: ==31152== Lock acquired, processing the job...
[2025-01-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:24:02] Production.INFO: ==31152== Releasing lock...
[2025-01-09 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:24:03] Production.INFO: ==31158== Lock acquired, processing the job...
[2025-01-09 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:24:03] Production.INFO: ==31165== Lock acquired, processing the job...
[2025-01-09 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:24:03] Production.INFO: ==31154== Lock acquired, processing the job...
[2025-01-09 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:24:03] Production.INFO: ==31156== Lock acquired, processing the job...
[2025-01-09 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:24:03] Production.INFO: count ==21
[2025-01-09 13:24:03] Production.INFO: ==31160== Lock acquired, processing the job...
[2025-01-09 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:24:03] Production.INFO: count ==21
[2025-01-09 13:24:03] Production.INFO: ==31163== Lock acquired, processing the job...
[2025-01-09 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209859') start
[2025-01-09 13:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:24:03] Production.INFO: Account Balance Start.
[2025-01-09 13:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:24:03] Production.INFO: 117
[2025-01-09 13:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209859') end
[2025-01-09 13:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:24:03] Production.INFO: 1
[2025-01-09 13:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:24:03] Production.INFO: ==31165== Releasing lock...
[2025-01-09 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:24:03] Production.INFO: ==31156== Releasing lock...
[2025-01-09 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:24:03] Production.ERROR: done
[2025-01-09 13:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:24:04] Production.ERROR: done
[2025-01-09 13:24:04] Production.INFO: Total Charge 0
[2025-01-09 13:24:04] Production.INFO: CreateAllLog End
[2025-01-09 13:24:04] Production.INFO: Account Balance End.
[2025-01-09 13:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:24:04] Production.INFO: ==31160== Releasing lock...
[2025-01-09 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:24:04
[end_date_ymd] => 2025-01-09 13:24:04
[RateCDR] => 1
)
[2025-01-09 13:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:24:04' and `end` < '2025-01-09 13:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:24:11] Production.ERROR: CronJobId end10
[2025-01-09 13:24:11] Production.INFO: ==31158== Releasing lock...
[2025-01-09 13:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:24:13] Production.INFO: call_cost start
[2025-01-09 13:24:13] Production.INFO: call_cost end
[2025-01-09 13:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:24:13] Production.INFO: ==31154== Releasing lock...
[2025-01-09 13:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:24:25] Production.INFO: count ==4561
[2025-01-09 13:24:27] Production.ERROR: pbx CDR StartTime 2025-01-09 10:24:04 - End Time 2025-01-09 13:24:04
[2025-01-09 13:24:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209863', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209863', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209863', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:24:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209863', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:24:27] Production.INFO: ProcessCDR(1,14209863,1,1,2)
[2025-01-09 13:24:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:24:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:24:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:24:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209863', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:24:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209863', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:24:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:24:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:24:32] Production.INFO: ==31163== Releasing lock...
[2025-01-09 13:24:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:24:32] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:25:02] Production.INFO: ==31222== Lock acquired, processing the job...
[2025-01-09 18:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:25:02] Production.INFO: neon service started
[2025-01-09 18:25:02] Production.INFO: neon service started
[2025-01-09 18:25:02] Production.INFO: ==31222== Releasing lock...
[2025-01-09 18:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:25:02] Production.INFO: ==31226== Lock acquired, processing the job...
[2025-01-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:25:02] Production.INFO: ==31226== Releasing lock...
[2025-01-09 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:25:02] Production.INFO: ==31224== Lock acquired, processing the job...
[2025-01-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:25:02] Production.INFO: ==31224== Releasing lock...
[2025-01-09 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:25:03] Production.INFO: ==31229== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:25:03] Production.INFO: ==31233== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:25:03] Production.INFO: ==31239== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:25:03] Production.INFO: ==31231== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:25:03] Production.INFO: ==31235== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:25:03] Production.INFO: ==31237== Lock acquired, processing the job...
[2025-01-09 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:25:04] Production.INFO: Account Balance Start.
[2025-01-09 13:25:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:25:04] Production.INFO: 117
[2025-01-09 13:25:04] Production.INFO: count ==21
[2025-01-09 13:25:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:25:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:25:04] Production.INFO: count ==21
[2025-01-09 13:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209866') start
[2025-01-09 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209866') end
[2025-01-09 13:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:25:04] Production.INFO: 1
[2025-01-09 13:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:25:04] Production.INFO: ==31231== Releasing lock...
[2025-01-09 13:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:25:04] Production.INFO: ==31239== Releasing lock...
[2025-01-09 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:25:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:25:04] Production.INFO: Total Charge 0
[2025-01-09 13:25:04] Production.INFO: CreateAllLog End
[2025-01-09 13:25:04] Production.ERROR: done
[2025-01-09 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:25:04] Production.INFO: Account Balance End.
[2025-01-09 13:25:04] Production.ERROR: done
[2025-01-09 13:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:25:04] Production.INFO: ==31235== Releasing lock...
[2025-01-09 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:25:05
[end_date_ymd] => 2025-01-09 13:25:05
[RateCDR] => 1
)
[2025-01-09 13:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:25:05' and `end` < '2025-01-09 13:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:25:12] Production.ERROR: CronJobId end10
[2025-01-09 13:25:12] Production.INFO: ==31233== Releasing lock...
[2025-01-09 13:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:25:13] Production.INFO: call_cost start
[2025-01-09 13:25:13] Production.INFO: call_cost end
[2025-01-09 13:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:25:14] Production.INFO: ==31229== Releasing lock...
[2025-01-09 13:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:25:25] Production.INFO: count ==4579
[2025-01-09 13:25:27] Production.ERROR: pbx CDR StartTime 2025-01-09 10:25:05 - End Time 2025-01-09 13:25:05
[2025-01-09 13:25:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209868', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209868', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209868', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:25:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209868', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:25:27] Production.INFO: ProcessCDR(1,14209868,1,1,2)
[2025-01-09 13:25:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:25:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:25:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:25:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209868', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209868', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:25:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:25:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:25:32] Production.INFO: ==31237== Releasing lock...
[2025-01-09 13:25:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:25:32] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:26:01] Production.INFO: ==31295== Lock acquired, processing the job...
[2025-01-09 18:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:26:01] Production.INFO: neon service started
[2025-01-09 18:26:01] Production.INFO: neon service started
[2025-01-09 18:26:01] Production.INFO: ==31295== Releasing lock...
[2025-01-09 18:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:26:01] Production.INFO: ==31297== Lock acquired, processing the job...
[2025-01-09 13:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:26:02] Production.INFO: ==31297== Releasing lock...
[2025-01-09 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:26:02] Production.INFO: ==31299== Lock acquired, processing the job...
[2025-01-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:26:02] Production.INFO: ==31299== Releasing lock...
[2025-01-09 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:26:03] Production.INFO: ==31310== Lock acquired, processing the job...
[2025-01-09 13:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:26:03] Production.INFO: ==31308== Lock acquired, processing the job...
[2025-01-09 13:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:26:03] Production.INFO: ==31304== Lock acquired, processing the job...
[2025-01-09 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:26:03] Production.INFO: ==31302== Lock acquired, processing the job...
[2025-01-09 13:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:26:03] Production.INFO: Account Balance Start.
[2025-01-09 13:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:26:03] Production.INFO: 117
[2025-01-09 13:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:26:03] Production.INFO: ==31306== Lock acquired, processing the job...
[2025-01-09 13:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:26:03] Production.INFO: Total Charge 0
[2025-01-09 13:26:03] Production.INFO: ==31312== Lock acquired, processing the job...
[2025-01-09 13:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:26:03] Production.INFO: CreateAllLog End
[2025-01-09 13:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:26:03] Production.INFO: count ==21
[2025-01-09 13:26:03] Production.ERROR: done
[2025-01-09 13:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:26:03] Production.INFO: count ==21
[2025-01-09 13:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209871') start
[2025-01-09 13:26:03] Production.ERROR: done
[2025-01-09 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209871') end
[2025-01-09 13:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:26:04] Production.INFO: 1
[2025-01-09 13:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:26:04] Production.INFO: Account Balance End.
[2025-01-09 13:26:04] Production.INFO: ==31304== Releasing lock...
[2025-01-09 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:26:04] Production.INFO: ==31308== Releasing lock...
[2025-01-09 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:26:04] Production.INFO: ==31312== Releasing lock...
[2025-01-09 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:26:05
[end_date_ymd] => 2025-01-09 13:26:05
[RateCDR] => 1
)
[2025-01-09 13:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:26:05' and `end` < '2025-01-09 13:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:26:12] Production.ERROR: CronJobId end10
[2025-01-09 13:26:12] Production.INFO: ==31306== Releasing lock...
[2025-01-09 13:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:26:13] Production.INFO: call_cost start
[2025-01-09 13:26:13] Production.INFO: call_cost end
[2025-01-09 13:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:26:14] Production.INFO: ==31302== Releasing lock...
[2025-01-09 13:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:26:22] Production.INFO: count ==4576
[2025-01-09 13:26:24] Production.ERROR: pbx CDR StartTime 2025-01-09 10:26:05 - End Time 2025-01-09 13:26:05
[2025-01-09 13:26:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209873', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209873', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209873', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209873', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:26:24] Production.INFO: ProcessCDR(1,14209873,1,1,2)
[2025-01-09 13:26:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:26:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:26:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:26:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209873', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:26:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209873', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:26:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:26:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:26:29] Production.INFO: ==31310== Releasing lock...
[2025-01-09 13:26:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:26:29] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:27:02] Production.INFO: ==31367== Lock acquired, processing the job...
[2025-01-09 18:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:27:02] Production.INFO: neon service started
[2025-01-09 18:27:02] Production.INFO: neon service started
[2025-01-09 18:27:02] Production.INFO: ==31367== Releasing lock...
[2025-01-09 18:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:27:02] Production.INFO: ==31371== Lock acquired, processing the job...
[2025-01-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:27:02] Production.INFO: ==31371== Releasing lock...
[2025-01-09 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:27:02] Production.INFO: ==31369== Lock acquired, processing the job...
[2025-01-09 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:27:03] Production.INFO: ==31369== Releasing lock...
[2025-01-09 13:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:27:03] Production.INFO: ==31374== Lock acquired, processing the job...
[2025-01-09 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:27:03] Production.INFO: ==31376== Lock acquired, processing the job...
[2025-01-09 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:27:03] Production.INFO: ==31384== Lock acquired, processing the job...
[2025-01-09 13:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:27:04] Production.INFO: ==31382== Lock acquired, processing the job...
[2025-01-09 13:27:04] Production.INFO: ==31378== Lock acquired, processing the job...
[2025-01-09 13:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:27:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:27:04] Production.INFO: ==31376== Releasing lock...
[2025-01-09 13:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:27:04] Production.INFO: count ==21
[2025-01-09 13:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:27:04] Production.INFO: count ==21
[2025-01-09 13:27:04] Production.INFO: ==31380== Lock acquired, processing the job...
[2025-01-09 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209876') start
[2025-01-09 13:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209876') end
[2025-01-09 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:27:04] Production.INFO: 1
[2025-01-09 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:27:04] Production.INFO: Account Balance Start.
[2025-01-09 13:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:27:04] Production.INFO: 117
[2025-01-09 13:27:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:27:04] Production.INFO: ==31384== Releasing lock...
[2025-01-09 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:27:04] Production.INFO: Total Charge 0
[2025-01-09 13:27:04] Production.INFO: CreateAllLog End
[2025-01-09 13:27:04] Production.ERROR: done
[2025-01-09 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:27:04] Production.ERROR: done
[2025-01-09 13:27:04] Production.INFO: Account Balance End.
[2025-01-09 13:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:27:04] Production.INFO: ==31380== Releasing lock...
[2025-01-09 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:27:05
[end_date_ymd] => 2025-01-09 13:27:05
[RateCDR] => 1
)
[2025-01-09 13:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:27:05' and `end` < '2025-01-09 13:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:27:11] Production.ERROR: CronJobId end10
[2025-01-09 13:27:11] Production.INFO: ==31378== Releasing lock...
[2025-01-09 13:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:27:14] Production.INFO: call_cost start
[2025-01-09 13:27:14] Production.INFO: call_cost end
[2025-01-09 13:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:27:14] Production.INFO: ==31374== Releasing lock...
[2025-01-09 13:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:27:26] Production.INFO: count ==4539
[2025-01-09 13:27:28] Production.ERROR: pbx CDR StartTime 2025-01-09 10:27:05 - End Time 2025-01-09 13:27:05
[2025-01-09 13:27:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209878', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209878', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209878', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:27:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209878', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:27:28] Production.INFO: ProcessCDR(1,14209878,1,1,2)
[2025-01-09 13:27:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:27:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:27:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:27:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209878', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:27:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209878', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:27:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:27:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:27:33] Production.INFO: ==31382== Releasing lock...
[2025-01-09 13:27:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:27:33] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:28:01] Production.INFO: ==31438== Lock acquired, processing the job...
[2025-01-09 18:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:28:01] Production.INFO: neon service started
[2025-01-09 18:28:01] Production.INFO: neon service started
[2025-01-09 18:28:01] Production.INFO: ==31438== Releasing lock...
[2025-01-09 18:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:28:02] Production.INFO: ==31440== Lock acquired, processing the job...
[2025-01-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:28:02] Production.INFO: ==31442== Lock acquired, processing the job...
[2025-01-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:28:02] Production.INFO: ==31442== Releasing lock...
[2025-01-09 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:28:02] Production.INFO: ==31440== Releasing lock...
[2025-01-09 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:28:03] Production.INFO: ==31449== Lock acquired, processing the job...
[2025-01-09 13:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:28:03] Production.INFO: ==31453== Lock acquired, processing the job...
[2025-01-09 13:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:28:03] Production.INFO: ==31445== Lock acquired, processing the job...
[2025-01-09 13:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:28:03] Production.INFO: ==31447== Lock acquired, processing the job...
[2025-01-09 13:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:28:03] Production.INFO: ==31451== Lock acquired, processing the job...
[2025-01-09 13:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:28:03] Production.INFO: ==31455== Lock acquired, processing the job...
[2025-01-09 13:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:28:03] Production.INFO: Account Balance Start.
[2025-01-09 13:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:28:03] Production.INFO: 117
[2025-01-09 13:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:28:03] Production.INFO: count ==21
[2025-01-09 13:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:28:04] Production.INFO: count ==21
[2025-01-09 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209882') start
[2025-01-09 13:28:04] Production.INFO: Total Charge 0
[2025-01-09 13:28:04] Production.ERROR: done
[2025-01-09 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:28:04] Production.INFO: CreateAllLog End
[2025-01-09 13:28:04] Production.INFO: ==31447== Releasing lock...
[2025-01-09 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209882') end
[2025-01-09 13:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:28:04] Production.INFO: 1
[2025-01-09 13:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:28:04] Production.ERROR: done
[2025-01-09 13:28:04] Production.INFO: ==31455== Releasing lock...
[2025-01-09 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:28:04] Production.INFO: Account Balance End.
[2025-01-09 13:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:28:04] Production.INFO: ==31451== Releasing lock...
[2025-01-09 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:28:05
[end_date_ymd] => 2025-01-09 13:28:05
[RateCDR] => 1
)
[2025-01-09 13:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:28:05' and `end` < '2025-01-09 13:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:28:11] Production.ERROR: CronJobId end10
[2025-01-09 13:28:11] Production.INFO: ==31449== Releasing lock...
[2025-01-09 13:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:28:13] Production.INFO: call_cost start
[2025-01-09 13:28:13] Production.INFO: call_cost end
[2025-01-09 13:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:28:14] Production.INFO: ==31445== Releasing lock...
[2025-01-09 13:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:28:24] Production.INFO: count ==4542
[2025-01-09 13:28:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:28:05 - End Time 2025-01-09 13:28:05
[2025-01-09 13:28:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209883', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209883', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209883', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:28:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209883', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:28:26] Production.INFO: ProcessCDR(1,14209883,1,1,2)
[2025-01-09 13:28:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:28:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:28:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:28:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:28:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209883', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:28:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209883', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:28:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:28:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:28:31] Production.INFO: ==31453== Releasing lock...
[2025-01-09 13:28:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:28:31] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:29:02] Production.INFO: ==31509== Lock acquired, processing the job...
[2025-01-09 18:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:29:02] Production.INFO: neon service started
[2025-01-09 18:29:02] Production.INFO: neon service started
[2025-01-09 18:29:02] Production.INFO: ==31509== Releasing lock...
[2025-01-09 18:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:29:02] Production.INFO: ==31511== Lock acquired, processing the job...
[2025-01-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:29:02] Production.INFO: ==31511== Releasing lock...
[2025-01-09 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:29:02] Production.INFO: ==31513== Lock acquired, processing the job...
[2025-01-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:29:02] Production.INFO: ==31513== Releasing lock...
[2025-01-09 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:29:03] Production.INFO: ==31520== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:29:03] Production.INFO: ==31524== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:29:03] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:29:03] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:29:03] Production.INFO: ==31522== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:29:03] Production.INFO: ==31526== Lock acquired, processing the job...
[2025-01-09 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:29:04] Production.INFO: Account Balance Start.
[2025-01-09 13:29:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:29:04] Production.INFO: 117
[2025-01-09 13:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:29:04] Production.INFO: count ==21
[2025-01-09 13:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:29:04] Production.INFO: count ==21
[2025-01-09 13:29:04] Production.ERROR: done
[2025-01-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209886') start
[2025-01-09 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:29:04] Production.INFO: Total Charge 0
[2025-01-09 13:29:04] Production.INFO: CreateAllLog End
[2025-01-09 13:29:04] Production.ERROR: done
[2025-01-09 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209886') end
[2025-01-09 13:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:29:04] Production.INFO: 1
[2025-01-09 13:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:29:04] Production.INFO: ==31518== Releasing lock...
[2025-01-09 13:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:29:04] Production.INFO: ==31526== Releasing lock...
[2025-01-09 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:29:04] Production.INFO: Account Balance End.
[2025-01-09 13:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:29:04] Production.INFO: ==31522== Releasing lock...
[2025-01-09 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:29:05
[end_date_ymd] => 2025-01-09 13:29:05
[RateCDR] => 1
)
[2025-01-09 13:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:29:05' and `end` < '2025-01-09 13:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:29:11] Production.ERROR: CronJobId end10
[2025-01-09 13:29:11] Production.INFO: ==31520== Releasing lock...
[2025-01-09 13:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:29:13] Production.INFO: call_cost start
[2025-01-09 13:29:13] Production.INFO: call_cost end
[2025-01-09 13:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:29:14] Production.INFO: ==31516== Releasing lock...
[2025-01-09 13:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:29:23] Production.INFO: count ==4548
[2025-01-09 13:29:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:29:05 - End Time 2025-01-09 13:29:05
[2025-01-09 13:29:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209888', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209888', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209888', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:29:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209888', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:29:25] Production.INFO: ProcessCDR(1,14209888,1,1,2)
[2025-01-09 13:29:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:29:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:29:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:29:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:29:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209888', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:29:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209888', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:29:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:29:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:29:30] Production.INFO: ==31524== Releasing lock...
[2025-01-09 13:29:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:29:30] Production.INFO: 62 MB #Memory Used#
[2025-01-09 18:30:01] Production.INFO: ==31579== Lock acquired, processing the job...
[2025-01-09 18:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:30:01] Production.INFO: neon service started
[2025-01-09 18:30:01] Production.INFO: neon service started
[2025-01-09 18:30:01] Production.INFO: ==31579== Releasing lock...
[2025-01-09 18:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:30:01] Production.INFO: ==31581== Lock acquired, processing the job...
[2025-01-09 13:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:30:02] Production.INFO: ==31583== Lock acquired, processing the job...
[2025-01-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:30:02] Production.INFO: ==31581== Releasing lock...
[2025-01-09 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:30:02] Production.INFO: ==31583== Releasing lock...
[2025-01-09 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:30:03] Production.INFO: ==31586== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 13:30:03] Production.INFO: ==31590== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:30:03] Production.INFO: ==31588== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 13:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:30:03] Production.ERROR: CronJob PID - 31590
[2025-01-09 13:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 13:30:03] Production.ERROR: CronJob ID - 7
[2025-01-09 13:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 13:30:00
[2025-01-09 13:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:30:03] Production.INFO: ==31596== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 13:30:03] Production.INFO: ==31586== Releasing lock...
[2025-01-09 13:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 13:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:30:03] Production.INFO: ==31594== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:30:03] Production.INFO: ==31592== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:30:03] Production.INFO: ==31600== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:30:03] Production.INFO: Account Balance Start.
[2025-01-09 13:30:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:30:03] Production.INFO: 117
[2025-01-09 13:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:30:03] Production.INFO: ==31598== Lock acquired, processing the job...
[2025-01-09 13:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 13:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:30:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:30:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:30:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:30:03] Production.ERROR: done
[2025-01-09 13:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:30:03] Production.INFO: Total Charge 0
[2025-01-09 13:30:03] Production.INFO: CreateAllLog End
[2025-01-09 13:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:30:03] Production.INFO: count ==21
[2025-01-09 13:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:30:03] Production.INFO: count ==21
[2025-01-09 13:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209892') start
[2025-01-09 13:30:03] Production.INFO: ==31590== Releasing lock...
[2025-01-09 13:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:30:04] Production.ERROR: done
[2025-01-09 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209892') end
[2025-01-09 13:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:30:04] Production.INFO: 1
[2025-01-09 13:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:30:04] Production.INFO: Account Balance End.
[2025-01-09 13:30:04] Production.INFO: ==31600== Releasing lock...
[2025-01-09 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:30:04] Production.INFO: ==31594== Releasing lock...
[2025-01-09 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:30:04] Production.ERROR: done
[2025-01-09 13:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 13:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209894', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 13:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:30:05
[end_date_ymd] => 2025-01-09 13:30:05
[RateCDR] => 1
)
[2025-01-09 13:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:30:05' and `end` < '2025-01-09 13:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209894', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 13:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 13:30:08] Production.INFO: ProcessCDR(1,14209894,1,1,2)
[2025-01-09 13:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209894,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209894,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:30:08] Production.INFO: ==31598== Releasing lock...
[2025-01-09 13:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 13:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 13:30:13] Production.ERROR: CronJobId end10
[2025-01-09 13:30:13] Production.INFO: ==31592== Releasing lock...
[2025-01-09 13:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:30:15] Production.INFO: call_cost start
[2025-01-09 13:30:15] Production.INFO: call_cost end
[2025-01-09 13:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:30:15] Production.INFO: ==31588== Releasing lock...
[2025-01-09 13:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:30:23] Production.INFO: count ==4562
[2025-01-09 13:30:24] Production.ERROR: pbx CDR StartTime 2025-01-09 10:30:05 - End Time 2025-01-09 13:30:05
[2025-01-09 13:30:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:30:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209893', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209893', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209893', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:30:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209893', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:30:25] Production.INFO: ProcessCDR(1,14209893,1,1,2)
[2025-01-09 13:30:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:30:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:30:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:30:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209893', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:30:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209893', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:30:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:30:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:30:29] Production.INFO: ==31596== Releasing lock...
[2025-01-09 13:30:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:30:29] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:31:01] Production.INFO: ==31659== Lock acquired, processing the job...
[2025-01-09 18:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:31:01] Production.INFO: neon service started
[2025-01-09 18:31:01] Production.INFO: neon service started
[2025-01-09 18:31:01] Production.INFO: ==31659== Releasing lock...
[2025-01-09 18:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:31:02] Production.INFO: ==31661== Lock acquired, processing the job...
[2025-01-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:31:02] Production.INFO: ==31661== Releasing lock...
[2025-01-09 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:31:02] Production.INFO: ==31663== Lock acquired, processing the job...
[2025-01-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:31:02] Production.INFO: ==31663== Releasing lock...
[2025-01-09 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:31:03] Production.INFO: ==31670== Lock acquired, processing the job...
[2025-01-09 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:31:03] Production.INFO: ==31674== Lock acquired, processing the job...
[2025-01-09 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:31:03] Production.INFO: ==31666== Lock acquired, processing the job...
[2025-01-09 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:31:03] Production.INFO: ==31668== Lock acquired, processing the job...
[2025-01-09 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:31:03] Production.INFO: ==31672== Lock acquired, processing the job...
[2025-01-09 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:31:03] Production.INFO: ==31676== Lock acquired, processing the job...
[2025-01-09 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:31:03] Production.ERROR: done
[2025-01-09 13:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:31:03] Production.INFO: Account Balance Start.
[2025-01-09 13:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:31:03] Production.INFO: 117
[2025-01-09 13:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:31:03] Production.INFO: count ==21
[2025-01-09 13:31:03] Production.ERROR: done
[2025-01-09 13:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:31:03] Production.INFO: count ==21
[2025-01-09 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209897') start
[2025-01-09 13:31:04] Production.INFO: Total Charge 0
[2025-01-09 13:31:04] Production.INFO: CreateAllLog End
[2025-01-09 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209897') end
[2025-01-09 13:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:31:04] Production.INFO: 1
[2025-01-09 13:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:31:04] Production.INFO: ==31676== Releasing lock...
[2025-01-09 13:31:04] Production.INFO: ==31668== Releasing lock...
[2025-01-09 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:31:04] Production.INFO: Account Balance End.
[2025-01-09 13:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:31:04] Production.INFO: ==31672== Releasing lock...
[2025-01-09 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:31:04
[end_date_ymd] => 2025-01-09 13:31:04
[RateCDR] => 1
)
[2025-01-09 13:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:31:04' and `end` < '2025-01-09 13:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:31:12] Production.ERROR: CronJobId end10
[2025-01-09 13:31:12] Production.INFO: ==31670== Releasing lock...
[2025-01-09 13:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:31:13] Production.INFO: call_cost start
[2025-01-09 13:31:13] Production.INFO: call_cost end
[2025-01-09 13:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:31:14] Production.INFO: ==31666== Releasing lock...
[2025-01-09 13:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:31:35] Production.INFO: count ==4571
[2025-01-09 13:31:36] Production.ERROR: pbx CDR StartTime 2025-01-09 10:31:04 - End Time 2025-01-09 13:31:04
[2025-01-09 13:31:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:31:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209899', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:31:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209899', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:31:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209899', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:31:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209899', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:31:37] Production.INFO: ProcessCDR(1,14209899,1,1,2)
[2025-01-09 13:31:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:31:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:31:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:31:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:31:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209899', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:31:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209899', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:31:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:31:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:31:41] Production.INFO: ==31674== Releasing lock...
[2025-01-09 13:31:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:31:41] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:32:01] Production.INFO: ==31729== Lock acquired, processing the job...
[2025-01-09 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:32:01] Production.INFO: neon service started
[2025-01-09 18:32:01] Production.INFO: neon service started
[2025-01-09 18:32:01] Production.INFO: ==31729== Releasing lock...
[2025-01-09 18:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:32:02] Production.INFO: ==31731== Lock acquired, processing the job...
[2025-01-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:32:02] Production.INFO: ==31733== Lock acquired, processing the job...
[2025-01-09 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:32:02] Production.INFO: ==31733== Releasing lock...
[2025-01-09 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:32:02] Production.INFO: ==31731== Releasing lock...
[2025-01-09 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:32:03] Production.INFO: ==31740== Lock acquired, processing the job...
[2025-01-09 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:32:03] Production.INFO: ==31746== Lock acquired, processing the job...
[2025-01-09 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:32:03] Production.INFO: ==31736== Lock acquired, processing the job...
[2025-01-09 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:32:03] Production.INFO: ==31738== Lock acquired, processing the job...
[2025-01-09 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:32:03] Production.INFO: count ==21
[2025-01-09 13:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:32:03] Production.INFO: ==31742== Lock acquired, processing the job...
[2025-01-09 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:32:03] Production.INFO: count ==21
[2025-01-09 13:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:32:03] Production.INFO: ==31744== Lock acquired, processing the job...
[2025-01-09 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209900') start
[2025-01-09 13:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209900') end
[2025-01-09 13:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:32:04] Production.INFO: 1
[2025-01-09 13:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:32:04] Production.INFO: Account Balance Start.
[2025-01-09 13:32:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:32:04] Production.INFO: 117
[2025-01-09 13:32:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:32:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:32:04] Production.INFO: Total Charge 0
[2025-01-09 13:32:04] Production.INFO: ==31746== Releasing lock...
[2025-01-09 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:32:04] Production.INFO: CreateAllLog End
[2025-01-09 13:32:04] Production.INFO: ==31738== Releasing lock...
[2025-01-09 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:32:04] Production.INFO: Account Balance End.
[2025-01-09 13:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:32:04] Production.INFO: ==31742== Releasing lock...
[2025-01-09 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:32:04] Production.ERROR: done
[2025-01-09 13:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:32:04] Production.ERROR: done
[2025-01-09 13:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:32:05
[end_date_ymd] => 2025-01-09 13:32:05
[RateCDR] => 1
)
[2025-01-09 13:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:32:05' and `end` < '2025-01-09 13:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:32:13] Production.ERROR: CronJobId end10
[2025-01-09 13:32:13] Production.INFO: ==31740== Releasing lock...
[2025-01-09 13:32:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:32:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:32:14] Production.INFO: call_cost start
[2025-01-09 13:32:14] Production.INFO: call_cost end
[2025-01-09 13:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:32:14] Production.INFO: ==31736== Releasing lock...
[2025-01-09 13:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:32:27] Production.INFO: count ==4563
[2025-01-09 13:32:29] Production.ERROR: pbx CDR StartTime 2025-01-09 10:32:05 - End Time 2025-01-09 13:32:05
[2025-01-09 13:32:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209904', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209904', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209904', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:32:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209904', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:32:29] Production.INFO: ProcessCDR(1,14209904,1,1,2)
[2025-01-09 13:32:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:32:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209904,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:32:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:32:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209904,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:32:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209904', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:32:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209904', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:32:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:32:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:32:34] Production.INFO: ==31744== Releasing lock...
[2025-01-09 13:32:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:32:34] Production.INFO: 62.25 MB #Memory Used#
[2025-01-09 18:33:02] Production.INFO: ==31800== Lock acquired, processing the job...
[2025-01-09 18:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:33:02] Production.INFO: neon service started
[2025-01-09 18:33:02] Production.INFO: neon service started
[2025-01-09 18:33:02] Production.INFO: ==31800== Releasing lock...
[2025-01-09 18:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 18:33:02] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-01-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:33:02] Production.INFO: ==31805== Releasing lock...
[2025-01-09 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:33:02] Production.INFO: ==31802== Lock acquired, processing the job...
[2025-01-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:33:02] Production.INFO: ==31802== Releasing lock...
[2025-01-09 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:33:03] Production.INFO: ==31813== Lock acquired, processing the job...
[2025-01-09 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:33:03] Production.INFO: ==31807== Lock acquired, processing the job...
[2025-01-09 13:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:33:03] Production.INFO: ==31815== Lock acquired, processing the job...
[2025-01-09 13:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:33:03] Production.INFO: Account Balance Start.
[2025-01-09 13:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:33:03] Production.INFO: 117
[2025-01-09 13:33:03] Production.INFO: ==31809== Lock acquired, processing the job...
[2025-01-09 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:33:03] Production.INFO: ==31811== Lock acquired, processing the job...
[2025-01-09 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:33:03] Production.INFO: Total Charge 0
[2025-01-09 13:33:03] Production.INFO: CreateAllLog End
[2025-01-09 13:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:33:04] Production.INFO: ==31817== Lock acquired, processing the job...
[2025-01-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:33:04] Production.ERROR: done
[2025-01-09 13:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:33:04] Production.INFO: Account Balance End.
[2025-01-09 13:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:33:04] Production.INFO: count ==21
[2025-01-09 13:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:33:04] Production.INFO: count ==21
[2025-01-09 13:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:33:04] Production.INFO: ==31813== Releasing lock...
[2025-01-09 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:33:04] Production.ERROR: done
[2025-01-09 13:33:04] Production.INFO: ==31809== Releasing lock...
[2025-01-09 13:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209908') start
[2025-01-09 13:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209908') end
[2025-01-09 13:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:33:04] Production.INFO: 1
[2025-01-09 13:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:33:04] Production.INFO: ==31817== Releasing lock...
[2025-01-09 13:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:33:05
[end_date_ymd] => 2025-01-09 13:33:05
[RateCDR] => 1
)
[2025-01-09 13:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:33:05' and `end` < '2025-01-09 13:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:33:12] Production.ERROR: CronJobId end10
[2025-01-09 13:33:12] Production.INFO: ==31811== Releasing lock...
[2025-01-09 13:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:33:13] Production.INFO: call_cost start
[2025-01-09 13:33:13] Production.INFO: call_cost end
[2025-01-09 13:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:33:14] Production.INFO: ==31807== Releasing lock...
[2025-01-09 13:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:33:32] Production.INFO: count ==4608
[2025-01-09 13:33:33] Production.ERROR: pbx CDR StartTime 2025-01-09 10:33:05 - End Time 2025-01-09 13:33:05
[2025-01-09 13:33:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:33:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209909', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:33:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209909', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:33:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209909', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:33:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209909', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:33:34] Production.INFO: ProcessCDR(1,14209909,1,1,2)
[2025-01-09 13:33:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:33:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209909,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:33:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:33:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209909,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:33:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209909', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:33:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209909', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:33:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:33:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:33:38] Production.INFO: ==31815== Releasing lock...
[2025-01-09 13:33:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:33:38] Production.INFO: 62.5 MB #Memory Used#
[2025-01-09 18:34:01] Production.INFO: ==31874== Lock acquired, processing the job...
[2025-01-09 18:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:34:01] Production.INFO: neon service started
[2025-01-09 18:34:01] Production.INFO: neon service started
[2025-01-09 18:34:01] Production.INFO: ==31874== Releasing lock...
[2025-01-09 18:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:34:02] Production.INFO: ==31876== Lock acquired, processing the job...
[2025-01-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:34:02] Production.INFO: ==31878== Lock acquired, processing the job...
[2025-01-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:34:02] Production.INFO: ==31878== Releasing lock...
[2025-01-09 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:34:02] Production.INFO: ==31876== Releasing lock...
[2025-01-09 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:34:03] Production.INFO: ==31881== Lock acquired, processing the job...
[2025-01-09 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:34:03] Production.INFO: ==31887== Lock acquired, processing the job...
[2025-01-09 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:34:03] Production.INFO: ==31889== Lock acquired, processing the job...
[2025-01-09 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:34:03] Production.INFO: ==31883== Lock acquired, processing the job...
[2025-01-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:34:03] Production.INFO: ==31885== Lock acquired, processing the job...
[2025-01-09 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:34:03] Production.INFO: ==31891== Lock acquired, processing the job...
[2025-01-09 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:34:03] Production.INFO: Account Balance Start.
[2025-01-09 13:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:34:03] Production.INFO: 117
[2025-01-09 13:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:34:03] Production.INFO: count ==21
[2025-01-09 13:34:03] Production.ERROR: done
[2025-01-09 13:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:34:03] Production.INFO: count ==21
[2025-01-09 13:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209912') start
[2025-01-09 13:34:03] Production.INFO: Total Charge 0
[2025-01-09 13:34:03] Production.INFO: CreateAllLog End
[2025-01-09 13:34:03] Production.INFO: ==31883== Releasing lock...
[2025-01-09 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:34:03] Production.ERROR: done
[2025-01-09 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209912') end
[2025-01-09 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:34:04] Production.INFO: 1
[2025-01-09 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:34:04] Production.INFO: Account Balance End.
[2025-01-09 13:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:34:04] Production.INFO: ==31887== Releasing lock...
[2025-01-09 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:34:04] Production.INFO: ==31891== Releasing lock...
[2025-01-09 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:34:04
[end_date_ymd] => 2025-01-09 13:34:04
[RateCDR] => 1
)
[2025-01-09 13:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:34:04' and `end` < '2025-01-09 13:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:34:11] Production.ERROR: CronJobId end10
[2025-01-09 13:34:11] Production.INFO: ==31885== Releasing lock...
[2025-01-09 13:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:34:13] Production.INFO: call_cost start
[2025-01-09 13:34:13] Production.INFO: call_cost end
[2025-01-09 13:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:34:13] Production.INFO: ==31881== Releasing lock...
[2025-01-09 13:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:34:23] Production.INFO: count ==4628
[2025-01-09 13:34:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:34:04 - End Time 2025-01-09 13:34:04
[2025-01-09 13:34:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209914', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209914', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209914', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209914', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:34:25] Production.INFO: ProcessCDR(1,14209914,1,1,2)
[2025-01-09 13:34:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:34:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:34:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:34:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:34:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209914', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:34:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209914', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:34:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:34:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:34:30] Production.INFO: ==31889== Releasing lock...
[2025-01-09 13:34:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:34:30] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 18:35:01] Production.INFO: ==31988== Lock acquired, processing the job...
[2025-01-09 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:35:02] Production.INFO: neon service started
[2025-01-09 18:35:02] Production.INFO: neon service started
[2025-01-09 18:35:02] Production.INFO: ==31988== Releasing lock...
[2025-01-09 18:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:35:02] Production.INFO: ==31990== Lock acquired, processing the job...
[2025-01-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:35:02] Production.INFO: ==31992== Lock acquired, processing the job...
[2025-01-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:35:02] Production.INFO: ==31990== Releasing lock...
[2025-01-09 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:35:02] Production.INFO: ==31992== Releasing lock...
[2025-01-09 18:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:35:03] Production.INFO: ==32001== Lock acquired, processing the job...
[2025-01-09 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:35:03] Production.INFO: ==32003== Lock acquired, processing the job...
[2025-01-09 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:35:03] Production.INFO: Account Balance Start.
[2025-01-09 13:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:35:03] Production.INFO: 117
[2025-01-09 13:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:35:03] Production.INFO: ==31995== Lock acquired, processing the job...
[2025-01-09 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:35:03] Production.INFO: Total Charge 0
[2025-01-09 13:35:03] Production.INFO: CreateAllLog End
[2025-01-09 13:35:03] Production.INFO: ==31997== Lock acquired, processing the job...
[2025-01-09 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:35:03] Production.INFO: ==31999== Lock acquired, processing the job...
[2025-01-09 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:35:03] Production.INFO: ==32005== Lock acquired, processing the job...
[2025-01-09 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:35:03] Production.ERROR: done
[2025-01-09 13:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:35:03] Production.INFO: Account Balance End.
[2025-01-09 13:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:35:04] Production.INFO: ==32001== Releasing lock...
[2025-01-09 13:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:35:04] Production.ERROR: done
[2025-01-09 13:35:04] Production.INFO: count ==21
[2025-01-09 13:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:35:04] Production.INFO: count ==21
[2025-01-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209918') start
[2025-01-09 13:35:04] Production.INFO: ==31997== Releasing lock...
[2025-01-09 13:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209918') end
[2025-01-09 13:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:35:04] Production.INFO: 1
[2025-01-09 13:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:35:04] Production.INFO: ==32005== Releasing lock...
[2025-01-09 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:35:05
[end_date_ymd] => 2025-01-09 13:35:05
[RateCDR] => 1
)
[2025-01-09 13:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:35:05' and `end` < '2025-01-09 13:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:35:11] Production.ERROR: CronJobId end10
[2025-01-09 13:35:11] Production.INFO: ==31999== Releasing lock...
[2025-01-09 13:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:35:13] Production.INFO: call_cost start
[2025-01-09 13:35:13] Production.INFO: call_cost end
[2025-01-09 13:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:35:14] Production.INFO: ==31995== Releasing lock...
[2025-01-09 13:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:35:30] Production.INFO: count ==4640
[2025-01-09 13:35:32] Production.ERROR: pbx CDR StartTime 2025-01-09 10:35:05 - End Time 2025-01-09 13:35:05
[2025-01-09 13:35:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209919', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209919', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209919', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:35:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209919', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:35:32] Production.INFO: ProcessCDR(1,14209919,1,1,2)
[2025-01-09 13:35:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:35:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:35:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:35:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:35:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209919', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:35:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209919', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:35:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:35:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:35:36] Production.INFO: ==32003== Releasing lock...
[2025-01-09 13:35:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:35:36] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 18:36:01] Production.INFO: ==32061== Lock acquired, processing the job...
[2025-01-09 18:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:36:01] Production.INFO: neon service started
[2025-01-09 18:36:01] Production.INFO: neon service started
[2025-01-09 18:36:01] Production.INFO: ==32061== Releasing lock...
[2025-01-09 18:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:36:01] Production.INFO: ==32063== Lock acquired, processing the job...
[2025-01-09 13:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:36:02] Production.INFO: ==32063== Releasing lock...
[2025-01-09 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:36:02] Production.INFO: ==32065== Lock acquired, processing the job...
[2025-01-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:36:02] Production.INFO: ==32065== Releasing lock...
[2025-01-09 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:36:03] Production.INFO: ==32075== Lock acquired, processing the job...
[2025-01-09 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:36:03] Production.INFO: ==32077== Lock acquired, processing the job...
[2025-01-09 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:36:03] Production.INFO: ==32067== Lock acquired, processing the job...
[2025-01-09 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:36:03] Production.INFO: ==32069== Lock acquired, processing the job...
[2025-01-09 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:36:03] Production.INFO: ==32071== Lock acquired, processing the job...
[2025-01-09 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:36:03] Production.INFO: count ==21
[2025-01-09 13:36:03] Production.INFO: ==32073== Lock acquired, processing the job...
[2025-01-09 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:36:03] Production.INFO: count ==21
[2025-01-09 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209920') start
[2025-01-09 13:36:03] Production.ERROR: done
[2025-01-09 13:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209920') end
[2025-01-09 13:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:36:03] Production.INFO: 1
[2025-01-09 13:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:36:03] Production.INFO: Account Balance Start.
[2025-01-09 13:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:36:03] Production.INFO: 117
[2025-01-09 13:36:03] Production.INFO: ==32077== Releasing lock...
[2025-01-09 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:36:03] Production.ERROR: done
[2025-01-09 13:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:36:03] Production.INFO: Total Charge 0
[2025-01-09 13:36:03] Production.INFO: CreateAllLog End
[2025-01-09 13:36:03] Production.INFO: ==32069== Releasing lock...
[2025-01-09 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:36:04] Production.INFO: Account Balance End.
[2025-01-09 13:36:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:36:04] Production.INFO: ==32073== Releasing lock...
[2025-01-09 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:36:04
[end_date_ymd] => 2025-01-09 13:36:04
[RateCDR] => 1
)
[2025-01-09 13:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:36:04' and `end` < '2025-01-09 13:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:36:10] Production.ERROR: CronJobId end10
[2025-01-09 13:36:10] Production.INFO: ==32071== Releasing lock...
[2025-01-09 13:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:36:12] Production.INFO: call_cost start
[2025-01-09 13:36:12] Production.INFO: call_cost end
[2025-01-09 13:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:36:13] Production.INFO: ==32067== Releasing lock...
[2025-01-09 13:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:36:22] Production.INFO: count ==4637
[2025-01-09 13:36:24] Production.ERROR: pbx CDR StartTime 2025-01-09 10:36:04 - End Time 2025-01-09 13:36:04
[2025-01-09 13:36:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209924', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209924', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209924', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:36:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209924', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:36:24] Production.INFO: ProcessCDR(1,14209924,1,1,2)
[2025-01-09 13:36:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:36:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:36:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:36:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209924', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:36:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209924', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:36:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:36:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:36:28] Production.INFO: ==32075== Releasing lock...
[2025-01-09 13:36:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:36:28] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 18:37:01] Production.INFO: ==32130== Lock acquired, processing the job...
[2025-01-09 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:37:01] Production.INFO: neon service started
[2025-01-09 18:37:01] Production.INFO: neon service started
[2025-01-09 18:37:01] Production.INFO: ==32130== Releasing lock...
[2025-01-09 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:37:02] Production.INFO: ==32133== Lock acquired, processing the job...
[2025-01-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:37:02] Production.INFO: ==32133== Releasing lock...
[2025-01-09 13:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:37:02] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-01-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:37:02] Production.INFO: ==32135== Releasing lock...
[2025-01-09 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:37:03] Production.INFO: ==32142== Lock acquired, processing the job...
[2025-01-09 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:37:03] Production.INFO: ==32138== Lock acquired, processing the job...
[2025-01-09 13:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:37:03] Production.INFO: ==32148== Lock acquired, processing the job...
[2025-01-09 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:37:03] Production.INFO: ==32140== Lock acquired, processing the job...
[2025-01-09 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:37:03] Production.INFO: ==32144== Lock acquired, processing the job...
[2025-01-09 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:37:03] Production.INFO: ==32146== Lock acquired, processing the job...
[2025-01-09 13:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:37:03] Production.INFO: count ==21
[2025-01-09 13:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:37:03] Production.INFO: count ==21
[2025-01-09 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209925') start
[2025-01-09 13:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:37:03] Production.INFO: Account Balance Start.
[2025-01-09 13:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:37:03] Production.INFO: 117
[2025-01-09 13:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209925') end
[2025-01-09 13:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:37:03] Production.INFO: 1
[2025-01-09 13:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:37:03] Production.INFO: Total Charge 0
[2025-01-09 13:37:03] Production.INFO: CreateAllLog End
[2025-01-09 13:37:03] Production.INFO: ==32148== Releasing lock...
[2025-01-09 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:37:04] Production.INFO: ==32140== Releasing lock...
[2025-01-09 13:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:37:04] Production.ERROR: done
[2025-01-09 13:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:37:04] Production.ERROR: done
[2025-01-09 13:37:04] Production.INFO: Account Balance End.
[2025-01-09 13:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:37:04] Production.INFO: ==32144== Releasing lock...
[2025-01-09 13:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:37:05
[end_date_ymd] => 2025-01-09 13:37:05
[RateCDR] => 1
)
[2025-01-09 13:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:37:05' and `end` < '2025-01-09 13:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:37:11] Production.ERROR: CronJobId end10
[2025-01-09 13:37:11] Production.INFO: ==32142== Releasing lock...
[2025-01-09 13:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:37:12] Production.INFO: call_cost start
[2025-01-09 13:37:12] Production.INFO: call_cost end
[2025-01-09 13:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:37:13] Production.INFO: ==32138== Releasing lock...
[2025-01-09 13:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:37:27] Production.INFO: count ==4639
[2025-01-09 13:37:28] Production.ERROR: pbx CDR StartTime 2025-01-09 10:37:05 - End Time 2025-01-09 13:37:05
[2025-01-09 13:37:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209929', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209929', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209929', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:37:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209929', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:37:28] Production.INFO: ProcessCDR(1,14209929,1,1,2)
[2025-01-09 13:37:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:37:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:37:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:37:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:37:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209929', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:37:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209929', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:37:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:37:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:37:33] Production.INFO: ==32146== Releasing lock...
[2025-01-09 13:37:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:37:33] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 18:38:01] Production.INFO: ==32203== Lock acquired, processing the job...
[2025-01-09 18:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:38:01] Production.INFO: neon service started
[2025-01-09 18:38:01] Production.INFO: neon service started
[2025-01-09 18:38:01] Production.INFO: ==32203== Releasing lock...
[2025-01-09 18:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:38:01] Production.INFO: ==32206== Lock acquired, processing the job...
[2025-01-09 13:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:38:02] Production.INFO: ==32206== Releasing lock...
[2025-01-09 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:38:02] Production.INFO: ==32208== Lock acquired, processing the job...
[2025-01-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:38:02] Production.INFO: ==32208== Releasing lock...
[2025-01-09 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:38:03] Production.INFO: ==32210== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:38:03] Production.INFO: ==32212== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:38:03] Production.INFO: ==32218== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:38:03] Production.INFO: ==32216== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:38:03] Production.INFO: ==32214== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:38:03] Production.INFO: ==32212== Releasing lock...
[2025-01-09 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:38:03] Production.INFO: ==32220== Lock acquired, processing the job...
[2025-01-09 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:38:03] Production.INFO: Account Balance Start.
[2025-01-09 13:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:38:03] Production.INFO: 117
[2025-01-09 13:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:38:03] Production.INFO: Total Charge 0
[2025-01-09 13:38:03] Production.INFO: CreateAllLog End
[2025-01-09 13:38:03] Production.ERROR: done
[2025-01-09 13:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:38:03] Production.INFO: count ==21
[2025-01-09 13:38:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:38:03] Production.INFO: count ==21
[2025-01-09 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209933') start
[2025-01-09 13:38:03] Production.INFO: Account Balance End.
[2025-01-09 13:38:03] Production.ERROR: done
[2025-01-09 13:38:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:38:03] Production.INFO: ==32216== Releasing lock...
[2025-01-09 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209933') end
[2025-01-09 13:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:38:03] Production.INFO: 1
[2025-01-09 13:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:38:04] Production.INFO: ==32220== Releasing lock...
[2025-01-09 13:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:38:04
[end_date_ymd] => 2025-01-09 13:38:04
[RateCDR] => 1
)
[2025-01-09 13:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:38:04' and `end` < '2025-01-09 13:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:38:12] Production.ERROR: CronJobId end10
[2025-01-09 13:38:12] Production.INFO: ==32214== Releasing lock...
[2025-01-09 13:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:38:13] Production.INFO: call_cost start
[2025-01-09 13:38:13] Production.INFO: call_cost end
[2025-01-09 13:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:38:14] Production.INFO: ==32210== Releasing lock...
[2025-01-09 13:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:38:22] Production.INFO: count ==4658
[2025-01-09 13:38:24] Production.ERROR: pbx CDR StartTime 2025-01-09 10:38:04 - End Time 2025-01-09 13:38:04
[2025-01-09 13:38:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209934', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209934', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209934', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209934', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:38:24] Production.INFO: ProcessCDR(1,14209934,1,1,2)
[2025-01-09 13:38:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:38:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:38:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:38:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209934', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209934', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:38:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:38:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:38:29] Production.INFO: ==32218== Releasing lock...
[2025-01-09 13:38:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:38:29] Production.INFO: 62.75 MB #Memory Used#
[2025-01-09 18:39:02] Production.INFO: ==32274== Lock acquired, processing the job...
[2025-01-09 18:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:39:02] Production.INFO: neon service started
[2025-01-09 18:39:02] Production.INFO: neon service started
[2025-01-09 18:39:02] Production.INFO: ==32274== Releasing lock...
[2025-01-09 18:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:39:02] Production.INFO: ==32278== Lock acquired, processing the job...
[2025-01-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:39:02] Production.INFO: ==32278== Releasing lock...
[2025-01-09 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:39:02] Production.INFO: ==32276== Lock acquired, processing the job...
[2025-01-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:39:02] Production.INFO: ==32276== Releasing lock...
[2025-01-09 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:39:03] Production.INFO: ==32287== Lock acquired, processing the job...
[2025-01-09 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:39:03] Production.INFO: Account Balance Start.
[2025-01-09 13:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:39:03] Production.INFO: 117
[2025-01-09 13:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:39:03] Production.INFO: ==32291== Lock acquired, processing the job...
[2025-01-09 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:39:03] Production.INFO: Total Charge 0
[2025-01-09 13:39:03] Production.INFO: CreateAllLog End
[2025-01-09 13:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:39:03] Production.INFO: ==32281== Lock acquired, processing the job...
[2025-01-09 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:39:03] Production.INFO: count ==21
[2025-01-09 13:39:03] Production.INFO: Account Balance End.
[2025-01-09 13:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:39:03] Production.INFO: count ==21
[2025-01-09 13:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209936') start
[2025-01-09 13:39:04] Production.INFO: ==32283== Lock acquired, processing the job...
[2025-01-09 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:39:04] Production.INFO: ==32285== Lock acquired, processing the job...
[2025-01-09 13:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:39:04] Production.INFO: ==32287== Releasing lock...
[2025-01-09 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209936') end
[2025-01-09 13:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:39:04] Production.INFO: 1
[2025-01-09 13:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:39:04] Production.INFO: ==32289== Lock acquired, processing the job...
[2025-01-09 13:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:39:04] Production.INFO: ==32291== Releasing lock...
[2025-01-09 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:39:04] Production.INFO: ==32283== Releasing lock...
[2025-01-09 13:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:39:04] Production.ERROR: done
[2025-01-09 13:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:39:04] Production.ERROR: done
[2025-01-09 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:39:05
[end_date_ymd] => 2025-01-09 13:39:05
[RateCDR] => 1
)
[2025-01-09 13:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:39:05' and `end` < '2025-01-09 13:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:39:12] Production.ERROR: CronJobId end10
[2025-01-09 13:39:12] Production.INFO: ==32285== Releasing lock...
[2025-01-09 13:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:39:13] Production.INFO: call_cost start
[2025-01-09 13:39:13] Production.INFO: call_cost end
[2025-01-09 13:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:39:14] Production.INFO: ==32281== Releasing lock...
[2025-01-09 13:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:39:28] Production.INFO: count ==4681
[2025-01-09 13:39:30] Production.ERROR: pbx CDR StartTime 2025-01-09 10:39:05 - End Time 2025-01-09 13:39:05
[2025-01-09 13:39:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:39:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209939', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:39:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209939', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:39:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209939', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:39:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209939', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:39:30] Production.INFO: ProcessCDR(1,14209939,1,1,2)
[2025-01-09 13:39:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:39:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:39:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:39:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:39:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209939', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:39:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209939', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:39:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:39:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:39:35] Production.INFO: ==32289== Releasing lock...
[2025-01-09 13:39:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:39:35] Production.INFO: 63 MB #Memory Used#
[2025-01-09 18:40:01] Production.INFO: ==32344== Lock acquired, processing the job...
[2025-01-09 18:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:40:01] Production.INFO: neon service started
[2025-01-09 18:40:01] Production.INFO: neon service started
[2025-01-09 18:40:01] Production.INFO: ==32344== Releasing lock...
[2025-01-09 18:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:40:02] Production.INFO: ==32346== Lock acquired, processing the job...
[2025-01-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:40:02] Production.INFO: ==32348== Lock acquired, processing the job...
[2025-01-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:40:02] Production.INFO: ==32348== Releasing lock...
[2025-01-09 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:40:02] Production.INFO: ==32346== Releasing lock...
[2025-01-09 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:40:03] Production.INFO: ==32357== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:40:03] Production.INFO: ==32351== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 13:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:40:03] Production.INFO: ==32359== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:40:03] Production.INFO: ==32363== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 13:40:03] Production.INFO: ==32355== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 13:40:03] Production.INFO: ==32353== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:40:03] Production.ERROR: CronJob PID - 32355
[2025-01-09 13:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 13:40:03] Production.ERROR: CronJob ID - 7
[2025-01-09 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 13:40:00
[2025-01-09 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:40:03] Production.ERROR: CronJob PID - 32357
[2025-01-09 13:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 13:40:03] Production.ERROR: CronJob ID - 10
[2025-01-09 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 13:40:00
[2025-01-09 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:40:03] Production.ERROR: CronJob PID - 32359
[2025-01-09 13:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 13:40:03] Production.ERROR: CronJob ID - 12
[2025-01-09 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 13:40:00
[2025-01-09 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:40:03] Production.ERROR: CronJob PID - 32363
[2025-01-09 13:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 13:40:03] Production.ERROR: CronJob ID - 17
[2025-01-09 13:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 13:40:00
[2025-01-09 13:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:40:03] Production.INFO: Account Balance Start.
[2025-01-09 13:40:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:40:03] Production.INFO: 117
[2025-01-09 13:40:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 13:40:03] Production.INFO: ==32351== Releasing lock...
[2025-01-09 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 13:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 13:40:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:40:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:40:03] Production.INFO: ==32361== Lock acquired, processing the job...
[2025-01-09 13:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:40:04] Production.INFO: ==32355== Releasing lock...
[2025-01-09 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:40:04] Production.INFO: ==32365== Lock acquired, processing the job...
[2025-01-09 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:40:04] Production.ERROR: done
[2025-01-09 13:40:04] Production.INFO: Total Charge 0
[2025-01-09 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:40:04] Production.INFO: CreateAllLog End
[2025-01-09 13:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 13:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209943', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 13:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:40:04] Production.INFO: count ==21
[2025-01-09 13:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:40:04] Production.INFO: count ==21
[2025-01-09 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209944') start
[2025-01-09 13:40:04] Production.INFO: Account Balance End.
[2025-01-09 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209944') end
[2025-01-09 13:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:40:04] Production.INFO: 1
[2025-01-09 13:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:40:04] Production.ERROR: done
[2025-01-09 13:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:40:04] Production.INFO: ==32365== Releasing lock...
[2025-01-09 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:40:04] Production.INFO: ==32359== Releasing lock...
[2025-01-09 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:40:04] Production.ERROR: done
[2025-01-09 13:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:40:06
[end_date_ymd] => 2025-01-09 13:40:06
[RateCDR] => 1
)
[2025-01-09 13:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:40:06' and `end` < '2025-01-09 13:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209943', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 13:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 13:40:08] Production.INFO: ProcessCDR(1,14209943,1,1,2)
[2025-01-09 13:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209943,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209943,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:40:08] Production.INFO: ==32363== Releasing lock...
[2025-01-09 13:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 13:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 13:40:12] Production.ERROR: CronJobId end10
[2025-01-09 13:40:12] Production.INFO: ==32357== Releasing lock...
[2025-01-09 13:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:40:14] Production.INFO: call_cost start
[2025-01-09 13:40:14] Production.INFO: call_cost end
[2025-01-09 13:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:40:15] Production.INFO: ==32353== Releasing lock...
[2025-01-09 13:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:40:21] Production.INFO: count ==4673
[2025-01-09 13:40:23] Production.ERROR: pbx CDR StartTime 2025-01-09 10:40:06 - End Time 2025-01-09 13:40:06
[2025-01-09 13:40:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209945', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209945', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209945', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209945', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:40:23] Production.INFO: ProcessCDR(1,14209945,1,1,2)
[2025-01-09 13:40:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:40:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:40:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:40:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209945', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209945', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:40:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:40:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:40:28] Production.INFO: ==32361== Releasing lock...
[2025-01-09 13:40:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:40:28] Production.INFO: 63 MB #Memory Used#
[2025-01-09 18:41:01] Production.INFO: ==32419== Lock acquired, processing the job...
[2025-01-09 18:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:41:01] Production.INFO: neon service started
[2025-01-09 18:41:01] Production.INFO: neon service started
[2025-01-09 18:41:01] Production.INFO: ==32419== Releasing lock...
[2025-01-09 18:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:41:02] Production.INFO: ==32423== Lock acquired, processing the job...
[2025-01-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:41:02] Production.INFO: ==32423== Releasing lock...
[2025-01-09 18:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:41:02] Production.INFO: ==32421== Lock acquired, processing the job...
[2025-01-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:41:02] Production.INFO: ==32421== Releasing lock...
[2025-01-09 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:41:03] Production.INFO: ==32426== Lock acquired, processing the job...
[2025-01-09 13:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:41:03] Production.INFO: ==32428== Lock acquired, processing the job...
[2025-01-09 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:41:03] Production.INFO: ==32432== Lock acquired, processing the job...
[2025-01-09 13:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:41:03] Production.INFO: ==32430== Lock acquired, processing the job...
[2025-01-09 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:41:03] Production.INFO: Account Balance Start.
[2025-01-09 13:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:41:03] Production.INFO: 117
[2025-01-09 13:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:41:03] Production.INFO: Total Charge 0
[2025-01-09 13:41:03] Production.INFO: ==32434== Lock acquired, processing the job...
[2025-01-09 13:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:41:03] Production.INFO: CreateAllLog End
[2025-01-09 13:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:41:03] Production.INFO: ==32428== Releasing lock...
[2025-01-09 13:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:41:03] Production.INFO: ==32436== Lock acquired, processing the job...
[2025-01-09 13:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:41:04] Production.INFO: Account Balance End.
[2025-01-09 13:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:41:04] Production.INFO: ==32432== Releasing lock...
[2025-01-09 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:41:04] Production.ERROR: done
[2025-01-09 13:41:04] Production.INFO: count ==21
[2025-01-09 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:41:04] Production.INFO: count ==21
[2025-01-09 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209949') start
[2025-01-09 13:41:04] Production.ERROR: done
[2025-01-09 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209949') end
[2025-01-09 13:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:41:04] Production.INFO: 1
[2025-01-09 13:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:41:04] Production.INFO: ==32436== Releasing lock...
[2025-01-09 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:41:05
[end_date_ymd] => 2025-01-09 13:41:05
[RateCDR] => 1
)
[2025-01-09 13:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:41:05' and `end` < '2025-01-09 13:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:41:12] Production.ERROR: CronJobId end10
[2025-01-09 13:41:12] Production.INFO: ==32430== Releasing lock...
[2025-01-09 13:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:41:13] Production.INFO: call_cost start
[2025-01-09 13:41:13] Production.INFO: call_cost end
[2025-01-09 13:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:41:14] Production.INFO: ==32426== Releasing lock...
[2025-01-09 13:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:41:24] Production.INFO: count ==4733
[2025-01-09 13:41:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:41:05 - End Time 2025-01-09 13:41:05
[2025-01-09 13:41:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209950', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209950', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209950', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:41:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209950', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:41:26] Production.INFO: ProcessCDR(1,14209950,1,1,2)
[2025-01-09 13:41:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:41:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:41:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:41:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:41:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209950', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:41:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209950', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:41:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:41:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:41:31] Production.INFO: ==32434== Releasing lock...
[2025-01-09 13:41:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:41:31] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:42:01] Production.INFO: ==32491== Lock acquired, processing the job...
[2025-01-09 18:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:42:01] Production.INFO: neon service started
[2025-01-09 18:42:01] Production.INFO: neon service started
[2025-01-09 18:42:01] Production.INFO: ==32491== Releasing lock...
[2025-01-09 18:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:42:01] Production.INFO: ==32493== Lock acquired, processing the job...
[2025-01-09 13:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:42:02] Production.INFO: ==32493== Releasing lock...
[2025-01-09 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:42:02] Production.INFO: ==32495== Lock acquired, processing the job...
[2025-01-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:42:02] Production.INFO: ==32495== Releasing lock...
[2025-01-09 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:42:03] Production.INFO: ==32502== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:42:03] Production.INFO: ==32498== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:42:03] Production.INFO: ==32506== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:42:03] Production.INFO: ==32500== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:42:03] Production.INFO: ==32508== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:42:03] Production.INFO: ==32504== Lock acquired, processing the job...
[2025-01-09 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:42:03] Production.ERROR: done
[2025-01-09 13:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:42:03] Production.INFO: Account Balance Start.
[2025-01-09 13:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:42:03] Production.INFO: 117
[2025-01-09 13:42:03] Production.INFO: count ==21
[2025-01-09 13:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:42:03] Production.INFO: count ==21
[2025-01-09 13:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209953') start
[2025-01-09 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:42:03] Production.ERROR: done
[2025-01-09 13:42:03] Production.INFO: ==32500== Releasing lock...
[2025-01-09 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209953') end
[2025-01-09 13:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:42:03] Production.INFO: 1
[2025-01-09 13:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:42:03] Production.INFO: ==32508== Releasing lock...
[2025-01-09 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:42:03] Production.INFO: Total Charge 0
[2025-01-09 13:42:03] Production.INFO: CreateAllLog End
[2025-01-09 13:42:04] Production.INFO: Account Balance End.
[2025-01-09 13:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:42:04] Production.INFO: ==32504== Releasing lock...
[2025-01-09 13:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:42:04
[end_date_ymd] => 2025-01-09 13:42:04
[RateCDR] => 1
)
[2025-01-09 13:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:42:04' and `end` < '2025-01-09 13:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:42:10] Production.ERROR: CronJobId end10
[2025-01-09 13:42:10] Production.INFO: ==32502== Releasing lock...
[2025-01-09 13:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:42:12] Production.INFO: call_cost start
[2025-01-09 13:42:12] Production.INFO: call_cost end
[2025-01-09 13:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:42:13] Production.INFO: ==32498== Releasing lock...
[2025-01-09 13:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:42:18] Production.INFO: count ==4710
[2025-01-09 13:42:20] Production.ERROR: pbx CDR StartTime 2025-01-09 10:42:04 - End Time 2025-01-09 13:42:04
[2025-01-09 13:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209955', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209955', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209955', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209955', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:42:20] Production.INFO: ProcessCDR(1,14209955,1,1,2)
[2025-01-09 13:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209955', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209955', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:42:23] Production.INFO: ==32506== Releasing lock...
[2025-01-09 13:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:42:23] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:43:01] Production.INFO: ==32564== Lock acquired, processing the job...
[2025-01-09 18:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:43:01] Production.INFO: neon service started
[2025-01-09 18:43:01] Production.INFO: neon service started
[2025-01-09 18:43:01] Production.INFO: ==32564== Releasing lock...
[2025-01-09 18:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:43:02] Production.INFO: ==32566== Lock acquired, processing the job...
[2025-01-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:43:02] Production.INFO: ==32568== Lock acquired, processing the job...
[2025-01-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:43:02] Production.INFO: ==32566== Releasing lock...
[2025-01-09 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:43:02] Production.INFO: ==32568== Releasing lock...
[2025-01-09 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:43:03] Production.INFO: ==32570== Lock acquired, processing the job...
[2025-01-09 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:43:03] Production.INFO: ==32579== Lock acquired, processing the job...
[2025-01-09 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:43:03] Production.INFO: ==32572== Lock acquired, processing the job...
[2025-01-09 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:43:03] Production.INFO: ==32574== Lock acquired, processing the job...
[2025-01-09 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:43:03] Production.INFO: ==32581== Lock acquired, processing the job...
[2025-01-09 13:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:43:03] Production.INFO: ==32576== Lock acquired, processing the job...
[2025-01-09 13:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:43:03] Production.INFO: Account Balance Start.
[2025-01-09 13:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:43:03] Production.INFO: 117
[2025-01-09 13:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:43:03] Production.INFO: count ==21
[2025-01-09 13:43:03] Production.ERROR: done
[2025-01-09 13:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:43:03] Production.INFO: count ==21
[2025-01-09 13:43:03] Production.INFO: Total Charge 0
[2025-01-09 13:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209957') start
[2025-01-09 13:43:03] Production.INFO: CreateAllLog End
[2025-01-09 13:43:04] Production.INFO: ==32572== Releasing lock...
[2025-01-09 13:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:43:04] Production.ERROR: done
[2025-01-09 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209957') end
[2025-01-09 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:43:04] Production.INFO: 1
[2025-01-09 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:43:04] Production.INFO: ==32581== Releasing lock...
[2025-01-09 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:43:04] Production.INFO: Account Balance End.
[2025-01-09 13:43:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:43:04] Production.INFO: ==32576== Releasing lock...
[2025-01-09 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:43:04
[end_date_ymd] => 2025-01-09 13:43:04
[RateCDR] => 1
)
[2025-01-09 13:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:43:04' and `end` < '2025-01-09 13:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:43:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,11))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 13:43:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:43:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:43:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:43:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:43:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:43:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:43:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:43:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:43:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:43:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:43:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:43:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:43:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:43:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:43:11] Production.ERROR: CronJobId end10
[2025-01-09 13:43:11] Production.INFO: ==32574== Releasing lock...
[2025-01-09 13:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:43:11] Production.INFO: call_cost start
[2025-01-09 13:43:11] Production.INFO: call_cost end
[2025-01-09 13:43:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:43:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:43:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:43:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:43:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:43:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:43:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:43:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:43:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:43:11] Production.INFO: ==32570== Releasing lock...
[2025-01-09 13:43:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:43:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:43:28] Production.INFO: count ==4695
[2025-01-09 13:43:30] Production.ERROR: pbx CDR StartTime 2025-01-09 10:43:04 - End Time 2025-01-09 13:43:04
[2025-01-09 13:43:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209960', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209960', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209960', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:43:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209960', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:43:30] Production.INFO: ProcessCDR(1,14209960,1,1,2)
[2025-01-09 13:43:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:43:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209960,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:43:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:43:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209960,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:43:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209960', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:43:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209960', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:43:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:43:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:43:34] Production.INFO: ==32579== Releasing lock...
[2025-01-09 13:43:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:43:34] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:44:02] Production.INFO: ==32634== Lock acquired, processing the job...
[2025-01-09 18:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:44:02] Production.INFO: neon service started
[2025-01-09 18:44:02] Production.INFO: neon service started
[2025-01-09 18:44:02] Production.INFO: ==32634== Releasing lock...
[2025-01-09 18:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:44:02] Production.INFO: ==32637== Lock acquired, processing the job...
[2025-01-09 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:44:03] Production.INFO: ==32637== Releasing lock...
[2025-01-09 13:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:44:03] Production.INFO: ==32639== Lock acquired, processing the job...
[2025-01-09 18:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:44:03] Production.INFO: ==32639== Releasing lock...
[2025-01-09 18:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:44:04] Production.INFO: ==32645== Lock acquired, processing the job...
[2025-01-09 13:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:44:04] Production.INFO: ==32651== Lock acquired, processing the job...
[2025-01-09 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:44:04] Production.INFO: ==32643== Lock acquired, processing the job...
[2025-01-09 13:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:44:04] Production.INFO: ==32641== Lock acquired, processing the job...
[2025-01-09 13:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:44:04] Production.INFO: ==32647== Lock acquired, processing the job...
[2025-01-09 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:44:04] Production.INFO: count ==21
[2025-01-09 13:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:44:04] Production.INFO: count ==21
[2025-01-09 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209961') start
[2025-01-09 13:44:04] Production.INFO: ==32649== Lock acquired, processing the job...
[2025-01-09 13:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:44:04] Production.INFO: Account Balance Start.
[2025-01-09 13:44:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:44:04] Production.INFO: 117
[2025-01-09 13:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209961') end
[2025-01-09 13:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:44:04] Production.INFO: 1
[2025-01-09 13:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:44:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:44:04] Production.INFO: Total Charge 0
[2025-01-09 13:44:04] Production.INFO: CreateAllLog End
[2025-01-09 13:44:04] Production.INFO: ==32651== Releasing lock...
[2025-01-09 13:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:44:05] Production.INFO: ==32643== Releasing lock...
[2025-01-09 13:44:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:44:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:44:05] Production.ERROR: done
[2025-01-09 13:44:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:44:05] Production.INFO: Account Balance End.
[2025-01-09 13:44:05] Production.ERROR: CronJobId end 12
[2025-01-09 13:44:05] Production.INFO: ==32647== Releasing lock...
[2025-01-09 13:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:44:05] Production.ERROR: done
[2025-01-09 13:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:44:06
[end_date_ymd] => 2025-01-09 13:44:06
[RateCDR] => 1
)
[2025-01-09 13:44:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:44:06' and `end` < '2025-01-09 13:44:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:44:12] Production.ERROR: CronJobId end10
[2025-01-09 13:44:12] Production.INFO: ==32645== Releasing lock...
[2025-01-09 13:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:44:14] Production.INFO: call_cost start
[2025-01-09 13:44:14] Production.INFO: call_cost end
[2025-01-09 13:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:44:15] Production.INFO: ==32641== Releasing lock...
[2025-01-09 13:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:44:27] Production.INFO: count ==4703
[2025-01-09 13:44:29] Production.ERROR: pbx CDR StartTime 2025-01-09 10:44:06 - End Time 2025-01-09 13:44:06
[2025-01-09 13:44:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:44:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209965', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:44:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209965', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:44:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209965', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:44:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209965', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:44:29] Production.INFO: ProcessCDR(1,14209965,1,1,2)
[2025-01-09 13:44:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:44:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:44:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:44:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:44:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209965', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:44:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209965', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:44:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:44:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:44:35] Production.INFO: ==32649== Releasing lock...
[2025-01-09 13:44:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:44:35] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:45:01] Production.INFO: ==32707== Lock acquired, processing the job...
[2025-01-09 18:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:45:01] Production.INFO: neon service started
[2025-01-09 18:45:01] Production.INFO: neon service started
[2025-01-09 18:45:01] Production.INFO: ==32707== Releasing lock...
[2025-01-09 18:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:45:02] Production.INFO: ==32709== Lock acquired, processing the job...
[2025-01-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:45:02] Production.INFO: ==32711== Lock acquired, processing the job...
[2025-01-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:45:02] Production.INFO: ==32711== Releasing lock...
[2025-01-09 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:45:02] Production.INFO: ==32709== Releasing lock...
[2025-01-09 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:45:03] Production.INFO: ==32718== Lock acquired, processing the job...
[2025-01-09 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:45:03] Production.INFO: ==32713== Lock acquired, processing the job...
[2025-01-09 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:45:03] Production.INFO: ==32724== Lock acquired, processing the job...
[2025-01-09 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:45:03] Production.INFO: ==32715== Lock acquired, processing the job...
[2025-01-09 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:45:03] Production.INFO: ==32720== Lock acquired, processing the job...
[2025-01-09 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:45:03] Production.INFO: ==32722== Lock acquired, processing the job...
[2025-01-09 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:45:03] Production.INFO: count ==21
[2025-01-09 13:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:45:04] Production.INFO: count ==21
[2025-01-09 13:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209967') start
[2025-01-09 13:45:04] Production.INFO: Account Balance Start.
[2025-01-09 13:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:45:04] Production.INFO: 117
[2025-01-09 13:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209967') end
[2025-01-09 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:45:04] Production.INFO: 1
[2025-01-09 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:45:04] Production.INFO: Total Charge 0
[2025-01-09 13:45:04] Production.INFO: CreateAllLog End
[2025-01-09 13:45:04] Production.INFO: ==32724== Releasing lock...
[2025-01-09 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:45:04] Production.INFO: ==32715== Releasing lock...
[2025-01-09 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:45:04] Production.ERROR: done
[2025-01-09 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:45:04] Production.ERROR: done
[2025-01-09 13:45:04] Production.INFO: Account Balance End.
[2025-01-09 13:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:45:04] Production.INFO: ==32720== Releasing lock...
[2025-01-09 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:45:05
[end_date_ymd] => 2025-01-09 13:45:05
[RateCDR] => 1
)
[2025-01-09 13:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:45:05' and `end` < '2025-01-09 13:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:45:11] Production.ERROR: CronJobId end10
[2025-01-09 13:45:11] Production.INFO: ==32718== Releasing lock...
[2025-01-09 13:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:45:13] Production.INFO: call_cost start
[2025-01-09 13:45:13] Production.INFO: call_cost end
[2025-01-09 13:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:45:14] Production.INFO: ==32713== Releasing lock...
[2025-01-09 13:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:45:25] Production.INFO: count ==4696
[2025-01-09 13:45:27] Production.ERROR: pbx CDR StartTime 2025-01-09 10:45:05 - End Time 2025-01-09 13:45:05
[2025-01-09 13:45:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209970', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209970', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209970', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:45:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209970', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:45:27] Production.INFO: ProcessCDR(1,14209970,1,1,2)
[2025-01-09 13:45:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:45:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:45:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:45:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:45:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209970', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:45:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209970', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:45:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:45:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:45:32] Production.INFO: ==32722== Releasing lock...
[2025-01-09 13:45:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:45:32] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:46:02] Production.INFO: ==319== Lock acquired, processing the job...
[2025-01-09 18:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:46:02] Production.INFO: neon service started
[2025-01-09 18:46:02] Production.INFO: neon service started
[2025-01-09 18:46:02] Production.INFO: ==319== Releasing lock...
[2025-01-09 18:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:46:02] Production.INFO: ==323== Lock acquired, processing the job...
[2025-01-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:46:02] Production.INFO: ==323== Releasing lock...
[2025-01-09 18:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:46:02] Production.INFO: ==321== Lock acquired, processing the job...
[2025-01-09 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:46:03] Production.INFO: ==321== Releasing lock...
[2025-01-09 13:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:46:03] Production.INFO: ==327== Lock acquired, processing the job...
[2025-01-09 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:46:03] Production.INFO: ==325== Lock acquired, processing the job...
[2025-01-09 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:46:03] Production.INFO: ==334== Lock acquired, processing the job...
[2025-01-09 13:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:46:04] Production.INFO: ==329== Lock acquired, processing the job...
[2025-01-09 13:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:46:04] Production.INFO: ==331== Lock acquired, processing the job...
[2025-01-09 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:46:04] Production.INFO: ==327== Releasing lock...
[2025-01-09 13:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:46:04] Production.INFO: ==336== Lock acquired, processing the job...
[2025-01-09 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:46:04] Production.INFO: Account Balance Start.
[2025-01-09 13:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 13:46:04] Production.INFO: 117
[2025-01-09 13:46:04] Production.ERROR: done
[2025-01-09 13:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 13:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:46:04] Production.INFO: Total Charge 0
[2025-01-09 13:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:46:04] Production.INFO: CreateAllLog End
[2025-01-09 13:46:04] Production.INFO: count ==21
[2025-01-09 13:46:04] Production.ERROR: done
[2025-01-09 13:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:46:04] Production.INFO: count ==21
[2025-01-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209974') start
[2025-01-09 13:46:04] Production.INFO: Account Balance End.
[2025-01-09 13:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209974') end
[2025-01-09 13:46:04] Production.INFO: ==331== Releasing lock...
[2025-01-09 13:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:46:04] Production.INFO: 1
[2025-01-09 13:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:46:04] Production.INFO: ==336== Releasing lock...
[2025-01-09 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:46:05
[end_date_ymd] => 2025-01-09 13:46:05
[RateCDR] => 1
)
[2025-01-09 13:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:46:05' and `end` < '2025-01-09 13:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:46:11] Production.ERROR: CronJobId end10
[2025-01-09 13:46:11] Production.INFO: ==329== Releasing lock...
[2025-01-09 13:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:46:14] Production.INFO: call_cost start
[2025-01-09 13:46:14] Production.INFO: call_cost end
[2025-01-09 13:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:46:15] Production.INFO: ==325== Releasing lock...
[2025-01-09 13:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:46:30] Production.INFO: count ==4714
[2025-01-09 13:46:32] Production.ERROR: pbx CDR StartTime 2025-01-09 10:46:05 - End Time 2025-01-09 13:46:05
[2025-01-09 13:46:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:46:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209975', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:46:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209975', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:46:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209975', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:46:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209975', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:46:32] Production.INFO: ProcessCDR(1,14209975,1,1,2)
[2025-01-09 13:46:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:46:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:46:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:46:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:46:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209975', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:46:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209975', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:46:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:46:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:46:37] Production.INFO: ==334== Releasing lock...
[2025-01-09 13:46:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:46:37] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:47:01] Production.INFO: ==402== Lock acquired, processing the job...
[2025-01-09 18:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:47:01] Production.INFO: neon service started
[2025-01-09 18:47:01] Production.INFO: neon service started
[2025-01-09 18:47:01] Production.INFO: ==402== Releasing lock...
[2025-01-09 18:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:47:02] Production.INFO: ==406== Lock acquired, processing the job...
[2025-01-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:47:02] Production.INFO: ==406== Releasing lock...
[2025-01-09 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:47:02] Production.INFO: ==404== Lock acquired, processing the job...
[2025-01-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:47:02] Production.INFO: ==404== Releasing lock...
[2025-01-09 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:47:03] Production.INFO: ==408== Lock acquired, processing the job...
[2025-01-09 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:47:03] Production.INFO: ==412== Lock acquired, processing the job...
[2025-01-09 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:47:03] Production.INFO: ==416== Lock acquired, processing the job...
[2025-01-09 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:47:03] Production.INFO: ==410== Lock acquired, processing the job...
[2025-01-09 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:47:03] Production.INFO: ==414== Lock acquired, processing the job...
[2025-01-09 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:47:03] Production.INFO: ==418== Lock acquired, processing the job...
[2025-01-09 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:47:03] Production.ERROR: done
[2025-01-09 13:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:47:03] Production.INFO: Account Balance Start.
[2025-01-09 13:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:47:03] Production.INFO: 117
[2025-01-09 13:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:47:03] Production.INFO: count ==21
[2025-01-09 13:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:47:03] Production.INFO: count ==21
[2025-01-09 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209979') start
[2025-01-09 13:47:03] Production.ERROR: done
[2025-01-09 13:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:47:03] Production.INFO: ==410== Releasing lock...
[2025-01-09 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:47:03] Production.INFO: Total Charge 0
[2025-01-09 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209979') end
[2025-01-09 13:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:47:03] Production.INFO: 1
[2025-01-09 13:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:47:03] Production.INFO: CreateAllLog End
[2025-01-09 13:47:03] Production.INFO: ==418== Releasing lock...
[2025-01-09 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:47:04] Production.INFO: Account Balance End.
[2025-01-09 13:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:47:04] Production.INFO: ==414== Releasing lock...
[2025-01-09 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:47:04
[end_date_ymd] => 2025-01-09 13:47:04
[RateCDR] => 1
)
[2025-01-09 13:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:47:04' and `end` < '2025-01-09 13:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:47:10] Production.ERROR: CronJobId end10
[2025-01-09 13:47:10] Production.INFO: ==412== Releasing lock...
[2025-01-09 13:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:47:13] Production.INFO: call_cost start
[2025-01-09 13:47:13] Production.INFO: call_cost end
[2025-01-09 13:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:47:13] Production.INFO: ==408== Releasing lock...
[2025-01-09 13:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:47:26] Production.INFO: count ==4710
[2025-01-09 13:47:28] Production.ERROR: pbx CDR StartTime 2025-01-09 10:47:04 - End Time 2025-01-09 13:47:04
[2025-01-09 13:47:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209980', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209980', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209980', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:47:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209980', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:47:28] Production.INFO: ProcessCDR(1,14209980,1,1,2)
[2025-01-09 13:47:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:47:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:47:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:47:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209980', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:47:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209980', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:47:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:47:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:47:33] Production.INFO: ==416== Releasing lock...
[2025-01-09 13:47:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:47:33] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:48:02] Production.INFO: ==480== Lock acquired, processing the job...
[2025-01-09 18:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:48:02] Production.INFO: neon service started
[2025-01-09 18:48:02] Production.INFO: neon service started
[2025-01-09 18:48:02] Production.INFO: ==480== Releasing lock...
[2025-01-09 18:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:48:02] Production.INFO: ==482== Lock acquired, processing the job...
[2025-01-09 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:48:02] Production.INFO: ==484== Lock acquired, processing the job...
[2025-01-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:48:02] Production.INFO: ==484== Releasing lock...
[2025-01-09 18:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:48:03] Production.INFO: ==482== Releasing lock...
[2025-01-09 13:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:48:03] Production.INFO: ==487== Lock acquired, processing the job...
[2025-01-09 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:48:03] Production.INFO: ==494== Lock acquired, processing the job...
[2025-01-09 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:48:03] Production.INFO: ==496== Lock acquired, processing the job...
[2025-01-09 13:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:48:03] Production.INFO: Account Balance Start.
[2025-01-09 13:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:48:03] Production.INFO: 117
[2025-01-09 13:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:48:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:48:04] Production.INFO: Total Charge 0
[2025-01-09 13:48:04] Production.INFO: ==489== Lock acquired, processing the job...
[2025-01-09 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:48:04] Production.INFO: CreateAllLog End
[2025-01-09 13:48:04] Production.INFO: ==491== Lock acquired, processing the job...
[2025-01-09 13:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:48:04] Production.INFO: ==498== Lock acquired, processing the job...
[2025-01-09 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:48:04] Production.ERROR: done
[2025-01-09 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:48:04] Production.INFO: count ==21
[2025-01-09 13:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:48:04] Production.INFO: Account Balance End.
[2025-01-09 13:48:04] Production.INFO: count ==21
[2025-01-09 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209984') start
[2025-01-09 13:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:48:04] Production.INFO: ==494== Releasing lock...
[2025-01-09 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209984') end
[2025-01-09 13:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:48:04] Production.INFO: 1
[2025-01-09 13:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:48:04] Production.INFO: ==489== Releasing lock...
[2025-01-09 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:48:04] Production.ERROR: done
[2025-01-09 13:48:04] Production.INFO: ==498== Releasing lock...
[2025-01-09 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:48:05
[end_date_ymd] => 2025-01-09 13:48:05
[RateCDR] => 1
)
[2025-01-09 13:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:48:05' and `end` < '2025-01-09 13:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:48:11] Production.ERROR: CronJobId end10
[2025-01-09 13:48:11] Production.INFO: ==491== Releasing lock...
[2025-01-09 13:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:48:13] Production.INFO: call_cost start
[2025-01-09 13:48:13] Production.INFO: call_cost end
[2025-01-09 13:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:48:13] Production.INFO: ==487== Releasing lock...
[2025-01-09 13:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:48:23] Production.INFO: count ==4717
[2025-01-09 13:48:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:48:05 - End Time 2025-01-09 13:48:05
[2025-01-09 13:48:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209985', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209985', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209985', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209985', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:48:25] Production.INFO: ProcessCDR(1,14209985,1,1,2)
[2025-01-09 13:48:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:48:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209985,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:48:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:48:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209985,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209985', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209985', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:48:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:48:30] Production.INFO: ==496== Releasing lock...
[2025-01-09 13:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:48:30] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:49:01] Production.INFO: ==553== Lock acquired, processing the job...
[2025-01-09 18:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:49:01] Production.INFO: neon service started
[2025-01-09 18:49:01] Production.INFO: neon service started
[2025-01-09 18:49:01] Production.INFO: ==553== Releasing lock...
[2025-01-09 18:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:49:01] Production.INFO: ==555== Lock acquired, processing the job...
[2025-01-09 13:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:49:02] Production.INFO: ==555== Releasing lock...
[2025-01-09 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:49:02] Production.INFO: ==557== Lock acquired, processing the job...
[2025-01-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:49:02] Production.INFO: ==557== Releasing lock...
[2025-01-09 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:49:03] Production.INFO: ==563== Lock acquired, processing the job...
[2025-01-09 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:49:03] Production.INFO: ==559== Lock acquired, processing the job...
[2025-01-09 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:49:03] Production.INFO: ==565== Lock acquired, processing the job...
[2025-01-09 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:49:03] Production.INFO: ==561== Lock acquired, processing the job...
[2025-01-09 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:49:03] Production.INFO: Account Balance Start.
[2025-01-09 13:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:49:03] Production.INFO: 117
[2025-01-09 13:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:49:03] Production.INFO: ==568== Lock acquired, processing the job...
[2025-01-09 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:49:03] Production.INFO: Total Charge 0
[2025-01-09 13:49:03] Production.INFO: ==570== Lock acquired, processing the job...
[2025-01-09 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:49:03] Production.INFO: CreateAllLog End
[2025-01-09 13:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:49:03] Production.INFO: count ==21
[2025-01-09 13:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:49:03] Production.INFO: ==561== Releasing lock...
[2025-01-09 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:49:03] Production.INFO: count ==21
[2025-01-09 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209989') start
[2025-01-09 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209989') end
[2025-01-09 13:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:49:03] Production.INFO: 1
[2025-01-09 13:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:49:03] Production.INFO: Account Balance End.
[2025-01-09 13:49:03] Production.INFO: ==570== Releasing lock...
[2025-01-09 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:49:03] Production.INFO: ==565== Releasing lock...
[2025-01-09 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:49:03] Production.ERROR: done
[2025-01-09 13:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:49:04] Production.ERROR: done
[2025-01-09 13:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:49:05
[end_date_ymd] => 2025-01-09 13:49:05
[RateCDR] => 1
)
[2025-01-09 13:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:49:05' and `end` < '2025-01-09 13:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:49:11] Production.ERROR: CronJobId end10
[2025-01-09 13:49:11] Production.INFO: ==563== Releasing lock...
[2025-01-09 13:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:49:12] Production.INFO: call_cost start
[2025-01-09 13:49:12] Production.INFO: call_cost end
[2025-01-09 13:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:49:13] Production.INFO: ==559== Releasing lock...
[2025-01-09 13:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:49:24] Production.INFO: count ==4707
[2025-01-09 13:49:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:49:05 - End Time 2025-01-09 13:49:05
[2025-01-09 13:49:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209990', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209990', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209990', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209990', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:49:26] Production.INFO: ProcessCDR(1,14209990,1,1,2)
[2025-01-09 13:49:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:49:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209990,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:49:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:49:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209990,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209990', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:49:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209990', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:49:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:49:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:49:30] Production.INFO: ==568== Releasing lock...
[2025-01-09 13:49:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:49:30] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:50:01] Production.INFO: ==644== Lock acquired, processing the job...
[2025-01-09 18:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:50:01] Production.INFO: neon service started
[2025-01-09 18:50:01] Production.INFO: neon service started
[2025-01-09 18:50:01] Production.INFO: ==644== Releasing lock...
[2025-01-09 18:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:50:02] Production.INFO: ==646== Lock acquired, processing the job...
[2025-01-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:50:02] Production.INFO: ==646== Releasing lock...
[2025-01-09 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:50:02] Production.INFO: ==648== Lock acquired, processing the job...
[2025-01-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:50:02] Production.INFO: ==648== Releasing lock...
[2025-01-09 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:50:03] Production.INFO: ==655== Lock acquired, processing the job...
[2025-01-09 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:50:03] Production.INFO: ==664== Lock acquired, processing the job...
[2025-01-09 13:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:50:03] Production.INFO: Account Balance Start.
[2025-01-09 13:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:50:03] Production.INFO: 117
[2025-01-09 13:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:50:03] Production.INFO: Total Charge 0
[2025-01-09 13:50:03] Production.INFO: CreateAllLog End
[2025-01-09 13:50:03] Production.INFO: ==655== Releasing lock...
[2025-01-09 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:50:03] Production.INFO: Account Balance End.
[2025-01-09 13:50:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:50:03] Production.INFO: ==664== Releasing lock...
[2025-01-09 13:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:50:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:50:03] Production.INFO: ==651== Lock acquired, processing the job...
[2025-01-09 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 13:50:03] Production.INFO: ==653== Lock acquired, processing the job...
[2025-01-09 13:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:50:03] Production.INFO: ==673== Lock acquired, processing the job...
[2025-01-09 13:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 13:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:50:04] Production.ERROR: CronJob PID - 653
[2025-01-09 13:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 13:50:04] Production.ERROR: CronJob ID - 5
[2025-01-09 13:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:50:00
[2025-01-09 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 13:50:04] Production.ERROR: CronJob PID - 673
[2025-01-09 13:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 13:50:04] Production.ERROR: CronJob ID - 17
[2025-01-09 13:50:04] Production.ERROR: CronJob Last Run Time 2025-01-09 13:50:00
[2025-01-09 13:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 13:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 13:50:04] Production.INFO: ==662== Lock acquired, processing the job...
[2025-01-09 13:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 13:50:04] Production.INFO: ==651== Releasing lock...
[2025-01-09 13:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 13:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 13:50:04] Production.INFO: ==668== Lock acquired, processing the job...
[2025-01-09 13:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:50:04] Production.INFO: ==676== Lock acquired, processing the job...
[2025-01-09 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:50:04] Production.INFO: count ==21
[2025-01-09 13:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:50:04] Production.INFO: count ==21
[2025-01-09 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209994') start
[2025-01-09 13:50:04] Production.ERROR: done
[2025-01-09 13:50:04] Production.ERROR: done
[2025-01-09 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209995', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14209994') end
[2025-01-09 13:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:50:04] Production.INFO: 1
[2025-01-09 13:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:50:04] Production.INFO: ==676== Releasing lock...
[2025-01-09 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:50:04] Production.ERROR: done
[2025-01-09 13:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:50:05
[end_date_ymd] => 2025-01-09 13:50:05
[RateCDR] => 1
)
[2025-01-09 13:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:50:05' and `end` < '2025-01-09 13:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14209995', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 13:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 13:50:08] Production.INFO: ProcessCDR(1,14209995,1,1,2)
[2025-01-09 13:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14209995,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14209995,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:50:08] Production.INFO: ==673== Releasing lock...
[2025-01-09 13:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 13:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 13:50:12] Production.ERROR: CronJobId end10
[2025-01-09 13:50:12] Production.INFO: ==662== Releasing lock...
[2025-01-09 13:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:50:14] Production.INFO: call_cost start
[2025-01-09 13:50:14] Production.INFO: call_cost end
[2025-01-09 13:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:50:15] Production.INFO: ==653== Releasing lock...
[2025-01-09 13:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:50:26] Production.INFO: count ==4715
[2025-01-09 13:50:28] Production.ERROR: pbx CDR StartTime 2025-01-09 10:50:05 - End Time 2025-01-09 13:50:05
[2025-01-09 13:50:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209996', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14209996', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209996', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14209996', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:50:28] Production.INFO: ProcessCDR(1,14209996,1,1,2)
[2025-01-09 13:50:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14209996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:50:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14209996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:50:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14209996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:50:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14209996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209996', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14209996', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:50:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:50:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:50:33] Production.INFO: ==668== Releasing lock...
[2025-01-09 13:50:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:50:33] Production.INFO: 63.25 MB #Memory Used#
[2025-01-09 18:51:01] Production.INFO: ==785== Lock acquired, processing the job...
[2025-01-09 18:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:51:01] Production.INFO: neon service started
[2025-01-09 18:51:01] Production.INFO: neon service started
[2025-01-09 18:51:01] Production.INFO: ==785== Releasing lock...
[2025-01-09 18:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:51:01] Production.INFO: ==787== Lock acquired, processing the job...
[2025-01-09 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:51:01] Production.INFO: ==787== Releasing lock...
[2025-01-09 13:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:51:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:51:02] Production.INFO: ==789== Lock acquired, processing the job...
[2025-01-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:51:02] Production.INFO: ==789== Releasing lock...
[2025-01-09 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:51:02] Production.INFO: ==791== Lock acquired, processing the job...
[2025-01-09 13:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:51:02] Production.INFO: ==795== Lock acquired, processing the job...
[2025-01-09 13:51:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:51:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:51:02] Production.INFO: ==799== Lock acquired, processing the job...
[2025-01-09 13:51:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:51:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:51:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:51:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:51:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:51:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:51:02] Production.INFO: ==801== Lock acquired, processing the job...
[2025-01-09 13:51:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:51:03] Production.INFO: ==793== Lock acquired, processing the job...
[2025-01-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:51:03] Production.INFO: ==797== Lock acquired, processing the job...
[2025-01-09 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:51:03] Production.INFO: count ==21
[2025-01-09 13:51:03] Production.ERROR: done
[2025-01-09 13:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:51:03] Production.INFO: Account Balance Start.
[2025-01-09 13:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:51:03] Production.INFO: 117
[2025-01-09 13:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:51:03] Production.INFO: Total Charge 0
[2025-01-09 13:51:03] Production.INFO: CreateAllLog End
[2025-01-09 13:51:03] Production.ERROR: done
[2025-01-09 13:51:03] Production.INFO: ==793== Releasing lock...
[2025-01-09 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:51:03] Production.INFO: count ==21
[2025-01-09 13:51:03] Production.INFO: Account Balance End.
[2025-01-09 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209998') start
[2025-01-09 13:51:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:51:03] Production.INFO: ==797== Releasing lock...
[2025-01-09 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14209998') end
[2025-01-09 13:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:51:03] Production.INFO: 1
[2025-01-09 13:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:51:03] Production.INFO: ==801== Releasing lock...
[2025-01-09 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:51:04
[end_date_ymd] => 2025-01-09 13:51:04
[RateCDR] => 1
)
[2025-01-09 13:51:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:51:04' and `end` < '2025-01-09 13:51:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:51:10] Production.ERROR: CronJobId end10
[2025-01-09 13:51:10] Production.INFO: ==795== Releasing lock...
[2025-01-09 13:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:51:12] Production.INFO: call_cost start
[2025-01-09 13:51:12] Production.INFO: call_cost end
[2025-01-09 13:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:51:13] Production.INFO: ==791== Releasing lock...
[2025-01-09 13:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:51:32] Production.INFO: count ==4742
[2025-01-09 13:51:34] Production.ERROR: pbx CDR StartTime 2025-01-09 10:51:04 - End Time 2025-01-09 13:51:04
[2025-01-09 13:51:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210001', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210001', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210001', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210001', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:51:34] Production.INFO: ProcessCDR(1,14210001,1,1,2)
[2025-01-09 13:51:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:51:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:51:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:51:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:51:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210001', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:51:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210001', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:51:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:51:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:51:39] Production.INFO: ==799== Releasing lock...
[2025-01-09 13:51:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:51:39] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:52:01] Production.INFO: ==857== Lock acquired, processing the job...
[2025-01-09 18:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:52:01] Production.INFO: neon service started
[2025-01-09 18:52:01] Production.INFO: neon service started
[2025-01-09 18:52:01] Production.INFO: ==857== Releasing lock...
[2025-01-09 18:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:52:02] Production.INFO: ==859== Lock acquired, processing the job...
[2025-01-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:52:02] Production.INFO: ==862== Lock acquired, processing the job...
[2025-01-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:52:02] Production.INFO: ==862== Releasing lock...
[2025-01-09 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:52:02] Production.INFO: ==859== Releasing lock...
[2025-01-09 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:52:03] Production.INFO: ==864== Lock acquired, processing the job...
[2025-01-09 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:52:03] Production.INFO: ==866== Lock acquired, processing the job...
[2025-01-09 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:52:03] Production.INFO: ==874== Lock acquired, processing the job...
[2025-01-09 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:52:03] Production.INFO: ==868== Lock acquired, processing the job...
[2025-01-09 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:52:03] Production.INFO: ==870== Lock acquired, processing the job...
[2025-01-09 13:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:52:03] Production.INFO: ==872== Lock acquired, processing the job...
[2025-01-09 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:52:03] Production.INFO: count ==21
[2025-01-09 13:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:52:03] Production.INFO: count ==21
[2025-01-09 13:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210004') start
[2025-01-09 13:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:52:03] Production.INFO: Account Balance Start.
[2025-01-09 13:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:52:03] Production.INFO: 117
[2025-01-09 13:52:03] Production.INFO: ==866== Releasing lock...
[2025-01-09 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210004') end
[2025-01-09 13:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:52:03] Production.INFO: 1
[2025-01-09 13:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:52:03] Production.INFO: ==874== Releasing lock...
[2025-01-09 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:52:03] Production.INFO: Total Charge 0
[2025-01-09 13:52:04] Production.INFO: CreateAllLog End
[2025-01-09 13:52:04] Production.ERROR: done
[2025-01-09 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:52:04] Production.INFO: Account Balance End.
[2025-01-09 13:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:52:04] Production.INFO: ==870== Releasing lock...
[2025-01-09 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:52:04] Production.ERROR: done
[2025-01-09 13:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:52:05
[end_date_ymd] => 2025-01-09 13:52:05
[RateCDR] => 1
)
[2025-01-09 13:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:52:05' and `end` < '2025-01-09 13:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:52:11] Production.ERROR: CronJobId end10
[2025-01-09 13:52:11] Production.INFO: ==868== Releasing lock...
[2025-01-09 13:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:52:13] Production.INFO: call_cost start
[2025-01-09 13:52:13] Production.INFO: call_cost end
[2025-01-09 13:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:52:13] Production.INFO: ==864== Releasing lock...
[2025-01-09 13:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:52:30] Production.INFO: count ==4735
[2025-01-09 13:52:32] Production.ERROR: pbx CDR StartTime 2025-01-09 10:52:05 - End Time 2025-01-09 13:52:05
[2025-01-09 13:52:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210006', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210006', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210006', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:52:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210006', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:52:32] Production.INFO: ProcessCDR(1,14210006,1,1,2)
[2025-01-09 13:52:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:52:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210006,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:52:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:52:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210006,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:52:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210006', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:52:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210006', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:52:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:52:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:52:35] Production.INFO: ==872== Releasing lock...
[2025-01-09 13:52:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:52:35] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:53:02] Production.INFO: ==928== Lock acquired, processing the job...
[2025-01-09 18:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:53:02] Production.INFO: neon service started
[2025-01-09 18:53:02] Production.INFO: neon service started
[2025-01-09 18:53:02] Production.INFO: ==928== Releasing lock...
[2025-01-09 18:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:53:02] Production.INFO: ==930== Lock acquired, processing the job...
[2025-01-09 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:53:02] Production.INFO: ==932== Lock acquired, processing the job...
[2025-01-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:53:02] Production.INFO: ==932== Releasing lock...
[2025-01-09 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:53:03] Production.INFO: ==930== Releasing lock...
[2025-01-09 13:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:53:03] Production.INFO: ==941== Lock acquired, processing the job...
[2025-01-09 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:53:03] Production.INFO: ==945== Lock acquired, processing the job...
[2025-01-09 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:53:03] Production.INFO: Account Balance Start.
[2025-01-09 13:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:53:03] Production.INFO: 117
[2025-01-09 13:53:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:53:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:53:04] Production.INFO: Total Charge 0
[2025-01-09 13:53:04] Production.INFO: CreateAllLog End
[2025-01-09 13:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:53:04] Production.INFO: count ==21
[2025-01-09 13:53:04] Production.INFO: Account Balance End.
[2025-01-09 13:53:04] Production.INFO: ==935== Lock acquired, processing the job...
[2025-01-09 13:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:53:04] Production.INFO: count ==21
[2025-01-09 13:53:04] Production.INFO: ==937== Lock acquired, processing the job...
[2025-01-09 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:53:04] Production.INFO: ==939== Lock acquired, processing the job...
[2025-01-09 13:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:53:04] Production.INFO: ==943== Lock acquired, processing the job...
[2025-01-09 13:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:53:04] Production.INFO: ==941== Releasing lock...
[2025-01-09 13:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210008') start
[2025-01-09 13:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210008') end
[2025-01-09 13:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:53:04] Production.INFO: 1
[2025-01-09 13:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:53:04] Production.INFO: ==945== Releasing lock...
[2025-01-09 13:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:53:04] Production.INFO: ==937== Releasing lock...
[2025-01-09 13:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:53:04] Production.ERROR: done
[2025-01-09 13:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:53:04] Production.ERROR: done
[2025-01-09 13:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:53:05
[end_date_ymd] => 2025-01-09 13:53:05
[RateCDR] => 1
)
[2025-01-09 13:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:53:05' and `end` < '2025-01-09 13:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:53:11] Production.ERROR: CronJobId end10
[2025-01-09 13:53:11] Production.INFO: ==939== Releasing lock...
[2025-01-09 13:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:53:13] Production.INFO: call_cost start
[2025-01-09 13:53:13] Production.INFO: call_cost end
[2025-01-09 13:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:53:14] Production.INFO: ==935== Releasing lock...
[2025-01-09 13:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:53:24] Production.INFO: count ==4725
[2025-01-09 13:53:26] Production.ERROR: pbx CDR StartTime 2025-01-09 10:53:05 - End Time 2025-01-09 13:53:05
[2025-01-09 13:53:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210011', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210011', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210011', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:53:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210011', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:53:26] Production.INFO: ProcessCDR(1,14210011,1,1,2)
[2025-01-09 13:53:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:53:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210011,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:53:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:53:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210011,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:53:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210011', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:53:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210011', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:53:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:53:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:53:31] Production.INFO: ==943== Releasing lock...
[2025-01-09 13:53:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:53:31] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:54:01] Production.INFO: ==1001== Lock acquired, processing the job...
[2025-01-09 18:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:54:01] Production.INFO: neon service started
[2025-01-09 18:54:01] Production.INFO: neon service started
[2025-01-09 18:54:01] Production.INFO: ==1001== Releasing lock...
[2025-01-09 18:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:54:01] Production.INFO: ==1003== Lock acquired, processing the job...
[2025-01-09 13:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:54:02] Production.INFO: ==1003== Releasing lock...
[2025-01-09 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:54:02] Production.INFO: ==1005== Lock acquired, processing the job...
[2025-01-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:54:02] Production.INFO: ==1005== Releasing lock...
[2025-01-09 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:54:03] Production.INFO: ==1012== Lock acquired, processing the job...
[2025-01-09 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:54:03] Production.INFO: ==1018== Lock acquired, processing the job...
[2025-01-09 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:54:03] Production.INFO: ==1008== Lock acquired, processing the job...
[2025-01-09 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:54:03] Production.INFO: ==1010== Lock acquired, processing the job...
[2025-01-09 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:54:03] Production.INFO: count ==21
[2025-01-09 13:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:54:03] Production.INFO: count ==21
[2025-01-09 13:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210012') start
[2025-01-09 13:54:03] Production.INFO: ==1014== Lock acquired, processing the job...
[2025-01-09 13:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:54:03] Production.INFO: ==1016== Lock acquired, processing the job...
[2025-01-09 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:54:03] Production.INFO: Account Balance Start.
[2025-01-09 13:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:54:03] Production.INFO: 117
[2025-01-09 13:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210012') end
[2025-01-09 13:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:54:03] Production.INFO: 1
[2025-01-09 13:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:54:03] Production.INFO: Total Charge 0
[2025-01-09 13:54:03] Production.INFO: CreateAllLog End
[2025-01-09 13:54:03] Production.INFO: ==1018== Releasing lock...
[2025-01-09 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:54:03] Production.INFO: ==1010== Releasing lock...
[2025-01-09 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:54:03] Production.ERROR: done
[2025-01-09 13:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:54:03] Production.INFO: Account Balance End.
[2025-01-09 13:54:03] Production.ERROR: done
[2025-01-09 13:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:54:04] Production.INFO: ==1014== Releasing lock...
[2025-01-09 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:54:04
[end_date_ymd] => 2025-01-09 13:54:04
[RateCDR] => 1
)
[2025-01-09 13:54:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:54:04' and `end` < '2025-01-09 13:54:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:54:10] Production.ERROR: CronJobId end10
[2025-01-09 13:54:10] Production.INFO: ==1012== Releasing lock...
[2025-01-09 13:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:54:12] Production.INFO: call_cost start
[2025-01-09 13:54:12] Production.INFO: call_cost end
[2025-01-09 13:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:54:13] Production.INFO: ==1008== Releasing lock...
[2025-01-09 13:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:54:18] Production.INFO: count ==4732
[2025-01-09 13:54:20] Production.ERROR: pbx CDR StartTime 2025-01-09 10:54:04 - End Time 2025-01-09 13:54:04
[2025-01-09 13:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210016', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210016', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210016', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210016', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:54:20] Production.INFO: ProcessCDR(1,14210016,1,1,2)
[2025-01-09 13:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210016,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210016,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210016', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210016', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:54:25] Production.INFO: ==1016== Releasing lock...
[2025-01-09 13:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:54:25] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:55:01] Production.INFO: ==1070== Lock acquired, processing the job...
[2025-01-09 18:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:55:02] Production.INFO: neon service started
[2025-01-09 18:55:02] Production.INFO: neon service started
[2025-01-09 18:55:02] Production.INFO: ==1070== Releasing lock...
[2025-01-09 18:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:55:02] Production.INFO: ==1072== Lock acquired, processing the job...
[2025-01-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:55:02] Production.INFO: ==1072== Releasing lock...
[2025-01-09 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:55:02] Production.INFO: ==1075== Lock acquired, processing the job...
[2025-01-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:55:02] Production.INFO: ==1075== Releasing lock...
[2025-01-09 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:55:03] Production.INFO: ==1077== Lock acquired, processing the job...
[2025-01-09 13:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:55:03] Production.INFO: ==1081== Lock acquired, processing the job...
[2025-01-09 13:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:55:03] Production.INFO: ==1087== Lock acquired, processing the job...
[2025-01-09 13:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:55:03] Production.INFO: ==1079== Lock acquired, processing the job...
[2025-01-09 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:55:03] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-01-09 13:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:55:03] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-01-09 13:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:55:03] Production.INFO: count ==21
[2025-01-09 13:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:55:03] Production.INFO: count ==21
[2025-01-09 13:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210018') start
[2025-01-09 13:55:03] Production.INFO: Account Balance Start.
[2025-01-09 13:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:55:03] Production.INFO: 117
[2025-01-09 13:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210018') end
[2025-01-09 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:55:04] Production.INFO: 1
[2025-01-09 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:55:04] Production.INFO: ==1087== Releasing lock...
[2025-01-09 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:55:04] Production.ERROR: done
[2025-01-09 13:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:55:04] Production.INFO: ==1079== Releasing lock...
[2025-01-09 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:55:04] Production.INFO: Total Charge 0
[2025-01-09 13:55:04] Production.INFO: CreateAllLog End
[2025-01-09 13:55:04] Production.ERROR: done
[2025-01-09 13:55:04] Production.INFO: Account Balance End.
[2025-01-09 13:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:55:04] Production.INFO: ==1083== Releasing lock...
[2025-01-09 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:55:05
[end_date_ymd] => 2025-01-09 13:55:05
[RateCDR] => 1
)
[2025-01-09 13:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:55:05' and `end` < '2025-01-09 13:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:55:11] Production.ERROR: CronJobId end10
[2025-01-09 13:55:11] Production.INFO: ==1081== Releasing lock...
[2025-01-09 13:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:55:13] Production.INFO: call_cost start
[2025-01-09 13:55:13] Production.INFO: call_cost end
[2025-01-09 13:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:55:14] Production.INFO: ==1077== Releasing lock...
[2025-01-09 13:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:55:28] Production.INFO: count ==4741
[2025-01-09 13:55:30] Production.ERROR: pbx CDR StartTime 2025-01-09 10:55:05 - End Time 2025-01-09 13:55:05
[2025-01-09 13:55:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210021', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210021', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210021', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210021', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:55:30] Production.INFO: ProcessCDR(1,14210021,1,1,2)
[2025-01-09 13:55:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:55:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210021,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:55:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:55:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210021,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:55:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210021', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:55:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210021', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:55:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:55:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:55:35] Production.INFO: ==1085== Releasing lock...
[2025-01-09 13:55:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:55:35] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:56:01] Production.INFO: ==1144== Lock acquired, processing the job...
[2025-01-09 18:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:56:01] Production.INFO: neon service started
[2025-01-09 18:56:01] Production.INFO: neon service started
[2025-01-09 18:56:01] Production.INFO: ==1144== Releasing lock...
[2025-01-09 18:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:56:02] Production.INFO: ==1146== Lock acquired, processing the job...
[2025-01-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 18:56:02] Production.INFO: ==1148== Lock acquired, processing the job...
[2025-01-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 13:56:02] Production.INFO: ==1146== Releasing lock...
[2025-01-09 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:56:02] Production.INFO: ==1148== Releasing lock...
[2025-01-09 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:56:02] Production.INFO: ==1152== Lock acquired, processing the job...
[2025-01-09 13:56:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:56:02] Production.INFO: ==1154== Lock acquired, processing the job...
[2025-01-09 13:56:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:56:03] Production.INFO: ==1152== Releasing lock...
[2025-01-09 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:56:03] Production.INFO: ==1159== Lock acquired, processing the job...
[2025-01-09 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:56:03] Production.INFO: ==1150== Lock acquired, processing the job...
[2025-01-09 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:56:03] Production.INFO: ==1161== Lock acquired, processing the job...
[2025-01-09 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:56:03] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-01-09 13:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:56:03] Production.INFO: count ==21
[2025-01-09 13:56:03] Production.INFO: Account Balance Start.
[2025-01-09 13:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:56:03] Production.INFO: 117
[2025-01-09 13:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:56:03] Production.INFO: count ==21
[2025-01-09 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210023') start
[2025-01-09 13:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:56:03] Production.ERROR: done
[2025-01-09 13:56:03] Production.INFO: Total Charge 0
[2025-01-09 13:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:56:03] Production.INFO: CreateAllLog End
[2025-01-09 13:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210023') end
[2025-01-09 13:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:56:04] Production.INFO: 1
[2025-01-09 13:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:56:04] Production.INFO: ==1161== Releasing lock...
[2025-01-09 13:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:56:04] Production.ERROR: done
[2025-01-09 13:56:04] Production.INFO: Account Balance End.
[2025-01-09 13:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:56:04] Production.INFO: ==1156== Releasing lock...
[2025-01-09 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:56:05
[end_date_ymd] => 2025-01-09 13:56:05
[RateCDR] => 1
)
[2025-01-09 13:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:56:05' and `end` < '2025-01-09 13:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:56:11] Production.ERROR: CronJobId end10
[2025-01-09 13:56:11] Production.INFO: ==1154== Releasing lock...
[2025-01-09 13:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:56:13] Production.INFO: call_cost start
[2025-01-09 13:56:13] Production.INFO: call_cost end
[2025-01-09 13:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:56:13] Production.INFO: ==1150== Releasing lock...
[2025-01-09 13:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:56:32] Production.INFO: count ==4776
[2025-01-09 13:56:34] Production.ERROR: pbx CDR StartTime 2025-01-09 10:56:05 - End Time 2025-01-09 13:56:05
[2025-01-09 13:56:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210026', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210026', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210026', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:56:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210026', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:56:34] Production.INFO: ProcessCDR(1,14210026,1,1,2)
[2025-01-09 13:56:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:56:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210026,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:56:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:56:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210026,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:56:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210026', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:56:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210026', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:56:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:56:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:56:39] Production.INFO: ==1159== Releasing lock...
[2025-01-09 13:56:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:56:39] Production.INFO: 63.75 MB #Memory Used#
[2025-01-09 18:57:02] Production.INFO: ==1219== Lock acquired, processing the job...
[2025-01-09 18:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:57:02] Production.INFO: neon service started
[2025-01-09 18:57:02] Production.INFO: neon service started
[2025-01-09 18:57:02] Production.INFO: ==1219== Releasing lock...
[2025-01-09 18:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:57:02] Production.INFO: ==1221== Lock acquired, processing the job...
[2025-01-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:57:02] Production.INFO: ==1221== Releasing lock...
[2025-01-09 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:57:02] Production.INFO: ==1223== Lock acquired, processing the job...
[2025-01-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:57:02] Production.INFO: ==1223== Releasing lock...
[2025-01-09 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:57:03] Production.INFO: ==1227== Lock acquired, processing the job...
[2025-01-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:57:03] Production.INFO: ==1235== Lock acquired, processing the job...
[2025-01-09 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:57:03] Production.INFO: ==1225== Lock acquired, processing the job...
[2025-01-09 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:57:03] Production.INFO: ==1229== Lock acquired, processing the job...
[2025-01-09 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:57:03] Production.INFO: ==1227== Releasing lock...
[2025-01-09 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:57:03] Production.INFO: count ==21
[2025-01-09 13:57:03] Production.INFO: ==1231== Lock acquired, processing the job...
[2025-01-09 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:57:03] Production.INFO: count ==21
[2025-01-09 13:57:03] Production.INFO: ==1233== Lock acquired, processing the job...
[2025-01-09 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210028') start
[2025-01-09 13:57:03] Production.INFO: Account Balance Start.
[2025-01-09 13:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:57:03] Production.INFO: 117
[2025-01-09 13:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210028') end
[2025-01-09 13:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:57:03] Production.INFO: 1
[2025-01-09 13:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 13:57:04] Production.INFO: Total Charge 0
[2025-01-09 13:57:04] Production.INFO: CreateAllLog End
[2025-01-09 13:57:04] Production.INFO: ==1235== Releasing lock...
[2025-01-09 13:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:57:04] Production.INFO: Account Balance End.
[2025-01-09 13:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:57:04] Production.INFO: ==1231== Releasing lock...
[2025-01-09 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:57:04] Production.ERROR: done
[2025-01-09 13:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:57:04] Production.ERROR: done
[2025-01-09 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:57:05
[end_date_ymd] => 2025-01-09 13:57:05
[RateCDR] => 1
)
[2025-01-09 13:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:57:05' and `end` < '2025-01-09 13:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:57:11] Production.ERROR: CronJobId end10
[2025-01-09 13:57:11] Production.INFO: ==1229== Releasing lock...
[2025-01-09 13:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:57:13] Production.INFO: call_cost start
[2025-01-09 13:57:13] Production.INFO: call_cost end
[2025-01-09 13:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:57:13] Production.INFO: ==1225== Releasing lock...
[2025-01-09 13:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:57:23] Production.INFO: count ==4751
[2025-01-09 13:57:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:57:05 - End Time 2025-01-09 13:57:05
[2025-01-09 13:57:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210031', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210031', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210031', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:57:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210031', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:57:25] Production.INFO: ProcessCDR(1,14210031,1,1,2)
[2025-01-09 13:57:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:57:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210031,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:57:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:57:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210031,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:57:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210031', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:57:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210031', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:57:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:57:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:57:29] Production.INFO: ==1233== Releasing lock...
[2025-01-09 13:57:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:57:29] Production.INFO: 63.5 MB #Memory Used#
[2025-01-09 18:58:01] Production.INFO: ==1302== Lock acquired, processing the job...
[2025-01-09 18:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:58:01] Production.INFO: neon service started
[2025-01-09 18:58:01] Production.INFO: neon service started
[2025-01-09 18:58:01] Production.INFO: ==1302== Releasing lock...
[2025-01-09 18:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 18:58:01] Production.INFO: ==1306== Lock acquired, processing the job...
[2025-01-09 18:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:58:01] Production.INFO: ==1306== Releasing lock...
[2025-01-09 18:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:58:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:58:02] Production.INFO: ==1304== Lock acquired, processing the job...
[2025-01-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:58:02] Production.INFO: ==1304== Releasing lock...
[2025-01-09 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 13:58:03] Production.INFO: ==1312== Lock acquired, processing the job...
[2025-01-09 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:58:03] Production.INFO: ==1308== Lock acquired, processing the job...
[2025-01-09 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:58:03] Production.INFO: ==1317== Lock acquired, processing the job...
[2025-01-09 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:58:03] Production.INFO: ==1310== Lock acquired, processing the job...
[2025-01-09 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:58:03] Production.INFO: ==1319== Lock acquired, processing the job...
[2025-01-09 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:58:03] Production.INFO: ==1315== Lock acquired, processing the job...
[2025-01-09 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:58:03] Production.INFO: count ==21
[2025-01-09 13:58:03] Production.INFO: Account Balance Start.
[2025-01-09 13:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:58:03] Production.INFO: 117
[2025-01-09 13:58:03] Production.ERROR: done
[2025-01-09 13:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:58:03] Production.INFO: count ==21
[2025-01-09 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210033') start
[2025-01-09 13:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:58:03] Production.ERROR: done
[2025-01-09 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210033') end
[2025-01-09 13:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:58:03] Production.INFO: 1
[2025-01-09 13:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:58:03] Production.INFO: Total Charge 0
[2025-01-09 13:58:03] Production.INFO: CreateAllLog End
[2025-01-09 13:58:04] Production.INFO: ==1310== Releasing lock...
[2025-01-09 13:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:58:04] Production.INFO: ==1319== Releasing lock...
[2025-01-09 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:58:04] Production.INFO: Account Balance End.
[2025-01-09 13:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 13:58:04] Production.INFO: ==1315== Releasing lock...
[2025-01-09 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:58:04
[end_date_ymd] => 2025-01-09 13:58:04
[RateCDR] => 1
)
[2025-01-09 13:58:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:58:04' and `end` < '2025-01-09 13:58:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:58:11] Production.ERROR: CronJobId end10
[2025-01-09 13:58:11] Production.INFO: ==1312== Releasing lock...
[2025-01-09 13:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:58:13] Production.INFO: call_cost start
[2025-01-09 13:58:13] Production.INFO: call_cost end
[2025-01-09 13:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:58:14] Production.INFO: ==1308== Releasing lock...
[2025-01-09 13:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:58:29] Production.INFO: count ==4770
[2025-01-09 13:58:31] Production.ERROR: pbx CDR StartTime 2025-01-09 10:58:04 - End Time 2025-01-09 13:58:04
[2025-01-09 13:58:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210036', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210036', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210036', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:58:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210036', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:58:31] Production.INFO: ProcessCDR(1,14210036,1,1,2)
[2025-01-09 13:58:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:58:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210036,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:58:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:58:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210036,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:58:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210036', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:58:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210036', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:58:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:58:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:58:36] Production.INFO: ==1317== Releasing lock...
[2025-01-09 13:58:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:58:36] Production.INFO: 63.75 MB #Memory Used#
[2025-01-09 18:59:01] Production.INFO: ==1374== Lock acquired, processing the job...
[2025-01-09 18:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 18:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 18:59:01] Production.INFO: neon service started
[2025-01-09 18:59:01] Production.INFO: neon service started
[2025-01-09 18:59:01] Production.INFO: ==1374== Releasing lock...
[2025-01-09 18:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 18:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 13:59:02] Production.INFO: ==1376== Lock acquired, processing the job...
[2025-01-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 13:59:02] Production.INFO: ==1376== Releasing lock...
[2025-01-09 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 18:59:02] Production.INFO: ==1378== Lock acquired, processing the job...
[2025-01-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 18:59:02] Production.INFO: ==1378== Releasing lock...
[2025-01-09 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 13:59:03] Production.INFO: ==1381== Lock acquired, processing the job...
[2025-01-09 13:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 13:59:03] Production.INFO: ==1383== Lock acquired, processing the job...
[2025-01-09 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 13:59:03] Production.INFO: ==1387== Lock acquired, processing the job...
[2025-01-09 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 13:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 13:59:03] Production.INFO: ==1389== Lock acquired, processing the job...
[2025-01-09 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 13:59:03] Production.INFO: Account Balance Start.
[2025-01-09 13:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 13:59:03] Production.INFO: 117
[2025-01-09 13:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 13:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 13:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 13:59:03] Production.INFO: ==1385== Lock acquired, processing the job...
[2025-01-09 13:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 13:59:03] Production.INFO: Total Charge 0
[2025-01-09 13:59:03] Production.INFO: CreateAllLog End
[2025-01-09 13:59:03] Production.INFO: ==1391== Lock acquired, processing the job...
[2025-01-09 13:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 13:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 13:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 13:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 13:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 13:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:59:03] Production.INFO: ==1383== Releasing lock...
[2025-01-09 13:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 13:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 13:59:03] Production.INFO: count ==21
[2025-01-09 13:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 13:59:03] Production.INFO: count ==21
[2025-01-09 13:59:03] Production.ERROR: done
[2025-01-09 13:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210040') start
[2025-01-09 13:59:03] Production.INFO: Account Balance End.
[2025-01-09 13:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210040') end
[2025-01-09 13:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 13:59:03] Production.INFO: 1
[2025-01-09 13:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 13:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 13:59:03] Production.INFO: ==1387== Releasing lock...
[2025-01-09 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 13:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 13:59:03] Production.ERROR: done
[2025-01-09 13:59:04] Production.INFO: ==1391== Releasing lock...
[2025-01-09 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 13:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 10:59:05
[end_date_ymd] => 2025-01-09 13:59:05
[RateCDR] => 1
)
[2025-01-09 13:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 10:59:05' and `end` < '2025-01-09 13:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 13:59:12] Production.ERROR: CronJobId end10
[2025-01-09 13:59:12] Production.INFO: ==1385== Releasing lock...
[2025-01-09 13:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 13:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 13:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 13:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 13:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 13:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 13:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 13:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 13:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 13:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 13:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 13:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 13:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 13:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 13:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 13:59:14] Production.INFO: call_cost start
[2025-01-09 13:59:14] Production.INFO: call_cost end
[2025-01-09 13:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 13:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 13:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 13:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 13:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 13:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 13:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 13:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 13:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 13:59:14] Production.INFO: ==1381== Releasing lock...
[2025-01-09 13:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 13:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 13:59:23] Production.INFO: count ==4775
[2025-01-09 13:59:25] Production.ERROR: pbx CDR StartTime 2025-01-09 10:59:05 - End Time 2025-01-09 13:59:05
[2025-01-09 13:59:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 13:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210041', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210041', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210041', 'tblTempVendorCDR_20' ) start
[2025-01-09 13:59:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210041', 'tblTempVendorCDR_20' ) end
[2025-01-09 13:59:25] Production.INFO: ProcessCDR(1,14210041,1,1,2)
[2025-01-09 13:59:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:59:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210041,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 13:59:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:59:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210041,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 13:59:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210041', 'tblTempUsageDetail_20' ) start
[2025-01-09 13:59:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210041', 'tblTempUsageDetail_20' ) end
[2025-01-09 13:59:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 13:59:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 13:59:29] Production.INFO: ==1389== Releasing lock...
[2025-01-09 13:59:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 13:59:29] Production.INFO: 63.75 MB #Memory Used#
[2025-01-09 19:00:02] Production.INFO: ==1445== Lock acquired, processing the job...
[2025-01-09 19:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:00:02] Production.INFO: neon service started
[2025-01-09 19:00:02] Production.INFO: neon service started
[2025-01-09 19:00:02] Production.INFO: ==1445== Releasing lock...
[2025-01-09 19:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:00:02] Production.INFO: ==1449== Lock acquired, processing the job...
[2025-01-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:00:02] Production.INFO: ==1449== Releasing lock...
[2025-01-09 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:00:02] Production.INFO: ==1447== Lock acquired, processing the job...
[2025-01-09 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:00:03] Production.INFO: ==1447== Releasing lock...
[2025-01-09 14:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:00:04] Production.INFO: ==1451== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 14:00:04] Production.INFO: ==1455== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:00:04] Production.INFO: ==1459== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 14:00:04] Production.INFO: ==1461== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:00:04] Production.ERROR: CronJob PID - 1455
[2025-01-09 14:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 14:00:04] Production.ERROR: CronJob ID - 7
[2025-01-09 14:00:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:00:00
[2025-01-09 14:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:00:04] Production.INFO: ==1453== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 14:00:04] Production.INFO: ==1451== Releasing lock...
[2025-01-09 14:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 14:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:00:04] Production.INFO: ==1457== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:00:04] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 14:00:04] Production.INFO: ==1465== Lock acquired, processing the job...
[2025-01-09 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:00:04] Production.INFO: Account Balance Start.
[2025-01-09 14:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:00:04] Production.INFO: 117
[2025-01-09 14:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:00:04] Production.INFO: ==1455== Releasing lock...
[2025-01-09 14:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:00:04] Production.ERROR: done
[2025-01-09 14:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:00:04] Production.INFO: count ==21
[2025-01-09 14:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:00:04] Production.INFO: count ==21
[2025-01-09 14:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210045') start
[2025-01-09 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:00:05] Production.ERROR: done
[2025-01-09 14:00:05] Production.INFO: Total Charge 0
[2025-01-09 14:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210045') end
[2025-01-09 14:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:00:05] Production.INFO: 1
[2025-01-09 14:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:00:05] Production.INFO: CreateAllLog End
[2025-01-09 14:00:05] Production.INFO: ==1465== Releasing lock...
[2025-01-09 14:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:00:05] Production.ERROR: done
[2025-01-09 14:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 14:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210047', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 14:00:05] Production.INFO: Account Balance End.
[2025-01-09 14:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 14:00:05] Production.INFO: ==1459== Releasing lock...
[2025-01-09 14:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:00:06
[end_date_ymd] => 2025-01-09 14:00:06
[RateCDR] => 1
)
[2025-01-09 14:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:00:06' and `end` < '2025-01-09 14:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210047', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 14:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 14:00:09] Production.INFO: ProcessCDR(1,14210047,1,1,2)
[2025-01-09 14:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210047,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210047,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:00:09] Production.INFO: ==1463== Releasing lock...
[2025-01-09 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 14:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 14:00:14] Production.ERROR: CronJobId end10
[2025-01-09 14:00:14] Production.INFO: ==1457== Releasing lock...
[2025-01-09 14:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:00:16] Production.INFO: call_cost start
[2025-01-09 14:00:16] Production.INFO: call_cost end
[2025-01-09 14:00:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:00:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:00:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:00:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:00:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:00:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:00:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:00:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:00:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:00:17] Production.INFO: ==1453== Releasing lock...
[2025-01-09 14:00:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:00:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:00:29] Production.INFO: count ==4771
[2025-01-09 14:00:30] Production.ERROR: pbx CDR StartTime 2025-01-09 11:00:06 - End Time 2025-01-09 14:00:06
[2025-01-09 14:00:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:00:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210046', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210046', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210046', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:00:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210046', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:00:31] Production.INFO: ProcessCDR(1,14210046,1,1,2)
[2025-01-09 14:00:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:00:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210046,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:00:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:00:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210046,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:00:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210046', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:00:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210046', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:00:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:00:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:00:35] Production.INFO: ==1461== Releasing lock...
[2025-01-09 14:00:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:00:35] Production.INFO: 63.75 MB #Memory Used#
[2025-01-09 19:01:01] Production.INFO: ==1561== Lock acquired, processing the job...
[2025-01-09 19:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:01:01] Production.INFO: neon service started
[2025-01-09 19:01:01] Production.INFO: neon service started
[2025-01-09 19:01:01] Production.INFO: ==1561== Releasing lock...
[2025-01-09 19:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:01:02] Production.INFO: ==1574== Lock acquired, processing the job...
[2025-01-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:01:02] Production.INFO: ==1576== Lock acquired, processing the job...
[2025-01-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:01:02] Production.INFO: ==1574== Releasing lock...
[2025-01-09 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:01:02] Production.INFO: ==1576== Releasing lock...
[2025-01-09 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:01:03] Production.INFO: ==1579== Lock acquired, processing the job...
[2025-01-09 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:01:03] Production.INFO: ==1581== Lock acquired, processing the job...
[2025-01-09 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:01:03] Production.INFO: ==1585== Lock acquired, processing the job...
[2025-01-09 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:01:03] Production.INFO: ==1583== Lock acquired, processing the job...
[2025-01-09 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:01:03] Production.INFO: ==1587== Lock acquired, processing the job...
[2025-01-09 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:01:03] Production.INFO: ==1589== Lock acquired, processing the job...
[2025-01-09 14:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:01:03] Production.INFO: Account Balance Start.
[2025-01-09 14:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:01:03] Production.INFO: 117
[2025-01-09 14:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:01:03] Production.INFO: Total Charge 0
[2025-01-09 14:01:03] Production.INFO: CreateAllLog End
[2025-01-09 14:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:01:03] Production.INFO: ==1581== Releasing lock...
[2025-01-09 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:01:03] Production.INFO: count ==21
[2025-01-09 14:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:01:03] Production.INFO: count ==21
[2025-01-09 14:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210051') start
[2025-01-09 14:01:04] Production.ERROR: done
[2025-01-09 14:01:04] Production.INFO: Account Balance End.
[2025-01-09 14:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:01:04] Production.INFO: ==1585== Releasing lock...
[2025-01-09 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210051') end
[2025-01-09 14:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:01:04] Production.INFO: 1
[2025-01-09 14:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:01:04] Production.INFO: ==1589== Releasing lock...
[2025-01-09 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:01:04] Production.ERROR: done
[2025-01-09 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:01:05
[end_date_ymd] => 2025-01-09 14:01:05
[RateCDR] => 1
)
[2025-01-09 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:01:05' and `end` < '2025-01-09 14:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:01:13] Production.ERROR: CronJobId end10
[2025-01-09 14:01:13] Production.INFO: ==1583== Releasing lock...
[2025-01-09 14:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:01:14] Production.INFO: call_cost start
[2025-01-09 14:01:14] Production.INFO: call_cost end
[2025-01-09 14:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:01:15] Production.INFO: ==1579== Releasing lock...
[2025-01-09 14:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:01:37] Production.INFO: count ==4821
[2025-01-09 14:01:39] Production.ERROR: pbx CDR StartTime 2025-01-09 11:01:05 - End Time 2025-01-09 14:01:05
[2025-01-09 14:01:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:01:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210052', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:01:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210052', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:01:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210052', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:01:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210052', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:01:39] Production.INFO: ProcessCDR(1,14210052,1,1,2)
[2025-01-09 14:01:39] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:01:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210052,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:01:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:01:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210052,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:01:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210052', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:01:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210052', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:01:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:01:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:01:44] Production.INFO: ==1587== Releasing lock...
[2025-01-09 14:01:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:01:44] Production.INFO: 64 MB #Memory Used#
[2025-01-09 19:02:01] Production.INFO: ==1643== Lock acquired, processing the job...
[2025-01-09 19:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:02:01] Production.INFO: neon service started
[2025-01-09 19:02:01] Production.INFO: neon service started
[2025-01-09 19:02:01] Production.INFO: ==1643== Releasing lock...
[2025-01-09 19:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:02:01] Production.INFO: ==1647== Lock acquired, processing the job...
[2025-01-09 19:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:02:01] Production.INFO: ==1647== Releasing lock...
[2025-01-09 19:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:02:01] Production.INFO: ==1645== Lock acquired, processing the job...
[2025-01-09 14:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:02:02] Production.INFO: ==1645== Releasing lock...
[2025-01-09 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:02:02] Production.INFO: ==1656== Lock acquired, processing the job...
[2025-01-09 14:02:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:02:03] Production.INFO: ==1660== Lock acquired, processing the job...
[2025-01-09 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:02:03] Production.INFO: Account Balance Start.
[2025-01-09 14:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:02:03] Production.INFO: 117
[2025-01-09 14:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:02:03] Production.INFO: Total Charge 0
[2025-01-09 14:02:03] Production.INFO: CreateAllLog End
[2025-01-09 14:02:03] Production.INFO: count ==21
[2025-01-09 14:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:02:03] Production.INFO: count ==21
[2025-01-09 14:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210054') start
[2025-01-09 14:02:03] Production.INFO: ==1652== Lock acquired, processing the job...
[2025-01-09 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:02:03] Production.INFO: ==1650== Lock acquired, processing the job...
[2025-01-09 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:02:03] Production.INFO: ==1654== Lock acquired, processing the job...
[2025-01-09 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210054') end
[2025-01-09 14:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:02:03] Production.INFO: ==1658== Lock acquired, processing the job...
[2025-01-09 14:02:03] Production.INFO: 1
[2025-01-09 14:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:02:03] Production.INFO: Account Balance End.
[2025-01-09 14:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:02:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:02:03] Production.INFO: ==1660== Releasing lock...
[2025-01-09 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:02:03] Production.INFO: ==1656== Releasing lock...
[2025-01-09 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:02:03] Production.INFO: ==1652== Releasing lock...
[2025-01-09 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:02:03] Production.ERROR: done
[2025-01-09 14:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:02:03] Production.ERROR: done
[2025-01-09 14:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:02:04
[end_date_ymd] => 2025-01-09 14:02:04
[RateCDR] => 1
)
[2025-01-09 14:02:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:02:04' and `end` < '2025-01-09 14:02:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:02:11] Production.ERROR: CronJobId end10
[2025-01-09 14:02:11] Production.INFO: ==1654== Releasing lock...
[2025-01-09 14:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:02:13] Production.INFO: call_cost start
[2025-01-09 14:02:13] Production.INFO: call_cost end
[2025-01-09 14:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:02:14] Production.INFO: ==1650== Releasing lock...
[2025-01-09 14:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:02:26] Production.INFO: count ==4830
[2025-01-09 14:02:28] Production.ERROR: pbx CDR StartTime 2025-01-09 11:02:04 - End Time 2025-01-09 14:02:04
[2025-01-09 14:02:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210057', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210057', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210057', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210057', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:02:28] Production.INFO: ProcessCDR(1,14210057,1,1,2)
[2025-01-09 14:02:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210057,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:02:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210057,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210057', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210057', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:02:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:02:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:02:33] Production.INFO: ==1658== Releasing lock...
[2025-01-09 14:02:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:02:33] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:03:01] Production.INFO: ==1714== Lock acquired, processing the job...
[2025-01-09 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:03:01] Production.INFO: neon service started
[2025-01-09 19:03:01] Production.INFO: neon service started
[2025-01-09 19:03:01] Production.INFO: ==1714== Releasing lock...
[2025-01-09 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:03:02] Production.INFO: ==1716== Lock acquired, processing the job...
[2025-01-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:03:02] Production.INFO: ==1718== Lock acquired, processing the job...
[2025-01-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:03:02] Production.INFO: ==1716== Releasing lock...
[2025-01-09 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:03:02] Production.INFO: ==1718== Releasing lock...
[2025-01-09 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:03:03] Production.INFO: ==1724== Lock acquired, processing the job...
[2025-01-09 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:03:03] Production.INFO: ==1726== Lock acquired, processing the job...
[2025-01-09 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:03:03] Production.INFO: ==1720== Lock acquired, processing the job...
[2025-01-09 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:03:03] Production.INFO: Account Balance Start.
[2025-01-09 14:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:03:03] Production.INFO: 117
[2025-01-09 14:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:03:03] Production.INFO: ==1722== Lock acquired, processing the job...
[2025-01-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:03:03] Production.INFO: Total Charge 0
[2025-01-09 14:03:03] Production.INFO: CreateAllLog End
[2025-01-09 14:03:03] Production.INFO: ==1728== Lock acquired, processing the job...
[2025-01-09 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:03:03] Production.INFO: ==1730== Lock acquired, processing the job...
[2025-01-09 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:03:03] Production.INFO: Account Balance End.
[2025-01-09 14:03:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:03:03] Production.INFO: ==1726== Releasing lock...
[2025-01-09 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:03:03] Production.INFO: ==1722== Releasing lock...
[2025-01-09 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:03:03] Production.INFO: count ==21
[2025-01-09 14:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:03:03] Production.INFO: count ==21
[2025-01-09 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210061') start
[2025-01-09 14:03:04] Production.ERROR: done
[2025-01-09 14:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210061') end
[2025-01-09 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:03:04] Production.INFO: 1
[2025-01-09 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:03:04] Production.INFO: ==1730== Releasing lock...
[2025-01-09 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:03:04] Production.ERROR: done
[2025-01-09 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:03:05
[end_date_ymd] => 2025-01-09 14:03:05
[RateCDR] => 1
)
[2025-01-09 14:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:03:05' and `end` < '2025-01-09 14:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:03:10] Production.ERROR: CronJobId end10
[2025-01-09 14:03:10] Production.INFO: ==1724== Releasing lock...
[2025-01-09 14:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:03:13] Production.INFO: call_cost start
[2025-01-09 14:03:13] Production.INFO: call_cost end
[2025-01-09 14:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:03:14] Production.INFO: ==1720== Releasing lock...
[2025-01-09 14:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:03:21] Production.INFO: count ==4831
[2025-01-09 14:03:23] Production.ERROR: pbx CDR StartTime 2025-01-09 11:03:05 - End Time 2025-01-09 14:03:05
[2025-01-09 14:03:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210062', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210062', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210062', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:03:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210062', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:03:23] Production.INFO: ProcessCDR(1,14210062,1,1,2)
[2025-01-09 14:03:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210062,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210062,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210062', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210062', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:03:27] Production.INFO: ==1728== Releasing lock...
[2025-01-09 14:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:03:27] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:04:02] Production.INFO: ==1785== Lock acquired, processing the job...
[2025-01-09 19:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:04:02] Production.INFO: neon service started
[2025-01-09 19:04:02] Production.INFO: neon service started
[2025-01-09 19:04:02] Production.INFO: ==1785== Releasing lock...
[2025-01-09 19:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:04:02] Production.INFO: ==1787== Lock acquired, processing the job...
[2025-01-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:04:02] Production.INFO: ==1787== Releasing lock...
[2025-01-09 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:04:02] Production.INFO: ==1789== Lock acquired, processing the job...
[2025-01-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:04:02] Production.INFO: ==1789== Releasing lock...
[2025-01-09 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:04:03] Production.INFO: ==1791== Lock acquired, processing the job...
[2025-01-09 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:04:03] Production.INFO: ==1793== Lock acquired, processing the job...
[2025-01-09 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:04:03] Production.INFO: ==1799== Lock acquired, processing the job...
[2025-01-09 14:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:04:03] Production.INFO: ==1797== Lock acquired, processing the job...
[2025-01-09 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:04:03] Production.INFO: ==1795== Lock acquired, processing the job...
[2025-01-09 14:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:04:03] Production.INFO: ==1802== Lock acquired, processing the job...
[2025-01-09 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:04:03] Production.INFO: Account Balance Start.
[2025-01-09 14:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:04:04] Production.INFO: 117
[2025-01-09 14:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:04:04] Production.INFO: ==1793== Releasing lock...
[2025-01-09 14:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:04:04] Production.ERROR: done
[2025-01-09 14:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:04:04] Production.INFO: Total Charge 0
[2025-01-09 14:04:04] Production.INFO: count ==21
[2025-01-09 14:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:04:04] Production.INFO: count ==21
[2025-01-09 14:04:04] Production.INFO: CreateAllLog End
[2025-01-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210066') start
[2025-01-09 14:04:04] Production.ERROR: done
[2025-01-09 14:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210066') end
[2025-01-09 14:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:04:04] Production.INFO: 1
[2025-01-09 14:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:04:04] Production.INFO: ==1802== Releasing lock...
[2025-01-09 14:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:04:04] Production.INFO: Account Balance End.
[2025-01-09 14:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:04:04] Production.INFO: ==1797== Releasing lock...
[2025-01-09 14:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:04:05
[end_date_ymd] => 2025-01-09 14:04:05
[RateCDR] => 1
)
[2025-01-09 14:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:04:05' and `end` < '2025-01-09 14:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:04:12] Production.ERROR: CronJobId end10
[2025-01-09 14:04:12] Production.INFO: ==1795== Releasing lock...
[2025-01-09 14:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:04:14] Production.INFO: call_cost start
[2025-01-09 14:04:14] Production.INFO: call_cost end
[2025-01-09 14:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:04:15] Production.INFO: ==1791== Releasing lock...
[2025-01-09 14:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:04:26] Production.INFO: count ==4814
[2025-01-09 14:04:28] Production.ERROR: pbx CDR StartTime 2025-01-09 11:04:05 - End Time 2025-01-09 14:04:05
[2025-01-09 14:04:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210067', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210067', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210067', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:04:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210067', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:04:28] Production.INFO: ProcessCDR(1,14210067,1,1,2)
[2025-01-09 14:04:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:04:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210067,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:04:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:04:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210067,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:04:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210067', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:04:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210067', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:04:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:04:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:04:33] Production.INFO: ==1799== Releasing lock...
[2025-01-09 14:04:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:04:33] Production.INFO: 64 MB #Memory Used#
[2025-01-09 19:05:01] Production.INFO: ==1861== Lock acquired, processing the job...
[2025-01-09 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:05:01] Production.INFO: neon service started
[2025-01-09 19:05:01] Production.INFO: neon service started
[2025-01-09 19:05:01] Production.INFO: ==1861== Releasing lock...
[2025-01-09 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:05:01] Production.INFO: ==1863== Lock acquired, processing the job...
[2025-01-09 14:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:05:02] Production.INFO: ==1865== Lock acquired, processing the job...
[2025-01-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:05:02] Production.INFO: ==1863== Releasing lock...
[2025-01-09 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:05:02] Production.INFO: ==1865== Releasing lock...
[2025-01-09 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:05:03] Production.INFO: ==1867== Lock acquired, processing the job...
[2025-01-09 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:05:03] Production.INFO: ==1875== Lock acquired, processing the job...
[2025-01-09 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:05:03] Production.INFO: ==1878== Lock acquired, processing the job...
[2025-01-09 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:05:03] Production.INFO: ==1869== Lock acquired, processing the job...
[2025-01-09 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:05:03] Production.INFO: ==1871== Lock acquired, processing the job...
[2025-01-09 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:05:03] Production.INFO: count ==21
[2025-01-09 14:05:03] Production.INFO: ==1873== Lock acquired, processing the job...
[2025-01-09 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:05:03] Production.INFO: count ==21
[2025-01-09 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210068') start
[2025-01-09 14:05:03] Production.INFO: Account Balance Start.
[2025-01-09 14:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:05:03] Production.INFO: 117
[2025-01-09 14:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210068') end
[2025-01-09 14:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:05:03] Production.INFO: 1
[2025-01-09 14:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:05:03] Production.INFO: ==1878== Releasing lock...
[2025-01-09 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:05:03] Production.INFO: ==1869== Releasing lock...
[2025-01-09 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:05:03] Production.ERROR: done
[2025-01-09 14:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:05:03] Production.INFO: Total Charge 0
[2025-01-09 14:05:03] Production.INFO: CreateAllLog End
[2025-01-09 14:05:03] Production.ERROR: done
[2025-01-09 14:05:04] Production.INFO: Account Balance End.
[2025-01-09 14:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:05:04] Production.INFO: ==1873== Releasing lock...
[2025-01-09 14:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:05:04
[end_date_ymd] => 2025-01-09 14:05:04
[RateCDR] => 1
)
[2025-01-09 14:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:05:04' and `end` < '2025-01-09 14:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:05:11] Production.ERROR: CronJobId end10
[2025-01-09 14:05:11] Production.INFO: ==1871== Releasing lock...
[2025-01-09 14:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:05:13] Production.INFO: call_cost start
[2025-01-09 14:05:13] Production.INFO: call_cost end
[2025-01-09 14:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:05:14] Production.INFO: ==1867== Releasing lock...
[2025-01-09 14:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:05:24] Production.INFO: count ==4824
[2025-01-09 14:05:26] Production.ERROR: pbx CDR StartTime 2025-01-09 11:05:04 - End Time 2025-01-09 14:05:04
[2025-01-09 14:05:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210072', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210072', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210072', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:05:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210072', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:05:26] Production.INFO: ProcessCDR(1,14210072,1,1,2)
[2025-01-09 14:05:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:05:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210072,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:05:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:05:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210072,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210072', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:05:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210072', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:05:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:05:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:05:31] Production.INFO: ==1875== Releasing lock...
[2025-01-09 14:05:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:05:31] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:06:02] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-01-09 19:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:06:02] Production.INFO: neon service started
[2025-01-09 19:06:02] Production.INFO: neon service started
[2025-01-09 19:06:02] Production.INFO: ==1998== Releasing lock...
[2025-01-09 19:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:06:02] Production.INFO: ==2006== Lock acquired, processing the job...
[2025-01-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:06:02] Production.INFO: ==2006== Releasing lock...
[2025-01-09 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:06:02] Production.INFO: ==2004== Lock acquired, processing the job...
[2025-01-09 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:06:03] Production.INFO: ==2004== Releasing lock...
[2025-01-09 14:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:06:04] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-01-09 14:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:06:04] Production.INFO: ==2017== Lock acquired, processing the job...
[2025-01-09 14:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:06:04] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-01-09 14:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:06:04] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-01-09 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:06:04] Production.INFO: ==2015== Lock acquired, processing the job...
[2025-01-09 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:06:04] Production.INFO: Account Balance Start.
[2025-01-09 14:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:06:04] Production.INFO: ==2019== Lock acquired, processing the job...
[2025-01-09 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:06:04] Production.INFO: 117
[2025-01-09 14:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:06:04] Production.ERROR: done
[2025-01-09 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:06:04] Production.INFO: count ==21
[2025-01-09 14:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:06:04] Production.INFO: count ==21
[2025-01-09 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210076') start
[2025-01-09 14:06:04] Production.ERROR: done
[2025-01-09 14:06:04] Production.INFO: ==2011== Releasing lock...
[2025-01-09 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:06:04] Production.INFO: Total Charge 0
[2025-01-09 14:06:05] Production.INFO: CreateAllLog End
[2025-01-09 14:06:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210076') end
[2025-01-09 14:06:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:06:05] Production.INFO: 1
[2025-01-09 14:06:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:06:05] Production.INFO: ==2019== Releasing lock...
[2025-01-09 14:06:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:06:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:06:05] Production.INFO: Account Balance End.
[2025-01-09 14:06:05] Production.ERROR: CronJobId end 12
[2025-01-09 14:06:05] Production.INFO: ==2015== Releasing lock...
[2025-01-09 14:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:06:05
[end_date_ymd] => 2025-01-09 14:06:05
[RateCDR] => 1
)
[2025-01-09 14:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:06:05' and `end` < '2025-01-09 14:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:06:13] Production.ERROR: CronJobId end10
[2025-01-09 14:06:13] Production.INFO: ==2013== Releasing lock...
[2025-01-09 14:06:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:06:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:06:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:06:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:06:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:06:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:06:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:06:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:06:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:06:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:06:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:06:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:06:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:06:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:06:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:06:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:06:15] Production.INFO: call_cost start
[2025-01-09 14:06:15] Production.INFO: call_cost end
[2025-01-09 14:06:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:06:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:06:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:06:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:06:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:06:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:06:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:06:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:06:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:06:16] Production.INFO: ==2009== Releasing lock...
[2025-01-09 14:06:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:06:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:06:22] Production.INFO: count ==4838
[2025-01-09 14:06:24] Production.ERROR: pbx CDR StartTime 2025-01-09 11:06:05 - End Time 2025-01-09 14:06:05
[2025-01-09 14:06:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210077', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210077', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210077', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:06:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210077', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:06:24] Production.INFO: ProcessCDR(1,14210077,1,1,2)
[2025-01-09 14:06:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:06:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210077,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:06:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:06:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210077,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210077', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:06:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210077', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:06:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:06:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:06:29] Production.INFO: ==2017== Releasing lock...
[2025-01-09 14:06:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:06:29] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:07:01] Production.INFO: ==2113== Lock acquired, processing the job...
[2025-01-09 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:07:01] Production.INFO: neon service started
[2025-01-09 19:07:01] Production.INFO: neon service started
[2025-01-09 19:07:01] Production.INFO: ==2113== Releasing lock...
[2025-01-09 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:07:01] Production.INFO: ==2115== Lock acquired, processing the job...
[2025-01-09 14:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:07:02] Production.INFO: ==2117== Lock acquired, processing the job...
[2025-01-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:07:02] Production.INFO: ==2117== Releasing lock...
[2025-01-09 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:07:02] Production.INFO: ==2115== Releasing lock...
[2025-01-09 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:07:02] Production.INFO: ==2121== Lock acquired, processing the job...
[2025-01-09 14:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:07:02] Production.INFO: ==2123== Lock acquired, processing the job...
[2025-01-09 14:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:07:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:07:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:07:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:07:03] Production.INFO: ==2121== Releasing lock...
[2025-01-09 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:07:03] Production.INFO: ==2127== Lock acquired, processing the job...
[2025-01-09 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:07:03] Production.INFO: ==2125== Lock acquired, processing the job...
[2025-01-09 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:07:03] Production.INFO: ==2119== Lock acquired, processing the job...
[2025-01-09 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:07:03] Production.INFO: ==2129== Lock acquired, processing the job...
[2025-01-09 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:07:03] Production.INFO: Account Balance Start.
[2025-01-09 14:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:07:03] Production.INFO: 117
[2025-01-09 14:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:07:03] Production.INFO: count ==21
[2025-01-09 14:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:07:03] Production.INFO: count ==21
[2025-01-09 14:07:03] Production.INFO: Total Charge 0
[2025-01-09 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210081') start
[2025-01-09 14:07:03] Production.ERROR: done
[2025-01-09 14:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:07:03] Production.INFO: CreateAllLog End
[2025-01-09 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210081') end
[2025-01-09 14:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:07:03] Production.INFO: 1
[2025-01-09 14:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:07:03] Production.INFO: ==2129== Releasing lock...
[2025-01-09 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:07:03] Production.ERROR: done
[2025-01-09 14:07:04] Production.INFO: Account Balance End.
[2025-01-09 14:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:07:04] Production.INFO: ==2125== Releasing lock...
[2025-01-09 14:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:07:04
[end_date_ymd] => 2025-01-09 14:07:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 11:07:04' and `end` < '2025-01-09 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-01-09 14:07:11] Production.ERROR: CronJobId end10
[2025-01-09 14:07:11] Production.INFO: ==2123== Releasing lock...
[2025-01-09 14:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:07:13] Production.INFO: call_cost start
[2025-01-09 14:07:13] Production.INFO: call_cost end
[2025-01-09 14:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:07:14] Production.INFO: ==2119== Releasing lock...
[2025-01-09 14:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:07:24] Production.INFO: count ==4838
[2025-01-09 14:07:26] Production.ERROR: pbx CDR StartTime 2025-01-09 11:07:04 - End Time 2025-01-09 14:07:04
[2025-01-09 14:07:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210082', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210082', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210082', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:07:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210082', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:07:26] Production.INFO: ProcessCDR(1,14210082,1,1,2)
[2025-01-09 14:07:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:07:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210082,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:07:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:07:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210082,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210082', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:07:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210082', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:07:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:07:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:07:31] Production.INFO: ==2127== Releasing lock...
[2025-01-09 14:07:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:07:31] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:08:01] Production.INFO: ==2198== Lock acquired, processing the job...
[2025-01-09 19:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:08:02] Production.INFO: neon service started
[2025-01-09 19:08:02] Production.INFO: neon service started
[2025-01-09 19:08:02] Production.INFO: ==2198== Releasing lock...
[2025-01-09 19:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:08:02] Production.INFO: ==2201== Lock acquired, processing the job...
[2025-01-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:08:02] Production.INFO: ==2203== Lock acquired, processing the job...
[2025-01-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:08:02] Production.INFO: ==2203== Releasing lock...
[2025-01-09 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:08:02] Production.INFO: ==2201== Releasing lock...
[2025-01-09 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:08:03] Production.INFO: ==2208== Lock acquired, processing the job...
[2025-01-09 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:08:03] Production.INFO: ==2210== Lock acquired, processing the job...
[2025-01-09 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:08:03] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-01-09 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:08:03] Production.INFO: ==2208== Releasing lock...
[2025-01-09 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:08:03] Production.INFO: ==2206== Lock acquired, processing the job...
[2025-01-09 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:08:04] Production.INFO: Account Balance Start.
[2025-01-09 14:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:08:04] Production.INFO: 117
[2025-01-09 14:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:08:04] Production.INFO: ==2214== Lock acquired, processing the job...
[2025-01-09 14:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:08:04] Production.INFO: Total Charge 0
[2025-01-09 14:08:04] Production.INFO: CreateAllLog End
[2025-01-09 14:08:04] Production.INFO: ==2216== Lock acquired, processing the job...
[2025-01-09 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:08:04] Production.INFO: Account Balance End.
[2025-01-09 14:08:04] Production.INFO: count ==21
[2025-01-09 14:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:08:04] Production.INFO: count ==21
[2025-01-09 14:08:04] Production.ERROR: done
[2025-01-09 14:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210086') start
[2025-01-09 14:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:08:04] Production.INFO: ==2212== Releasing lock...
[2025-01-09 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210086') end
[2025-01-09 14:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:08:04] Production.INFO: 1
[2025-01-09 14:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:08:04] Production.INFO: ==2216== Releasing lock...
[2025-01-09 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:08:04] Production.ERROR: done
[2025-01-09 14:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:08:05
[end_date_ymd] => 2025-01-09 14:08:05
[RateCDR] => 1
)
[2025-01-09 14:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:08:05' and `end` < '2025-01-09 14:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:08:11] Production.ERROR: CronJobId end10
[2025-01-09 14:08:11] Production.INFO: ==2210== Releasing lock...
[2025-01-09 14:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:08:12] Production.INFO: call_cost start
[2025-01-09 14:08:12] Production.INFO: call_cost end
[2025-01-09 14:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:08:13] Production.INFO: ==2206== Releasing lock...
[2025-01-09 14:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:08:34] Production.INFO: count ==4851
[2025-01-09 14:08:36] Production.ERROR: pbx CDR StartTime 2025-01-09 11:08:05 - End Time 2025-01-09 14:08:05
[2025-01-09 14:08:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210087', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210087', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210087', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210087', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:08:36] Production.INFO: ProcessCDR(1,14210087,1,1,2)
[2025-01-09 14:08:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:08:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210087,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:08:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:08:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210087,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:08:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210087', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:08:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210087', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:08:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:08:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:08:41] Production.INFO: ==2214== Releasing lock...
[2025-01-09 14:08:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:08:41] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:09:01] Production.INFO: ==2271== Lock acquired, processing the job...
[2025-01-09 19:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:09:01] Production.INFO: neon service started
[2025-01-09 19:09:01] Production.INFO: neon service started
[2025-01-09 19:09:01] Production.INFO: ==2271== Releasing lock...
[2025-01-09 19:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:09:01] Production.INFO: ==2273== Lock acquired, processing the job...
[2025-01-09 14:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:09:02] Production.INFO: ==2273== Releasing lock...
[2025-01-09 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:09:02] Production.INFO: ==2275== Lock acquired, processing the job...
[2025-01-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:09:02] Production.INFO: ==2275== Releasing lock...
[2025-01-09 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:09:02] Production.INFO: ==2278== Lock acquired, processing the job...
[2025-01-09 14:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:09:02] Production.INFO: ==2280== Lock acquired, processing the job...
[2025-01-09 14:09:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:09:02] Production.INFO: ==2286== Lock acquired, processing the job...
[2025-01-09 14:09:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:09:03] Production.INFO: ==2282== Lock acquired, processing the job...
[2025-01-09 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:09:03] Production.INFO: ==2284== Lock acquired, processing the job...
[2025-01-09 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:09:03] Production.INFO: ==2280== Releasing lock...
[2025-01-09 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:09:03] Production.INFO: ==2288== Lock acquired, processing the job...
[2025-01-09 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:09:03] Production.INFO: Account Balance Start.
[2025-01-09 14:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:09:03] Production.INFO: 117
[2025-01-09 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:09:03] Production.INFO: count ==21
[2025-01-09 14:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:09:03] Production.INFO: count ==21
[2025-01-09 14:09:03] Production.INFO: Total Charge 0
[2025-01-09 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210091') start
[2025-01-09 14:09:03] Production.INFO: CreateAllLog End
[2025-01-09 14:09:03] Production.ERROR: done
[2025-01-09 14:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210091') end
[2025-01-09 14:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:09:03] Production.INFO: 1
[2025-01-09 14:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:09:03] Production.INFO: ==2288== Releasing lock...
[2025-01-09 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:09:03] Production.ERROR: done
[2025-01-09 14:09:03] Production.INFO: Account Balance End.
[2025-01-09 14:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:09:03] Production.INFO: ==2284== Releasing lock...
[2025-01-09 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:09:04
[end_date_ymd] => 2025-01-09 14:09:04
[RateCDR] => 1
)
[2025-01-09 14:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:09:04' and `end` < '2025-01-09 14:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:09:11] Production.ERROR: CronJobId end10
[2025-01-09 14:09:11] Production.INFO: ==2282== Releasing lock...
[2025-01-09 14:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:09:13] Production.INFO: call_cost start
[2025-01-09 14:09:13] Production.INFO: call_cost end
[2025-01-09 14:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:09:13] Production.INFO: ==2278== Releasing lock...
[2025-01-09 14:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:09:29] Production.INFO: count ==4873
[2025-01-09 14:09:31] Production.ERROR: pbx CDR StartTime 2025-01-09 11:09:04 - End Time 2025-01-09 14:09:04
[2025-01-09 14:09:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210092', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210092', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210092', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:09:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210092', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:09:31] Production.INFO: ProcessCDR(1,14210092,1,1,2)
[2025-01-09 14:09:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:09:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210092,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:09:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:09:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210092,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210092', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:09:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210092', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:09:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:09:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:09:36] Production.INFO: ==2286== Releasing lock...
[2025-01-09 14:09:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:09:36] Production.INFO: 64.5 MB #Memory Used#
[2025-01-09 19:10:01] Production.INFO: ==2342== Lock acquired, processing the job...
[2025-01-09 19:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:10:02] Production.INFO: neon service started
[2025-01-09 19:10:02] Production.INFO: neon service started
[2025-01-09 19:10:02] Production.INFO: ==2342== Releasing lock...
[2025-01-09 19:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:10:02] Production.INFO: ==2344== Lock acquired, processing the job...
[2025-01-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:10:02] Production.INFO: ==2346== Lock acquired, processing the job...
[2025-01-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:10:02] Production.INFO: ==2344== Releasing lock...
[2025-01-09 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:10:02] Production.INFO: ==2346== Releasing lock...
[2025-01-09 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:10:03] Production.INFO: ==2349== Lock acquired, processing the job...
[2025-01-09 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 14:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 14:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 14:10:03] Production.INFO: ==2349== Releasing lock...
[2025-01-09 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 14:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 14:10:03] Production.INFO: ==2351== Lock acquired, processing the job...
[2025-01-09 14:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:10:03] Production.INFO: ==2353== Lock acquired, processing the job...
[2025-01-09 14:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:10:04] Production.INFO: ==2355== Lock acquired, processing the job...
[2025-01-09 14:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:10:04] Production.INFO: ==2357== Lock acquired, processing the job...
[2025-01-09 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:10:04] Production.INFO: ==2359== Lock acquired, processing the job...
[2025-01-09 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:10:04] Production.INFO: ==2361== Lock acquired, processing the job...
[2025-01-09 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 14:10:04] Production.INFO: ==2363== Lock acquired, processing the job...
[2025-01-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:10:04] Production.INFO: Account Balance Start.
[2025-01-09 14:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:10:04] Production.INFO: 117
[2025-01-09 14:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:10:04] Production.INFO: Total Charge 0
[2025-01-09 14:10:04] Production.INFO: CreateAllLog End
[2025-01-09 14:10:04] Production.INFO: ==2353== Releasing lock...
[2025-01-09 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:10:04] Production.INFO: count ==21
[2025-01-09 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:10:04] Production.INFO: count ==21
[2025-01-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210096') start
[2025-01-09 14:10:04] Production.ERROR: done
[2025-01-09 14:10:04] Production.ERROR: done
[2025-01-09 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210096') end
[2025-01-09 14:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:10:04] Production.INFO: 1
[2025-01-09 14:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:10:04] Production.INFO: Account Balance End.
[2025-01-09 14:10:04] Production.INFO: ==2363== Releasing lock...
[2025-01-09 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210097', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 14:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:10:04] Production.INFO: ==2357== Releasing lock...
[2025-01-09 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:10:04] Production.ERROR: done
[2025-01-09 14:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:10:06
[end_date_ymd] => 2025-01-09 14:10:06
[RateCDR] => 1
)
[2025-01-09 14:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:10:06' and `end` < '2025-01-09 14:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210097', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 14:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 14:10:08] Production.INFO: ProcessCDR(1,14210097,1,1,2)
[2025-01-09 14:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210097,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210097,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:10:08] Production.INFO: ==2361== Releasing lock...
[2025-01-09 14:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 14:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 14:10:13] Production.ERROR: CronJobId end10
[2025-01-09 14:10:13] Production.INFO: ==2355== Releasing lock...
[2025-01-09 14:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:10:14] Production.INFO: call_cost start
[2025-01-09 14:10:14] Production.INFO: call_cost end
[2025-01-09 14:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:10:15] Production.INFO: ==2351== Releasing lock...
[2025-01-09 14:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:10:33] Production.INFO: count ==4869
[2025-01-09 14:10:35] Production.ERROR: pbx CDR StartTime 2025-01-09 11:10:06 - End Time 2025-01-09 14:10:06
[2025-01-09 14:10:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:10:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210098', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:10:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210098', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:10:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210098', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:10:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210098', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:10:35] Production.INFO: ProcessCDR(1,14210098,1,1,2)
[2025-01-09 14:10:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:10:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210098,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:10:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:10:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210098,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210098', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:10:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210098', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:10:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:10:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:10:40] Production.INFO: ==2359== Releasing lock...
[2025-01-09 14:10:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:10:40] Production.INFO: 64.5 MB #Memory Used#
[2025-01-09 19:11:01] Production.INFO: ==2420== Lock acquired, processing the job...
[2025-01-09 19:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:11:01] Production.INFO: neon service started
[2025-01-09 19:11:01] Production.INFO: neon service started
[2025-01-09 19:11:01] Production.INFO: ==2420== Releasing lock...
[2025-01-09 19:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:11:01] Production.INFO: ==2422== Lock acquired, processing the job...
[2025-01-09 14:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:11:02] Production.INFO: ==2424== Lock acquired, processing the job...
[2025-01-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:11:02] Production.INFO: ==2424== Releasing lock...
[2025-01-09 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:11:02] Production.INFO: ==2422== Releasing lock...
[2025-01-09 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:11:02] Production.INFO: ==2430== Lock acquired, processing the job...
[2025-01-09 14:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:11:03] Production.INFO: ==2432== Lock acquired, processing the job...
[2025-01-09 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:11:03] Production.INFO: ==2434== Lock acquired, processing the job...
[2025-01-09 14:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:11:03] Production.INFO: Account Balance Start.
[2025-01-09 14:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:11:03] Production.INFO: 117
[2025-01-09 14:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:11:03] Production.INFO: Total Charge 0
[2025-01-09 14:11:03] Production.INFO: CreateAllLog End
[2025-01-09 14:11:03] Production.INFO: Account Balance End.
[2025-01-09 14:11:03] Production.INFO: ==2426== Lock acquired, processing the job...
[2025-01-09 14:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:11:03] Production.INFO: ==2428== Lock acquired, processing the job...
[2025-01-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:11:03] Production.INFO: ==2436== Lock acquired, processing the job...
[2025-01-09 14:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:11:03] Production.INFO: ==2432== Releasing lock...
[2025-01-09 14:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:11:03] Production.ERROR: done
[2025-01-09 14:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:11:03] Production.ERROR: done
[2025-01-09 14:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:11:03] Production.INFO: count ==21
[2025-01-09 14:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:11:03] Production.INFO: count ==21
[2025-01-09 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210100') start
[2025-01-09 14:11:03] Production.INFO: ==2428== Releasing lock...
[2025-01-09 14:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210100') end
[2025-01-09 14:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:11:03] Production.INFO: 1
[2025-01-09 14:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:11:04] Production.INFO: ==2436== Releasing lock...
[2025-01-09 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:11:04
[end_date_ymd] => 2025-01-09 14:11:04
[RateCDR] => 1
)
[2025-01-09 14:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:11:04' and `end` < '2025-01-09 14:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:11:11] Production.ERROR: CronJobId end10
[2025-01-09 14:11:11] Production.INFO: ==2430== Releasing lock...
[2025-01-09 14:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:11:13] Production.INFO: call_cost start
[2025-01-09 14:11:13] Production.INFO: call_cost end
[2025-01-09 14:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:11:14] Production.INFO: ==2426== Releasing lock...
[2025-01-09 14:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:11:28] Production.INFO: count ==4867
[2025-01-09 14:11:29] Production.ERROR: pbx CDR StartTime 2025-01-09 11:11:04 - End Time 2025-01-09 14:11:04
[2025-01-09 14:11:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:11:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210103', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210103', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210103', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:11:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210103', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:11:30] Production.INFO: ProcessCDR(1,14210103,1,1,2)
[2025-01-09 14:11:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:11:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210103,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:11:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:11:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210103,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210103', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:11:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210103', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:11:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:11:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:11:34] Production.INFO: ==2434== Releasing lock...
[2025-01-09 14:11:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:11:34] Production.INFO: 64.5 MB #Memory Used#
[2025-01-09 19:12:01] Production.INFO: ==2490== Lock acquired, processing the job...
[2025-01-09 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:12:01] Production.INFO: neon service started
[2025-01-09 19:12:01] Production.INFO: neon service started
[2025-01-09 19:12:01] Production.INFO: ==2490== Releasing lock...
[2025-01-09 19:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:12:02] Production.INFO: ==2493== Lock acquired, processing the job...
[2025-01-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:12:02] Production.INFO: ==2493== Releasing lock...
[2025-01-09 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:12:02] Production.INFO: ==2495== Lock acquired, processing the job...
[2025-01-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:12:02] Production.INFO: ==2495== Releasing lock...
[2025-01-09 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:12:03] Production.INFO: ==2501== Lock acquired, processing the job...
[2025-01-09 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:12:03] Production.INFO: ==2507== Lock acquired, processing the job...
[2025-01-09 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:12:03] Production.INFO: ==2497== Lock acquired, processing the job...
[2025-01-09 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:12:03] Production.INFO: ==2499== Lock acquired, processing the job...
[2025-01-09 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:12:03] Production.INFO: count ==21
[2025-01-09 14:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:12:03] Production.INFO: count ==21
[2025-01-09 14:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210104') start
[2025-01-09 14:12:03] Production.INFO: ==2505== Lock acquired, processing the job...
[2025-01-09 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:12:03] Production.INFO: ==2503== Lock acquired, processing the job...
[2025-01-09 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210104') end
[2025-01-09 14:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:12:03] Production.INFO: 1
[2025-01-09 14:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:12:03] Production.INFO: Account Balance Start.
[2025-01-09 14:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:12:03] Production.INFO: 117
[2025-01-09 14:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:12:04] Production.INFO: ==2507== Releasing lock...
[2025-01-09 14:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:12:04] Production.INFO: Total Charge 0
[2025-01-09 14:12:04] Production.INFO: CreateAllLog End
[2025-01-09 14:12:04] Production.INFO: ==2499== Releasing lock...
[2025-01-09 14:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:12:04] Production.ERROR: done
[2025-01-09 14:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:12:04] Production.INFO: Account Balance End.
[2025-01-09 14:12:04] Production.ERROR: done
[2025-01-09 14:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:12:04] Production.INFO: ==2503== Releasing lock...
[2025-01-09 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:12:05
[end_date_ymd] => 2025-01-09 14:12:05
[RateCDR] => 1
)
[2025-01-09 14:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:12:05' and `end` < '2025-01-09 14:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:12:12] Production.ERROR: CronJobId end10
[2025-01-09 14:12:12] Production.INFO: ==2501== Releasing lock...
[2025-01-09 14:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:12:14] Production.INFO: call_cost start
[2025-01-09 14:12:14] Production.INFO: call_cost end
[2025-01-09 14:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:12:14] Production.INFO: ==2497== Releasing lock...
[2025-01-09 14:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:12:27] Production.INFO: count ==4833
[2025-01-09 14:12:28] Production.ERROR: pbx CDR StartTime 2025-01-09 11:12:05 - End Time 2025-01-09 14:12:05
[2025-01-09 14:12:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:12:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210108', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210108', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210108', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:12:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210108', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:12:29] Production.INFO: ProcessCDR(1,14210108,1,1,2)
[2025-01-09 14:12:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:12:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210108,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:12:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:12:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210108,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:12:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210108', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:12:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210108', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:12:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:12:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:12:33] Production.INFO: ==2505== Releasing lock...
[2025-01-09 14:12:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:12:33] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:13:02] Production.INFO: ==2561== Lock acquired, processing the job...
[2025-01-09 19:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:13:02] Production.INFO: neon service started
[2025-01-09 19:13:02] Production.INFO: neon service started
[2025-01-09 19:13:02] Production.INFO: ==2561== Releasing lock...
[2025-01-09 19:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:13:02] Production.INFO: ==2563== Lock acquired, processing the job...
[2025-01-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:13:02] Production.INFO: ==2563== Releasing lock...
[2025-01-09 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:13:02] Production.INFO: ==2565== Lock acquired, processing the job...
[2025-01-09 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:13:03] Production.INFO: ==2565== Releasing lock...
[2025-01-09 19:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:13:03] Production.INFO: ==2567== Lock acquired, processing the job...
[2025-01-09 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:13:03] Production.INFO: ==2573== Lock acquired, processing the job...
[2025-01-09 14:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:13:03] Production.INFO: ==2577== Lock acquired, processing the job...
[2025-01-09 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:13:03] Production.INFO: Account Balance Start.
[2025-01-09 14:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:13:03] Production.INFO: 117
[2025-01-09 14:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:13:03] Production.INFO: ==2569== Lock acquired, processing the job...
[2025-01-09 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:13:03] Production.INFO: ==2571== Lock acquired, processing the job...
[2025-01-09 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:13:03] Production.INFO: ==2575== Lock acquired, processing the job...
[2025-01-09 14:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:13:03] Production.INFO: count ==21
[2025-01-09 14:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:13:03] Production.INFO: count ==21
[2025-01-09 14:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210111') start
[2025-01-09 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:13:03] Production.INFO: Total Charge 0
[2025-01-09 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210111') end
[2025-01-09 14:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:13:04] Production.INFO: 1
[2025-01-09 14:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:13:04] Production.INFO: CreateAllLog End
[2025-01-09 14:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:13:04] Production.INFO: ==2577== Releasing lock...
[2025-01-09 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:13:04] Production.INFO: Account Balance End.
[2025-01-09 14:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:13:04] Production.INFO: ==2573== Releasing lock...
[2025-01-09 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:13:04] Production.ERROR: done
[2025-01-09 14:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:13:04] Production.INFO: ==2569== Releasing lock...
[2025-01-09 14:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:13:04] Production.ERROR: done
[2025-01-09 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:13:05
[end_date_ymd] => 2025-01-09 14:13:05
[RateCDR] => 1
)
[2025-01-09 14:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:13:05' and `end` < '2025-01-09 14:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:13:11] Production.ERROR: CronJobId end10
[2025-01-09 14:13:11] Production.INFO: ==2571== Releasing lock...
[2025-01-09 14:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:13:13] Production.INFO: call_cost start
[2025-01-09 14:13:13] Production.INFO: call_cost end
[2025-01-09 14:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:13:14] Production.INFO: ==2567== Releasing lock...
[2025-01-09 14:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:13:19] Production.INFO: count ==4808
[2025-01-09 14:13:21] Production.ERROR: pbx CDR StartTime 2025-01-09 11:13:05 - End Time 2025-01-09 14:13:05
[2025-01-09 14:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210113', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210113', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210113', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210113', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:13:21] Production.INFO: ProcessCDR(1,14210113,1,1,2)
[2025-01-09 14:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210113,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210113,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210113', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:13:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210113', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:13:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:13:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:13:26] Production.INFO: ==2575== Releasing lock...
[2025-01-09 14:13:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:13:26] Production.INFO: 64 MB #Memory Used#
[2025-01-09 19:14:01] Production.INFO: ==2633== Lock acquired, processing the job...
[2025-01-09 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:14:01] Production.INFO: neon service started
[2025-01-09 19:14:01] Production.INFO: neon service started
[2025-01-09 19:14:01] Production.INFO: ==2633== Releasing lock...
[2025-01-09 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:14:02] Production.INFO: ==2635== Lock acquired, processing the job...
[2025-01-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:14:02] Production.INFO: ==2635== Releasing lock...
[2025-01-09 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:14:02] Production.INFO: ==2637== Lock acquired, processing the job...
[2025-01-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:14:02] Production.INFO: ==2637== Releasing lock...
[2025-01-09 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:14:03] Production.INFO: ==2641== Lock acquired, processing the job...
[2025-01-09 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:14:03] Production.INFO: ==2643== Lock acquired, processing the job...
[2025-01-09 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:14:03] Production.INFO: ==2639== Lock acquired, processing the job...
[2025-01-09 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:14:03] Production.INFO: ==2641== Releasing lock...
[2025-01-09 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:14:03] Production.INFO: ==2647== Lock acquired, processing the job...
[2025-01-09 14:14:03] Production.INFO: ==2645== Lock acquired, processing the job...
[2025-01-09 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:14:03] Production.INFO: ==2649== Lock acquired, processing the job...
[2025-01-09 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:14:03] Production.INFO: Account Balance Start.
[2025-01-09 14:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:14:03] Production.INFO: 117
[2025-01-09 14:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:14:03] Production.INFO: Total Charge 0
[2025-01-09 14:14:03] Production.INFO: CreateAllLog End
[2025-01-09 14:14:03] Production.INFO: count ==21
[2025-01-09 14:14:03] Production.ERROR: done
[2025-01-09 14:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:14:03] Production.INFO: count ==21
[2025-01-09 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210117') start
[2025-01-09 14:14:04] Production.ERROR: done
[2025-01-09 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210117') end
[2025-01-09 14:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:14:04] Production.INFO: 1
[2025-01-09 14:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:14:04] Production.INFO: ==2649== Releasing lock...
[2025-01-09 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:14:04] Production.INFO: Account Balance End.
[2025-01-09 14:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:14:04] Production.INFO: ==2645== Releasing lock...
[2025-01-09 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:14:04
[end_date_ymd] => 2025-01-09 14:14:04
[RateCDR] => 1
)
[2025-01-09 14:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:14:04' and `end` < '2025-01-09 14:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:14:11] Production.ERROR: CronJobId end10
[2025-01-09 14:14:11] Production.INFO: ==2643== Releasing lock...
[2025-01-09 14:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:14:13] Production.INFO: call_cost start
[2025-01-09 14:14:13] Production.INFO: call_cost end
[2025-01-09 14:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:14:14] Production.INFO: ==2639== Releasing lock...
[2025-01-09 14:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:14:19] Production.INFO: count ==4820
[2025-01-09 14:14:21] Production.ERROR: pbx CDR StartTime 2025-01-09 11:14:04 - End Time 2025-01-09 14:14:04
[2025-01-09 14:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210118', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210118', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210118', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210118', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:14:21] Production.INFO: ProcessCDR(1,14210118,1,1,2)
[2025-01-09 14:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:14:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210118,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:14:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210118,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210118', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210118', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:14:26] Production.INFO: ==2647== Releasing lock...
[2025-01-09 14:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:14:26] Production.INFO: 64 MB #Memory Used#
[2025-01-09 19:15:02] Production.INFO: ==2710== Lock acquired, processing the job...
[2025-01-09 19:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:15:02] Production.INFO: neon service started
[2025-01-09 19:15:02] Production.INFO: neon service started
[2025-01-09 19:15:02] Production.INFO: ==2710== Releasing lock...
[2025-01-09 19:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:15:02] Production.INFO: ==2712== Lock acquired, processing the job...
[2025-01-09 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:15:02] Production.INFO: ==2714== Lock acquired, processing the job...
[2025-01-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:15:02] Production.INFO: ==2714== Releasing lock...
[2025-01-09 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:15:03] Production.INFO: ==2712== Releasing lock...
[2025-01-09 14:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:15:03] Production.INFO: ==2717== Lock acquired, processing the job...
[2025-01-09 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:15:03] Production.INFO: ==2719== Lock acquired, processing the job...
[2025-01-09 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:15:03] Production.INFO: ==2721== Lock acquired, processing the job...
[2025-01-09 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:15:04] Production.INFO: ==2723== Lock acquired, processing the job...
[2025-01-09 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:15:04] Production.INFO: ==2725== Lock acquired, processing the job...
[2025-01-09 14:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:15:04] Production.INFO: ==2719== Releasing lock...
[2025-01-09 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:15:04] Production.INFO: ==2727== Lock acquired, processing the job...
[2025-01-09 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:15:04] Production.INFO: Account Balance Start.
[2025-01-09 14:15:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:15:04] Production.INFO: 117
[2025-01-09 14:15:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:15:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:15:04] Production.INFO: Total Charge 0
[2025-01-09 14:15:04] Production.INFO: CreateAllLog End
[2025-01-09 14:15:04] Production.INFO: count ==21
[2025-01-09 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:15:04] Production.INFO: count ==21
[2025-01-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210122') start
[2025-01-09 14:15:04] Production.ERROR: done
[2025-01-09 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:15:04] Production.INFO: Account Balance End.
[2025-01-09 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210122') end
[2025-01-09 14:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:15:04] Production.INFO: 1
[2025-01-09 14:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:15:04] Production.ERROR: done
[2025-01-09 14:15:04] Production.INFO: ==2723== Releasing lock...
[2025-01-09 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:15:04] Production.INFO: ==2727== Releasing lock...
[2025-01-09 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:15:05
[end_date_ymd] => 2025-01-09 14:15:05
[RateCDR] => 1
)
[2025-01-09 14:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:15:05' and `end` < '2025-01-09 14:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:15:11] Production.ERROR: CronJobId end10
[2025-01-09 14:15:11] Production.INFO: ==2721== Releasing lock...
[2025-01-09 14:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:15:13] Production.INFO: call_cost start
[2025-01-09 14:15:13] Production.INFO: call_cost end
[2025-01-09 14:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:15:14] Production.INFO: ==2717== Releasing lock...
[2025-01-09 14:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:15:20] Production.INFO: count ==4809
[2025-01-09 14:15:22] Production.ERROR: pbx CDR StartTime 2025-01-09 11:15:05 - End Time 2025-01-09 14:15:05
[2025-01-09 14:15:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210123', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210123', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210123', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:15:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210123', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:15:22] Production.INFO: ProcessCDR(1,14210123,1,1,2)
[2025-01-09 14:15:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:15:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210123,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:15:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210123,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210123', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210123', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:15:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:15:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:15:27] Production.INFO: ==2725== Releasing lock...
[2025-01-09 14:15:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:15:27] Production.INFO: 64 MB #Memory Used#
[2025-01-09 19:16:01] Production.INFO: ==2786== Lock acquired, processing the job...
[2025-01-09 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:16:01] Production.INFO: neon service started
[2025-01-09 19:16:01] Production.INFO: neon service started
[2025-01-09 19:16:01] Production.INFO: ==2786== Releasing lock...
[2025-01-09 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:16:01] Production.INFO: ==2790== Lock acquired, processing the job...
[2025-01-09 19:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:16:01] Production.INFO: ==2790== Releasing lock...
[2025-01-09 19:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:16:02] Production.INFO: ==2788== Lock acquired, processing the job...
[2025-01-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:16:02] Production.INFO: ==2788== Releasing lock...
[2025-01-09 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:16:03] Production.INFO: ==2793== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:16:03] Production.INFO: ==2795== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:16:03] Production.INFO: ==2801== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:16:03] Production.INFO: ==2799== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: ==2797== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:16:03] Production.INFO: ==2795== Releasing lock...
[2025-01-09 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:16:03] Production.INFO: ==2803== Lock acquired, processing the job...
[2025-01-09 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:16:03] Production.ERROR: done
[2025-01-09 14:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:16:03] Production.INFO: Account Balance Start.
[2025-01-09 14:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:16:03] Production.INFO: 117
[2025-01-09 14:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:16:03] Production.INFO: count ==21
[2025-01-09 14:16:03] Production.ERROR: done
[2025-01-09 14:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:16:03] Production.INFO: count ==21
[2025-01-09 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210127') start
[2025-01-09 14:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210127') end
[2025-01-09 14:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:16:03] Production.INFO: 1
[2025-01-09 14:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:16:03] Production.INFO: Total Charge 0
[2025-01-09 14:16:03] Production.INFO: CreateAllLog End
[2025-01-09 14:16:04] Production.INFO: ==2803== Releasing lock...
[2025-01-09 14:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:16:04] Production.INFO: Account Balance End.
[2025-01-09 14:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:16:04] Production.INFO: ==2799== Releasing lock...
[2025-01-09 14:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:16:04
[end_date_ymd] => 2025-01-09 14:16:04
[RateCDR] => 1
)
[2025-01-09 14:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:16:04' and `end` < '2025-01-09 14:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:16:12] Production.ERROR: CronJobId end10
[2025-01-09 14:16:12] Production.INFO: ==2797== Releasing lock...
[2025-01-09 14:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:16:12] Production.INFO: call_cost start
[2025-01-09 14:16:12] Production.INFO: call_cost end
[2025-01-09 14:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:16:13] Production.INFO: ==2793== Releasing lock...
[2025-01-09 14:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:16:28] Production.INFO: count ==4843
[2025-01-09 14:16:30] Production.ERROR: pbx CDR StartTime 2025-01-09 11:16:04 - End Time 2025-01-09 14:16:04
[2025-01-09 14:16:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210128', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210128', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210128', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210128', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:16:30] Production.INFO: ProcessCDR(1,14210128,1,1,2)
[2025-01-09 14:16:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:16:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210128,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:16:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:16:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210128,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:16:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210128', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:16:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210128', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:16:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:16:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:16:35] Production.INFO: ==2801== Releasing lock...
[2025-01-09 14:16:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:16:35] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:17:01] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-01-09 19:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:17:01] Production.INFO: neon service started
[2025-01-09 19:17:01] Production.INFO: neon service started
[2025-01-09 19:17:01] Production.INFO: ==2860== Releasing lock...
[2025-01-09 19:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:17:02] Production.INFO: ==2862== Lock acquired, processing the job...
[2025-01-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:17:02] Production.INFO: ==2864== Lock acquired, processing the job...
[2025-01-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:17:02] Production.INFO: ==2862== Releasing lock...
[2025-01-09 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:17:02] Production.INFO: ==2864== Releasing lock...
[2025-01-09 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:17:03] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-01-09 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:17:03] Production.INFO: ==2871== Lock acquired, processing the job...
[2025-01-09 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:17:03] Production.INFO: ==2869== Lock acquired, processing the job...
[2025-01-09 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:17:03] Production.INFO: ==2873== Lock acquired, processing the job...
[2025-01-09 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:17:03] Production.INFO: ==2875== Lock acquired, processing the job...
[2025-01-09 14:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:17:03] Production.INFO: ==2869== Releasing lock...
[2025-01-09 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:17:03] Production.INFO: ==2877== Lock acquired, processing the job...
[2025-01-09 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:17:03] Production.INFO: Account Balance Start.
[2025-01-09 14:17:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:17:03] Production.INFO: 117
[2025-01-09 14:17:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:17:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:17:04] Production.INFO: count ==21
[2025-01-09 14:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:17:04] Production.INFO: count ==21
[2025-01-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210132') start
[2025-01-09 14:17:04] Production.INFO: Total Charge 0
[2025-01-09 14:17:04] Production.ERROR: done
[2025-01-09 14:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:17:04] Production.INFO: CreateAllLog End
[2025-01-09 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210132') end
[2025-01-09 14:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:17:04] Production.INFO: 1
[2025-01-09 14:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:17:04] Production.INFO: ==2877== Releasing lock...
[2025-01-09 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:17:04] Production.ERROR: done
[2025-01-09 14:17:04] Production.INFO: Account Balance End.
[2025-01-09 14:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:17:04] Production.INFO: ==2873== Releasing lock...
[2025-01-09 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:17:05
[end_date_ymd] => 2025-01-09 14:17:05
[RateCDR] => 1
)
[2025-01-09 14:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:17:05' and `end` < '2025-01-09 14:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:17:11] Production.ERROR: CronJobId end10
[2025-01-09 14:17:11] Production.INFO: ==2871== Releasing lock...
[2025-01-09 14:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:17:13] Production.INFO: call_cost start
[2025-01-09 14:17:13] Production.INFO: call_cost end
[2025-01-09 14:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:17:13] Production.INFO: ==2867== Releasing lock...
[2025-01-09 14:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:17:30] Production.INFO: count ==4849
[2025-01-09 14:17:32] Production.ERROR: pbx CDR StartTime 2025-01-09 11:17:05 - End Time 2025-01-09 14:17:05
[2025-01-09 14:17:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:17:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210133', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:17:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210133', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:17:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210133', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:17:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210133', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:17:32] Production.INFO: ProcessCDR(1,14210133,1,1,2)
[2025-01-09 14:17:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:17:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210133,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:17:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:17:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210133,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:17:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210133', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:17:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210133', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:17:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:17:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:17:37] Production.INFO: ==2875== Releasing lock...
[2025-01-09 14:17:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:17:37] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:18:02] Production.INFO: ==2929== Lock acquired, processing the job...
[2025-01-09 19:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:18:02] Production.INFO: neon service started
[2025-01-09 19:18:02] Production.INFO: neon service started
[2025-01-09 19:18:02] Production.INFO: ==2929== Releasing lock...
[2025-01-09 19:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:18:02] Production.INFO: ==2932== Lock acquired, processing the job...
[2025-01-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:18:02] Production.INFO: ==2932== Releasing lock...
[2025-01-09 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:18:03] Production.INFO: ==2934== Lock acquired, processing the job...
[2025-01-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:18:03] Production.INFO: ==2934== Releasing lock...
[2025-01-09 19:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:18:03] Production.INFO: ==2938== Lock acquired, processing the job...
[2025-01-09 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:18:03] Production.INFO: ==2942== Lock acquired, processing the job...
[2025-01-09 14:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:18:03] Production.INFO: ==2944== Lock acquired, processing the job...
[2025-01-09 14:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:18:03] Production.INFO: Account Balance Start.
[2025-01-09 14:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:18:03] Production.INFO: 117
[2025-01-09 14:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:18:03] Production.INFO: ==2936== Lock acquired, processing the job...
[2025-01-09 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:18:04] Production.INFO: ==2940== Lock acquired, processing the job...
[2025-01-09 14:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:18:04] Production.INFO: ==2946== Lock acquired, processing the job...
[2025-01-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:18:04] Production.INFO: ==2938== Releasing lock...
[2025-01-09 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:18:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:18:04] Production.INFO: Total Charge 0
[2025-01-09 14:18:04] Production.INFO: CreateAllLog End
[2025-01-09 14:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:18:04] Production.ERROR: done
[2025-01-09 14:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:18:04] Production.INFO: count ==21
[2025-01-09 14:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:18:04] Production.ERROR: done
[2025-01-09 14:18:04] Production.INFO: count ==21
[2025-01-09 14:18:04] Production.INFO: Account Balance End.
[2025-01-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210137') start
[2025-01-09 14:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:18:04] Production.INFO: ==2942== Releasing lock...
[2025-01-09 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210137') end
[2025-01-09 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:18:04] Production.INFO: 1
[2025-01-09 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:18:04] Production.INFO: ==2946== Releasing lock...
[2025-01-09 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:18:05
[end_date_ymd] => 2025-01-09 14:18:05
[RateCDR] => 1
)
[2025-01-09 14:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:18:05' and `end` < '2025-01-09 14:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:18:12] Production.ERROR: CronJobId end10
[2025-01-09 14:18:12] Production.INFO: ==2940== Releasing lock...
[2025-01-09 14:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:18:14] Production.INFO: call_cost start
[2025-01-09 14:18:14] Production.INFO: call_cost end
[2025-01-09 14:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:18:14] Production.INFO: ==2936== Releasing lock...
[2025-01-09 14:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:18:32] Production.INFO: count ==4857
[2025-01-09 14:18:34] Production.ERROR: pbx CDR StartTime 2025-01-09 11:18:05 - End Time 2025-01-09 14:18:05
[2025-01-09 14:18:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:18:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210138', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210138', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210138', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210138', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:18:35] Production.INFO: ProcessCDR(1,14210138,1,1,2)
[2025-01-09 14:18:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:18:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210138,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:18:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:18:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210138,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:18:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210138', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:18:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210138', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:18:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:18:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:18:39] Production.INFO: ==2944== Releasing lock...
[2025-01-09 14:18:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:18:39] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:19:01] Production.INFO: ==2999== Lock acquired, processing the job...
[2025-01-09 19:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:19:01] Production.INFO: neon service started
[2025-01-09 19:19:01] Production.INFO: neon service started
[2025-01-09 19:19:01] Production.INFO: ==2999== Releasing lock...
[2025-01-09 19:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:19:02] Production.INFO: ==3001== Lock acquired, processing the job...
[2025-01-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:19:02] Production.INFO: ==3003== Lock acquired, processing the job...
[2025-01-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:19:02] Production.INFO: ==3003== Releasing lock...
[2025-01-09 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:19:02] Production.INFO: ==3001== Releasing lock...
[2025-01-09 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:19:03] Production.INFO: ==3006== Lock acquired, processing the job...
[2025-01-09 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:19:03] Production.INFO: ==3008== Lock acquired, processing the job...
[2025-01-09 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:19:03] Production.INFO: ==3012== Lock acquired, processing the job...
[2025-01-09 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:19:03] Production.INFO: ==3010== Lock acquired, processing the job...
[2025-01-09 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:19:03] Production.INFO: Account Balance Start.
[2025-01-09 14:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:19:03] Production.INFO: 117
[2025-01-09 14:19:03] Production.INFO: ==3008== Releasing lock...
[2025-01-09 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:19:03] Production.INFO: ==3014== Lock acquired, processing the job...
[2025-01-09 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:19:03] Production.INFO: Total Charge 0
[2025-01-09 14:19:03] Production.INFO: CreateAllLog End
[2025-01-09 14:19:03] Production.INFO: ==3016== Lock acquired, processing the job...
[2025-01-09 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:19:03] Production.INFO: Account Balance End.
[2025-01-09 14:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:19:04] Production.INFO: ==3012== Releasing lock...
[2025-01-09 14:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:19:04] Production.ERROR: done
[2025-01-09 14:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:19:04] Production.INFO: count ==21
[2025-01-09 14:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:19:04] Production.INFO: count ==21
[2025-01-09 14:19:04] Production.ERROR: done
[2025-01-09 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210142') start
[2025-01-09 14:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210142') end
[2025-01-09 14:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:19:04] Production.INFO: 1
[2025-01-09 14:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:19:04] Production.INFO: ==3016== Releasing lock...
[2025-01-09 14:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:19:05
[end_date_ymd] => 2025-01-09 14:19:05
[RateCDR] => 1
)
[2025-01-09 14:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:19:05' and `end` < '2025-01-09 14:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:19:11] Production.ERROR: CronJobId end10
[2025-01-09 14:19:11] Production.INFO: ==3010== Releasing lock...
[2025-01-09 14:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:19:13] Production.INFO: call_cost start
[2025-01-09 14:19:13] Production.INFO: call_cost end
[2025-01-09 14:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:19:13] Production.INFO: ==3006== Releasing lock...
[2025-01-09 14:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:19:22] Production.INFO: count ==4857
[2025-01-09 14:19:24] Production.ERROR: pbx CDR StartTime 2025-01-09 11:19:05 - End Time 2025-01-09 14:19:05
[2025-01-09 14:19:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210143', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210143', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210143', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210143', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:19:24] Production.INFO: ProcessCDR(1,14210143,1,1,2)
[2025-01-09 14:19:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:19:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210143,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:19:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:19:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210143,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210143', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:19:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210143', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:19:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:19:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:19:28] Production.INFO: ==3014== Releasing lock...
[2025-01-09 14:19:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:19:28] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:20:02] Production.INFO: ==3073== Lock acquired, processing the job...
[2025-01-09 19:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:20:02] Production.INFO: neon service started
[2025-01-09 19:20:02] Production.INFO: neon service started
[2025-01-09 19:20:02] Production.INFO: ==3073== Releasing lock...
[2025-01-09 19:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:20:02] Production.INFO: ==3075== Lock acquired, processing the job...
[2025-01-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:20:02] Production.INFO: ==3075== Releasing lock...
[2025-01-09 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:20:02] Production.INFO: ==3077== Lock acquired, processing the job...
[2025-01-09 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:20:03] Production.INFO: ==3077== Releasing lock...
[2025-01-09 19:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:20:03] Production.INFO: ==3082== Lock acquired, processing the job...
[2025-01-09 14:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:20:03] Production.INFO: ==3084== Lock acquired, processing the job...
[2025-01-09 14:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:20:03] Production.INFO: ==3086== Lock acquired, processing the job...
[2025-01-09 14:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:20:03] Production.INFO: ==3088== Lock acquired, processing the job...
[2025-01-09 14:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:20:04] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:20:04] Production.INFO: ==3090== Lock acquired, processing the job...
[2025-01-09 14:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:20:04] Production.INFO: ==3094== Lock acquired, processing the job...
[2025-01-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:20:04] Production.INFO: ==3092== Lock acquired, processing the job...
[2025-01-09 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 14:20:04] Production.INFO: ==3084== Releasing lock...
[2025-01-09 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:20:04] Production.INFO: Account Balance Start.
[2025-01-09 14:20:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:20:04] Production.ERROR: CronJob PID - 3082
[2025-01-09 14:20:04] Production.INFO: 117
[2025-01-09 14:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 14:20:04] Production.ERROR: CronJob ID - 5
[2025-01-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:20:00
[2025-01-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:20:04] Production.ERROR: CronJob PID - 3086
[2025-01-09 14:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 14:20:04] Production.ERROR: CronJob ID - 10
[2025-01-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:20:00
[2025-01-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:20:04] Production.ERROR: CronJob PID - 3088
[2025-01-09 14:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 14:20:04] Production.ERROR: CronJob ID - 12
[2025-01-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:20:00
[2025-01-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:20:04] Production.ERROR: CronJob PID - 3094
[2025-01-09 14:20:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 14:20:04] Production.ERROR: CronJob ID - 19
[2025-01-09 14:20:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:20:00
[2025-01-09 14:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:20:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 14:20:04] Production.INFO: ==3080== Releasing lock...
[2025-01-09 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 14:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:20:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:20:04] Production.INFO: count ==21
[2025-01-09 14:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:20:04] Production.INFO: count ==21
[2025-01-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210147') start
[2025-01-09 14:20:04] Production.INFO: Total Charge 0
[2025-01-09 14:20:04] Production.INFO: CreateAllLog End
[2025-01-09 14:20:04] Production.ERROR: done
[2025-01-09 14:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:20:04] Production.ERROR: done
[2025-01-09 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210147') end
[2025-01-09 14:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:20:04] Production.INFO: 1
[2025-01-09 14:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:20:04] Production.INFO: ==3094== Releasing lock...
[2025-01-09 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:20:04] Production.ERROR: done
[2025-01-09 14:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 14:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210148', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 14:20:04] Production.INFO: Account Balance End.
[2025-01-09 14:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:20:04] Production.INFO: ==3088== Releasing lock...
[2025-01-09 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:20:05
[end_date_ymd] => 2025-01-09 14:20:05
[RateCDR] => 1
)
[2025-01-09 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-01-09 11:20:05' and `end` < '2025-01-09 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-01-09 14:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210148', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 14:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 14:20:08] Production.INFO: ProcessCDR(1,14210148,1,1,2)
[2025-01-09 14:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210148,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210148,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:20:08] Production.INFO: ==3092== Releasing lock...
[2025-01-09 14:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 14:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 14:20: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-01-09 14:20:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:20:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:20:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:20:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:20:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:20:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:20:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:20:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:20:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:20:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:20:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:20:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:20:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:20:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:20:12] Production.INFO: call_cost start
[2025-01-09 14:20:12] Production.INFO: call_cost end
[2025-01-09 14:20:13] Production.ERROR: CronJobId end10
[2025-01-09 14:20:13] Production.INFO: ==3086== Releasing lock...
[2025-01-09 14:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:20:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:20:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:20:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:20:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:20:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:20:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:20:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:20:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:20:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:20:13] Production.INFO: ==3082== Releasing lock...
[2025-01-09 14:20:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:20:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:20:19] Production.INFO: count ==4855
[2025-01-09 14:20:21] Production.ERROR: pbx CDR StartTime 2025-01-09 11:20:05 - End Time 2025-01-09 14:20:05
[2025-01-09 14:20:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210149', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210149', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210149', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:20:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210149', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:20:21] Production.INFO: ProcessCDR(1,14210149,1,1,2)
[2025-01-09 14:20:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:20:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:20:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:20:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210149', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:20:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210149', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:20:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:20:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:20:26] Production.INFO: ==3090== Releasing lock...
[2025-01-09 14:20:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:20:26] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:21:01] Production.INFO: ==3152== Lock acquired, processing the job...
[2025-01-09 19:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:21:01] Production.INFO: neon service started
[2025-01-09 19:21:01] Production.INFO: neon service started
[2025-01-09 19:21:01] Production.INFO: ==3152== Releasing lock...
[2025-01-09 19:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:21:01] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-01-09 14:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:21:02] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-01-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:21:02] Production.INFO: ==3154== Releasing lock...
[2025-01-09 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:21:02] Production.INFO: ==3156== Releasing lock...
[2025-01-09 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:21:03] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:21:03] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:21:03] Production.INFO: ==3167== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:21:03] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:21:03] Production.INFO: ==3169== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:21:03] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-01-09 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:21:03] Production.INFO: Account Balance Start.
[2025-01-09 14:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:21:03] Production.INFO: 117
[2025-01-09 14:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:21:03] Production.INFO: Total Charge 0
[2025-01-09 14:21:03] Production.INFO: count ==21
[2025-01-09 14:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:21:03] Production.INFO: count ==21
[2025-01-09 14:21:03] Production.INFO: CreateAllLog End
[2025-01-09 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210153') start
[2025-01-09 14:21:03] Production.INFO: ==3160== Releasing lock...
[2025-01-09 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:21:03] Production.ERROR: done
[2025-01-09 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210153') end
[2025-01-09 14:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:21:03] Production.INFO: 1
[2025-01-09 14:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:21:03] Production.INFO: Account Balance End.
[2025-01-09 14:21:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:21:03] Production.INFO: ==3164== Releasing lock...
[2025-01-09 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:21:03] Production.INFO: ==3169== Releasing lock...
[2025-01-09 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:21:03] Production.ERROR: done
[2025-01-09 14:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:21:04
[end_date_ymd] => 2025-01-09 14:21:04
[RateCDR] => 1
)
[2025-01-09 14:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:21:04' and `end` < '2025-01-09 14:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:21:11] Production.ERROR: CronJobId end10
[2025-01-09 14:21:11] Production.INFO: ==3162== Releasing lock...
[2025-01-09 14:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:21:13] Production.INFO: call_cost start
[2025-01-09 14:21:13] Production.INFO: call_cost end
[2025-01-09 14:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:21:14] Production.INFO: ==3158== Releasing lock...
[2025-01-09 14:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:21:25] Production.INFO: count ==4871
[2025-01-09 14:21:27] Production.ERROR: pbx CDR StartTime 2025-01-09 11:21:04 - End Time 2025-01-09 14:21:04
[2025-01-09 14:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210154', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210154', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210154', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210154', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:21:27] Production.INFO: ProcessCDR(1,14210154,1,1,2)
[2025-01-09 14:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:21:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210154,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:21:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:21:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210154,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210154', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210154', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:21:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:21:32] Production.INFO: ==3167== Releasing lock...
[2025-01-09 14:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:21:32] Production.INFO: 64.5 MB #Memory Used#
[2025-01-09 19:22:02] Production.INFO: ==3261== Lock acquired, processing the job...
[2025-01-09 19:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:22:02] Production.INFO: neon service started
[2025-01-09 19:22:02] Production.INFO: neon service started
[2025-01-09 19:22:02] Production.INFO: ==3261== Releasing lock...
[2025-01-09 19:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:22:02] Production.INFO: ==3263== Lock acquired, processing the job...
[2025-01-09 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:22:02] Production.INFO: ==3265== Lock acquired, processing the job...
[2025-01-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:22:02] Production.INFO: ==3265== Releasing lock...
[2025-01-09 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:22:03] Production.INFO: ==3263== Releasing lock...
[2025-01-09 14:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:22:03] Production.INFO: ==3268== Lock acquired, processing the job...
[2025-01-09 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:22:03] Production.INFO: ==3270== Lock acquired, processing the job...
[2025-01-09 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:22:03] Production.INFO: ==3276== Lock acquired, processing the job...
[2025-01-09 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:22:04] Production.INFO: ==3272== Lock acquired, processing the job...
[2025-01-09 14:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:22:04] Production.INFO: ==3274== Lock acquired, processing the job...
[2025-01-09 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:22:04] Production.INFO: ==3278== Lock acquired, processing the job...
[2025-01-09 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:22:04] Production.INFO: ==3270== Releasing lock...
[2025-01-09 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:22:04] Production.INFO: Account Balance Start.
[2025-01-09 14:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:22:04] Production.INFO: 117
[2025-01-09 14:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:22:04] Production.INFO: count ==21
[2025-01-09 14:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:22:04] Production.INFO: count ==21
[2025-01-09 14:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210158') start
[2025-01-09 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:22:04] Production.ERROR: done
[2025-01-09 14:22:04] Production.INFO: Total Charge 0
[2025-01-09 14:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:22:04] Production.INFO: CreateAllLog End
[2025-01-09 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210158') end
[2025-01-09 14:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:22:04] Production.INFO: 1
[2025-01-09 14:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:22:04] Production.ERROR: done
[2025-01-09 14:22:04] Production.INFO: ==3278== Releasing lock...
[2025-01-09 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:22:04] Production.INFO: Account Balance End.
[2025-01-09 14:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:22:04] Production.INFO: ==3274== Releasing lock...
[2025-01-09 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:22:05
[end_date_ymd] => 2025-01-09 14:22:05
[RateCDR] => 1
)
[2025-01-09 14:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:22:05' and `end` < '2025-01-09 14:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:22:11] Production.ERROR: CronJobId end10
[2025-01-09 14:22:11] Production.INFO: ==3272== Releasing lock...
[2025-01-09 14:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:22:13] Production.INFO: call_cost start
[2025-01-09 14:22:13] Production.INFO: call_cost end
[2025-01-09 14:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:22:14] Production.INFO: ==3268== Releasing lock...
[2025-01-09 14:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:22:30] Production.INFO: count ==4898
[2025-01-09 14:22:32] Production.ERROR: pbx CDR StartTime 2025-01-09 11:22:05 - End Time 2025-01-09 14:22:05
[2025-01-09 14:22:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:22:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210159', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:22:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210159', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:22:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210159', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:22:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210159', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:22:32] Production.INFO: ProcessCDR(1,14210159,1,1,2)
[2025-01-09 14:22:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:22:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210159,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:22:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:22:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210159,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:22:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210159', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:22:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210159', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:22:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:22:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:22:37] Production.INFO: ==3276== Releasing lock...
[2025-01-09 14:22:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:22:37] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:23:01] Production.INFO: ==3330== Lock acquired, processing the job...
[2025-01-09 19:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:23:01] Production.INFO: neon service started
[2025-01-09 19:23:01] Production.INFO: neon service started
[2025-01-09 19:23:01] Production.INFO: ==3330== Releasing lock...
[2025-01-09 19:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:23:01] Production.INFO: ==3333== Lock acquired, processing the job...
[2025-01-09 14:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:23:02] Production.INFO: ==3333== Releasing lock...
[2025-01-09 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:23:02] Production.INFO: ==3335== Lock acquired, processing the job...
[2025-01-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:23:02] Production.INFO: ==3335== Releasing lock...
[2025-01-09 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:23:03] Production.INFO: ==3339== Lock acquired, processing the job...
[2025-01-09 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:23:03] Production.INFO: ==3345== Lock acquired, processing the job...
[2025-01-09 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:23:03] Production.INFO: ==3337== Lock acquired, processing the job...
[2025-01-09 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:23:03] Production.INFO: ==3341== Lock acquired, processing the job...
[2025-01-09 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:23:03] Production.INFO: ==3343== Lock acquired, processing the job...
[2025-01-09 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:23:03] Production.INFO: ==3347== Lock acquired, processing the job...
[2025-01-09 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:23:03] Production.INFO: Account Balance Start.
[2025-01-09 14:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:23:03] Production.INFO: 117
[2025-01-09 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:23:03] Production.INFO: ==3339== Releasing lock...
[2025-01-09 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:23:03] Production.ERROR: done
[2025-01-09 14:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:23:03] Production.INFO: count ==21
[2025-01-09 14:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:23:03] Production.INFO: count ==21
[2025-01-09 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210163') start
[2025-01-09 14:23:03] Production.INFO: Total Charge 0
[2025-01-09 14:23:03] Production.INFO: CreateAllLog End
[2025-01-09 14:23:03] Production.ERROR: done
[2025-01-09 14:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210163') end
[2025-01-09 14:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:23:03] Production.INFO: 1
[2025-01-09 14:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:23:03] Production.INFO: ==3347== Releasing lock...
[2025-01-09 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:23:04] Production.INFO: Account Balance End.
[2025-01-09 14:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:23:04] Production.INFO: ==3343== Releasing lock...
[2025-01-09 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:23:05
[end_date_ymd] => 2025-01-09 14:23:05
[RateCDR] => 1
)
[2025-01-09 14:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:23:05' and `end` < '2025-01-09 14:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:23:12] Production.ERROR: CronJobId end10
[2025-01-09 14:23:12] Production.INFO: ==3341== Releasing lock...
[2025-01-09 14:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:23:13] Production.INFO: call_cost start
[2025-01-09 14:23:13] Production.INFO: call_cost end
[2025-01-09 14:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:23:14] Production.INFO: ==3337== Releasing lock...
[2025-01-09 14:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:23:27] Production.INFO: count ==4917
[2025-01-09 14:23:29] Production.ERROR: pbx CDR StartTime 2025-01-09 11:23:05 - End Time 2025-01-09 14:23:05
[2025-01-09 14:23:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:23:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210164', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:23:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210164', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:23:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210164', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:23:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210164', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:23:29] Production.INFO: ProcessCDR(1,14210164,1,1,2)
[2025-01-09 14:23:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:23:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210164,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:23:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:23:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210164,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:23:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210164', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:23:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210164', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:23:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:23:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:23:34] Production.INFO: ==3345== Releasing lock...
[2025-01-09 14:23:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:23:34] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:24:01] Production.INFO: ==3405== Lock acquired, processing the job...
[2025-01-09 19:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:24:02] Production.INFO: neon service started
[2025-01-09 19:24:02] Production.INFO: neon service started
[2025-01-09 19:24:02] Production.INFO: ==3405== Releasing lock...
[2025-01-09 19:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:24:02] Production.INFO: ==3407== Lock acquired, processing the job...
[2025-01-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:24:02] Production.INFO: ==3409== Lock acquired, processing the job...
[2025-01-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:24:02] Production.INFO: ==3409== Releasing lock...
[2025-01-09 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:24:02] Production.INFO: ==3407== Releasing lock...
[2025-01-09 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:24:03] Production.INFO: ==3418== Lock acquired, processing the job...
[2025-01-09 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:24:03] Production.INFO: ==3422== Lock acquired, processing the job...
[2025-01-09 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:24:03] Production.INFO: Account Balance Start.
[2025-01-09 14:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:24:03] Production.INFO: 117
[2025-01-09 14:24:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:24:03] Production.INFO: ==3412== Lock acquired, processing the job...
[2025-01-09 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:24:03] Production.INFO: count ==21
[2025-01-09 14:24:03] Production.INFO: ==3414== Lock acquired, processing the job...
[2025-01-09 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:24:03] Production.INFO: count ==21
[2025-01-09 14:24:03] Production.INFO: ==3416== Lock acquired, processing the job...
[2025-01-09 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:24:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210166') start
[2025-01-09 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:24:03] Production.INFO: Total Charge 0
[2025-01-09 14:24:03] Production.INFO: CreateAllLog End
[2025-01-09 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210166') end
[2025-01-09 14:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:24:03] Production.INFO: 1
[2025-01-09 14:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:24:03] Production.INFO: ==3420== Lock acquired, processing the job...
[2025-01-09 14:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:24:04] Production.INFO: ==3422== Releasing lock...
[2025-01-09 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:24:04] Production.INFO: Account Balance End.
[2025-01-09 14:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:24:04] Production.INFO: ==3418== Releasing lock...
[2025-01-09 14:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:24:04] Production.INFO: ==3414== Releasing lock...
[2025-01-09 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:24:04] Production.ERROR: done
[2025-01-09 14:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:24:04] Production.ERROR: done
[2025-01-09 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:24:05
[end_date_ymd] => 2025-01-09 14:24:05
[RateCDR] => 1
)
[2025-01-09 14:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:24:05' and `end` < '2025-01-09 14:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:24:12] Production.ERROR: CronJobId end10
[2025-01-09 14:24:12] Production.INFO: ==3416== Releasing lock...
[2025-01-09 14:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:24:13] Production.INFO: call_cost start
[2025-01-09 14:24:13] Production.INFO: call_cost end
[2025-01-09 14:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:24:14] Production.INFO: ==3412== Releasing lock...
[2025-01-09 14:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:24:28] Production.INFO: count ==4899
[2025-01-09 14:24:30] Production.ERROR: pbx CDR StartTime 2025-01-09 11:24:05 - End Time 2025-01-09 14:24:05
[2025-01-09 14:24:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210169', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210169', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210169', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:24:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210169', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:24:30] Production.INFO: ProcessCDR(1,14210169,1,1,2)
[2025-01-09 14:24:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:24:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210169,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:24:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:24:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210169,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:24:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210169', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:24:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210169', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:24:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:24:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:24:34] Production.INFO: ==3420== Releasing lock...
[2025-01-09 14:24:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:24:34] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:25:01] Production.INFO: ==3475== Lock acquired, processing the job...
[2025-01-09 19:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:25:01] Production.INFO: neon service started
[2025-01-09 19:25:01] Production.INFO: neon service started
[2025-01-09 19:25:01] Production.INFO: ==3475== Releasing lock...
[2025-01-09 19:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:25:01] Production.INFO: ==3477== Lock acquired, processing the job...
[2025-01-09 14:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:25:02] Production.INFO: ==3477== Releasing lock...
[2025-01-09 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:25:02] Production.INFO: ==3479== Lock acquired, processing the job...
[2025-01-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:25:02] Production.INFO: ==3479== Releasing lock...
[2025-01-09 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:25:02] Production.INFO: ==3487== Lock acquired, processing the job...
[2025-01-09 14:25:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:25:02] Production.INFO: ==3492== Lock acquired, processing the job...
[2025-01-09 14:25:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:25:02] Production.INFO: Account Balance Start.
[2025-01-09 14:25:02] Production.INFO: CreateAllLog Start
[2025-01-09 14:25:02] Production.INFO: 117
[2025-01-09 14:25:02] Production.INFO: Date 2025-01-08
[2025-01-09 14:25:02] Production.INFO: Reseller ==> 0
[2025-01-09 14:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:25:03] Production.INFO: Total Charge 0
[2025-01-09 14:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:25:03] Production.INFO: ==3483== Lock acquired, processing the job...
[2025-01-09 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:25:03] Production.INFO: CreateAllLog End
[2025-01-09 14:25:03] Production.INFO: ==3481== Lock acquired, processing the job...
[2025-01-09 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:25:03] Production.INFO: count ==21
[2025-01-09 14:25:03] Production.INFO: ==3485== Lock acquired, processing the job...
[2025-01-09 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:25:03] Production.INFO: ==3489== Lock acquired, processing the job...
[2025-01-09 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:25:03] Production.INFO: count ==21
[2025-01-09 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210171') start
[2025-01-09 14:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:25:03] Production.INFO: Account Balance End.
[2025-01-09 14:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210171') end
[2025-01-09 14:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:25:03] Production.INFO: 1
[2025-01-09 14:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:25:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:25:03] Production.INFO: ==3487== Releasing lock...
[2025-01-09 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:25:03] Production.INFO: ==3492== Releasing lock...
[2025-01-09 14:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:25:03] Production.ERROR: done
[2025-01-09 14:25:03] Production.INFO: ==3483== Releasing lock...
[2025-01-09 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:25:03] Production.ERROR: done
[2025-01-09 14:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:25:04
[end_date_ymd] => 2025-01-09 14:25:04
[RateCDR] => 1
)
[2025-01-09 14:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:25:04' and `end` < '2025-01-09 14:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:25:11] Production.ERROR: CronJobId end10
[2025-01-09 14:25:11] Production.INFO: ==3485== Releasing lock...
[2025-01-09 14:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:25:12] Production.INFO: call_cost start
[2025-01-09 14:25:12] Production.INFO: call_cost end
[2025-01-09 14:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:25:13] Production.INFO: ==3481== Releasing lock...
[2025-01-09 14:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:25:24] Production.INFO: count ==4910
[2025-01-09 14:25:26] Production.ERROR: pbx CDR StartTime 2025-01-09 11:25:04 - End Time 2025-01-09 14:25:04
[2025-01-09 14:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210174', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210174', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210174', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210174', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:25:26] Production.INFO: ProcessCDR(1,14210174,1,1,2)
[2025-01-09 14:25:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:25:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210174,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:25:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:25:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210174,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210174', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:25:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210174', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:25:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:25:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:25:31] Production.INFO: ==3489== Releasing lock...
[2025-01-09 14:25:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:25:31] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:26:01] Production.INFO: ==3546== Lock acquired, processing the job...
[2025-01-09 19:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:26:01] Production.INFO: neon service started
[2025-01-09 19:26:01] Production.INFO: neon service started
[2025-01-09 19:26:01] Production.INFO: ==3546== Releasing lock...
[2025-01-09 19:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:26:02] Production.INFO: ==3548== Lock acquired, processing the job...
[2025-01-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:26:02] Production.INFO: ==3548== Releasing lock...
[2025-01-09 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:26:02] Production.INFO: ==3550== Lock acquired, processing the job...
[2025-01-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:26:02] Production.INFO: ==3550== Releasing lock...
[2025-01-09 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:26:03] Production.INFO: ==3553== Lock acquired, processing the job...
[2025-01-09 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:26:03] Production.INFO: ==3561== Lock acquired, processing the job...
[2025-01-09 14:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:26:03] Production.INFO: ==3563== Lock acquired, processing the job...
[2025-01-09 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:26:03] Production.INFO: ==3555== Lock acquired, processing the job...
[2025-01-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:26:03] Production.INFO: ==3559== Lock acquired, processing the job...
[2025-01-09 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:26:03] Production.INFO: ==3557== Lock acquired, processing the job...
[2025-01-09 14:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:26:03] Production.INFO: Account Balance Start.
[2025-01-09 14:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:26:03] Production.INFO: 117
[2025-01-09 14:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:26:03] Production.INFO: count ==21
[2025-01-09 14:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:26:03] Production.INFO: count ==21
[2025-01-09 14:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210178') start
[2025-01-09 14:26:03] Production.ERROR: done
[2025-01-09 14:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:26:03] Production.INFO: Total Charge 0
[2025-01-09 14:26:03] Production.INFO: CreateAllLog End
[2025-01-09 14:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210178') end
[2025-01-09 14:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:26:03] Production.INFO: 1
[2025-01-09 14:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:26:03] Production.INFO: ==3563== Releasing lock...
[2025-01-09 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:26:03] Production.INFO: ==3555== Releasing lock...
[2025-01-09 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:26:03] Production.ERROR: done
[2025-01-09 14:26:04] Production.INFO: Account Balance End.
[2025-01-09 14:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:26:04] Production.INFO: ==3559== Releasing lock...
[2025-01-09 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:26:04
[end_date_ymd] => 2025-01-09 14:26:04
[RateCDR] => 1
)
[2025-01-09 14:26:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:26:04' and `end` < '2025-01-09 14:26:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:26:12] Production.ERROR: CronJobId end10
[2025-01-09 14:26:12] Production.INFO: ==3557== Releasing lock...
[2025-01-09 14:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:26:14] Production.INFO: call_cost start
[2025-01-09 14:26:14] Production.INFO: call_cost end
[2025-01-09 14:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:26:15] Production.INFO: ==3553== Releasing lock...
[2025-01-09 14:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:26:22] Production.INFO: count ==4897
[2025-01-09 14:26:24] Production.ERROR: pbx CDR StartTime 2025-01-09 11:26:04 - End Time 2025-01-09 14:26:04
[2025-01-09 14:26:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210179', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210179', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210179', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:26:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210179', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:26:24] Production.INFO: ProcessCDR(1,14210179,1,1,2)
[2025-01-09 14:26:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210179,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210179,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210179', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210179', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:26:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:26:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:26:27] Production.INFO: ==3561== Releasing lock...
[2025-01-09 14:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:26:27] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:27:02] Production.INFO: ==3617== Lock acquired, processing the job...
[2025-01-09 19:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:27:02] Production.INFO: neon service started
[2025-01-09 19:27:02] Production.INFO: neon service started
[2025-01-09 19:27:02] Production.INFO: ==3617== Releasing lock...
[2025-01-09 19:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:27:02] Production.INFO: ==3620== Lock acquired, processing the job...
[2025-01-09 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:27:03] Production.INFO: ==3622== Lock acquired, processing the job...
[2025-01-09 19:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:27:03] Production.INFO: ==3620== Releasing lock...
[2025-01-09 14:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:27:03] Production.INFO: ==3622== Releasing lock...
[2025-01-09 19:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:27:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:27:03] Production.INFO: ==3624== Lock acquired, processing the job...
[2025-01-09 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:27:03] Production.INFO: ==3626== Lock acquired, processing the job...
[2025-01-09 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:27:03] Production.INFO: ==3628== Lock acquired, processing the job...
[2025-01-09 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:27:04] Production.INFO: ==3630== Lock acquired, processing the job...
[2025-01-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:27:04] Production.INFO: ==3632== Lock acquired, processing the job...
[2025-01-09 14:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:27:04] Production.INFO: ==3634== Lock acquired, processing the job...
[2025-01-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:27:04] Production.INFO: Account Balance Start.
[2025-01-09 14:27:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:27:04] Production.INFO: 117
[2025-01-09 14:27:04] Production.INFO: ==3626== Releasing lock...
[2025-01-09 14:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:27:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:27:04] Production.INFO: count ==21
[2025-01-09 14:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:27:04] Production.INFO: count ==21
[2025-01-09 14:27:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210183') start
[2025-01-09 14:27:04] Production.INFO: Total Charge 0
[2025-01-09 14:27:04] Production.INFO: CreateAllLog End
[2025-01-09 14:27:04] Production.ERROR: done
[2025-01-09 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210183') end
[2025-01-09 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:27:04] Production.INFO: 1
[2025-01-09 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:27:04] Production.ERROR: done
[2025-01-09 14:27:04] Production.INFO: Account Balance End.
[2025-01-09 14:27:04] Production.INFO: ==3634== Releasing lock...
[2025-01-09 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:27:04] Production.INFO: ==3630== Releasing lock...
[2025-01-09 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:27:05
[end_date_ymd] => 2025-01-09 14:27:05
[RateCDR] => 1
)
[2025-01-09 14:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:27:05' and `end` < '2025-01-09 14:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:27:12] Production.ERROR: CronJobId end10
[2025-01-09 14:27:12] Production.INFO: ==3628== Releasing lock...
[2025-01-09 14:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:27:14] Production.INFO: call_cost start
[2025-01-09 14:27:14] Production.INFO: call_cost end
[2025-01-09 14:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:27:15] Production.INFO: ==3624== Releasing lock...
[2025-01-09 14:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:27:24] Production.INFO: count ==4877
[2025-01-09 14:27:26] Production.ERROR: pbx CDR StartTime 2025-01-09 11:27:05 - End Time 2025-01-09 14:27:05
[2025-01-09 14:27:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210184', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210184', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210184', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:27:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210184', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:27:26] Production.INFO: ProcessCDR(1,14210184,1,1,2)
[2025-01-09 14:27:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:27:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210184,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:27:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:27:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210184,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:27:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210184', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:27:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210184', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:27:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:27:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:27:30] Production.INFO: ==3632== Releasing lock...
[2025-01-09 14:27:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:27:30] Production.INFO: 64.5 MB #Memory Used#
[2025-01-09 19:28:01] Production.INFO: ==3693== Lock acquired, processing the job...
[2025-01-09 19:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:28:01] Production.INFO: neon service started
[2025-01-09 19:28:01] Production.INFO: neon service started
[2025-01-09 19:28:01] Production.INFO: ==3693== Releasing lock...
[2025-01-09 19:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:28:02] Production.INFO: ==3695== Lock acquired, processing the job...
[2025-01-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:28:02] Production.INFO: ==3697== Lock acquired, processing the job...
[2025-01-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:28:02] Production.INFO: ==3697== Releasing lock...
[2025-01-09 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:28:02] Production.INFO: ==3695== Releasing lock...
[2025-01-09 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:28:03] Production.INFO: ==3702== Lock acquired, processing the job...
[2025-01-09 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:28:03] Production.INFO: ==3704== Lock acquired, processing the job...
[2025-01-09 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:28:03] Production.INFO: ==3700== Lock acquired, processing the job...
[2025-01-09 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:28:04] Production.INFO: ==3706== Lock acquired, processing the job...
[2025-01-09 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:28:04] Production.INFO: ==3702== Releasing lock...
[2025-01-09 14:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:28:04] Production.INFO: ==3708== Lock acquired, processing the job...
[2025-01-09 14:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:28:04] Production.INFO: Account Balance Start.
[2025-01-09 14:28:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:28:04] Production.INFO: 117
[2025-01-09 14:28:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:28:04] Production.INFO: ==3710== Lock acquired, processing the job...
[2025-01-09 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:28:04] Production.INFO: Total Charge 0
[2025-01-09 14:28:04] Production.INFO: CreateAllLog End
[2025-01-09 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-01-09 14:28:04] Production.INFO: count ==21
[2025-01-09 14:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:28:04] Production.INFO: count ==21
[2025-01-09 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210188') start
[2025-01-09 14:28:04] Production.INFO: Account Balance End.
[2025-01-09 14:28:04] Production.ERROR: done
[2025-01-09 14:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210188') end
[2025-01-09 14:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:28:04] Production.INFO: 1
[2025-01-09 14:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:28:04] Production.INFO: ==3706== Releasing lock...
[2025-01-09 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:28:04] Production.INFO: ==3710== Releasing lock...
[2025-01-09 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:28:04] Production.ERROR: done
[2025-01-09 14:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:28:05
[end_date_ymd] => 2025-01-09 14:28:05
[RateCDR] => 1
)
[2025-01-09 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:28:05' and `end` < '2025-01-09 14:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:28:12] Production.ERROR: CronJobId end10
[2025-01-09 14:28:12] Production.INFO: ==3704== Releasing lock...
[2025-01-09 14:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:28:15] Production.INFO: call_cost start
[2025-01-09 14:28:15] Production.INFO: call_cost end
[2025-01-09 14:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:28:15] Production.INFO: ==3700== Releasing lock...
[2025-01-09 14:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:28:20] Production.INFO: count ==4854
[2025-01-09 14:28:22] Production.ERROR: pbx CDR StartTime 2025-01-09 11:28:05 - End Time 2025-01-09 14:28:05
[2025-01-09 14:28:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210189', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210189', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210189', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:28:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210189', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:28:22] Production.INFO: ProcessCDR(1,14210189,1,1,2)
[2025-01-09 14:28:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:28:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210189,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:28:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:28:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210189,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210189', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:28:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210189', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:28:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:28:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:28:26] Production.INFO: ==3708== Releasing lock...
[2025-01-09 14:28:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:28:26] Production.INFO: 64.25 MB #Memory Used#
[2025-01-09 19:29:02] Production.INFO: ==3767== Lock acquired, processing the job...
[2025-01-09 19:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:29:02] Production.INFO: neon service started
[2025-01-09 19:29:02] Production.INFO: neon service started
[2025-01-09 19:29:02] Production.INFO: ==3767== Releasing lock...
[2025-01-09 19:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:29:02] Production.INFO: ==3769== Lock acquired, processing the job...
[2025-01-09 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:29:02] Production.INFO: ==3771== Lock acquired, processing the job...
[2025-01-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:29:02] Production.INFO: ==3771== Releasing lock...
[2025-01-09 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:29:03] Production.INFO: ==3769== Releasing lock...
[2025-01-09 14:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:29:03] Production.INFO: ==3774== Lock acquired, processing the job...
[2025-01-09 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:29:03] Production.INFO: ==3778== Lock acquired, processing the job...
[2025-01-09 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:29:03] Production.INFO: ==3776== Lock acquired, processing the job...
[2025-01-09 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:29:04] Production.INFO: ==3780== Lock acquired, processing the job...
[2025-01-09 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:29:04] Production.INFO: ==3776== Releasing lock...
[2025-01-09 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:29:04] Production.INFO: Account Balance Start.
[2025-01-09 14:29:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:29:04] Production.INFO: 117
[2025-01-09 14:29:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:29:04] Production.INFO: ==3782== Lock acquired, processing the job...
[2025-01-09 14:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:29:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:29:04] Production.INFO: ==3784== Lock acquired, processing the job...
[2025-01-09 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:29:04] Production.INFO: Total Charge 0
[2025-01-09 14:29:04] Production.INFO: CreateAllLog End
[2025-01-09 14:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:29:04] Production.INFO: count ==21
[2025-01-09 14:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:29:04] Production.INFO: count ==21
[2025-01-09 14:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210193') start
[2025-01-09 14:29:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210193') end
[2025-01-09 14:29:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:29:05] Production.INFO: 1
[2025-01-09 14:29:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:29:05] Production.INFO: ==3784== Releasing lock...
[2025-01-09 14:29:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:29:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:29:05] Production.INFO: Account Balance End.
[2025-01-09 14:29:05] Production.ERROR: done
[2025-01-09 14:29:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:29:05] Production.ERROR: CronJobId end 12
[2025-01-09 14:29:05] Production.INFO: ==3780== Releasing lock...
[2025-01-09 14:29:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:29:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:29:05] Production.ERROR: done
[2025-01-09 14:29:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:29:06
[end_date_ymd] => 2025-01-09 14:29:06
[RateCDR] => 1
)
[2025-01-09 14: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-01-09 11:29:06' and `end` < '2025-01-09 14: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-01-09 14:29:11] Production.ERROR: CronJobId end10
[2025-01-09 14:29:11] Production.INFO: ==3778== Releasing lock...
[2025-01-09 14:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:29:13] Production.INFO: call_cost start
[2025-01-09 14:29:13] Production.INFO: call_cost end
[2025-01-09 14:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:29:14] Production.INFO: ==3774== Releasing lock...
[2025-01-09 14:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:29:20] Production.INFO: count ==4898
[2025-01-09 14:29:22] Production.ERROR: pbx CDR StartTime 2025-01-09 11:29:06 - End Time 2025-01-09 14:29:06
[2025-01-09 14:29:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210194', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210194', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210194', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:29:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210194', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:29:22] Production.INFO: ProcessCDR(1,14210194,1,1,2)
[2025-01-09 14:29:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:29:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210194,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:29:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:29:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210194,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210194', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:29:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210194', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:29:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:29:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:29:26] Production.INFO: ==3782== Releasing lock...
[2025-01-09 14:29:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:29:26] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:30:01] Production.INFO: ==3837== Lock acquired, processing the job...
[2025-01-09 19:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:30:01] Production.INFO: neon service started
[2025-01-09 19:30:01] Production.INFO: neon service started
[2025-01-09 19:30:01] Production.INFO: ==3837== Releasing lock...
[2025-01-09 19:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:30:02] Production.INFO: ==3841== Lock acquired, processing the job...
[2025-01-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:30:02] Production.INFO: ==3841== Releasing lock...
[2025-01-09 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:30:02] Production.INFO: ==3839== Lock acquired, processing the job...
[2025-01-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:30:02] Production.INFO: ==3839== Releasing lock...
[2025-01-09 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:30:03] Production.INFO: ==3849== Lock acquired, processing the job...
[2025-01-09 14:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:30:03] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-01-09 14:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:30:03] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-01-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 14:30:03] Production.INFO: ==3858== Lock acquired, processing the job...
[2025-01-09 14:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 14:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:30:03] Production.ERROR: CronJob PID - 3849
[2025-01-09 14:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 14:30:03] Production.ERROR: CronJob ID - 10
[2025-01-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:30:00
[2025-01-09 14:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:30:03] Production.ERROR: CronJob PID - 3854
[2025-01-09 14:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 14:30:03] Production.ERROR: CronJob ID - 16
[2025-01-09 14:30:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:30:00
[2025-01-09 14:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 14:30:03] Production.INFO: ==3843== Releasing lock...
[2025-01-09 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 14:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 14:30:03] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-01-09 14:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:30:03] Production.INFO: ==3847== Lock acquired, processing the job...
[2025-01-09 14:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:30:04] Production.INFO: ==3851== Lock acquired, processing the job...
[2025-01-09 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:30:04] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-01-09 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 14:30:04] Production.INFO: count ==21
[2025-01-09 14:30:04] Production.ERROR: done
[2025-01-09 14:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:30:04] Production.INFO: count ==21
[2025-01-09 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210195') start
[2025-01-09 14:30:04] Production.ERROR: done
[2025-01-09 14:30:04] Production.INFO: Account Balance Start.
[2025-01-09 14:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:30:04] Production.INFO: 117
[2025-01-09 14:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210195') end
[2025-01-09 14:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:30:04] Production.INFO: 1
[2025-01-09 14:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:30:04] Production.INFO: ==3858== Releasing lock...
[2025-01-09 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:30:04] Production.ERROR: done
[2025-01-09 14:30:04] Production.INFO: Total Charge 0
[2025-01-09 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210200', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 14:30:04] Production.INFO: CreateAllLog End
[2025-01-09 14:30:04] Production.INFO: ==3847== Releasing lock...
[2025-01-09 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:30:04] Production.INFO: Account Balance End.
[2025-01-09 14:30:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:30:04] Production.INFO: ==3851== Releasing lock...
[2025-01-09 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:30:05
[end_date_ymd] => 2025-01-09 14:30:05
[RateCDR] => 1
)
[2025-01-09 14:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:30:05' and `end` < '2025-01-09 14:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210200', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 14:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 14:30:08] Production.INFO: ProcessCDR(1,14210200,1,1,2)
[2025-01-09 14:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210200,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210200,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:30:08] Production.INFO: ==3856== Releasing lock...
[2025-01-09 14:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 14:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 14:30:13] Production.ERROR: CronJobId end10
[2025-01-09 14:30:13] Production.INFO: ==3849== Releasing lock...
[2025-01-09 14:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:30:14] Production.INFO: call_cost start
[2025-01-09 14:30:15] Production.INFO: call_cost end
[2025-01-09 14:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:30:15] Production.INFO: ==3845== Releasing lock...
[2025-01-09 14:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:30:31] Production.INFO: count ==4904
[2025-01-09 14:30:32] Production.ERROR: pbx CDR StartTime 2025-01-09 11:30:05 - End Time 2025-01-09 14:30:05
[2025-01-09 14:30:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:30:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210199', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210199', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210199', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210199', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:30:33] Production.INFO: ProcessCDR(1,14210199,1,1,2)
[2025-01-09 14:30:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:30:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210199,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:30:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:30:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210199,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:30:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210199', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210199', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:30:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:30:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:30:38] Production.INFO: ==3854== Releasing lock...
[2025-01-09 14:30:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:30:38] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:31:02] Production.INFO: ==3913== Lock acquired, processing the job...
[2025-01-09 19:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:31:02] Production.INFO: neon service started
[2025-01-09 19:31:02] Production.INFO: neon service started
[2025-01-09 19:31:02] Production.INFO: ==3913== Releasing lock...
[2025-01-09 19:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:31:02] Production.INFO: ==3915== Lock acquired, processing the job...
[2025-01-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:31:02] Production.INFO: ==3915== Releasing lock...
[2025-01-09 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:31:02] Production.INFO: ==3917== Lock acquired, processing the job...
[2025-01-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:31:02] Production.INFO: ==3917== Releasing lock...
[2025-01-09 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:31:03] Production.INFO: ==3919== Lock acquired, processing the job...
[2025-01-09 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:31:03] Production.INFO: ==3923== Lock acquired, processing the job...
[2025-01-09 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:31:03] Production.INFO: ==3927== Lock acquired, processing the job...
[2025-01-09 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:31:03] Production.INFO: ==3921== Lock acquired, processing the job...
[2025-01-09 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:31:03] Production.INFO: ==3925== Lock acquired, processing the job...
[2025-01-09 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:31:03] Production.INFO: ==3929== Lock acquired, processing the job...
[2025-01-09 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:31:03] Production.INFO: Account Balance Start.
[2025-01-09 14:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:31:03] Production.INFO: 117
[2025-01-09 14:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:31:04] Production.INFO: count ==21
[2025-01-09 14:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:31:04] Production.INFO: Total Charge 0
[2025-01-09 14:31:04] Production.INFO: count ==21
[2025-01-09 14:31:04] Production.ERROR: done
[2025-01-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210204') start
[2025-01-09 14:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:31:04] Production.INFO: CreateAllLog End
[2025-01-09 14:31:04] Production.INFO: ==3921== Releasing lock...
[2025-01-09 14:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:31:04] Production.ERROR: done
[2025-01-09 14:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210204') end
[2025-01-09 14:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:31:04] Production.INFO: 1
[2025-01-09 14:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:31:04] Production.INFO: Account Balance End.
[2025-01-09 14:31:04] Production.INFO: ==3929== Releasing lock...
[2025-01-09 14:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:31:04] Production.INFO: ==3925== Releasing lock...
[2025-01-09 14:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:31:05
[end_date_ymd] => 2025-01-09 14:31:05
[RateCDR] => 1
)
[2025-01-09 14:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:31:05' and `end` < '2025-01-09 14:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:31:11] Production.ERROR: CronJobId end10
[2025-01-09 14:31:11] Production.INFO: ==3923== Releasing lock...
[2025-01-09 14:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:31:13] Production.INFO: call_cost start
[2025-01-09 14:31:13] Production.INFO: call_cost end
[2025-01-09 14:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:31:14] Production.INFO: ==3919== Releasing lock...
[2025-01-09 14:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:31:26] Production.INFO: count ==4924
[2025-01-09 14:31:28] Production.ERROR: pbx CDR StartTime 2025-01-09 11:31:05 - End Time 2025-01-09 14:31:05
[2025-01-09 14:31:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210205', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210205', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210205', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:31:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210205', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:31:28] Production.INFO: ProcessCDR(1,14210205,1,1,2)
[2025-01-09 14:31:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:31:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:31:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:31:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:31:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210205', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:31:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210205', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:31:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:31:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:31:33] Production.INFO: ==3927== Releasing lock...
[2025-01-09 14:31:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:31:33] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:32:01] Production.INFO: ==3982== Lock acquired, processing the job...
[2025-01-09 19:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:32:01] Production.INFO: neon service started
[2025-01-09 19:32:01] Production.INFO: neon service started
[2025-01-09 19:32:01] Production.INFO: ==3982== Releasing lock...
[2025-01-09 19:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:32:02] Production.INFO: ==3984== Lock acquired, processing the job...
[2025-01-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:32:02] Production.INFO: ==3986== Lock acquired, processing the job...
[2025-01-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:32:02] Production.INFO: ==3986== Releasing lock...
[2025-01-09 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:32:02] Production.INFO: ==3984== Releasing lock...
[2025-01-09 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:32:03] Production.INFO: ==3989== Lock acquired, processing the job...
[2025-01-09 14:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:32:03] Production.INFO: ==3991== Lock acquired, processing the job...
[2025-01-09 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:32:03] Production.INFO: ==3997== Lock acquired, processing the job...
[2025-01-09 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:32:03] Production.INFO: ==3993== Lock acquired, processing the job...
[2025-01-09 14:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:32:03] Production.INFO: ==3995== Lock acquired, processing the job...
[2025-01-09 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:32:03] Production.INFO: ==3991== Releasing lock...
[2025-01-09 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:32:03] Production.INFO: ==3999== Lock acquired, processing the job...
[2025-01-09 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:32:03] Production.INFO: Account Balance Start.
[2025-01-09 14:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:32:03] Production.INFO: 117
[2025-01-09 14:32:03] Production.ERROR: done
[2025-01-09 14:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:32:03] Production.INFO: Total Charge 0
[2025-01-09 14:32:03] Production.INFO: CreateAllLog End
[2025-01-09 14:32:03] Production.INFO: count ==21
[2025-01-09 14:32:04] Production.ERROR: done
[2025-01-09 14:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:32:04] Production.INFO: count ==21
[2025-01-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210209') start
[2025-01-09 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210209') end
[2025-01-09 14:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:32:04] Production.INFO: 1
[2025-01-09 14:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:32:04] Production.INFO: Account Balance End.
[2025-01-09 14:32:04] Production.INFO: ==3999== Releasing lock...
[2025-01-09 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:32:04] Production.INFO: ==3995== Releasing lock...
[2025-01-09 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:32:04
[end_date_ymd] => 2025-01-09 14:32:04
[RateCDR] => 1
)
[2025-01-09 14:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:32:04' and `end` < '2025-01-09 14:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:32:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:32:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:32:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:32:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:32:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:32:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:32:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:32:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:32:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:32:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:32:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:32:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:32:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:32:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:32:12] Production.ERROR: CronJobId end10
[2025-01-09 14:32:12] Production.INFO: ==3993== Releasing lock...
[2025-01-09 14:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:32:12] Production.INFO: call_cost start
[2025-01-09 14:32:12] Production.INFO: call_cost end
[2025-01-09 14:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:32:13] Production.INFO: ==3989== Releasing lock...
[2025-01-09 14:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:32:23] Production.INFO: count ==4923
[2025-01-09 14:32:25] Production.ERROR: pbx CDR StartTime 2025-01-09 11:32:04 - End Time 2025-01-09 14:32:04
[2025-01-09 14:32:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210210', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210210', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210210', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210210', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:32:25] Production.INFO: ProcessCDR(1,14210210,1,1,2)
[2025-01-09 14:32:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:32:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210210,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:32:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:32:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210210,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210210', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210210', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:32:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:32:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:32:30] Production.INFO: ==3997== Releasing lock...
[2025-01-09 14:32:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:32:30] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:33:02] Production.INFO: ==4053== Lock acquired, processing the job...
[2025-01-09 19:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:33:02] Production.INFO: neon service started
[2025-01-09 19:33:02] Production.INFO: neon service started
[2025-01-09 19:33:02] Production.INFO: ==4053== Releasing lock...
[2025-01-09 19:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 19:33:02] Production.INFO: ==4057== Lock acquired, processing the job...
[2025-01-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:33:02] Production.INFO: ==4057== Releasing lock...
[2025-01-09 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:33:02] Production.INFO: ==4055== Lock acquired, processing the job...
[2025-01-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:33:02] Production.INFO: ==4055== Releasing lock...
[2025-01-09 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:33:03] Production.INFO: ==4063== Lock acquired, processing the job...
[2025-01-09 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:33:03] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-01-09 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:33:03] Production.INFO: ==4061== Lock acquired, processing the job...
[2025-01-09 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:33:03] Production.INFO: ==4059== Lock acquired, processing the job...
[2025-01-09 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:33:04] Production.INFO: Account Balance Start.
[2025-01-09 14:33:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:33:04] Production.INFO: 117
[2025-01-09 14:33:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:33:04] Production.INFO: ==4068== Lock acquired, processing the job...
[2025-01-09 14:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:33:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:33:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:33:04] Production.INFO: ==4070== Lock acquired, processing the job...
[2025-01-09 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:33:04] Production.INFO: Total Charge 0
[2025-01-09 14:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:33:04] Production.INFO: CreateAllLog End
[2025-01-09 14:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:33:04] Production.INFO: ==4061== Releasing lock...
[2025-01-09 14:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:33:04] Production.INFO: count ==21
[2025-01-09 14:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:33:04] Production.INFO: count ==21
[2025-01-09 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210214') start
[2025-01-09 14:33:04] Production.ERROR: done
[2025-01-09 14:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210214') end
[2025-01-09 14:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:33:04] Production.INFO: 1
[2025-01-09 14:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:33:04] Production.INFO: Account Balance End.
[2025-01-09 14:33:04] Production.INFO: ==4070== Releasing lock...
[2025-01-09 14:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:33:04] Production.INFO: ==4066== Releasing lock...
[2025-01-09 14:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:33:04] Production.ERROR: done
[2025-01-09 14:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:33:05
[end_date_ymd] => 2025-01-09 14:33:05
[RateCDR] => 1
)
[2025-01-09 14:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:33:05' and `end` < '2025-01-09 14:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:33:12] Production.ERROR: CronJobId end10
[2025-01-09 14:33:12] Production.INFO: ==4063== Releasing lock...
[2025-01-09 14:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:33:14] Production.INFO: call_cost start
[2025-01-09 14:33:14] Production.INFO: call_cost end
[2025-01-09 14:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:33:14] Production.INFO: ==4059== Releasing lock...
[2025-01-09 14:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:33:19] Production.INFO: count ==4923
[2025-01-09 14:33:21] Production.ERROR: pbx CDR StartTime 2025-01-09 11:33:05 - End Time 2025-01-09 14:33:05
[2025-01-09 14:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210215', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210215', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210215', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210215', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:33:21] Production.INFO: ProcessCDR(1,14210215,1,1,2)
[2025-01-09 14:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:33:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210215,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:33:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:33:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210215,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210215', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:33:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210215', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:33:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:33:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:33:26] Production.INFO: ==4068== Releasing lock...
[2025-01-09 14:33:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:33:26] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:34:01] Production.INFO: ==4125== Lock acquired, processing the job...
[2025-01-09 19:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:34:01] Production.INFO: neon service started
[2025-01-09 19:34:01] Production.INFO: neon service started
[2025-01-09 19:34:01] Production.INFO: ==4125== Releasing lock...
[2025-01-09 19:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:34:01] Production.INFO: ==4127== Lock acquired, processing the job...
[2025-01-09 14:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:34:02] Production.INFO: ==4129== Lock acquired, processing the job...
[2025-01-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:34:02] Production.INFO: ==4127== Releasing lock...
[2025-01-09 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:34:02] Production.INFO: ==4129== Releasing lock...
[2025-01-09 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:34:02] Production.INFO: ==4131== Lock acquired, processing the job...
[2025-01-09 14:34:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:34:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:34:03] Production.INFO: ==4135== Lock acquired, processing the job...
[2025-01-09 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:34:03] Production.INFO: ==4137== Lock acquired, processing the job...
[2025-01-09 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:34:03] Production.INFO: Account Balance Start.
[2025-01-09 14:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:34:03] Production.INFO: 117
[2025-01-09 14:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:34:03] Production.INFO: ==4133== Lock acquired, processing the job...
[2025-01-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:34:03] Production.INFO: Total Charge 0
[2025-01-09 14:34:03] Production.INFO: CreateAllLog End
[2025-01-09 14:34:03] Production.INFO: ==4139== Lock acquired, processing the job...
[2025-01-09 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:34:03] Production.INFO: Account Balance End.
[2025-01-09 14:34:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:34:03] Production.INFO: ==4137== Releasing lock...
[2025-01-09 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:34:03] Production.INFO: ==4142== Lock acquired, processing the job...
[2025-01-09 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:34:03] Production.INFO: ==4133== Releasing lock...
[2025-01-09 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:34:03] Production.INFO: count ==21
[2025-01-09 14:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:34:03] Production.INFO: count ==21
[2025-01-09 14:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210219') start
[2025-01-09 14:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210219') end
[2025-01-09 14:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:34:03] Production.INFO: 1
[2025-01-09 14:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:34:03] Production.INFO: ==4142== Releasing lock...
[2025-01-09 14:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:34:03] Production.ERROR: done
[2025-01-09 14:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:34:04] Production.ERROR: done
[2025-01-09 14:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:34:05
[end_date_ymd] => 2025-01-09 14:34:05
[RateCDR] => 1
)
[2025-01-09 14:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:34:05' and `end` < '2025-01-09 14:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:34:11] Production.ERROR: CronJobId end10
[2025-01-09 14:34:11] Production.INFO: ==4135== Releasing lock...
[2025-01-09 14:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:34:13] Production.INFO: call_cost start
[2025-01-09 14:34:13] Production.INFO: call_cost end
[2025-01-09 14:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:34:14] Production.INFO: ==4131== Releasing lock...
[2025-01-09 14:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:34:21] Production.INFO: count ==4917
[2025-01-09 14:34:23] Production.ERROR: pbx CDR StartTime 2025-01-09 11:34:05 - End Time 2025-01-09 14:34:05
[2025-01-09 14:34:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210220', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210220', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210220', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:34:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210220', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:34:23] Production.INFO: ProcessCDR(1,14210220,1,1,2)
[2025-01-09 14:34:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:34:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210220,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:34:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:34:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210220,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210220', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:34:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210220', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:34:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:34:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:34:28] Production.INFO: ==4139== Releasing lock...
[2025-01-09 14:34:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:34:28] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:35:01] Production.INFO: ==4208== Lock acquired, processing the job...
[2025-01-09 19:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:35:01] Production.INFO: neon service started
[2025-01-09 19:35:01] Production.INFO: neon service started
[2025-01-09 19:35:01] Production.INFO: ==4208== Releasing lock...
[2025-01-09 19:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:35:02] Production.INFO: ==4210== Lock acquired, processing the job...
[2025-01-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:35:02] Production.INFO: ==4212== Lock acquired, processing the job...
[2025-01-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:35:02] Production.INFO: ==4212== Releasing lock...
[2025-01-09 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:35:02] Production.INFO: ==4210== Releasing lock...
[2025-01-09 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:35:03] Production.INFO: ==4221== Lock acquired, processing the job...
[2025-01-09 14:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:35:03] Production.INFO: ==4225== Lock acquired, processing the job...
[2025-01-09 14:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:35:03] Production.INFO: ==4215== Lock acquired, processing the job...
[2025-01-09 14:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:35:03] Production.INFO: Account Balance Start.
[2025-01-09 14:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:35:03] Production.INFO: ==4217== Lock acquired, processing the job...
[2025-01-09 14:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:35:03] Production.INFO: 117
[2025-01-09 14:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:35:03] Production.INFO: ==4219== Lock acquired, processing the job...
[2025-01-09 14:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:35:03] Production.INFO: Total Charge 0
[2025-01-09 14:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:35:03] Production.INFO: count ==21
[2025-01-09 14:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:35:03] Production.INFO: CreateAllLog End
[2025-01-09 14:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:35:03] Production.INFO: count ==21
[2025-01-09 14:35:04] Production.INFO: ==4223== Lock acquired, processing the job...
[2025-01-09 14:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210222') start
[2025-01-09 14:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210222') end
[2025-01-09 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:35:04] Production.INFO: 1
[2025-01-09 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:35:04] Production.INFO: ==4217== Releasing lock...
[2025-01-09 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:35:04] Production.INFO: Account Balance End.
[2025-01-09 14:35:04] Production.INFO: ==4225== Releasing lock...
[2025-01-09 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:35:04] Production.INFO: ==4221== Releasing lock...
[2025-01-09 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:35:04] Production.ERROR: done
[2025-01-09 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:35:04] Production.ERROR: done
[2025-01-09 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:35:05
[end_date_ymd] => 2025-01-09 14:35:05
[RateCDR] => 1
)
[2025-01-09 14:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:35:05' and `end` < '2025-01-09 14:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:35:12] Production.ERROR: CronJobId end10
[2025-01-09 14:35:12] Production.INFO: ==4219== Releasing lock...
[2025-01-09 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:35:13] Production.INFO: call_cost start
[2025-01-09 14:35:13] Production.INFO: call_cost end
[2025-01-09 14:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:35:14] Production.INFO: ==4215== Releasing lock...
[2025-01-09 14:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:35:25] Production.INFO: count ==4937
[2025-01-09 14:35:27] Production.ERROR: pbx CDR StartTime 2025-01-09 11:35:05 - End Time 2025-01-09 14:35:05
[2025-01-09 14:35:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210225', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210225', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210225', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210225', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:35:27] Production.INFO: ProcessCDR(1,14210225,1,1,2)
[2025-01-09 14:35:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:35:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210225,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:35:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:35:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210225,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210225', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210225', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:35:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:35:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:35:31] Production.INFO: ==4223== Releasing lock...
[2025-01-09 14:35:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:35:31] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:36:01] Production.INFO: ==4278== Lock acquired, processing the job...
[2025-01-09 19:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:36:01] Production.INFO: neon service started
[2025-01-09 19:36:01] Production.INFO: neon service started
[2025-01-09 19:36:01] Production.INFO: ==4278== Releasing lock...
[2025-01-09 19:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:36:01] Production.INFO: ==4281== Lock acquired, processing the job...
[2025-01-09 14:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:36:02] Production.INFO: ==4283== Lock acquired, processing the job...
[2025-01-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:36:02] Production.INFO: ==4281== Releasing lock...
[2025-01-09 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:36:02] Production.INFO: ==4283== Releasing lock...
[2025-01-09 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:36:02] Production.INFO: ==4285== Lock acquired, processing the job...
[2025-01-09 14:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:36:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:36:02] Production.INFO: ==4287== Lock acquired, processing the job...
[2025-01-09 14:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:36:02] Production.INFO: ==4289== Lock acquired, processing the job...
[2025-01-09 14:36:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:36:03] Production.INFO: ==4291== Lock acquired, processing the job...
[2025-01-09 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:36:03] Production.INFO: ==4293== Lock acquired, processing the job...
[2025-01-09 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:36:03] Production.INFO: Account Balance Start.
[2025-01-09 14:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:36:03] Production.INFO: 117
[2025-01-09 14:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:36:03] Production.INFO: ==4287== Releasing lock...
[2025-01-09 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:36:03] Production.INFO: ==4295== Lock acquired, processing the job...
[2025-01-09 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:36:03] Production.INFO: Total Charge 0
[2025-01-09 14:36:03] Production.INFO: CreateAllLog End
[2025-01-09 14:36:03] Production.ERROR: done
[2025-01-09 14:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:36:03] Production.INFO: count ==21
[2025-01-09 14:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:36:03] Production.INFO: count ==21
[2025-01-09 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210229') start
[2025-01-09 14:36:03] Production.INFO: Account Balance End.
[2025-01-09 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210229') end
[2025-01-09 14:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:36:03] Production.INFO: 1
[2025-01-09 14:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:36:03] Production.ERROR: done
[2025-01-09 14:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:36:03] Production.INFO: ==4291== Releasing lock...
[2025-01-09 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:36:03] Production.INFO: ==4295== Releasing lock...
[2025-01-09 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:36:04
[end_date_ymd] => 2025-01-09 14:36:04
[RateCDR] => 1
)
[2025-01-09 14:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:36:04' and `end` < '2025-01-09 14:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:36:12] Production.ERROR: CronJobId end10
[2025-01-09 14:36:12] Production.INFO: ==4289== Releasing lock...
[2025-01-09 14:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:36:13] Production.INFO: call_cost start
[2025-01-09 14:36:13] Production.INFO: call_cost end
[2025-01-09 14:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:36:14] Production.INFO: ==4285== Releasing lock...
[2025-01-09 14:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:36:18] Production.INFO: count ==4931
[2025-01-09 14:36:20] Production.ERROR: pbx CDR StartTime 2025-01-09 11:36:04 - End Time 2025-01-09 14:36:04
[2025-01-09 14:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210230', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210230', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210230', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210230', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:36:21] Production.INFO: ProcessCDR(1,14210230,1,1,2)
[2025-01-09 14:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:36:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210230,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:36:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:36:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210230,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210230', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:36:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210230', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:36:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:36:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:36:25] Production.INFO: ==4293== Releasing lock...
[2025-01-09 14:36:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:36:25] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:37:01] Production.INFO: ==4351== Lock acquired, processing the job...
[2025-01-09 19:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:37:01] Production.INFO: neon service started
[2025-01-09 19:37:01] Production.INFO: neon service started
[2025-01-09 19:37:01] Production.INFO: ==4351== Releasing lock...
[2025-01-09 19:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:37:02] Production.INFO: ==4355== Lock acquired, processing the job...
[2025-01-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:37:02] Production.INFO: ==4355== Releasing lock...
[2025-01-09 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:37:02] Production.INFO: ==4353== Lock acquired, processing the job...
[2025-01-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:37:02] Production.INFO: ==4353== Releasing lock...
[2025-01-09 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:37:03] Production.INFO: ==4362== Lock acquired, processing the job...
[2025-01-09 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:37:03] Production.INFO: ==4368== Lock acquired, processing the job...
[2025-01-09 14:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:37:03] Production.INFO: ==4358== Lock acquired, processing the job...
[2025-01-09 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:37:03] Production.INFO: ==4360== Lock acquired, processing the job...
[2025-01-09 14:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:37:03] Production.INFO: ==4366== Lock acquired, processing the job...
[2025-01-09 14:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 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-01-09 14:37:03] Production.INFO: ==4364== Lock acquired, processing the job...
[2025-01-09 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:37:03] Production.INFO: count ==21
[2025-01-09 14:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:37:03] Production.INFO: count ==21
[2025-01-09 14:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210231') start
[2025-01-09 14:37:03] Production.INFO: Account Balance Start.
[2025-01-09 14:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210231') end
[2025-01-09 14:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:37:03] Production.INFO: 1
[2025-01-09 14:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:37:03] Production.INFO: 117
[2025-01-09 14:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:37:04] Production.INFO: Total Charge 0
[2025-01-09 14:37:04] Production.INFO: CreateAllLog End
[2025-01-09 14:37:04] Production.INFO: ==4368== Releasing lock...
[2025-01-09 14:37:04] Production.INFO: ==4360== Releasing lock...
[2025-01-09 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:37:04] Production.ERROR: done
[2025-01-09 14:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:37:04] Production.ERROR: done
[2025-01-09 14:37:04] Production.INFO: Account Balance End.
[2025-01-09 14:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:37:04] Production.INFO: ==4364== Releasing lock...
[2025-01-09 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:37:05
[end_date_ymd] => 2025-01-09 14:37:05
[RateCDR] => 1
)
[2025-01-09 14:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:37:05' and `end` < '2025-01-09 14:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:37:11] Production.ERROR: CronJobId end10
[2025-01-09 14:37:11] Production.INFO: ==4362== Releasing lock...
[2025-01-09 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:37:14] Production.INFO: call_cost start
[2025-01-09 14:37:14] Production.INFO: call_cost end
[2025-01-09 14:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:37:15] Production.INFO: ==4358== Releasing lock...
[2025-01-09 14:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:37:23] Production.INFO: count ==4947
[2025-01-09 14:37:25] Production.ERROR: pbx CDR StartTime 2025-01-09 11:37:05 - End Time 2025-01-09 14:37:05
[2025-01-09 14:37:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210235', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210235', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210235', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:37:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210235', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:37:25] Production.INFO: ProcessCDR(1,14210235,1,1,2)
[2025-01-09 14:37:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:37:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210235,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:37:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:37:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210235,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210235', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210235', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:37:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:37:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:37:30] Production.INFO: ==4366== Releasing lock...
[2025-01-09 14:37:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:37:30] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:38:02] Production.INFO: ==4461== Lock acquired, processing the job...
[2025-01-09 19:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:38:02] Production.INFO: neon service started
[2025-01-09 19:38:02] Production.INFO: neon service started
[2025-01-09 19:38:02] Production.INFO: ==4461== Releasing lock...
[2025-01-09 19:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:38:02] Production.INFO: ==4463== Lock acquired, processing the job...
[2025-01-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:38:02] Production.INFO: ==4463== Releasing lock...
[2025-01-09 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:38:03] Production.INFO: ==4465== Lock acquired, processing the job...
[2025-01-09 19:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:38:03] Production.INFO: ==4465== Releasing lock...
[2025-01-09 19:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:38:03] Production.INFO: ==4469== Lock acquired, processing the job...
[2025-01-09 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:38:03] Production.INFO: ==4476== Lock acquired, processing the job...
[2025-01-09 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:38:03] Production.INFO: ==4467== Lock acquired, processing the job...
[2025-01-09 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:38:04] Production.INFO: ==4471== Lock acquired, processing the job...
[2025-01-09 14:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:38:04] Production.INFO: ==4474== Lock acquired, processing the job...
[2025-01-09 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:38:04] Production.ERROR: done
[2025-01-09 14:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:38:04] Production.INFO: ==4469== Releasing lock...
[2025-01-09 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:38:04] Production.INFO: ==4478== Lock acquired, processing the job...
[2025-01-09 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:38:04] Production.INFO: Account Balance Start.
[2025-01-09 14:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:38:04] Production.INFO: 117
[2025-01-09 14:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:38:04] Production.ERROR: done
[2025-01-09 14:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:38:04] Production.INFO: Total Charge 0
[2025-01-09 14:38:04] Production.INFO: CreateAllLog End
[2025-01-09 14:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:38:04] Production.INFO: count ==21
[2025-01-09 14:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:38:04] Production.INFO: count ==21
[2025-01-09 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210239') start
[2025-01-09 14:38:04] Production.INFO: Account Balance End.
[2025-01-09 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210239') end
[2025-01-09 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:38:04] Production.INFO: 1
[2025-01-09 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:38:04] Production.INFO: ==4474== Releasing lock...
[2025-01-09 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:38:04] Production.INFO: ==4478== Releasing lock...
[2025-01-09 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:38:05
[end_date_ymd] => 2025-01-09 14:38:05
[RateCDR] => 1
)
[2025-01-09 14:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:38:05' and `end` < '2025-01-09 14:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:38:11] Production.ERROR: CronJobId end10
[2025-01-09 14:38:11] Production.INFO: ==4471== Releasing lock...
[2025-01-09 14:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:38:13] Production.INFO: call_cost start
[2025-01-09 14:38:13] Production.INFO: call_cost end
[2025-01-09 14:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:38:14] Production.INFO: ==4467== Releasing lock...
[2025-01-09 14:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:38:20] Production.INFO: count ==4944
[2025-01-09 14:38:21] Production.ERROR: pbx CDR StartTime 2025-01-09 11:38:05 - End Time 2025-01-09 14:38:05
[2025-01-09 14:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210240', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210240', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210240', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:38:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210240', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:38:22] Production.INFO: ProcessCDR(1,14210240,1,1,2)
[2025-01-09 14:38:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:38:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210240,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:38:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:38:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210240,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210240', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:38:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210240', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:38:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:38:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:38:26] Production.INFO: ==4476== Releasing lock...
[2025-01-09 14:38:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:38:26] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:39:01] Production.INFO: ==4532== Lock acquired, processing the job...
[2025-01-09 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:39:01] Production.INFO: neon service started
[2025-01-09 19:39:01] Production.INFO: neon service started
[2025-01-09 19:39:01] Production.INFO: ==4532== Releasing lock...
[2025-01-09 19:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:39:01] Production.INFO: ==4534== Lock acquired, processing the job...
[2025-01-09 14:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:39:02] Production.INFO: ==4536== Lock acquired, processing the job...
[2025-01-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:39:02] Production.INFO: ==4534== Releasing lock...
[2025-01-09 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:39:02] Production.INFO: ==4536== Releasing lock...
[2025-01-09 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:39:02] Production.INFO: ==4538== Lock acquired, processing the job...
[2025-01-09 14:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:39:03] Production.INFO: ==4540== Lock acquired, processing the job...
[2025-01-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:39:03] Production.INFO: ==4547== Lock acquired, processing the job...
[2025-01-09 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:39:03] Production.INFO: ==4542== Lock acquired, processing the job...
[2025-01-09 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:39:03] Production.INFO: ==4544== Lock acquired, processing the job...
[2025-01-09 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:39:03] Production.INFO: ==4540== Releasing lock...
[2025-01-09 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:39:03] Production.INFO: ==4549== Lock acquired, processing the job...
[2025-01-09 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:39:03] Production.ERROR: done
[2025-01-09 14:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:39:03] Production.ERROR: done
[2025-01-09 14:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:39:03] Production.INFO: Account Balance Start.
[2025-01-09 14:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:39:03] Production.INFO: 117
[2025-01-09 14:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:39:03] Production.INFO: count ==21
[2025-01-09 14:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:39:03] Production.INFO: count ==21
[2025-01-09 14:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210243') start
[2025-01-09 14:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:39:03] Production.INFO: Total Charge 0
[2025-01-09 14:39:03] Production.INFO: CreateAllLog End
[2025-01-09 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210243') end
[2025-01-09 14:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:39:04] Production.INFO: 1
[2025-01-09 14:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:39:04] Production.INFO: Account Balance End.
[2025-01-09 14:39:04] Production.INFO: ==4549== Releasing lock...
[2025-01-09 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:39:04] Production.INFO: ==4544== Releasing lock...
[2025-01-09 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:39:04
[end_date_ymd] => 2025-01-09 14:39:04
[RateCDR] => 1
)
[2025-01-09 14:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:39:04' and `end` < '2025-01-09 14:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:39:10] Production.ERROR: CronJobId end10
[2025-01-09 14:39:10] Production.INFO: ==4542== Releasing lock...
[2025-01-09 14:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:39:12] Production.INFO: call_cost start
[2025-01-09 14:39:12] Production.INFO: call_cost end
[2025-01-09 14:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:39:13] Production.INFO: ==4538== Releasing lock...
[2025-01-09 14:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:39:18] Production.INFO: count ==4937
[2025-01-09 14:39:20] Production.ERROR: pbx CDR StartTime 2025-01-09 11:39:04 - End Time 2025-01-09 14:39:04
[2025-01-09 14:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210245', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210245', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210245', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210245', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:39:20] Production.INFO: ProcessCDR(1,14210245,1,1,2)
[2025-01-09 14:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:39:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210245,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:39:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210245,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210245', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210245', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:39:25] Production.INFO: ==4547== Releasing lock...
[2025-01-09 14:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:39:25] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:40:02] Production.INFO: ==4610== Lock acquired, processing the job...
[2025-01-09 19:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:40:02] Production.INFO: neon service started
[2025-01-09 19:40:02] Production.INFO: neon service started
[2025-01-09 19:40:02] Production.INFO: ==4610== Releasing lock...
[2025-01-09 19:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:40:02] Production.INFO: ==4612== Lock acquired, processing the job...
[2025-01-09 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:40:02] Production.INFO: ==4614== Lock acquired, processing the job...
[2025-01-09 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:40:03] Production.INFO: ==4612== Releasing lock...
[2025-01-09 14:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:40:03] Production.INFO: ==4614== Releasing lock...
[2025-01-09 19:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:40:04] Production.INFO: ==4616== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 14:40:04] Production.INFO: ==4618== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:40:04] Production.INFO: ==4620== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:40:04] Production.ERROR: CronJob PID - 4618
[2025-01-09 14:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 14:40:04] Production.ERROR: CronJob ID - 5
[2025-01-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:40:00
[2025-01-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:40:04] Production.ERROR: CronJob PID - 4620
[2025-01-09 14:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 14:40:04] Production.ERROR: CronJob ID - 7
[2025-01-09 14:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 14:40:00
[2025-01-09 14:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 14:40:04] Production.INFO: ==4616== Releasing lock...
[2025-01-09 14:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 14:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 14:40:04] Production.INFO: ==4627== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:40:04] Production.INFO: ==4622== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:40:04] Production.INFO: ==4625== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:40:04] Production.INFO: ==4629== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 14:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:40:04] Production.INFO: ==4631== Lock acquired, processing the job...
[2025-01-09 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:40:04] Production.INFO: ==4620== Releasing lock...
[2025-01-09 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:40:04] Production.ERROR: done
[2025-01-09 14:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:40:04] Production.INFO: Account Balance Start.
[2025-01-09 14:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:40:04] Production.INFO: 117
[2025-01-09 14:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:40:04] Production.INFO: count ==21
[2025-01-09 14:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:40:04] Production.INFO: count ==21
[2025-01-09 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210249') start
[2025-01-09 14:40:05] Production.INFO: Date 2025-01-09
[2025-01-09 14:40:05] Production.ERROR: done
[2025-01-09 14:40:05] Production.INFO: Reseller ==> 0
[2025-01-09 14:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210249') end
[2025-01-09 14:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:40:05] Production.INFO: 1
[2025-01-09 14:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:40:05] Production.INFO: Total Charge 0
[2025-01-09 14:40:05] Production.INFO: CreateAllLog End
[2025-01-09 14:40:05] Production.INFO: ==4631== Releasing lock...
[2025-01-09 14:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:40:05] Production.ERROR: done
[2025-01-09 14:40:05] Production.INFO: Account Balance End.
[2025-01-09 14:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 14:40:05] Production.INFO: ==4625== Releasing lock...
[2025-01-09 14:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 14:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210251', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 14:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:40:06
[end_date_ymd] => 2025-01-09 14:40:06
[RateCDR] => 1
)
[2025-01-09 14:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:40:06' and `end` < '2025-01-09 14:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210251', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 14:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 14:40:09] Production.INFO: ProcessCDR(1,14210251,1,1,2)
[2025-01-09 14:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210251,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210251,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:40:09] Production.INFO: ==4629== Releasing lock...
[2025-01-09 14:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 14:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 14:40:13] Production.ERROR: CronJobId end10
[2025-01-09 14:40:13] Production.INFO: ==4622== Releasing lock...
[2025-01-09 14:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:40:16] Production.INFO: call_cost start
[2025-01-09 14:40:16] Production.INFO: call_cost end
[2025-01-09 14:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:40:16] Production.INFO: ==4618== Releasing lock...
[2025-01-09 14:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:40:22] Production.INFO: count ==4925
[2025-01-09 14:40:24] Production.ERROR: pbx CDR StartTime 2025-01-09 11:40:06 - End Time 2025-01-09 14:40:06
[2025-01-09 14:40:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210250', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210250', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210250', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:40:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210250', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:40:24] Production.INFO: ProcessCDR(1,14210250,1,1,2)
[2025-01-09 14:40:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:40:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210250,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:40:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:40:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210250,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210250', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:40:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210250', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:40:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:40:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:40:29] Production.INFO: ==4627== Releasing lock...
[2025-01-09 14:40:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:40:29] Production.INFO: 64.75 MB #Memory Used#
[2025-01-09 19:41:01] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-01-09 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:41:01] Production.INFO: neon service started
[2025-01-09 19:41:01] Production.INFO: neon service started
[2025-01-09 19:41:01] Production.INFO: ==4688== Releasing lock...
[2025-01-09 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:41:01] Production.INFO: ==4690== Lock acquired, processing the job...
[2025-01-09 14:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:41:02] Production.INFO: ==4690== Releasing lock...
[2025-01-09 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:41:02] Production.INFO: ==4692== Lock acquired, processing the job...
[2025-01-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:41:02] Production.INFO: ==4692== Releasing lock...
[2025-01-09 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:41:03] Production.INFO: ==4694== Lock acquired, processing the job...
[2025-01-09 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:41:03] Production.INFO: ==4696== Lock acquired, processing the job...
[2025-01-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:41:03] Production.INFO: ==4704== Lock acquired, processing the job...
[2025-01-09 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:41:03] Production.INFO: count ==21
[2025-01-09 14:41:03] Production.INFO: ==4698== Lock acquired, processing the job...
[2025-01-09 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:41:03] Production.INFO: count ==21
[2025-01-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210254') start
[2025-01-09 14:41:03] Production.INFO: ==4700== Lock acquired, processing the job...
[2025-01-09 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:41:03] Production.INFO: ==4702== Lock acquired, processing the job...
[2025-01-09 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210254') end
[2025-01-09 14:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:41:03] Production.INFO: 1
[2025-01-09 14:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:41:03] Production.INFO: Account Balance Start.
[2025-01-09 14:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:41:03] Production.INFO: 117
[2025-01-09 14:41:03] Production.INFO: ==4704== Releasing lock...
[2025-01-09 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:41:03] Production.INFO: ==4696== Releasing lock...
[2025-01-09 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:41:03] Production.ERROR: done
[2025-01-09 14:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:41:03] Production.INFO: Total Charge 0
[2025-01-09 14:41:03] Production.INFO: CreateAllLog End
[2025-01-09 14:41:04] Production.ERROR: done
[2025-01-09 14:41:04] Production.INFO: Account Balance End.
[2025-01-09 14:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:41:04] Production.INFO: ==4700== Releasing lock...
[2025-01-09 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:41:04
[end_date_ymd] => 2025-01-09 14:41:04
[RateCDR] => 1
)
[2025-01-09 14:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:41:04' and `end` < '2025-01-09 14:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:41:11] Production.ERROR: CronJobId end10
[2025-01-09 14:41:11] Production.INFO: ==4698== Releasing lock...
[2025-01-09 14:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:41:12] Production.INFO: call_cost start
[2025-01-09 14:41:12] Production.INFO: call_cost end
[2025-01-09 14:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:41:13] Production.INFO: ==4694== Releasing lock...
[2025-01-09 14:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:41:32] Production.INFO: count ==4952
[2025-01-09 14:41:34] Production.ERROR: pbx CDR StartTime 2025-01-09 11:41:04 - End Time 2025-01-09 14:41:04
[2025-01-09 14:41:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210256', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210256', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210256', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:41:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210256', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:41:34] Production.INFO: ProcessCDR(1,14210256,1,1,2)
[2025-01-09 14:41:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:41:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210256,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:41:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:41:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210256,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:41:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210256', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:41:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210256', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:41:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:41:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:41:39] Production.INFO: ==4702== Releasing lock...
[2025-01-09 14:41:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:41:39] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:42:02] Production.INFO: ==4766== Lock acquired, processing the job...
[2025-01-09 19:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:42:02] Production.INFO: neon service started
[2025-01-09 19:42:02] Production.INFO: neon service started
[2025-01-09 19:42:02] Production.INFO: ==4766== Releasing lock...
[2025-01-09 19:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:42:02] Production.INFO: ==4769== Lock acquired, processing the job...
[2025-01-09 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:42:02] Production.INFO: ==4771== Lock acquired, processing the job...
[2025-01-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:42:02] Production.INFO: ==4771== Releasing lock...
[2025-01-09 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:42:03] Production.INFO: ==4769== Releasing lock...
[2025-01-09 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:42:03] Production.INFO: ==4773== Lock acquired, processing the job...
[2025-01-09 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:42:04] Production.INFO: ==4775== Lock acquired, processing the job...
[2025-01-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:42:04] Production.INFO: ==4777== Lock acquired, processing the job...
[2025-01-09 14:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:42:04] Production.INFO: ==4779== Lock acquired, processing the job...
[2025-01-09 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:42:04] Production.INFO: ==4781== Lock acquired, processing the job...
[2025-01-09 14:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:42:04] Production.INFO: ==4783== Lock acquired, processing the job...
[2025-01-09 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:42:04] Production.INFO: Account Balance Start.
[2025-01-09 14:42:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:42:04] Production.INFO: 117
[2025-01-09 14:42:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:42:04] Production.INFO: count ==21
[2025-01-09 14:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:42:04] Production.INFO: count ==21
[2025-01-09 14:42:04] Production.ERROR: done
[2025-01-09 14:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210260') start
[2025-01-09 14:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:42:04] Production.INFO: Total Charge 0
[2025-01-09 14:42:04] Production.INFO: CreateAllLog End
[2025-01-09 14:42:04] Production.ERROR: done
[2025-01-09 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210260') end
[2025-01-09 14:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:42:04] Production.INFO: 1
[2025-01-09 14:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:42:04] Production.INFO: ==4783== Releasing lock...
[2025-01-09 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:42:04] Production.INFO: ==4775== Releasing lock...
[2025-01-09 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:42:05] Production.INFO: Account Balance End.
[2025-01-09 14:42:05] Production.ERROR: CronJobId end 12
[2025-01-09 14:42:05] Production.INFO: ==4779== Releasing lock...
[2025-01-09 14:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:42:05
[end_date_ymd] => 2025-01-09 14:42:05
[RateCDR] => 1
)
[2025-01-09 14:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:42:05' and `end` < '2025-01-09 14:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:42:11] Production.ERROR: CronJobId end10
[2025-01-09 14:42:11] Production.INFO: ==4777== Releasing lock...
[2025-01-09 14:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:42:13] Production.INFO: call_cost start
[2025-01-09 14:42:13] Production.INFO: call_cost end
[2025-01-09 14:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:42:14] Production.INFO: ==4773== Releasing lock...
[2025-01-09 14:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:42:27] Production.INFO: count ==4965
[2025-01-09 14:42:29] Production.ERROR: pbx CDR StartTime 2025-01-09 11:42:05 - End Time 2025-01-09 14:42:05
[2025-01-09 14:42:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210261', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210261', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210261', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:42:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210261', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:42:29] Production.INFO: ProcessCDR(1,14210261,1,1,2)
[2025-01-09 14:42:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:42:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210261,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:42:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:42:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210261,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:42:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210261', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:42:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210261', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:42:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:42:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:42:34] Production.INFO: ==4781== Releasing lock...
[2025-01-09 14:42:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:42:34] Production.INFO: 65.25 MB #Memory Used#
[2025-01-09 19:43:01] Production.INFO: ==4837== Lock acquired, processing the job...
[2025-01-09 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:43:01] Production.INFO: neon service started
[2025-01-09 19:43:01] Production.INFO: neon service started
[2025-01-09 19:43:01] Production.INFO: ==4837== Releasing lock...
[2025-01-09 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:43:01] Production.INFO: ==4839== Lock acquired, processing the job...
[2025-01-09 14:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:43:02] Production.INFO: ==4839== Releasing lock...
[2025-01-09 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:43:02] Production.INFO: ==4841== Lock acquired, processing the job...
[2025-01-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:43:02] Production.INFO: ==4841== Releasing lock...
[2025-01-09 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:43:03] Production.INFO: ==4843== Lock acquired, processing the job...
[2025-01-09 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:43:03] Production.INFO: ==4845== Lock acquired, processing the job...
[2025-01-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:43:03] Production.INFO: ==4849== Lock acquired, processing the job...
[2025-01-09 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:43:03] Production.INFO: Account Balance Start.
[2025-01-09 14:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:43:03] Production.INFO: 117
[2025-01-09 14:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:43:03] Production.INFO: ==4847== Lock acquired, processing the job...
[2025-01-09 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:43:03] Production.INFO: Total Charge 0
[2025-01-09 14:43:03] Production.INFO: CreateAllLog End
[2025-01-09 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:43:03] Production.INFO: ==4845== Releasing lock...
[2025-01-09 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:43:03] Production.INFO: ==4853== Lock acquired, processing the job...
[2025-01-09 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:43:03] Production.INFO: ==4851== Lock acquired, processing the job...
[2025-01-09 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:43:03] Production.INFO: Account Balance End.
[2025-01-09 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:43:03] Production.INFO: ==4849== Releasing lock...
[2025-01-09 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:43:03] Production.INFO: count ==21
[2025-01-09 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:43:03] Production.INFO: count ==21
[2025-01-09 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210265') start
[2025-01-09 14:43:03] Production.ERROR: done
[2025-01-09 14:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210265') end
[2025-01-09 14:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:43:03] Production.INFO: 1
[2025-01-09 14:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:43:03] Production.ERROR: done
[2025-01-09 14:43:03] Production.INFO: ==4853== Releasing lock...
[2025-01-09 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:43:04
[end_date_ymd] => 2025-01-09 14:43:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 11:43:04' and `end` < '2025-01-09 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-01-09 14:43:11] Production.ERROR: CronJobId end10
[2025-01-09 14:43:11] Production.INFO: ==4847== Releasing lock...
[2025-01-09 14:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:43:12] Production.INFO: call_cost start
[2025-01-09 14:43:12] Production.INFO: call_cost end
[2025-01-09 14:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:43:13] Production.INFO: ==4843== Releasing lock...
[2025-01-09 14:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:43:25] Production.INFO: count ==4952
[2025-01-09 14:43:26] Production.ERROR: pbx CDR StartTime 2025-01-09 11:43:04 - End Time 2025-01-09 14:43:04
[2025-01-09 14:43:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:43:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210266', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210266', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210266', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:43:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210266', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:43:27] Production.INFO: ProcessCDR(1,14210266,1,1,2)
[2025-01-09 14:43:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:43:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210266,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:43:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:43:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210266,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:43:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210266', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:43:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210266', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:43:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:43:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:43:31] Production.INFO: ==4851== Releasing lock...
[2025-01-09 14:43:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:43:31] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:44:02] Production.INFO: ==4907== Lock acquired, processing the job...
[2025-01-09 19:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:44:02] Production.INFO: neon service started
[2025-01-09 19:44:02] Production.INFO: neon service started
[2025-01-09 19:44:02] Production.INFO: ==4907== Releasing lock...
[2025-01-09 19:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:44:02] Production.INFO: ==4909== Lock acquired, processing the job...
[2025-01-09 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:44:02] Production.INFO: ==4911== Lock acquired, processing the job...
[2025-01-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:44:02] Production.INFO: ==4911== Releasing lock...
[2025-01-09 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:44:03] Production.INFO: ==4909== Releasing lock...
[2025-01-09 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:44:03] Production.INFO: ==4914== Lock acquired, processing the job...
[2025-01-09 14:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:44:03] Production.INFO: ==4916== Lock acquired, processing the job...
[2025-01-09 14:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:44:03] Production.INFO: ==4918== Lock acquired, processing the job...
[2025-01-09 14:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:44:03] Production.INFO: ==4922== Lock acquired, processing the job...
[2025-01-09 14:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:44:04] Production.INFO: ==4920== Lock acquired, processing the job...
[2025-01-09 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:44:04] Production.INFO: ==4916== Releasing lock...
[2025-01-09 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:44:04] Production.INFO: ==4924== Lock acquired, processing the job...
[2025-01-09 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:44:04] Production.INFO: Account Balance Start.
[2025-01-09 14:44:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:44:04] Production.INFO: 117
[2025-01-09 14:44:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:44:04] Production.ERROR: done
[2025-01-09 14:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:44:04] Production.INFO: count ==21
[2025-01-09 14:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:44:04] Production.INFO: count ==21
[2025-01-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210270') start
[2025-01-09 14:44:04] Production.INFO: Total Charge 0
[2025-01-09 14:44:04] Production.INFO: CreateAllLog End
[2025-01-09 14:44:04] Production.ERROR: done
[2025-01-09 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210270') end
[2025-01-09 14:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:44:04] Production.INFO: 1
[2025-01-09 14:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:44:04] Production.INFO: ==4924== Releasing lock...
[2025-01-09 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:44:04] Production.INFO: Account Balance End.
[2025-01-09 14:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:44:04] Production.INFO: ==4920== Releasing lock...
[2025-01-09 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:44:05
[end_date_ymd] => 2025-01-09 14:44:05
[RateCDR] => 1
)
[2025-01-09 14:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:44:05' and `end` < '2025-01-09 14:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:44:12] Production.ERROR: CronJobId end10
[2025-01-09 14:44:12] Production.INFO: ==4918== Releasing lock...
[2025-01-09 14:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:44:12] Production.INFO: call_cost start
[2025-01-09 14:44:12] Production.INFO: call_cost end
[2025-01-09 14:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:44:13] Production.INFO: ==4914== Releasing lock...
[2025-01-09 14:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:44:25] Production.INFO: count ==4951
[2025-01-09 14:44:27] Production.ERROR: pbx CDR StartTime 2025-01-09 11:44:05 - End Time 2025-01-09 14:44:05
[2025-01-09 14:44:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210271', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210271', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210271', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:44:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210271', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:44:27] Production.INFO: ProcessCDR(1,14210271,1,1,2)
[2025-01-09 14:44:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:44:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210271,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:44:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:44:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210271,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210271', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210271', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:44:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:44:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:44:31] Production.INFO: ==4922== Releasing lock...
[2025-01-09 14:44:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:44:31] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:45:01] Production.INFO: ==4977== Lock acquired, processing the job...
[2025-01-09 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:45:01] Production.INFO: neon service started
[2025-01-09 19:45:01] Production.INFO: neon service started
[2025-01-09 19:45:01] Production.INFO: ==4977== Releasing lock...
[2025-01-09 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:45:01] Production.INFO: ==4979== Lock acquired, processing the job...
[2025-01-09 14:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:45:02] Production.INFO: ==4979== Releasing lock...
[2025-01-09 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:45:02] Production.INFO: ==4981== Lock acquired, processing the job...
[2025-01-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:45:02] Production.INFO: ==4981== Releasing lock...
[2025-01-09 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:45:02] Production.INFO: ==4986== Lock acquired, processing the job...
[2025-01-09 14:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:45:03] Production.INFO: ==4984== Lock acquired, processing the job...
[2025-01-09 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:45:03] Production.INFO: ==4994== Lock acquired, processing the job...
[2025-01-09 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:45:03] Production.INFO: ==4990== Lock acquired, processing the job...
[2025-01-09 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:45:03] Production.INFO: ==4988== Lock acquired, processing the job...
[2025-01-09 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:45:03] Production.INFO: ==4992== Lock acquired, processing the job...
[2025-01-09 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:45:03] Production.INFO: count ==21
[2025-01-09 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:45:03] Production.INFO: count ==21
[2025-01-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210273') start
[2025-01-09 14:45:03] Production.INFO: Account Balance Start.
[2025-01-09 14:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:45:03] Production.INFO: 117
[2025-01-09 14:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:45:03] Production.INFO: ==4986== Releasing lock...
[2025-01-09 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210273') end
[2025-01-09 14:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:45:03] Production.INFO: 1
[2025-01-09 14:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:45:03] Production.INFO: Total Charge 0
[2025-01-09 14:45:03] Production.INFO: CreateAllLog End
[2025-01-09 14:45:03] Production.INFO: ==4994== Releasing lock...
[2025-01-09 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:45:03] Production.ERROR: done
[2025-01-09 14:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:45:03] Production.ERROR: done
[2025-01-09 14:45:03] Production.INFO: Account Balance End.
[2025-01-09 14:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:45:03] Production.INFO: ==4990== Releasing lock...
[2025-01-09 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:45:04
[end_date_ymd] => 2025-01-09 14:45:04
[RateCDR] => 1
)
[2025-01-09 14:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:45:04' and `end` < '2025-01-09 14:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:45:11] Production.ERROR: CronJobId end10
[2025-01-09 14:45:11] Production.INFO: ==4988== Releasing lock...
[2025-01-09 14:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:45:13] Production.INFO: call_cost start
[2025-01-09 14:45:13] Production.INFO: call_cost end
[2025-01-09 14:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:45:13] Production.INFO: ==4984== Releasing lock...
[2025-01-09 14:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:45:31] Production.INFO: count ==4960
[2025-01-09 14:45:33] Production.ERROR: pbx CDR StartTime 2025-01-09 11:45:04 - End Time 2025-01-09 14:45:04
[2025-01-09 14:45:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210276', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210276', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210276', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:45:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210276', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:45:33] Production.INFO: ProcessCDR(1,14210276,1,1,2)
[2025-01-09 14:45:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:45:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210276,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:45:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:45:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210276,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:45:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210276', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:45:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210276', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:45:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:45:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:45:38] Production.INFO: ==4992== Releasing lock...
[2025-01-09 14:45:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:45:38] Production.INFO: 65.25 MB #Memory Used#
[2025-01-09 19:46:01] Production.INFO: ==5050== Lock acquired, processing the job...
[2025-01-09 19:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:46:01] Production.INFO: neon service started
[2025-01-09 19:46:01] Production.INFO: neon service started
[2025-01-09 19:46:01] Production.INFO: ==5050== Releasing lock...
[2025-01-09 19:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:46:02] Production.INFO: ==5054== Lock acquired, processing the job...
[2025-01-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:46:02] Production.INFO: ==5052== Lock acquired, processing the job...
[2025-01-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:46:02] Production.INFO: ==5054== Releasing lock...
[2025-01-09 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:46:02] Production.INFO: ==5052== Releasing lock...
[2025-01-09 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:46:03] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-01-09 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:46:03] Production.INFO: ==5067== Lock acquired, processing the job...
[2025-01-09 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:46:03] Production.INFO: ==5061== Lock acquired, processing the job...
[2025-01-09 14:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:46:03] Production.INFO: ==5059== Lock acquired, processing the job...
[2025-01-09 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:46:03] Production.INFO: ==5063== Lock acquired, processing the job...
[2025-01-09 14:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:46:03] Production.INFO: count ==21
[2025-01-09 14:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:46:03] Production.INFO: count ==21
[2025-01-09 14:46:04] Production.INFO: ==5065== Lock acquired, processing the job...
[2025-01-09 14:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210278') start
[2025-01-09 14:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:46:04] Production.INFO: Account Balance Start.
[2025-01-09 14:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:46:04] Production.INFO: 117
[2025-01-09 14:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210278') end
[2025-01-09 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:46:04] Production.INFO: 1
[2025-01-09 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:46:04] Production.INFO: ==5067== Releasing lock...
[2025-01-09 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:46:04] Production.INFO: Total Charge 0
[2025-01-09 14:46:04] Production.INFO: CreateAllLog End
[2025-01-09 14:46:04] Production.ERROR: done
[2025-01-09 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:46:04] Production.INFO: ==5059== Releasing lock...
[2025-01-09 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:46:04] Production.ERROR: done
[2025-01-09 14:46:04] Production.INFO: Account Balance End.
[2025-01-09 14:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:46:04] Production.INFO: ==5063== Releasing lock...
[2025-01-09 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:46:05
[end_date_ymd] => 2025-01-09 14:46:05
[RateCDR] => 1
)
[2025-01-09 14:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:46:05' and `end` < '2025-01-09 14:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:46:11] Production.ERROR: CronJobId end10
[2025-01-09 14:46:11] Production.INFO: ==5061== Releasing lock...
[2025-01-09 14:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:46:13] Production.INFO: call_cost start
[2025-01-09 14:46:13] Production.INFO: call_cost end
[2025-01-09 14:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:46:13] Production.INFO: ==5057== Releasing lock...
[2025-01-09 14:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:46:32] Production.INFO: count ==4968
[2025-01-09 14:46:34] Production.ERROR: pbx CDR StartTime 2025-01-09 11:46:05 - End Time 2025-01-09 14:46:05
[2025-01-09 14:46:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210281', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210281', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210281', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:46:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210281', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:46:34] Production.INFO: ProcessCDR(1,14210281,1,1,2)
[2025-01-09 14:46:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:46:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210281,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:46:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:46:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210281,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:46:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210281', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:46:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210281', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:46:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:46:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:46:39] Production.INFO: ==5065== Releasing lock...
[2025-01-09 14:46:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:46:39] Production.INFO: 65.25 MB #Memory Used#
[2025-01-09 19:47:02] Production.INFO: ==5121== Lock acquired, processing the job...
[2025-01-09 19:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:47:02] Production.INFO: neon service started
[2025-01-09 19:47:02] Production.INFO: neon service started
[2025-01-09 19:47:02] Production.INFO: ==5121== Releasing lock...
[2025-01-09 19:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:47:02] Production.INFO: ==5123== Lock acquired, processing the job...
[2025-01-09 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:47:02] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-01-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:47:02] Production.INFO: ==5125== Releasing lock...
[2025-01-09 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:47:03] Production.INFO: ==5123== Releasing lock...
[2025-01-09 14:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:47:03] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-01-09 14:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:47:03] Production.INFO: ==5134== Lock acquired, processing the job...
[2025-01-09 14:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:47:03] Production.INFO: ==5132== Lock acquired, processing the job...
[2025-01-09 14:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:47:04] Production.INFO: Account Balance Start.
[2025-01-09 14:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:47:04] Production.INFO: 117
[2025-01-09 14:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:47:04] Production.INFO: ==5130== Lock acquired, processing the job...
[2025-01-09 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:47:04] Production.INFO: Total Charge 0
[2025-01-09 14:47:04] Production.INFO: CreateAllLog End
[2025-01-09 14:47:04] Production.INFO: ==5136== Lock acquired, processing the job...
[2025-01-09 14:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:47:04] Production.INFO: ==5138== Lock acquired, processing the job...
[2025-01-09 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:47:04] Production.INFO: Account Balance End.
[2025-01-09 14:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:47:04] Production.INFO: ==5134== Releasing lock...
[2025-01-09 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:47:04] Production.INFO: count ==21
[2025-01-09 14:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:47:04] Production.INFO: count ==21
[2025-01-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210285') start
[2025-01-09 14:47:04] Production.INFO: ==5130== Releasing lock...
[2025-01-09 14:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:47:04] Production.ERROR: done
[2025-01-09 14:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210285') end
[2025-01-09 14:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:47:04] Production.INFO: 1
[2025-01-09 14:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:47:04] Production.INFO: ==5138== Releasing lock...
[2025-01-09 14:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:47:04] Production.ERROR: done
[2025-01-09 14:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:47:05
[end_date_ymd] => 2025-01-09 14:47:05
[RateCDR] => 1
)
[2025-01-09 14:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:47:05' and `end` < '2025-01-09 14:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:47:11] Production.ERROR: CronJobId end10
[2025-01-09 14:47:11] Production.INFO: ==5132== Releasing lock...
[2025-01-09 14:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:47:12] Production.INFO: call_cost start
[2025-01-09 14:47:12] Production.INFO: call_cost end
[2025-01-09 14:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:47:13] Production.INFO: ==5127== Releasing lock...
[2025-01-09 14:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:47:23] Production.INFO: count ==4943
[2025-01-09 14:47:25] Production.ERROR: pbx CDR StartTime 2025-01-09 11:47:05 - End Time 2025-01-09 14:47:05
[2025-01-09 14:47:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210286', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210286', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210286', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:47:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210286', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:47:25] Production.INFO: ProcessCDR(1,14210286,1,1,2)
[2025-01-09 14:47:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:47:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210286,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:47:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:47:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210286,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:47:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210286', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:47:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210286', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:47:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:47:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:47:29] Production.INFO: ==5136== Releasing lock...
[2025-01-09 14:47:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:47:29] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:48:01] Production.INFO: ==5189== Lock acquired, processing the job...
[2025-01-09 19:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:48:01] Production.INFO: neon service started
[2025-01-09 19:48:01] Production.INFO: neon service started
[2025-01-09 19:48:01] Production.INFO: ==5189== Releasing lock...
[2025-01-09 19:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:48:02] Production.INFO: ==5191== Lock acquired, processing the job...
[2025-01-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:48:02] Production.INFO: ==5193== Lock acquired, processing the job...
[2025-01-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 14:48:02] Production.INFO: ==5191== Releasing lock...
[2025-01-09 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:48:02] Production.INFO: ==5193== Releasing lock...
[2025-01-09 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:48:03] Production.INFO: ==5196== Lock acquired, processing the job...
[2025-01-09 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:48:03] Production.INFO: ==5198== Lock acquired, processing the job...
[2025-01-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:48:03] Production.INFO: ==5204== Lock acquired, processing the job...
[2025-01-09 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:48:03] Production.INFO: ==5202== Lock acquired, processing the job...
[2025-01-09 14:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:48:03] Production.INFO: ==5198== Releasing lock...
[2025-01-09 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:48:03] Production.INFO: ==5200== Lock acquired, processing the job...
[2025-01-09 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:48:03] Production.INFO: ==5206== Lock acquired, processing the job...
[2025-01-09 14:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:48:03] Production.INFO: Account Balance Start.
[2025-01-09 14:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:48:03] Production.INFO: 117
[2025-01-09 14:48:03] Production.ERROR: done
[2025-01-09 14:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:48:03] Production.INFO: count ==21
[2025-01-09 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:48:04] Production.ERROR: done
[2025-01-09 14:48:04] Production.INFO: count ==21
[2025-01-09 14:48:04] Production.INFO: Total Charge 0
[2025-01-09 14:48:04] Production.INFO: CreateAllLog End
[2025-01-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210290') start
[2025-01-09 14:48:04] Production.INFO: Account Balance End.
[2025-01-09 14:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210290') end
[2025-01-09 14:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:48:04] Production.INFO: 1
[2025-01-09 14:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:48:04] Production.INFO: ==5202== Releasing lock...
[2025-01-09 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:48:04] Production.INFO: ==5206== Releasing lock...
[2025-01-09 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:48:04
[end_date_ymd] => 2025-01-09 14:48:04
[RateCDR] => 1
)
[2025-01-09 14:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:48:04' and `end` < '2025-01-09 14:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:48:13] Production.ERROR: CronJobId end10
[2025-01-09 14:48:13] Production.INFO: ==5200== Releasing lock...
[2025-01-09 14:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:48:13] Production.INFO: call_cost start
[2025-01-09 14:48:13] Production.INFO: call_cost end
[2025-01-09 14:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:48:14] Production.INFO: ==5196== Releasing lock...
[2025-01-09 14:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:48:22] Production.INFO: count ==4947
[2025-01-09 14:48:24] Production.ERROR: pbx CDR StartTime 2025-01-09 11:48:04 - End Time 2025-01-09 14:48:04
[2025-01-09 14:48:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210291', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210291', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210291', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:48:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210291', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:48:24] Production.INFO: ProcessCDR(1,14210291,1,1,2)
[2025-01-09 14:48:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:48:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210291,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:48:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:48:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210291,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:48:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210291', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:48:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210291', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:48:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:48:30] Production.INFO: ==5204== Releasing lock...
[2025-01-09 14:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:48:30] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:49:02] Production.INFO: ==5263== Lock acquired, processing the job...
[2025-01-09 19:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:49:02] Production.INFO: neon service started
[2025-01-09 19:49:02] Production.INFO: neon service started
[2025-01-09 19:49:02] Production.INFO: ==5263== Releasing lock...
[2025-01-09 19:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:49:02] Production.INFO: ==5267== Lock acquired, processing the job...
[2025-01-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:49:02] Production.INFO: ==5267== Releasing lock...
[2025-01-09 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:49:02] Production.INFO: ==5265== Lock acquired, processing the job...
[2025-01-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:49:02] Production.INFO: ==5265== Releasing lock...
[2025-01-09 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:49:03] Production.INFO: ==5274== Lock acquired, processing the job...
[2025-01-09 14:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:49:03] Production.INFO: ==5270== Lock acquired, processing the job...
[2025-01-09 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:49:03] Production.INFO: ==5278== Lock acquired, processing the job...
[2025-01-09 14:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:49:03] Production.INFO: ==5272== Lock acquired, processing the job...
[2025-01-09 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:49:04] Production.INFO: ==5276== Lock acquired, processing the job...
[2025-01-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:49:04] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-01-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:49:04] Production.ERROR: done
[2025-01-09 14:49:04] Production.INFO: Account Balance Start.
[2025-01-09 14:49:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:49:04] Production.INFO: 117
[2025-01-09 14:49:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:49:04] Production.INFO: count ==21
[2025-01-09 14:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:49:04] Production.INFO: count ==21
[2025-01-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210295') start
[2025-01-09 14:49:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:49:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:49:04] Production.ERROR: done
[2025-01-09 14:49:04] Production.INFO: Total Charge 0
[2025-01-09 14:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210295') end
[2025-01-09 14:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:49:04] Production.INFO: 1
[2025-01-09 14:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:49:04] Production.INFO: CreateAllLog End
[2025-01-09 14:49:04] Production.INFO: ==5280== Releasing lock...
[2025-01-09 14:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:49:04] Production.INFO: ==5272== Releasing lock...
[2025-01-09 14:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:49:04] Production.INFO: Account Balance End.
[2025-01-09 14:49:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:49:04] Production.INFO: ==5276== Releasing lock...
[2025-01-09 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:49:05
[end_date_ymd] => 2025-01-09 14:49:05
[RateCDR] => 1
)
[2025-01-09 14:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:49:05' and `end` < '2025-01-09 14:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:49:11] Production.ERROR: CronJobId end10
[2025-01-09 14:49:11] Production.INFO: ==5274== Releasing lock...
[2025-01-09 14:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:49:14] Production.INFO: call_cost start
[2025-01-09 14:49:14] Production.INFO: call_cost end
[2025-01-09 14:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:49:14] Production.INFO: ==5270== Releasing lock...
[2025-01-09 14:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:49:24] Production.INFO: count ==4932
[2025-01-09 14:49:26] Production.ERROR: pbx CDR StartTime 2025-01-09 11:49:05 - End Time 2025-01-09 14:49:05
[2025-01-09 14:49:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210296', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210296', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210296', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:49:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210296', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:49:26] Production.INFO: ProcessCDR(1,14210296,1,1,2)
[2025-01-09 14:49:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:49:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210296,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:49:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:49:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210296,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:49:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210296', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:49:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210296', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:49:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:49:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:49:31] Production.INFO: ==5278== Releasing lock...
[2025-01-09 14:49:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:49:31] Production.INFO: 65 MB #Memory Used#
[2025-01-09 19:50:01] Production.INFO: ==5335== Lock acquired, processing the job...
[2025-01-09 19:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:50:01] Production.INFO: neon service started
[2025-01-09 19:50:01] Production.INFO: neon service started
[2025-01-09 19:50:01] Production.INFO: ==5335== Releasing lock...
[2025-01-09 19:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:50:01] Production.INFO: ==5339== Lock acquired, processing the job...
[2025-01-09 19:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:50:01] Production.INFO: ==5339== Releasing lock...
[2025-01-09 19:50:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:50:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:50:02] Production.INFO: ==5337== Lock acquired, processing the job...
[2025-01-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:50:02] Production.INFO: ==5337== Releasing lock...
[2025-01-09 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:50:03] Production.INFO: ==5348== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:50:03] Production.INFO: ==5350== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:50:03] Production.INFO: ==5354== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 14:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:50:03] Production.INFO: Account Balance Start.
[2025-01-09 14:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:50:03] Production.INFO: 117
[2025-01-09 14:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:50:03] Production.INFO: ==5342== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 14:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:50:03] Production.INFO: ==5344== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:50:03] Production.INFO: Total Charge 0
[2025-01-09 14:50:03] Production.INFO: ==5346== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:50:03] Production.INFO: CreateAllLog End
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:50:03] Production.ERROR: CronJob PID - 5344
[2025-01-09 14:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 14:50:03] Production.ERROR: CronJob ID - 5
[2025-01-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:50:00
[2025-01-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:50:03] Production.ERROR: CronJob PID - 5346
[2025-01-09 14:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 14:50:03] Production.ERROR: CronJob ID - 7
[2025-01-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:50:00
[2025-01-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:50:03] Production.ERROR: CronJob PID - 5348
[2025-01-09 14:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 14:50:03] Production.ERROR: CronJob ID - 10
[2025-01-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:50:00
[2025-01-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:50:03] Production.ERROR: CronJob PID - 5350
[2025-01-09 14:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 14:50:03] Production.ERROR: CronJob ID - 12
[2025-01-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:50:00
[2025-01-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 14:50:03] Production.ERROR: CronJob PID - 5354
[2025-01-09 14:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 14:50:03] Production.ERROR: CronJob ID - 17
[2025-01-09 14:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 14:50:00
[2025-01-09 14:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 14:50:03] Production.INFO: ==5352== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:50:03] Production.INFO: ==5356== Lock acquired, processing the job...
[2025-01-09 14:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 14:50:03] Production.INFO: ==5342== Releasing lock...
[2025-01-09 14:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 14:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 14:50:03] Production.ERROR: done
[2025-01-09 14:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:50:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 14:50:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210300', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 14:50:03] Production.INFO: Account Balance End.
[2025-01-09 14:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:50:04] Production.INFO: count ==21
[2025-01-09 14:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:50:04] Production.INFO: count ==21
[2025-01-09 14:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:50:04] Production.INFO: ==5350== Releasing lock...
[2025-01-09 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210301') start
[2025-01-09 14:50:04] Production.INFO: ==5346== Releasing lock...
[2025-01-09 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210301') end
[2025-01-09 14:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:50:04] Production.INFO: 1
[2025-01-09 14:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:50:04] Production.INFO: ==5356== Releasing lock...
[2025-01-09 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:50:04] Production.ERROR: done
[2025-01-09 14:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:50:04] Production.ERROR: done
[2025-01-09 14:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:50:05
[end_date_ymd] => 2025-01-09 14:50:05
[RateCDR] => 1
)
[2025-01-09 14:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:50:05' and `end` < '2025-01-09 14:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:50:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210300', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 14:50:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 14:50:07] Production.INFO: ProcessCDR(1,14210300,1,1,2)
[2025-01-09 14:50:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210300,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:50:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210300,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:50:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:50:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:50:07] Production.INFO: ==5354== Releasing lock...
[2025-01-09 14:50:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 14:50:07] Production.INFO: 26 MB #Memory Used#
[2025-01-09 14:50:12] Production.ERROR: CronJobId end10
[2025-01-09 14:50:12] Production.INFO: ==5348== Releasing lock...
[2025-01-09 14:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:50:14] Production.INFO: call_cost start
[2025-01-09 14:50:14] Production.INFO: call_cost end
[2025-01-09 14:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:50:15] Production.INFO: ==5344== Releasing lock...
[2025-01-09 14:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:50:35] Production.INFO: count ==3418
[2025-01-09 14:50:37] Production.ERROR: pbx CDR StartTime 2025-01-09 11:50:05 - End Time 2025-01-09 14:50:05
[2025-01-09 14:50:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210302', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210302', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210302', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:50:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210302', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:50:37] Production.INFO: ProcessCDR(1,14210302,1,1,2)
[2025-01-09 14:50:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:50:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210302,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:50:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:50:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210302,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:50:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210302', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:50:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210302', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:50:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:50:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:50:42] Production.INFO: ==5352== Releasing lock...
[2025-01-09 14:50:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:50:42] Production.INFO: 55 MB #Memory Used#
[2025-01-09 19:51:01] Production.INFO: ==5410== Lock acquired, processing the job...
[2025-01-09 19:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:51:01] Production.INFO: neon service started
[2025-01-09 19:51:01] Production.INFO: neon service started
[2025-01-09 19:51:01] Production.INFO: ==5410== Releasing lock...
[2025-01-09 19:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:51:02] Production.INFO: ==5412== Lock acquired, processing the job...
[2025-01-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:51:02] Production.INFO: ==5412== Releasing lock...
[2025-01-09 14:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:51:02] Production.INFO: ==5414== Lock acquired, processing the job...
[2025-01-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:51:02] Production.INFO: ==5414== Releasing lock...
[2025-01-09 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:51:03] Production.INFO: ==5419== Lock acquired, processing the job...
[2025-01-09 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:51:03] Production.INFO: ==5427== Lock acquired, processing the job...
[2025-01-09 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:51:03] Production.INFO: ==5417== Lock acquired, processing the job...
[2025-01-09 14:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:51:03] Production.INFO: ==5421== Lock acquired, processing the job...
[2025-01-09 14:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:51:03] Production.INFO: ==5423== Lock acquired, processing the job...
[2025-01-09 14:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:51:03] Production.INFO: count ==21
[2025-01-09 14:51:03] Production.INFO: ==5419== Releasing lock...
[2025-01-09 14:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:51:03] Production.INFO: ==5425== Lock acquired, processing the job...
[2025-01-09 14:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:51:03] Production.INFO: count ==21
[2025-01-09 14:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210304') start
[2025-01-09 14:51:03] Production.INFO: Account Balance Start.
[2025-01-09 14:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:51:03] Production.INFO: 117
[2025-01-09 14:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210304') end
[2025-01-09 14:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:51:03] Production.INFO: 1
[2025-01-09 14:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:51:03] Production.INFO: Total Charge 0
[2025-01-09 14:51:03] Production.INFO: CreateAllLog End
[2025-01-09 14:51:03] Production.INFO: ==5427== Releasing lock...
[2025-01-09 14:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:51:04] Production.ERROR: done
[2025-01-09 14:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:51:04] Production.INFO: Account Balance End.
[2025-01-09 14:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:51:04] Production.INFO: ==5423== Releasing lock...
[2025-01-09 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:51:04] Production.ERROR: done
[2025-01-09 14:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:51:05
[end_date_ymd] => 2025-01-09 14:51:05
[RateCDR] => 1
)
[2025-01-09 14:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:51:05' and `end` < '2025-01-09 14:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:51:11] Production.ERROR: CronJobId end10
[2025-01-09 14:51:11] Production.INFO: ==5421== Releasing lock...
[2025-01-09 14:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:51:12] Production.INFO: call_cost start
[2025-01-09 14:51:12] Production.INFO: call_cost end
[2025-01-09 14:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:51:13] Production.INFO: ==5417== Releasing lock...
[2025-01-09 14:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:51:32] Production.INFO: count ==3465
[2025-01-09 14:51:34] Production.ERROR: pbx CDR StartTime 2025-01-09 11:51:05 - End Time 2025-01-09 14:51:05
[2025-01-09 14:51:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210307', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210307', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210307', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:51:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210307', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:51:34] Production.INFO: ProcessCDR(1,14210307,1,1,2)
[2025-01-09 14:51:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:51:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210307,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:51:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:51:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210307,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:51:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210307', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:51:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210307', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:51:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:51:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:51:38] Production.INFO: ==5425== Releasing lock...
[2025-01-09 14:51:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:51:38] Production.INFO: 54.5 MB #Memory Used#
[2025-01-09 19:52:01] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-01-09 19:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:52:01] Production.INFO: neon service started
[2025-01-09 19:52:01] Production.INFO: neon service started
[2025-01-09 19:52:01] Production.INFO: ==5481== Releasing lock...
[2025-01-09 19:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:52:01] Production.INFO: ==5485== Lock acquired, processing the job...
[2025-01-09 19:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:52:01] Production.INFO: ==5485== Releasing lock...
[2025-01-09 19:52:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:52:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:52:01] Production.INFO: ==5483== Lock acquired, processing the job...
[2025-01-09 14:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:52:02] Production.INFO: ==5483== Releasing lock...
[2025-01-09 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:52:02] Production.INFO: ==5487== Lock acquired, processing the job...
[2025-01-09 14:52:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:52:02] Production.INFO: ==5489== Lock acquired, processing the job...
[2025-01-09 14:52:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:52:02] Production.INFO: ==5496== Lock acquired, processing the job...
[2025-01-09 14:52:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:52:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:52:03] Production.INFO: ==5489== Releasing lock...
[2025-01-09 14:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:52:03] Production.INFO: ==5498== Lock acquired, processing the job...
[2025-01-09 14:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:52:03] Production.INFO: ==5491== Lock acquired, processing the job...
[2025-01-09 14:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:52:03] Production.INFO: ==5494== Lock acquired, processing the job...
[2025-01-09 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:52:03] Production.ERROR: done
[2025-01-09 14:52:03] Production.INFO: Account Balance Start.
[2025-01-09 14:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:52:03] Production.INFO: 117
[2025-01-09 14:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:52:03] Production.INFO: count ==21
[2025-01-09 14:52:03] Production.ERROR: done
[2025-01-09 14:52:03] Production.INFO: Total Charge 0
[2025-01-09 14:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:52:03] Production.INFO: count ==21
[2025-01-09 14:52:03] Production.INFO: CreateAllLog End
[2025-01-09 14:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210311') start
[2025-01-09 14:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210311') end
[2025-01-09 14:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:52:03] Production.INFO: 1
[2025-01-09 14:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:52:03] Production.INFO: Account Balance End.
[2025-01-09 14:52:04] Production.INFO: ==5498== Releasing lock...
[2025-01-09 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:52:04] Production.INFO: ==5494== Releasing lock...
[2025-01-09 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:52:04
[end_date_ymd] => 2025-01-09 14:52:04
[RateCDR] => 1
)
[2025-01-09 14:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:52:04' and `end` < '2025-01-09 14:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:52:11] Production.ERROR: CronJobId end10
[2025-01-09 14:52:11] Production.INFO: ==5491== Releasing lock...
[2025-01-09 14:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:52:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:52:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:52:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:52:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:52:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:52:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:52:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:52:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:52:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:52:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:52:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:52:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:52:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:52:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:52:12] Production.INFO: call_cost start
[2025-01-09 14:52:12] Production.INFO: call_cost end
[2025-01-09 14:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:52:13] Production.INFO: ==5487== Releasing lock...
[2025-01-09 14:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:52:35] Production.INFO: count ==3468
[2025-01-09 14:52:37] Production.ERROR: pbx CDR StartTime 2025-01-09 11:52:04 - End Time 2025-01-09 14:52:04
[2025-01-09 14:52:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210312', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210312', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210312', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:52:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210312', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:52:37] Production.INFO: ProcessCDR(1,14210312,1,1,2)
[2025-01-09 14:52:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:52:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210312,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:52:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:52:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210312,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:52:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210312', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:52:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210312', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:52:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:52:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:52:42] Production.INFO: ==5496== Releasing lock...
[2025-01-09 14:52:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:52:42] Production.INFO: 54.25 MB #Memory Used#
[2025-01-09 19:53:01] Production.INFO: ==5591== Lock acquired, processing the job...
[2025-01-09 19:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:53:01] Production.INFO: neon service started
[2025-01-09 19:53:01] Production.INFO: neon service started
[2025-01-09 19:53:01] Production.INFO: ==5591== Releasing lock...
[2025-01-09 19:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:53:02] Production.INFO: ==5593== Lock acquired, processing the job...
[2025-01-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:53:02] Production.INFO: ==5595== Lock acquired, processing the job...
[2025-01-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:53:02] Production.INFO: ==5595== Releasing lock...
[2025-01-09 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:53:02] Production.INFO: ==5593== Releasing lock...
[2025-01-09 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:53:03] Production.INFO: ==5598== Lock acquired, processing the job...
[2025-01-09 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:53:03] Production.INFO: ==5600== Lock acquired, processing the job...
[2025-01-09 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:53:03] Production.INFO: ==5606== Lock acquired, processing the job...
[2025-01-09 14:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:53:03] Production.INFO: ==5602== Lock acquired, processing the job...
[2025-01-09 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:53:03] Production.INFO: ==5604== Lock acquired, processing the job...
[2025-01-09 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:53:03] Production.INFO: ==5600== Releasing lock...
[2025-01-09 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:53:03] Production.INFO: ==5608== Lock acquired, processing the job...
[2025-01-09 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:53:03] Production.INFO: Account Balance Start.
[2025-01-09 14:53:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:53:04] Production.INFO: 117
[2025-01-09 14:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:53:04] Production.ERROR: done
[2025-01-09 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:53:04] Production.INFO: count ==21
[2025-01-09 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:53:04] Production.INFO: Total Charge 0
[2025-01-09 14:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:53:04] Production.INFO: count ==21
[2025-01-09 14:53:04] Production.ERROR: done
[2025-01-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210316') start
[2025-01-09 14:53:04] Production.INFO: CreateAllLog End
[2025-01-09 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210316') end
[2025-01-09 14:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:53:04] Production.INFO: 1
[2025-01-09 14:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:53:04] Production.INFO: ==5608== Releasing lock...
[2025-01-09 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:53:04] Production.INFO: Account Balance End.
[2025-01-09 14:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:53:04] Production.INFO: ==5604== Releasing lock...
[2025-01-09 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:53:05
[end_date_ymd] => 2025-01-09 14:53:05
[RateCDR] => 1
)
[2025-01-09 14:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:53:05' and `end` < '2025-01-09 14:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:53:11] Production.ERROR: CronJobId end10
[2025-01-09 14:53:11] Production.INFO: ==5602== Releasing lock...
[2025-01-09 14:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:53:12] Production.INFO: call_cost start
[2025-01-09 14:53:12] Production.INFO: call_cost end
[2025-01-09 14:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:53:13] Production.INFO: ==5598== Releasing lock...
[2025-01-09 14:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:53:35] Production.INFO: count ==3454
[2025-01-09 14:53:37] Production.ERROR: pbx CDR StartTime 2025-01-09 11:53:05 - End Time 2025-01-09 14:53:05
[2025-01-09 14:53:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:53:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210317', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:53:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210317', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:53:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210317', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:53:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210317', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:53:37] Production.INFO: ProcessCDR(1,14210317,1,1,2)
[2025-01-09 14:53:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:53:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210317,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:53:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:53:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210317,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:53:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210317', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:53:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210317', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:53:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:53:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:53:42] Production.INFO: ==5606== Releasing lock...
[2025-01-09 14:53:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:53:42] Production.INFO: 53.75 MB #Memory Used#
[2025-01-09 19:54:02] Production.INFO: ==5662== Lock acquired, processing the job...
[2025-01-09 19:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:54:02] Production.INFO: neon service started
[2025-01-09 19:54:02] Production.INFO: neon service started
[2025-01-09 19:54:02] Production.INFO: ==5662== Releasing lock...
[2025-01-09 19:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:54:02] Production.INFO: ==5664== Lock acquired, processing the job...
[2025-01-09 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 19:54:02] Production.INFO: ==5666== Lock acquired, processing the job...
[2025-01-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:54:02] Production.INFO: ==5666== Releasing lock...
[2025-01-09 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:54:03] Production.INFO: ==5664== Releasing lock...
[2025-01-09 14:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:54:03] Production.INFO: ==5671== Lock acquired, processing the job...
[2025-01-09 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:54:03] Production.INFO: ==5669== Lock acquired, processing the job...
[2025-01-09 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:54:04] Production.INFO: ==5673== Lock acquired, processing the job...
[2025-01-09 14:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:54:04] Production.INFO: ==5671== Releasing lock...
[2025-01-09 14:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:54:04] Production.INFO: ==5677== Lock acquired, processing the job...
[2025-01-09 14:54:04] Production.INFO: ==5675== Lock acquired, processing the job...
[2025-01-09 14:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:54:04] Production.INFO: ==5679== Lock acquired, processing the job...
[2025-01-09 14:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:54:04] Production.INFO: Account Balance Start.
[2025-01-09 14:54:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:54:04] Production.INFO: 117
[2025-01-09 14:54:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:54:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:54:04] Production.INFO: Total Charge 0
[2025-01-09 14:54:04] Production.INFO: CreateAllLog End
[2025-01-09 14:54:04] Production.INFO: count ==21
[2025-01-09 14:54:04] Production.ERROR: done
[2025-01-09 14:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:54:04] Production.INFO: count ==21
[2025-01-09 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210321') start
[2025-01-09 14:54:04] Production.ERROR: done
[2025-01-09 14:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210321') end
[2025-01-09 14:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:54:04] Production.INFO: 1
[2025-01-09 14:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:54:04] Production.INFO: Account Balance End.
[2025-01-09 14:54:05] Production.ERROR: CronJobId end 12
[2025-01-09 14:54:05] Production.INFO: ==5675== Releasing lock...
[2025-01-09 14:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:54:05] Production.INFO: ==5679== Releasing lock...
[2025-01-09 14:54:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:54:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:54:05
[end_date_ymd] => 2025-01-09 14:54:05
[RateCDR] => 1
)
[2025-01-09 14:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:54:05' and `end` < '2025-01-09 14:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:54:11] Production.ERROR: CronJobId end10
[2025-01-09 14:54:11] Production.INFO: ==5673== Releasing lock...
[2025-01-09 14:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:54:13] Production.INFO: call_cost start
[2025-01-09 14:54:13] Production.INFO: call_cost end
[2025-01-09 14:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:54:13] Production.INFO: ==5669== Releasing lock...
[2025-01-09 14:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:54:39] Production.INFO: count ==3435
[2025-01-09 14:54:41] Production.ERROR: pbx CDR StartTime 2025-01-09 11:54:05 - End Time 2025-01-09 14:54:05
[2025-01-09 14:54:41] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:54:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210322', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:54:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210322', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:54:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210322', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:54:41] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210322', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:54:41] Production.INFO: ProcessCDR(1,14210322,1,1,2)
[2025-01-09 14:54:41] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:54:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210322,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:54:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:54:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210322,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:54:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210322', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:54:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210322', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:54:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:54:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:54:44] Production.INFO: ==5677== Releasing lock...
[2025-01-09 14:54:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:54:44] Production.INFO: 54.5 MB #Memory Used#
[2025-01-09 19:55:01] Production.INFO: ==5736== Lock acquired, processing the job...
[2025-01-09 19:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:55:01] Production.INFO: neon service started
[2025-01-09 19:55:01] Production.INFO: neon service started
[2025-01-09 19:55:01] Production.INFO: ==5736== Releasing lock...
[2025-01-09 19:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:55:02] Production.INFO: ==5740== Lock acquired, processing the job...
[2025-01-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:55:02] Production.INFO: ==5740== Releasing lock...
[2025-01-09 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:55:02] Production.INFO: ==5738== Lock acquired, processing the job...
[2025-01-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:55:02] Production.INFO: ==5738== Releasing lock...
[2025-01-09 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:55:03] Production.INFO: ==5747== Lock acquired, processing the job...
[2025-01-09 14:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:55:03] Production.INFO: ==5751== Lock acquired, processing the job...
[2025-01-09 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:55:03] Production.INFO: ==5743== Lock acquired, processing the job...
[2025-01-09 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:55:03] Production.INFO: ==5745== Lock acquired, processing the job...
[2025-01-09 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:55:03] Production.INFO: ==5749== Lock acquired, processing the job...
[2025-01-09 14:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:55:03] Production.INFO: ==5753== Lock acquired, processing the job...
[2025-01-09 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:55:03] Production.ERROR: done
[2025-01-09 14:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:55:03] Production.INFO: Account Balance Start.
[2025-01-09 14:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:55:03] Production.INFO: 117
[2025-01-09 14:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:55:03] Production.ERROR: done
[2025-01-09 14:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:55:03] Production.INFO: count ==21
[2025-01-09 14:55:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:55:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:55:04] Production.INFO: ==5745== Releasing lock...
[2025-01-09 14:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:55:04] Production.INFO: count ==21
[2025-01-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210326') start
[2025-01-09 14:55:04] Production.INFO: Total Charge 0
[2025-01-09 14:55:04] Production.INFO: CreateAllLog End
[2025-01-09 14:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210326') end
[2025-01-09 14:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:55:04] Production.INFO: 1
[2025-01-09 14:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:55:04] Production.INFO: ==5753== Releasing lock...
[2025-01-09 14:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:55:04] Production.INFO: Account Balance End.
[2025-01-09 14:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:55:04] Production.INFO: ==5749== Releasing lock...
[2025-01-09 14:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:55:05
[end_date_ymd] => 2025-01-09 14:55:05
[RateCDR] => 1
)
[2025-01-09 14:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:55:05' and `end` < '2025-01-09 14:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:55:11] Production.ERROR: CronJobId end10
[2025-01-09 14:55:11] Production.INFO: ==5747== Releasing lock...
[2025-01-09 14:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:55:14] Production.INFO: call_cost start
[2025-01-09 14:55:14] Production.INFO: call_cost end
[2025-01-09 14:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:55:15] Production.INFO: ==5743== Releasing lock...
[2025-01-09 14:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:55:36] Production.INFO: count ==3422
[2025-01-09 14:55:37] Production.ERROR: pbx CDR StartTime 2025-01-09 11:55:05 - End Time 2025-01-09 14:55:05
[2025-01-09 14:55:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:55:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210327', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:55:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210327', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:55:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210327', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:55:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210327', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:55:37] Production.INFO: ProcessCDR(1,14210327,1,1,2)
[2025-01-09 14:55:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:55:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210327,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:55:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:55:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210327,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:55:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210327', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:55:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210327', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:55:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:55:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:55:41] Production.INFO: ==5751== Releasing lock...
[2025-01-09 14:55:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:55:41] Production.INFO: 54.5 MB #Memory Used#
[2025-01-09 19:56:02] Production.INFO: ==5811== Lock acquired, processing the job...
[2025-01-09 19:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:56:02] Production.INFO: neon service started
[2025-01-09 19:56:02] Production.INFO: neon service started
[2025-01-09 19:56:02] Production.INFO: ==5811== Releasing lock...
[2025-01-09 19:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:56:02] Production.INFO: ==5813== Lock acquired, processing the job...
[2025-01-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:56:02] Production.INFO: ==5813== Releasing lock...
[2025-01-09 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:56:02] Production.INFO: ==5815== Lock acquired, processing the job...
[2025-01-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:56:02] Production.INFO: ==5815== Releasing lock...
[2025-01-09 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:56:03] Production.INFO: ==5821== Lock acquired, processing the job...
[2025-01-09 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:56:03] Production.INFO: ==5825== Lock acquired, processing the job...
[2025-01-09 14:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:56:03] Production.INFO: ==5817== Lock acquired, processing the job...
[2025-01-09 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:56:03] Production.INFO: ==5819== Lock acquired, processing the job...
[2025-01-09 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:56:03] Production.INFO: ==5823== Lock acquired, processing the job...
[2025-01-09 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:56:03] Production.INFO: ==5827== Lock acquired, processing the job...
[2025-01-09 14:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:56:03] Production.ERROR: done
[2025-01-09 14:56:04] Production.INFO: Account Balance Start.
[2025-01-09 14:56:04] Production.INFO: CreateAllLog Start
[2025-01-09 14:56:04] Production.INFO: 117
[2025-01-09 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:56:04] Production.INFO: Date 2025-01-08
[2025-01-09 14:56:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:56:04] Production.INFO: count ==21
[2025-01-09 14:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:56:04] Production.INFO: count ==21
[2025-01-09 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210331') start
[2025-01-09 14:56:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:56:04] Production.ERROR: done
[2025-01-09 14:56:04] Production.INFO: Total Charge 0
[2025-01-09 14:56:04] Production.INFO: CreateAllLog End
[2025-01-09 14:56:04] Production.INFO: ==5819== Releasing lock...
[2025-01-09 14:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210331') end
[2025-01-09 14:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:56:04] Production.INFO: 1
[2025-01-09 14:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:56:04] Production.INFO: Account Balance End.
[2025-01-09 14:56:04] Production.INFO: ==5827== Releasing lock...
[2025-01-09 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:56:04] Production.INFO: ==5823== Releasing lock...
[2025-01-09 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:56:05
[end_date_ymd] => 2025-01-09 14:56:05
[RateCDR] => 1
)
[2025-01-09 14:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:56:05' and `end` < '2025-01-09 14:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:56:11] Production.ERROR: CronJobId end10
[2025-01-09 14:56:11] Production.INFO: ==5821== Releasing lock...
[2025-01-09 14:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:56:12] Production.INFO: call_cost start
[2025-01-09 14:56:12] Production.INFO: call_cost end
[2025-01-09 14:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:56:13] Production.INFO: ==5817== Releasing lock...
[2025-01-09 14:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:56:34] Production.INFO: count ==3418
[2025-01-09 14:56:35] Production.ERROR: pbx CDR StartTime 2025-01-09 11:56:05 - End Time 2025-01-09 14:56:05
[2025-01-09 14:56:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:56:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210332', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:56:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210332', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:56:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210332', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:56:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210332', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:56:35] Production.INFO: ProcessCDR(1,14210332,1,1,2)
[2025-01-09 14:56:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:56:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210332,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:56:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:56:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210332,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:56:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210332', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:56:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210332', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:56:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:56:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:56:40] Production.INFO: ==5825== Releasing lock...
[2025-01-09 14:56:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:56:40] Production.INFO: 55 MB #Memory Used#
[2025-01-09 19:57:01] Production.INFO: ==5881== Lock acquired, processing the job...
[2025-01-09 19:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:57:01] Production.INFO: neon service started
[2025-01-09 19:57:01] Production.INFO: neon service started
[2025-01-09 19:57:01] Production.INFO: ==5881== Releasing lock...
[2025-01-09 19:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 19:57:01] Production.INFO: ==5887== Lock acquired, processing the job...
[2025-01-09 19:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:57:01] Production.INFO: ==5887== Releasing lock...
[2025-01-09 19:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:57:01] Production.INFO: ==5883== Lock acquired, processing the job...
[2025-01-09 14:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:57:02] Production.INFO: ==5883== Releasing lock...
[2025-01-09 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 14:57:02] Production.INFO: ==5889== Lock acquired, processing the job...
[2025-01-09 14:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:57:02] Production.INFO: ==5891== Lock acquired, processing the job...
[2025-01-09 14:57:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:57:03] Production.INFO: ==5897== Lock acquired, processing the job...
[2025-01-09 14:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:57:03] Production.INFO: ==5893== Lock acquired, processing the job...
[2025-01-09 14:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:57:03] Production.INFO: ==5899== Lock acquired, processing the job...
[2025-01-09 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:57:03] Production.INFO: ==5891== Releasing lock...
[2025-01-09 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:57:03] Production.INFO: ==5895== Lock acquired, processing the job...
[2025-01-09 14:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:57:03] Production.ERROR: done
[2025-01-09 14:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:57:03] Production.INFO: Account Balance Start.
[2025-01-09 14:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:57:03] Production.INFO: 117
[2025-01-09 14:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:57:03] Production.INFO: count ==21
[2025-01-09 14:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:57:03] Production.INFO: count ==21
[2025-01-09 14:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210336') start
[2025-01-09 14:57:03] Production.INFO: Total Charge 0
[2025-01-09 14:57:03] Production.ERROR: done
[2025-01-09 14:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210336') end
[2025-01-09 14:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:57:03] Production.INFO: 1
[2025-01-09 14:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:57:03] Production.INFO: CreateAllLog End
[2025-01-09 14:57:03] Production.INFO: ==5899== Releasing lock...
[2025-01-09 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:57:03] Production.INFO: Account Balance End.
[2025-01-09 14:57:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:57:03] Production.INFO: ==5895== Releasing lock...
[2025-01-09 14:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:57:04
[end_date_ymd] => 2025-01-09 14:57:04
[RateCDR] => 1
)
[2025-01-09 14:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:57:04' and `end` < '2025-01-09 14:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:57:10] Production.ERROR: CronJobId end10
[2025-01-09 14:57:10] Production.INFO: ==5893== Releasing lock...
[2025-01-09 14:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:57:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:57:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:57:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:57:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:57:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:57:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:57:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:57:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:57:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:57:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:57:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:57:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:57:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:57:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:57:12] Production.INFO: call_cost start
[2025-01-09 14:57:12] Production.INFO: call_cost end
[2025-01-09 14:57:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:57:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:57:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:57:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:57:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:57:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:57:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:57:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:57:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:57:12] Production.INFO: ==5889== Releasing lock...
[2025-01-09 14:57:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:57:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:57:25] Production.INFO: count ==3403
[2025-01-09 14:57:27] Production.ERROR: pbx CDR StartTime 2025-01-09 11:57:04 - End Time 2025-01-09 14:57:04
[2025-01-09 14:57:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210337', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210337', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210337', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:57:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210337', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:57:27] Production.INFO: ProcessCDR(1,14210337,1,1,2)
[2025-01-09 14:57:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:57:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210337,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:57:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:57:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210337,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210337', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:57:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210337', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:57:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:57:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:57:31] Production.INFO: ==5897== Releasing lock...
[2025-01-09 14:57:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:57:31] Production.INFO: 53.75 MB #Memory Used#
[2025-01-09 19:58:01] Production.INFO: ==5954== Lock acquired, processing the job...
[2025-01-09 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:58:01] Production.INFO: neon service started
[2025-01-09 19:58:01] Production.INFO: neon service started
[2025-01-09 19:58:01] Production.INFO: ==5954== Releasing lock...
[2025-01-09 19:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:58:02] Production.INFO: ==5956== Lock acquired, processing the job...
[2025-01-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:58:02] Production.INFO: ==5956== Releasing lock...
[2025-01-09 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:58:02] Production.INFO: ==5958== Lock acquired, processing the job...
[2025-01-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:58:02] Production.INFO: ==5958== Releasing lock...
[2025-01-09 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:58:03] Production.INFO: ==5962== Lock acquired, processing the job...
[2025-01-09 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:58:03] Production.INFO: ==5962== Releasing lock...
[2025-01-09 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:58:03] Production.INFO: ==5960== Lock acquired, processing the job...
[2025-01-09 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:58:03] Production.INFO: ==5964== Lock acquired, processing the job...
[2025-01-09 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:58:03] Production.INFO: ==5971== Lock acquired, processing the job...
[2025-01-09 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:58:03] Production.INFO: ==5969== Lock acquired, processing the job...
[2025-01-09 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:58:03] Production.INFO: ==5966== Lock acquired, processing the job...
[2025-01-09 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:58:03] Production.INFO: Account Balance Start.
[2025-01-09 14:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:58:03] Production.INFO: 117
[2025-01-09 14:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:58:03] Production.INFO: count ==21
[2025-01-09 14:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:58:03] Production.INFO: count ==21
[2025-01-09 14:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210340') start
[2025-01-09 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210340') end
[2025-01-09 14:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:58:04] Production.INFO: 1
[2025-01-09 14:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:58:04] Production.INFO: Date 2025-01-09
[2025-01-09 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-09 14:58:04] Production.INFO: ==5971== Releasing lock...
[2025-01-09 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:58:04] Production.INFO: Total Charge 0
[2025-01-09 14:58:04] Production.ERROR: done
[2025-01-09 14:58:04] Production.INFO: CreateAllLog End
[2025-01-09 14:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:58:04] Production.ERROR: done
[2025-01-09 14:58:04] Production.INFO: Account Balance End.
[2025-01-09 14:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 14:58:04] Production.INFO: ==5966== Releasing lock...
[2025-01-09 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:58:05
[end_date_ymd] => 2025-01-09 14:58:05
[RateCDR] => 1
)
[2025-01-09 14:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:58:05' and `end` < '2025-01-09 14:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:58:10] Production.ERROR: CronJobId end10
[2025-01-09 14:58:10] Production.INFO: ==5964== Releasing lock...
[2025-01-09 14:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:58:12] Production.INFO: call_cost start
[2025-01-09 14:58:12] Production.INFO: call_cost end
[2025-01-09 14:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:58:13] Production.INFO: ==5960== Releasing lock...
[2025-01-09 14:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:58:20] Production.INFO: count ==3406
[2025-01-09 14:58:21] Production.ERROR: pbx CDR StartTime 2025-01-09 11:58:05 - End Time 2025-01-09 14:58:05
[2025-01-09 14:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210342', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210342', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210342', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210342', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:58:22] Production.INFO: ProcessCDR(1,14210342,1,1,2)
[2025-01-09 14:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210342,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210342,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210342', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210342', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:58:26] Production.INFO: ==5969== Releasing lock...
[2025-01-09 14:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:58:26] Production.INFO: 54.5 MB #Memory Used#
[2025-01-09 19:59:01] Production.INFO: ==6024== Lock acquired, processing the job...
[2025-01-09 19:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 19:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 19:59:01] Production.INFO: neon service started
[2025-01-09 19:59:01] Production.INFO: neon service started
[2025-01-09 19:59:01] Production.INFO: ==6024== Releasing lock...
[2025-01-09 19:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 19:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 14:59:01] Production.INFO: ==6026== Lock acquired, processing the job...
[2025-01-09 14:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 14:59:01] Production.INFO: ==6026== Releasing lock...
[2025-01-09 14:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 14:59:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 19:59:02] Production.INFO: ==6028== Lock acquired, processing the job...
[2025-01-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 19:59:02] Production.INFO: ==6028== Releasing lock...
[2025-01-09 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 14:59:02] Production.INFO: ==6031== Lock acquired, processing the job...
[2025-01-09 14:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 14:59:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 14:59:02] Production.INFO: ==6033== Lock acquired, processing the job...
[2025-01-09 14:59:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 14:59:02] Production.INFO: ==6035== Lock acquired, processing the job...
[2025-01-09 14:59:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 14:59:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 14:59:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 14:59:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 14:59:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 14:59:03] Production.INFO: ==6033== Releasing lock...
[2025-01-09 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 14:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 14:59:03] Production.INFO: ==6037== Lock acquired, processing the job...
[2025-01-09 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 14:59:03] Production.INFO: ==6039== Lock acquired, processing the job...
[2025-01-09 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 14:59:03] Production.INFO: ==6041== Lock acquired, processing the job...
[2025-01-09 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 14:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 14:59:03] Production.INFO: Account Balance Start.
[2025-01-09 14:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 14:59:03] Production.INFO: 117
[2025-01-09 14:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 14:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 14:59:03] Production.INFO: count ==21
[2025-01-09 14:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 14:59:03] Production.INFO: count ==21
[2025-01-09 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210346') start
[2025-01-09 14:59:03] Production.INFO: Total Charge 0
[2025-01-09 14:59:03] Production.INFO: CreateAllLog End
[2025-01-09 14:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210346') end
[2025-01-09 14:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 14:59:03] Production.INFO: 1
[2025-01-09 14:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 14:59:03] Production.INFO: ==6041== Releasing lock...
[2025-01-09 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 14:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 14:59:03] Production.ERROR: done
[2025-01-09 14:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 14:59:03] Production.ERROR: done
[2025-01-09 14:59:03] Production.INFO: Account Balance End.
[2025-01-09 14:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 14:59:03] Production.INFO: ==6037== Releasing lock...
[2025-01-09 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 14:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 14:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 11:59:04
[end_date_ymd] => 2025-01-09 14:59:04
[RateCDR] => 1
)
[2025-01-09 14:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 11:59:04' and `end` < '2025-01-09 14:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 14:59:10] Production.ERROR: CronJobId end10
[2025-01-09 14:59:10] Production.INFO: ==6035== Releasing lock...
[2025-01-09 14:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 14:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 14:59:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 14:59:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 14:59:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 14:59:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 14:59:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 14:59:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 14:59:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 14:59:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 14:59:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 14:59:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 14:59:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 14:59:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 14:59:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 14:59:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 14:59:11] Production.INFO: call_cost start
[2025-01-09 14:59:11] Production.INFO: call_cost end
[2025-01-09 14:59:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 14:59:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 14:59:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 14:59:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 14:59:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 14:59:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 14:59:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 14:59:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 14:59:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 14:59:12] Production.INFO: ==6031== Releasing lock...
[2025-01-09 14:59:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 14:59:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 14:59:18] Production.INFO: count ==3408
[2025-01-09 14:59:20] Production.ERROR: pbx CDR StartTime 2025-01-09 11:59:04 - End Time 2025-01-09 14:59:04
[2025-01-09 14:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210347', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210347', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210347', 'tblTempVendorCDR_20' ) start
[2025-01-09 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210347', 'tblTempVendorCDR_20' ) end
[2025-01-09 14:59:20] Production.INFO: ProcessCDR(1,14210347,1,1,2)
[2025-01-09 14:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:59:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210347,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 14:59:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:59:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210347,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 14:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210347', 'tblTempUsageDetail_20' ) start
[2025-01-09 14:59:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210347', 'tblTempUsageDetail_20' ) end
[2025-01-09 14:59:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 14:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 14:59:24] Production.INFO: ==6039== Releasing lock...
[2025-01-09 14:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 14:59:24] Production.INFO: 54.25 MB #Memory Used#
[2025-01-09 20:00:01] Production.INFO: ==6094== Lock acquired, processing the job...
[2025-01-09 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:00:01] Production.INFO: neon service started
[2025-01-09 20:00:01] Production.INFO: neon service started
[2025-01-09 20:00:01] Production.INFO: ==6094== Releasing lock...
[2025-01-09 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:00:02] Production.INFO: ==6096== Lock acquired, processing the job...
[2025-01-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:00:02] Production.INFO: ==6096== Releasing lock...
[2025-01-09 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:00:02] Production.INFO: ==6098== Lock acquired, processing the job...
[2025-01-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:00:02] Production.INFO: ==6098== Releasing lock...
[2025-01-09 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:00:03] Production.INFO: ==6103== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:00:03] Production.INFO: ==6107== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:00:03] Production.INFO: ==6109== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:00:03] Production.INFO: ==6101== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 15:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:00:03] Production.INFO: ==6111== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:00:03] Production.ERROR: CronJob PID - 6103
[2025-01-09 15:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 15:00:03] Production.ERROR: CronJob ID - 5
[2025-01-09 15:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:00:00
[2025-01-09 15:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:00:03] Production.ERROR: CronJob PID - 6107
[2025-01-09 15:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 15:00:03] Production.ERROR: CronJob ID - 10
[2025-01-09 15:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:00:00
[2025-01-09 15:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:00:03] Production.ERROR: CronJob PID - 6109
[2025-01-09 15:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 15:00:03] Production.ERROR: CronJob ID - 12
[2025-01-09 15:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:00:00
[2025-01-09 15:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:00:03] Production.INFO: ==6105== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:00:03] Production.INFO: Account Balance Start.
[2025-01-09 15:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:00:03] Production.INFO: 117
[2025-01-09 15:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 15:00:03] Production.INFO: ==6101== Releasing lock...
[2025-01-09 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 15:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:00:03] Production.INFO: ==6115== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:00:03] Production.INFO: ==6113== Lock acquired, processing the job...
[2025-01-09 15:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 15:00:03] Production.INFO: Total Charge 0
[2025-01-09 15:00:04] Production.INFO: CreateAllLog End
[2025-01-09 15:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:00:04] Production.INFO: count ==21
[2025-01-09 15:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:00:04] Production.INFO: count ==21
[2025-01-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210351') start
[2025-01-09 15:00:04] Production.INFO: ==6105== Releasing lock...
[2025-01-09 15:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:00:04] Production.ERROR: done
[2025-01-09 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210351') end
[2025-01-09 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:00:04] Production.INFO: 1
[2025-01-09 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:00:04] Production.ERROR: done
[2025-01-09 15:00:04] Production.INFO: Account Balance End.
[2025-01-09 15:00:04] Production.INFO: ==6115== Releasing lock...
[2025-01-09 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:00:04] Production.INFO: ==6109== Releasing lock...
[2025-01-09 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210352', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 15:00:04] Production.ERROR: done
[2025-01-09 15:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:00:05
[end_date_ymd] => 2025-01-09 15:00:05
[RateCDR] => 1
)
[2025-01-09 15:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:00:05' and `end` < '2025-01-09 15:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210352', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 15:00:08] Production.INFO: ProcessCDR(1,14210352,1,1,2)
[2025-01-09 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210352,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210352,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:00:08] Production.INFO: ==6113== Releasing lock...
[2025-01-09 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 15:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 15:00:11] Production.ERROR: CronJobId end10
[2025-01-09 15:00:11] Production.INFO: ==6107== Releasing lock...
[2025-01-09 15:00:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:00:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:00:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:00:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:00:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:00:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:00:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:00:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:00:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:00:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:00:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:00:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:00:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:00:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:00:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:00:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:00:14] Production.INFO: call_cost start
[2025-01-09 15:00:14] Production.INFO: call_cost end
[2025-01-09 15:00:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:00:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:00:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:00:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:00:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:00:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:00:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:00:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:00:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:00:14] Production.INFO: ==6103== Releasing lock...
[2025-01-09 15:00:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:00:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:00:24] Production.INFO: count ==3420
[2025-01-09 15:00:26] Production.ERROR: pbx CDR StartTime 2025-01-09 12:00:05 - End Time 2025-01-09 15:00:05
[2025-01-09 15:00:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210353', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210353', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210353', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:00:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210353', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:00:26] Production.INFO: ProcessCDR(1,14210353,1,1,2)
[2025-01-09 15:00:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:00:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210353,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:00:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:00:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210353,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:00:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210353', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:00:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210353', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:00:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:00:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:00:31] Production.INFO: ==6111== Releasing lock...
[2025-01-09 15:00:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:00:31] Production.INFO: 54 MB #Memory Used#
[2025-01-09 20:01:02] Production.INFO: ==6249== Lock acquired, processing the job...
[2025-01-09 20:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:01:02] Production.INFO: neon service started
[2025-01-09 20:01:02] Production.INFO: neon service started
[2025-01-09 20:01:02] Production.INFO: ==6249== Releasing lock...
[2025-01-09 20:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:01:02] Production.INFO: ==6261== Lock acquired, processing the job...
[2025-01-09 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:01:02] Production.INFO: ==6263== Lock acquired, processing the job...
[2025-01-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:01:02] Production.INFO: ==6263== Releasing lock...
[2025-01-09 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:01:03] Production.INFO: ==6261== Releasing lock...
[2025-01-09 15:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:01:03] Production.INFO: ==6268== Lock acquired, processing the job...
[2025-01-09 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:01:03] Production.INFO: ==6266== Lock acquired, processing the job...
[2025-01-09 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:01:03] Production.INFO: ==6276== Lock acquired, processing the job...
[2025-01-09 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:01:04] Production.INFO: ==6268== Releasing lock...
[2025-01-09 15:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:01:04] Production.INFO: ==6270== Lock acquired, processing the job...
[2025-01-09 15:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:01:04] Production.INFO: ==6272== Lock acquired, processing the job...
[2025-01-09 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:01:04] Production.INFO: ==6274== Lock acquired, processing the job...
[2025-01-09 15:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:01:04] Production.INFO: count ==21
[2025-01-09 15:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:01:04] Production.INFO: count ==21
[2025-01-09 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210356') start
[2025-01-09 15:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:01:04] Production.INFO: Account Balance Start.
[2025-01-09 15:01:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:01:04] Production.INFO: 117
[2025-01-09 15:01:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:01:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:01:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210356') end
[2025-01-09 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:01:04] Production.INFO: 1
[2025-01-09 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:01:04] Production.INFO: ==6276== Releasing lock...
[2025-01-09 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:01:04] Production.INFO: Total Charge 0
[2025-01-09 15:01:04] Production.INFO: CreateAllLog End
[2025-01-09 15:01:04] Production.ERROR: done
[2025-01-09 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:01:04] Production.INFO: Account Balance End.
[2025-01-09 15:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:01:04] Production.INFO: ==6272== Releasing lock...
[2025-01-09 15:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:01:04] Production.ERROR: done
[2025-01-09 15:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:01:05
[end_date_ymd] => 2025-01-09 15:01:05
[RateCDR] => 1
)
[2025-01-09 15:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:01:05' and `end` < '2025-01-09 15:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:01:12] Production.ERROR: CronJobId end10
[2025-01-09 15:01:12] Production.INFO: ==6270== Releasing lock...
[2025-01-09 15:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:01:13] Production.INFO: call_cost start
[2025-01-09 15:01:13] Production.INFO: call_cost end
[2025-01-09 15:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:01:14] Production.INFO: ==6266== Releasing lock...
[2025-01-09 15:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:01:32] Production.INFO: count ==3543
[2025-01-09 15:01:34] Production.ERROR: pbx CDR StartTime 2025-01-09 12:01:05 - End Time 2025-01-09 15:01:05
[2025-01-09 15:01:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:01:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210358', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:01:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210358', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:01:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210358', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:01:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210358', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:01:34] Production.INFO: ProcessCDR(1,14210358,1,1,2)
[2025-01-09 15:01:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:01:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210358,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:01:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:01:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210358,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:01:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210358', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:01:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210358', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:01:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:01:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:01:39] Production.INFO: ==6274== Releasing lock...
[2025-01-09 15:01:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:01:39] Production.INFO: 54.5 MB #Memory Used#
[2025-01-09 20:02:01] Production.INFO: ==6330== Lock acquired, processing the job...
[2025-01-09 20:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:02:01] Production.INFO: neon service started
[2025-01-09 20:02:01] Production.INFO: neon service started
[2025-01-09 20:02:01] Production.INFO: ==6330== Releasing lock...
[2025-01-09 20:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:02:01] Production.INFO: ==6334== Lock acquired, processing the job...
[2025-01-09 20:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:02:01] Production.INFO: ==6334== Releasing lock...
[2025-01-09 20:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:02:02] Production.INFO: ==6332== Lock acquired, processing the job...
[2025-01-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:02:02] Production.INFO: ==6332== Releasing lock...
[2025-01-09 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:02:03] Production.INFO: ==6337== Lock acquired, processing the job...
[2025-01-09 15:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:02:03] Production.INFO: ==6341== Lock acquired, processing the job...
[2025-01-09 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:02:03] Production.INFO: ==6347== Lock acquired, processing the job...
[2025-01-09 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:02:03] Production.INFO: ==6339== Lock acquired, processing the job...
[2025-01-09 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:02:03] Production.INFO: ==6343== Lock acquired, processing the job...
[2025-01-09 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:02:03] Production.INFO: ==6345== Lock acquired, processing the job...
[2025-01-09 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:02:03] Production.INFO: count ==21
[2025-01-09 15:02:03] Production.INFO: Account Balance Start.
[2025-01-09 15:02:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:02:03] Production.INFO: 117
[2025-01-09 15:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:02:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:02:03] Production.INFO: count ==21
[2025-01-09 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:02:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210360') start
[2025-01-09 15:02:03] Production.INFO: Total Charge 0
[2025-01-09 15:02:03] Production.INFO: CreateAllLog End
[2025-01-09 15:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210360') end
[2025-01-09 15:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:02:03] Production.INFO: 1
[2025-01-09 15:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:02:03] Production.INFO: ==6347== Releasing lock...
[2025-01-09 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:02:03] Production.ERROR: done
[2025-01-09 15:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:02:03] Production.INFO: Account Balance End.
[2025-01-09 15:02:04] Production.ERROR: done
[2025-01-09 15:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:02:04] Production.INFO: ==6343== Releasing lock...
[2025-01-09 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:02:04] Production.INFO: ==6339== Releasing lock...
[2025-01-09 15:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:02:05
[end_date_ymd] => 2025-01-09 15:02:05
[RateCDR] => 1
)
[2025-01-09 15:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:02:05' and `end` < '2025-01-09 15:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:02:11] Production.ERROR: CronJobId end10
[2025-01-09 15:02:11] Production.INFO: ==6341== Releasing lock...
[2025-01-09 15:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:02:14] Production.INFO: call_cost start
[2025-01-09 15:02:14] Production.INFO: call_cost end
[2025-01-09 15:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:02:14] Production.INFO: ==6337== Releasing lock...
[2025-01-09 15:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:02:36] Production.INFO: count ==3580
[2025-01-09 15:02:38] Production.ERROR: pbx CDR StartTime 2025-01-09 12:02:05 - End Time 2025-01-09 15:02:05
[2025-01-09 15:02:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:02:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210363', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:02:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210363', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:02:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210363', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:02:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210363', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:02:38] Production.INFO: ProcessCDR(1,14210363,1,1,2)
[2025-01-09 15:02:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:02:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210363,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:02:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:02:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210363,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:02:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210363', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:02:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210363', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:02:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:02:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:02:43] Production.INFO: ==6345== Releasing lock...
[2025-01-09 15:02:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:02:43] Production.INFO: 54.75 MB #Memory Used#
[2025-01-09 20:03:01] Production.INFO: ==6403== Lock acquired, processing the job...
[2025-01-09 20:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:03:01] Production.INFO: neon service started
[2025-01-09 20:03:02] Production.INFO: neon service started
[2025-01-09 20:03:02] Production.INFO: ==6403== Releasing lock...
[2025-01-09 20:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:03:02] Production.INFO: ==6407== Lock acquired, processing the job...
[2025-01-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:03:02] Production.INFO: ==6407== Releasing lock...
[2025-01-09 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:03:02] Production.INFO: ==6405== Lock acquired, processing the job...
[2025-01-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:03:02] Production.INFO: ==6405== Releasing lock...
[2025-01-09 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:03:03] Production.INFO: ==6414== Lock acquired, processing the job...
[2025-01-09 15:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:03:03] Production.INFO: ==6418== Lock acquired, processing the job...
[2025-01-09 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:03:03] Production.INFO: ==6410== Lock acquired, processing the job...
[2025-01-09 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:03:03] Production.INFO: ==6412== Lock acquired, processing the job...
[2025-01-09 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:03:03] Production.INFO: ==6420== Lock acquired, processing the job...
[2025-01-09 15:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:03:04] Production.ERROR: done
[2025-01-09 15:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:03:04] Production.INFO: ==6416== Lock acquired, processing the job...
[2025-01-09 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:03:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:03:04] Production.INFO: count ==21
[2025-01-09 15:03:04] Production.ERROR: done
[2025-01-09 15:03:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:03:04] Production.INFO: count ==21
[2025-01-09 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210366') start
[2025-01-09 15:03:04] Production.INFO: Account Balance Start.
[2025-01-09 15:03:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:03:04] Production.INFO: 117
[2025-01-09 15:03:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:03:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210366') end
[2025-01-09 15:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:03:04] Production.INFO: 1
[2025-01-09 15:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:03:04] Production.INFO: Total Charge 0
[2025-01-09 15:03:04] Production.INFO: CreateAllLog End
[2025-01-09 15:03:04] Production.INFO: ==6420== Releasing lock...
[2025-01-09 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:03:04] Production.INFO: ==6412== Releasing lock...
[2025-01-09 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:03:04] Production.INFO: Account Balance End.
[2025-01-09 15:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:03:04] Production.INFO: ==6416== Releasing lock...
[2025-01-09 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:03:05
[end_date_ymd] => 2025-01-09 15:03:05
[RateCDR] => 1
)
[2025-01-09 15:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:03:05' and `end` < '2025-01-09 15:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:03:11] Production.ERROR: CronJobId end10
[2025-01-09 15:03:11] Production.INFO: ==6414== Releasing lock...
[2025-01-09 15:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:03:13] Production.INFO: call_cost start
[2025-01-09 15:03:13] Production.INFO: call_cost end
[2025-01-09 15:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:03:14] Production.INFO: ==6410== Releasing lock...
[2025-01-09 15:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:03:33] Production.INFO: count ==3598
[2025-01-09 15:03:35] Production.ERROR: pbx CDR StartTime 2025-01-09 12:03:05 - End Time 2025-01-09 15:03:05
[2025-01-09 15:03:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210368', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210368', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210368', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:03:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210368', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:03:35] Production.INFO: ProcessCDR(1,14210368,1,1,2)
[2025-01-09 15:03:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:03:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210368,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:03:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:03:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210368,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:03:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210368', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:03:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210368', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:03:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:03:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:03:39] Production.INFO: ==6418== Releasing lock...
[2025-01-09 15:03:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:03:39] Production.INFO: 56 MB #Memory Used#
[2025-01-09 20:04:01] Production.INFO: ==6474== Lock acquired, processing the job...
[2025-01-09 20:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:04:01] Production.INFO: neon service started
[2025-01-09 20:04:01] Production.INFO: neon service started
[2025-01-09 20:04:01] Production.INFO: ==6474== Releasing lock...
[2025-01-09 20:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:04:01] Production.INFO: ==6476== Lock acquired, processing the job...
[2025-01-09 15:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:04:02] Production.INFO: ==6476== Releasing lock...
[2025-01-09 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:04:02] Production.INFO: ==6478== Lock acquired, processing the job...
[2025-01-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:04:02] Production.INFO: ==6478== Releasing lock...
[2025-01-09 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:04:02] Production.INFO: ==6484== Lock acquired, processing the job...
[2025-01-09 15:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:04:03] Production.INFO: ==6491== Lock acquired, processing the job...
[2025-01-09 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:04:03] Production.INFO: ==6480== Lock acquired, processing the job...
[2025-01-09 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:04:03] Production.INFO: ==6482== Lock acquired, processing the job...
[2025-01-09 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:04:03] Production.INFO: count ==21
[2025-01-09 15:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:04:03] Production.INFO: ==6486== Lock acquired, processing the job...
[2025-01-09 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:04:03] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-01-09 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:04:03] Production.INFO: Account Balance Start.
[2025-01-09 15:04:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:04:03] Production.INFO: 117
[2025-01-09 15:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:04:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:04:03] Production.INFO: count ==21
[2025-01-09 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210369') start
[2025-01-09 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:04:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:04:03] Production.INFO: Total Charge 0
[2025-01-09 15:04:03] Production.INFO: ==6482== Releasing lock...
[2025-01-09 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210369') end
[2025-01-09 15:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:04:03] Production.INFO: 1
[2025-01-09 15:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:04:03] Production.INFO: CreateAllLog End
[2025-01-09 15:04:03] Production.INFO: ==6491== Releasing lock...
[2025-01-09 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:04:03] Production.ERROR: done
[2025-01-09 15:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:04:03] Production.INFO: Account Balance End.
[2025-01-09 15:04:03] Production.ERROR: done
[2025-01-09 15:04:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:04:03] Production.INFO: ==6486== Releasing lock...
[2025-01-09 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:04:04
[end_date_ymd] => 2025-01-09 15:04:04
[RateCDR] => 1
)
[2025-01-09 15:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:04:04' and `end` < '2025-01-09 15:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:04:11] Production.ERROR: CronJobId end10
[2025-01-09 15:04:11] Production.INFO: ==6484== Releasing lock...
[2025-01-09 15:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:04:12] Production.INFO: call_cost start
[2025-01-09 15:04:12] Production.INFO: call_cost end
[2025-01-09 15:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:04:13] Production.INFO: ==6480== Releasing lock...
[2025-01-09 15:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:04:29] Production.INFO: count ==3602
[2025-01-09 15:04:31] Production.ERROR: pbx CDR StartTime 2025-01-09 12:04:04 - End Time 2025-01-09 15:04:04
[2025-01-09 15:04:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:04:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210373', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:04:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210373', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:04:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210373', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:04:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210373', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:04:31] Production.INFO: ProcessCDR(1,14210373,1,1,2)
[2025-01-09 15:04:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:04:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210373,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:04:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:04:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210373,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:04:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210373', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:04:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210373', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:04:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:04:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:04:34] Production.INFO: ==6489== Releasing lock...
[2025-01-09 15:04:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:04:34] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:05:01] Production.INFO: ==6622== Lock acquired, processing the job...
[2025-01-09 20:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:05:02] Production.INFO: neon service started
[2025-01-09 20:05:02] Production.INFO: neon service started
[2025-01-09 20:05:02] Production.INFO: ==6622== Releasing lock...
[2025-01-09 20:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:05:02] Production.INFO: ==6624== Lock acquired, processing the job...
[2025-01-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:05:02] Production.INFO: ==6624== Releasing lock...
[2025-01-09 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:05:02] Production.INFO: ==6626== Lock acquired, processing the job...
[2025-01-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:05:02] Production.INFO: ==6626== Releasing lock...
[2025-01-09 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:05:03] Production.INFO: ==6628== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:05:03] Production.INFO: ==6632== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:05:03] Production.INFO: ==6630== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:05:03] Production.INFO: ==6634== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:05:03] Production.INFO: ==6636== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:05:03] Production.INFO: Account Balance Start.
[2025-01-09 15:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:05:03] Production.INFO: 117
[2025-01-09 15:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:05:03] Production.INFO: ==6638== Lock acquired, processing the job...
[2025-01-09 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:05:03] Production.INFO: ==6630== Releasing lock...
[2025-01-09 15:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:05:03] Production.INFO: Total Charge 0
[2025-01-09 15:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:05:03] Production.INFO: count ==21
[2025-01-09 15:05:03] Production.INFO: CreateAllLog End
[2025-01-09 15:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:05:04] Production.INFO: count ==21
[2025-01-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210377') start
[2025-01-09 15:05:04] Production.ERROR: done
[2025-01-09 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:05:04] Production.INFO: Account Balance End.
[2025-01-09 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210377') end
[2025-01-09 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:05:04] Production.INFO: 1
[2025-01-09 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:05:04] Production.ERROR: done
[2025-01-09 15:05:04] Production.INFO: ==6638== Releasing lock...
[2025-01-09 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:05:04] Production.INFO: ==6634== Releasing lock...
[2025-01-09 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:05:05
[end_date_ymd] => 2025-01-09 15:05:05
[RateCDR] => 1
)
[2025-01-09 15:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:05:05' and `end` < '2025-01-09 15:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:05:11] Production.ERROR: CronJobId end10
[2025-01-09 15:05:11] Production.INFO: ==6632== Releasing lock...
[2025-01-09 15:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:05:12] Production.INFO: call_cost start
[2025-01-09 15:05:12] Production.INFO: call_cost end
[2025-01-09 15:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:05:13] Production.INFO: ==6628== Releasing lock...
[2025-01-09 15:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:05:33] Production.INFO: count ==3619
[2025-01-09 15:05:35] Production.ERROR: pbx CDR StartTime 2025-01-09 12:05:05 - End Time 2025-01-09 15:05:05
[2025-01-09 15:05:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210378', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210378', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210378', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:05:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210378', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:05:35] Production.INFO: ProcessCDR(1,14210378,1,1,2)
[2025-01-09 15:05:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:05:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210378,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:05:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:05:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210378,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:05:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210378', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:05:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210378', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:05:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:05:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:05:40] Production.INFO: ==6636== Releasing lock...
[2025-01-09 15:05:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:05:40] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:06:01] Production.INFO: ==6691== Lock acquired, processing the job...
[2025-01-09 20:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:06:01] Production.INFO: neon service started
[2025-01-09 20:06:01] Production.INFO: neon service started
[2025-01-09 20:06:01] Production.INFO: ==6691== Releasing lock...
[2025-01-09 20:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:06:01] Production.INFO: ==6693== Lock acquired, processing the job...
[2025-01-09 15:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:06:02] Production.INFO: ==6693== Releasing lock...
[2025-01-09 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:06:02] Production.INFO: ==6695== Lock acquired, processing the job...
[2025-01-09 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:06:02] Production.INFO: ==6695== Releasing lock...
[2025-01-09 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:06:02] Production.INFO: ==6697== Lock acquired, processing the job...
[2025-01-09 15:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:06:02] Production.INFO: ==6699== Lock acquired, processing the job...
[2025-01-09 15:06:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:06:02] Production.INFO: ==6707== Lock acquired, processing the job...
[2025-01-09 15:06:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:06:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:06:03] Production.INFO: ==6701== Lock acquired, processing the job...
[2025-01-09 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:06:03] Production.INFO: ==6703== Lock acquired, processing the job...
[2025-01-09 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:06:03] Production.INFO: ==6699== Releasing lock...
[2025-01-09 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:06:03] Production.INFO: ==6705== Lock acquired, processing the job...
[2025-01-09 15:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:06:03] Production.INFO: count ==21
[2025-01-09 15:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:06:03] Production.INFO: count ==21
[2025-01-09 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210381') start
[2025-01-09 15:06:03] Production.INFO: Account Balance Start.
[2025-01-09 15:06:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:06:03] Production.INFO: 117
[2025-01-09 15:06:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210381') end
[2025-01-09 15:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:06:03] Production.INFO: 1
[2025-01-09 15:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:06:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:06:03] Production.INFO: Total Charge 0
[2025-01-09 15:06:03] Production.INFO: CreateAllLog End
[2025-01-09 15:06:03] Production.INFO: ==6707== Releasing lock...
[2025-01-09 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:06:03] Production.ERROR: done
[2025-01-09 15:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:06:03] Production.ERROR: done
[2025-01-09 15:06:03] Production.INFO: Account Balance End.
[2025-01-09 15:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:06:04] Production.INFO: ==6703== Releasing lock...
[2025-01-09 15:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:06:04
[end_date_ymd] => 2025-01-09 15:06:04
[RateCDR] => 1
)
[2025-01-09 15:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:06:04' and `end` < '2025-01-09 15:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:06:11] Production.ERROR: CronJobId end10
[2025-01-09 15:06:11] Production.INFO: ==6701== Releasing lock...
[2025-01-09 15:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:06:12] Production.INFO: call_cost start
[2025-01-09 15:06:12] Production.INFO: call_cost end
[2025-01-09 15:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:06:13] Production.INFO: ==6697== Releasing lock...
[2025-01-09 15:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:06:32] Production.INFO: count ==3604
[2025-01-09 15:06:34] Production.ERROR: pbx CDR StartTime 2025-01-09 12:06:04 - End Time 2025-01-09 15:06:04
[2025-01-09 15:06:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:06:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210383', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:06:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210383', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:06:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210383', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:06:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210383', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:06:34] Production.INFO: ProcessCDR(1,14210383,1,1,2)
[2025-01-09 15:06:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:06:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210383,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:06:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:06:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210383,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:06:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210383', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:06:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210383', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:06:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:06:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:06:39] Production.INFO: ==6705== Releasing lock...
[2025-01-09 15:06:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:06:39] Production.INFO: 55.75 MB #Memory Used#
[2025-01-09 20:07:01] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-01-09 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:07:01] Production.INFO: neon service started
[2025-01-09 20:07:01] Production.INFO: neon service started
[2025-01-09 20:07:01] Production.INFO: ==6762== Releasing lock...
[2025-01-09 20:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:07:02] Production.INFO: ==6764== Lock acquired, processing the job...
[2025-01-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:07:02] Production.INFO: ==6764== Releasing lock...
[2025-01-09 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:07:02] Production.INFO: ==6766== Lock acquired, processing the job...
[2025-01-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:07:02] Production.INFO: ==6766== Releasing lock...
[2025-01-09 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:07:03] Production.INFO: ==6770== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:07:03] Production.INFO: ==6776== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:07:03] Production.INFO: ==6768== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:07:03] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:07:03] Production.INFO: ==6774== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:07:03] Production.INFO: ==6778== Lock acquired, processing the job...
[2025-01-09 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:07:03] Production.ERROR: done
[2025-01-09 15:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:07:03] Production.INFO: ==6770== Releasing lock...
[2025-01-09 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:07:03] Production.ERROR: done
[2025-01-09 15:07:03] Production.INFO: Account Balance Start.
[2025-01-09 15:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:07:03] Production.INFO: 117
[2025-01-09 15:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:07:03] Production.INFO: count ==21
[2025-01-09 15:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:07:03] Production.INFO: count ==21
[2025-01-09 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210387') start
[2025-01-09 15:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:07:03] Production.INFO: Total Charge 0
[2025-01-09 15:07:03] Production.INFO: CreateAllLog End
[2025-01-09 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210387') end
[2025-01-09 15:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:07:03] Production.INFO: 1
[2025-01-09 15:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:07:04] Production.INFO: ==6778== Releasing lock...
[2025-01-09 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:07:04] Production.INFO: Account Balance End.
[2025-01-09 15:07:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:07:04] Production.INFO: ==6774== Releasing lock...
[2025-01-09 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:07:04
[end_date_ymd] => 2025-01-09 15:07:04
[RateCDR] => 1
)
[2025-01-09 15:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:07:04' and `end` < '2025-01-09 15:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:07:11] Production.ERROR: CronJobId end10
[2025-01-09 15:07:11] Production.INFO: ==6772== Releasing lock...
[2025-01-09 15:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:07:12] Production.INFO: call_cost start
[2025-01-09 15:07:12] Production.INFO: call_cost end
[2025-01-09 15:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:07:13] Production.INFO: ==6768== Releasing lock...
[2025-01-09 15:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:07:33] Production.INFO: count ==3592
[2025-01-09 15:07:35] Production.ERROR: pbx CDR StartTime 2025-01-09 12:07:04 - End Time 2025-01-09 15:07:04
[2025-01-09 15:07:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:07:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210388', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:07:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210388', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:07:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210388', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:07:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210388', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:07:35] Production.INFO: ProcessCDR(1,14210388,1,1,2)
[2025-01-09 15:07:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:07:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210388,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:07:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:07:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210388,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:07:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210388', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:07:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210388', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:07:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:07:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:07:40] Production.INFO: ==6776== Releasing lock...
[2025-01-09 15:07:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:07:40] Production.INFO: 54.75 MB #Memory Used#
[2025-01-09 20:08:02] Production.INFO: ==6910== Lock acquired, processing the job...
[2025-01-09 20:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:08:02] Production.INFO: neon service started
[2025-01-09 20:08:02] Production.INFO: neon service started
[2025-01-09 20:08:02] Production.INFO: ==6910== Releasing lock...
[2025-01-09 20:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:08:02] Production.INFO: ==6912== Lock acquired, processing the job...
[2025-01-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:08:02] Production.INFO: ==6912== Releasing lock...
[2025-01-09 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:08:02] Production.INFO: ==6914== Lock acquired, processing the job...
[2025-01-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:08:02] Production.INFO: ==6914== Releasing lock...
[2025-01-09 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:08:03] Production.INFO: ==6920== Lock acquired, processing the job...
[2025-01-09 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:08:03] Production.INFO: ==6916== Lock acquired, processing the job...
[2025-01-09 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:08:03] Production.INFO: ==6924== Lock acquired, processing the job...
[2025-01-09 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:08:03] Production.INFO: ==6918== Lock acquired, processing the job...
[2025-01-09 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:08:03] Production.INFO: ==6922== Lock acquired, processing the job...
[2025-01-09 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:08:03] Production.INFO: ==6926== Lock acquired, processing the job...
[2025-01-09 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:08:04] Production.INFO: Account Balance Start.
[2025-01-09 15:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:08:04] Production.INFO: 117
[2025-01-09 15:08:04] Production.ERROR: done
[2025-01-09 15:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:08:04] Production.INFO: count ==21
[2025-01-09 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:08:04] Production.INFO: count ==21
[2025-01-09 15:08:04] Production.INFO: ==6918== Releasing lock...
[2025-01-09 15:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210392') start
[2025-01-09 15:08:04] Production.ERROR: done
[2025-01-09 15:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210392') end
[2025-01-09 15:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:08:04] Production.INFO: 1
[2025-01-09 15:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:08:04] Production.INFO: Total Charge 0
[2025-01-09 15:08:04] Production.INFO: CreateAllLog End
[2025-01-09 15:08:04] Production.INFO: ==6926== Releasing lock...
[2025-01-09 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:08:04] Production.INFO: Account Balance End.
[2025-01-09 15:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:08:04] Production.INFO: ==6922== Releasing lock...
[2025-01-09 15:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:08:05
[end_date_ymd] => 2025-01-09 15:08:05
[RateCDR] => 1
)
[2025-01-09 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-01-09 12:08:05' and `end` < '2025-01-09 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-01-09 15:08:11] Production.ERROR: CronJobId end10
[2025-01-09 15:08:11] Production.INFO: ==6920== Releasing lock...
[2025-01-09 15:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:08:13] Production.INFO: call_cost start
[2025-01-09 15:08:13] Production.INFO: call_cost end
[2025-01-09 15:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:08:14] Production.INFO: ==6916== Releasing lock...
[2025-01-09 15:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:08:34] Production.INFO: count ==3578
[2025-01-09 15:08:36] Production.ERROR: pbx CDR StartTime 2025-01-09 12:08:05 - End Time 2025-01-09 15:08:05
[2025-01-09 15:08:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210393', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210393', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210393', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:08:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210393', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:08:36] Production.INFO: ProcessCDR(1,14210393,1,1,2)
[2025-01-09 15:08:36] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:08:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210393,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:08:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:08:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210393,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:08:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210393', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:08:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210393', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:08:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:08:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:08:41] Production.INFO: ==6924== Releasing lock...
[2025-01-09 15:08:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:08:41] Production.INFO: 54.75 MB #Memory Used#
[2025-01-09 20:09:01] Production.INFO: ==7026== Lock acquired, processing the job...
[2025-01-09 20:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:09:01] Production.INFO: neon service started
[2025-01-09 20:09:01] Production.INFO: neon service started
[2025-01-09 20:09:01] Production.INFO: ==7026== Releasing lock...
[2025-01-09 20:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:09:02] Production.INFO: ==7028== Lock acquired, processing the job...
[2025-01-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:09:02] Production.INFO: ==7028== Releasing lock...
[2025-01-09 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:09:02] Production.INFO: ==7030== Lock acquired, processing the job...
[2025-01-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:09:02] Production.INFO: ==7030== Releasing lock...
[2025-01-09 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:09:03] Production.INFO: ==7038== Lock acquired, processing the job...
[2025-01-09 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:09:03] Production.INFO: ==7042== Lock acquired, processing the job...
[2025-01-09 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:09:03] Production.INFO: Account Balance Start.
[2025-01-09 15:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:09:03] Production.INFO: 117
[2025-01-09 15:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:09:03] Production.INFO: Total Charge 0
[2025-01-09 15:09:03] Production.INFO: CreateAllLog End
[2025-01-09 15:09:03] Production.INFO: ==7032== Lock acquired, processing the job...
[2025-01-09 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:09:03] Production.INFO: ==7034== Lock acquired, processing the job...
[2025-01-09 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:09:03] Production.INFO: count ==21
[2025-01-09 15:09:03] Production.INFO: ==7036== Lock acquired, processing the job...
[2025-01-09 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:09:03] Production.INFO: count ==21
[2025-01-09 15:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210395') start
[2025-01-09 15:09:03] Production.INFO: Account Balance End.
[2025-01-09 15:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:09:03] Production.INFO: ==7038== Releasing lock...
[2025-01-09 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:09:03] Production.INFO: ==7040== Lock acquired, processing the job...
[2025-01-09 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210395') end
[2025-01-09 15:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:09:03] Production.INFO: 1
[2025-01-09 15:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:09:03] Production.INFO: ==7042== Releasing lock...
[2025-01-09 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:09:04] Production.INFO: ==7034== Releasing lock...
[2025-01-09 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:09:04] Production.ERROR: done
[2025-01-09 15:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:09:04] Production.ERROR: done
[2025-01-09 15:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:09:05
[end_date_ymd] => 2025-01-09 15:09:05
[RateCDR] => 1
)
[2025-01-09 15:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:09:05' and `end` < '2025-01-09 15:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:09:11] Production.ERROR: CronJobId end10
[2025-01-09 15:09:11] Production.INFO: ==7036== Releasing lock...
[2025-01-09 15:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:09:12] Production.INFO: call_cost start
[2025-01-09 15:09:12] Production.INFO: call_cost end
[2025-01-09 15:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:09:13] Production.INFO: ==7032== Releasing lock...
[2025-01-09 15:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:09:30] Production.INFO: count ==3559
[2025-01-09 15:09:32] Production.ERROR: pbx CDR StartTime 2025-01-09 12:09:05 - End Time 2025-01-09 15:09:05
[2025-01-09 15:09:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210398', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210398', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210398', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:09:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210398', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:09:32] Production.INFO: ProcessCDR(1,14210398,1,1,2)
[2025-01-09 15:09:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:09:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:09:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:09:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:09:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210398', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:09:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210398', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:09:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:09:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:09:37] Production.INFO: ==7040== Releasing lock...
[2025-01-09 15:09:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:09:37] Production.INFO: 54.75 MB #Memory Used#
[2025-01-09 20:10:02] Production.INFO: ==7099== Lock acquired, processing the job...
[2025-01-09 20:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:10:02] Production.INFO: neon service started
[2025-01-09 20:10:02] Production.INFO: neon service started
[2025-01-09 20:10:02] Production.INFO: ==7099== Releasing lock...
[2025-01-09 20:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:10:02] Production.INFO: ==7103== Lock acquired, processing the job...
[2025-01-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:10:02] Production.INFO: ==7103== Releasing lock...
[2025-01-09 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:10:02] Production.INFO: ==7105== Lock acquired, processing the job...
[2025-01-09 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:10:03] Production.INFO: ==7105== Releasing lock...
[2025-01-09 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:10:03] Production.INFO: ==7113== Lock acquired, processing the job...
[2025-01-09 15:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:10:04] Production.INFO: ==7107== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 15:10:04] Production.INFO: ==7119== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 15:10:04] Production.INFO: ==7109== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:10:04] Production.INFO: ==7121== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:10:04] Production.INFO: ==7111== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:10:04] Production.ERROR: CronJob PID - 7109
[2025-01-09 15:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 15:10:04] Production.ERROR: CronJob ID - 5
[2025-01-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:10:00
[2025-01-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:10:04] Production.ERROR: CronJob PID - 7113
[2025-01-09 15:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 15:10:04] Production.ERROR: CronJob ID - 10
[2025-01-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:10:00
[2025-01-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:10:04] Production.ERROR: CronJob PID - 7119
[2025-01-09 15:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 15:10:04] Production.ERROR: CronJob ID - 17
[2025-01-09 15:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:10:00
[2025-01-09 15:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:10:04] Production.INFO: ==7115== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:10:04] Production.INFO: ==7117== Lock acquired, processing the job...
[2025-01-09 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 15:10:04] Production.INFO: ==7107== Releasing lock...
[2025-01-09 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:10:04] Production.INFO: Account Balance Start.
[2025-01-09 15:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:10:04] Production.INFO: 117
[2025-01-09 15:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:10:04] Production.INFO: count ==21
[2025-01-09 15:10:04] Production.ERROR: done
[2025-01-09 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:10:04] Production.INFO: count ==21
[2025-01-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210400') start
[2025-01-09 15:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210403', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210400') end
[2025-01-09 15:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:10:04] Production.INFO: 1
[2025-01-09 15:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:10:04] Production.ERROR: done
[2025-01-09 15:10:04] Production.INFO: Total Charge 0
[2025-01-09 15:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:10:04] Production.INFO: CreateAllLog End
[2025-01-09 15:10:04] Production.INFO: ==7121== Releasing lock...
[2025-01-09 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:10:04] Production.ERROR: done
[2025-01-09 15:10:04] Production.INFO: ==7111== Releasing lock...
[2025-01-09 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:10:05] Production.INFO: Account Balance End.
[2025-01-09 15:10:05] Production.ERROR: CronJobId end 12
[2025-01-09 15:10:05] Production.INFO: ==7115== Releasing lock...
[2025-01-09 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:10:06
[end_date_ymd] => 2025-01-09 15:10:06
[RateCDR] => 1
)
[2025-01-09 15:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:10:06' and `end` < '2025-01-09 15:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210403', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 15:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 15:10:08] Production.INFO: ProcessCDR(1,14210403,1,1,2)
[2025-01-09 15:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210403,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210403,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:10:08] Production.INFO: ==7119== Releasing lock...
[2025-01-09 15:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 15:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 15:10:13] Production.ERROR: CronJobId end10
[2025-01-09 15:10:13] Production.INFO: ==7113== Releasing lock...
[2025-01-09 15:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:10:15] Production.INFO: call_cost start
[2025-01-09 15:10:15] Production.INFO: call_cost end
[2025-01-09 15:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:10:16] Production.INFO: ==7109== Releasing lock...
[2025-01-09 15:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:10:42] Production.INFO: count ==3570
[2025-01-09 15:10:44] Production.ERROR: pbx CDR StartTime 2025-01-09 12:10:06 - End Time 2025-01-09 15:10:06
[2025-01-09 15:10:44] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:10:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210404', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:10:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210404', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:10:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210404', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:10:44] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210404', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:10:44] Production.INFO: ProcessCDR(1,14210404,1,1,2)
[2025-01-09 15:10:44] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:10:47] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210404,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:10:47] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:10:49] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210404,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:10:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210404', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:10:49] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210404', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:10:49] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:10:49] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:10:49] Production.INFO: ==7117== Releasing lock...
[2025-01-09 15:10:49] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:10:49] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 20:11:01] Production.INFO: ==7175== Lock acquired, processing the job...
[2025-01-09 20:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:11:01] Production.INFO: neon service started
[2025-01-09 20:11:01] Production.INFO: neon service started
[2025-01-09 20:11:01] Production.INFO: ==7175== Releasing lock...
[2025-01-09 20:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:11:01] Production.INFO: ==7177== Lock acquired, processing the job...
[2025-01-09 15:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:11:02] Production.INFO: ==7177== Releasing lock...
[2025-01-09 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:11:02] Production.INFO: ==7179== Lock acquired, processing the job...
[2025-01-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:11:02] Production.INFO: ==7179== Releasing lock...
[2025-01-09 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:11:02] Production.INFO: ==7181== Lock acquired, processing the job...
[2025-01-09 15:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:11:02] Production.INFO: ==7186== Lock acquired, processing the job...
[2025-01-09 15:11:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:11:03] Production.INFO: ==7184== Lock acquired, processing the job...
[2025-01-09 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:11:03] Production.INFO: ==7190== Lock acquired, processing the job...
[2025-01-09 15:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:11:03] Production.INFO: ==7188== Lock acquired, processing the job...
[2025-01-09 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:11:03] Production.INFO: ==7192== Lock acquired, processing the job...
[2025-01-09 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:11:03] Production.INFO: Account Balance Start.
[2025-01-09 15:11:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:11:03] Production.INFO: 117
[2025-01-09 15:11:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:11:03] Production.INFO: count ==21
[2025-01-09 15:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:11:03] Production.INFO: count ==21
[2025-01-09 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210408') start
[2025-01-09 15:11:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:11:03] Production.INFO: ==7184== Releasing lock...
[2025-01-09 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:11:03] Production.INFO: Total Charge 0
[2025-01-09 15:11:03] Production.ERROR: done
[2025-01-09 15:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:11:03] Production.INFO: CreateAllLog End
[2025-01-09 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210408') end
[2025-01-09 15:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:11:03] Production.INFO: 1
[2025-01-09 15:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:11:03] Production.ERROR: done
[2025-01-09 15:11:03] Production.INFO: ==7192== Releasing lock...
[2025-01-09 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:11:03] Production.INFO: Account Balance End.
[2025-01-09 15:11:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:11:03] Production.INFO: ==7188== Releasing lock...
[2025-01-09 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:11:04
[end_date_ymd] => 2025-01-09 15:11:04
[RateCDR] => 1
)
[2025-01-09 15:11:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:11:04' and `end` < '2025-01-09 15:11:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:11:11] Production.ERROR: CronJobId end10
[2025-01-09 15:11:11] Production.INFO: ==7186== Releasing lock...
[2025-01-09 15:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:11:12] Production.INFO: call_cost start
[2025-01-09 15:11:12] Production.INFO: call_cost end
[2025-01-09 15:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:11:13] Production.INFO: ==7181== Releasing lock...
[2025-01-09 15:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:11:35] Production.INFO: count ==3647
[2025-01-09 15:11:37] Production.ERROR: pbx CDR StartTime 2025-01-09 12:11:04 - End Time 2025-01-09 15:11:04
[2025-01-09 15:11:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210409', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210409', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210409', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:11:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210409', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:11:37] Production.INFO: ProcessCDR(1,14210409,1,1,2)
[2025-01-09 15:11:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:11:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210409,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:11:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:11:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210409,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:11:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210409', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:11:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210409', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:11:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:11:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:11:42] Production.INFO: ==7190== Releasing lock...
[2025-01-09 15:11:42] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:11:42] Production.INFO: 56.25 MB #Memory Used#
[2025-01-09 20:12:01] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-01-09 20:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:12:01] Production.INFO: neon service started
[2025-01-09 20:12:02] Production.INFO: neon service started
[2025-01-09 20:12:02] Production.INFO: ==7323== Releasing lock...
[2025-01-09 20:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:12:02] Production.INFO: ==7327== Lock acquired, processing the job...
[2025-01-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:12:02] Production.INFO: ==7325== Lock acquired, processing the job...
[2025-01-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:12:02] Production.INFO: ==7327== Releasing lock...
[2025-01-09 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:12:02] Production.INFO: ==7325== Releasing lock...
[2025-01-09 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:12:03] Production.INFO: ==7332== Lock acquired, processing the job...
[2025-01-09 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:12:03] Production.INFO: ==7334== Lock acquired, processing the job...
[2025-01-09 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:12:03] Production.INFO: ==7338== Lock acquired, processing the job...
[2025-01-09 15:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:12:03] Production.INFO: ==7336== Lock acquired, processing the job...
[2025-01-09 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:12:03] Production.INFO: ==7330== Lock acquired, processing the job...
[2025-01-09 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:12:03] Production.INFO: ==7340== Lock acquired, processing the job...
[2025-01-09 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:12:03] Production.INFO: ==7332== Releasing lock...
[2025-01-09 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:12:03] Production.INFO: Account Balance Start.
[2025-01-09 15:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:12:03] Production.INFO: 117
[2025-01-09 15:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:12:03] Production.INFO: count ==21
[2025-01-09 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:12:04] Production.INFO: count ==21
[2025-01-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210412') start
[2025-01-09 15:12:04] Production.ERROR: done
[2025-01-09 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:12:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:12:04] Production.INFO: Total Charge 0
[2025-01-09 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210412') end
[2025-01-09 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:12:04] Production.INFO: 1
[2025-01-09 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:12:04] Production.INFO: CreateAllLog End
[2025-01-09 15:12:04] Production.INFO: ==7340== Releasing lock...
[2025-01-09 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:12:04] Production.ERROR: done
[2025-01-09 15:12:04] Production.INFO: Account Balance End.
[2025-01-09 15:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:12:04] Production.INFO: ==7336== Releasing lock...
[2025-01-09 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:12:05
[end_date_ymd] => 2025-01-09 15:12:05
[RateCDR] => 1
)
[2025-01-09 15:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:12:05' and `end` < '2025-01-09 15:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:12:12] Production.ERROR: CronJobId end10
[2025-01-09 15:12:12] Production.INFO: ==7334== Releasing lock...
[2025-01-09 15:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:12:14] Production.INFO: call_cost start
[2025-01-09 15:12:14] Production.INFO: call_cost end
[2025-01-09 15:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:12:15] Production.INFO: ==7330== Releasing lock...
[2025-01-09 15:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:12:29] Production.INFO: count ==3693
[2025-01-09 15:12:31] Production.ERROR: pbx CDR StartTime 2025-01-09 12:12:05 - End Time 2025-01-09 15:12:05
[2025-01-09 15:12:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210414', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210414', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210414', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:12:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210414', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:12:31] Production.INFO: ProcessCDR(1,14210414,1,1,2)
[2025-01-09 15:12:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:12:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210414,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:12:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:12:36] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210414,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:12:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210414', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:12:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210414', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:12:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:12:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:12:36] Production.INFO: ==7338== Releasing lock...
[2025-01-09 15:12:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:12:36] Production.INFO: 56 MB #Memory Used#
[2025-01-09 20:13:01] Production.INFO: ==7394== Lock acquired, processing the job...
[2025-01-09 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:13:01] Production.INFO: neon service started
[2025-01-09 20:13:01] Production.INFO: neon service started
[2025-01-09 20:13:01] Production.INFO: ==7394== Releasing lock...
[2025-01-09 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:13:01] Production.INFO: ==7396== Lock acquired, processing the job...
[2025-01-09 15:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:13:01] Production.INFO: ==7398== Lock acquired, processing the job...
[2025-01-09 20:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:13:01] Production.INFO: ==7398== Releasing lock...
[2025-01-09 20:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:13:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:13:02] Production.INFO: ==7396== Releasing lock...
[2025-01-09 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:13:02] Production.INFO: ==7401== Lock acquired, processing the job...
[2025-01-09 15:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:13:02] Production.INFO: ==7407== Lock acquired, processing the job...
[2025-01-09 15:13:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:13:03] Production.INFO: ==7411== Lock acquired, processing the job...
[2025-01-09 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:13:03] Production.INFO: ==7403== Lock acquired, processing the job...
[2025-01-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:13:03] Production.INFO: ==7405== Lock acquired, processing the job...
[2025-01-09 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:13:03] Production.INFO: Account Balance Start.
[2025-01-09 15:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:13:03] Production.INFO: 117
[2025-01-09 15:13:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:13:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:13:03] Production.INFO: ==7409== Lock acquired, processing the job...
[2025-01-09 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:13:03] Production.INFO: Total Charge 0
[2025-01-09 15:13:03] Production.INFO: count ==21
[2025-01-09 15:13:03] Production.INFO: CreateAllLog End
[2025-01-09 15:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:13:03] Production.INFO: count ==21
[2025-01-09 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210417') start
[2025-01-09 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210417') end
[2025-01-09 15:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:13:03] Production.INFO: 1
[2025-01-09 15:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:13:03] Production.INFO: Account Balance End.
[2025-01-09 15:13:03] Production.INFO: ==7411== Releasing lock...
[2025-01-09 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:13:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:13:03] Production.INFO: ==7407== Releasing lock...
[2025-01-09 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:13:03] Production.INFO: ==7403== Releasing lock...
[2025-01-09 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:13:03] Production.ERROR: done
[2025-01-09 15:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:13:03] Production.ERROR: done
[2025-01-09 15:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:13:04
[end_date_ymd] => 2025-01-09 15:13:04
[RateCDR] => 1
)
[2025-01-09 15:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:13:04' and `end` < '2025-01-09 15:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:13:11] Production.ERROR: CronJobId end10
[2025-01-09 15:13:11] Production.INFO: ==7405== Releasing lock...
[2025-01-09 15:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:13:12] Production.INFO: call_cost start
[2025-01-09 15:13:12] Production.INFO: call_cost end
[2025-01-09 15:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:13:13] Production.INFO: ==7401== Releasing lock...
[2025-01-09 15:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:13:26] Production.INFO: count ==3700
[2025-01-09 15:13:27] Production.ERROR: pbx CDR StartTime 2025-01-09 12:13:04 - End Time 2025-01-09 15:13:04
[2025-01-09 15:13:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:13:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210419', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210419', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210419', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210419', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:13:28] Production.INFO: ProcessCDR(1,14210419,1,1,2)
[2025-01-09 15:13:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:13:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210419,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:13:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:13:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210419,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210419', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:13:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210419', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:13:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:13:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:13:32] Production.INFO: ==7409== Releasing lock...
[2025-01-09 15:13:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:13:32] Production.INFO: 55.75 MB #Memory Used#
[2025-01-09 20:14:01] Production.INFO: ==7464== Lock acquired, processing the job...
[2025-01-09 20:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:14:01] Production.INFO: neon service started
[2025-01-09 20:14:01] Production.INFO: neon service started
[2025-01-09 20:14:01] Production.INFO: ==7464== Releasing lock...
[2025-01-09 20:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:14:02] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-01-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:14:02] Production.INFO: ==7468== Releasing lock...
[2025-01-09 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:14:02] Production.INFO: ==7466== Lock acquired, processing the job...
[2025-01-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:14:02] Production.INFO: ==7466== Releasing lock...
[2025-01-09 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:14:03] Production.INFO: ==7475== Lock acquired, processing the job...
[2025-01-09 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:14:03] Production.INFO: ==7471== Lock acquired, processing the job...
[2025-01-09 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:14:03] Production.INFO: ==7481== Lock acquired, processing the job...
[2025-01-09 15:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:14:03] Production.INFO: ==7473== Lock acquired, processing the job...
[2025-01-09 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:14:03] Production.INFO: ==7477== Lock acquired, processing the job...
[2025-01-09 15:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:14:03] Production.INFO: ==7479== Lock acquired, processing the job...
[2025-01-09 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:14:03] Production.INFO: Account Balance Start.
[2025-01-09 15:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:14:03] Production.INFO: 117
[2025-01-09 15:14:04] Production.INFO: count ==21
[2025-01-09 15:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:14:04] Production.INFO: count ==21
[2025-01-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210422') start
[2025-01-09 15:14:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:14:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:14:04] Production.INFO: Total Charge 0
[2025-01-09 15:14:04] Production.INFO: CreateAllLog End
[2025-01-09 15:14:04] Production.INFO: ==7473== Releasing lock...
[2025-01-09 15:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210422') end
[2025-01-09 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:14:04] Production.INFO: 1
[2025-01-09 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:14:04] Production.INFO: ==7481== Releasing lock...
[2025-01-09 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:14:04] Production.ERROR: done
[2025-01-09 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:14:04] Production.INFO: Account Balance End.
[2025-01-09 15:14:04] Production.ERROR: done
[2025-01-09 15:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:14:04] Production.INFO: ==7477== Releasing lock...
[2025-01-09 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:14:05
[end_date_ymd] => 2025-01-09 15:14:05
[RateCDR] => 1
)
[2025-01-09 15:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:14:05' and `end` < '2025-01-09 15:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:14:11] Production.ERROR: CronJobId end10
[2025-01-09 15:14:11] Production.INFO: ==7475== Releasing lock...
[2025-01-09 15:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:14:13] Production.INFO: call_cost start
[2025-01-09 15:14:13] Production.INFO: call_cost end
[2025-01-09 15:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:14:14] Production.INFO: ==7471== Releasing lock...
[2025-01-09 15:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:14:22] Production.INFO: count ==3677
[2025-01-09 15:14:24] Production.ERROR: pbx CDR StartTime 2025-01-09 12:14:05 - End Time 2025-01-09 15:14:05
[2025-01-09 15:14:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:14:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210424', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:14:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210424', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:14:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210424', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:14:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210424', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:14:24] Production.INFO: ProcessCDR(1,14210424,1,1,2)
[2025-01-09 15:14:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:14:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210424,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:14:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:14:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210424,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:14:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210424', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:14:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210424', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:14:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:14:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:14:28] Production.INFO: ==7479== Releasing lock...
[2025-01-09 15:14:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:14:28] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:15:01] Production.INFO: ==7611== Lock acquired, processing the job...
[2025-01-09 20:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:15:01] Production.INFO: neon service started
[2025-01-09 20:15:01] Production.INFO: neon service started
[2025-01-09 20:15:01] Production.INFO: ==7611== Releasing lock...
[2025-01-09 20:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:15:01] Production.INFO: ==7613== Lock acquired, processing the job...
[2025-01-09 15:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:15:01] Production.INFO: ==7613== Releasing lock...
[2025-01-09 15:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:15:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:15:02] Production.INFO: ==7615== Lock acquired, processing the job...
[2025-01-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:15:02] Production.INFO: ==7615== Releasing lock...
[2025-01-09 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:15:02] Production.INFO: ==7617== Lock acquired, processing the job...
[2025-01-09 15:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:15:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:15:02] Production.INFO: ==7621== Lock acquired, processing the job...
[2025-01-09 15:15:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:15:02] Production.INFO: ==7625== Lock acquired, processing the job...
[2025-01-09 15:15:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:15:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:15:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:15:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:15:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:15:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:15:03] Production.INFO: ==7619== Lock acquired, processing the job...
[2025-01-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:15:03] Production.INFO: ==7623== Lock acquired, processing the job...
[2025-01-09 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:15:03] Production.INFO: ==7627== Lock acquired, processing the job...
[2025-01-09 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:15:03] Production.INFO: Account Balance Start.
[2025-01-09 15:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:15:03] Production.INFO: 117
[2025-01-09 15:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:15:03] Production.INFO: count ==21
[2025-01-09 15:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:15:03] Production.INFO: count ==21
[2025-01-09 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210428') start
[2025-01-09 15:15:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:15:03] Production.INFO: ==7619== Releasing lock...
[2025-01-09 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:15:03] Production.ERROR: done
[2025-01-09 15:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:15:03] Production.INFO: Total Charge 0
[2025-01-09 15:15:03] Production.INFO: CreateAllLog End
[2025-01-09 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210428') end
[2025-01-09 15:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:15:03] Production.INFO: 1
[2025-01-09 15:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:15:03] Production.INFO: ==7627== Releasing lock...
[2025-01-09 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:15:03] Production.ERROR: done
[2025-01-09 15:15:03] Production.INFO: Account Balance End.
[2025-01-09 15:15:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:15:03] Production.INFO: ==7623== Releasing lock...
[2025-01-09 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:15:04
[end_date_ymd] => 2025-01-09 15:15:04
[RateCDR] => 1
)
[2025-01-09 15:15:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:15:04' and `end` < '2025-01-09 15:15:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:15:10] Production.ERROR: CronJobId end10
[2025-01-09 15:15:10] Production.INFO: ==7621== Releasing lock...
[2025-01-09 15:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:15:12] Production.INFO: call_cost start
[2025-01-09 15:15:12] Production.INFO: call_cost end
[2025-01-09 15:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:15:13] Production.INFO: ==7617== Releasing lock...
[2025-01-09 15:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:15:21] Production.INFO: count ==3668
[2025-01-09 15:15:23] Production.ERROR: pbx CDR StartTime 2025-01-09 12:15:04 - End Time 2025-01-09 15:15:04
[2025-01-09 15:15:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210429', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210429', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210429', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:15:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210429', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:15:23] Production.INFO: ProcessCDR(1,14210429,1,1,2)
[2025-01-09 15:15:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:15:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210429,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:15:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:15:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210429,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:15:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210429', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:15:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210429', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:15:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:15:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:15:28] Production.INFO: ==7625== Releasing lock...
[2025-01-09 15:15:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:15:28] Production.INFO: 56 MB #Memory Used#
[2025-01-09 20:16:01] Production.INFO: ==7681== Lock acquired, processing the job...
[2025-01-09 20:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:16:01] Production.INFO: neon service started
[2025-01-09 20:16:01] Production.INFO: neon service started
[2025-01-09 20:16:01] Production.INFO: ==7681== Releasing lock...
[2025-01-09 20:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:16:02] Production.INFO: ==7684== Lock acquired, processing the job...
[2025-01-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:16:02] Production.INFO: ==7684== Releasing lock...
[2025-01-09 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:16:02] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-01-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:16:02] Production.INFO: ==7686== Releasing lock...
[2025-01-09 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:16:03] Production.INFO: ==7688== Lock acquired, processing the job...
[2025-01-09 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:16:03] Production.INFO: ==7692== Lock acquired, processing the job...
[2025-01-09 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:16:03] Production.INFO: ==7696== Lock acquired, processing the job...
[2025-01-09 15:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:16:03] Production.INFO: ==7698== Lock acquired, processing the job...
[2025-01-09 15:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:16:03] Production.INFO: ==7690== Lock acquired, processing the job...
[2025-01-09 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:16:03] Production.INFO: ==7694== Lock acquired, processing the job...
[2025-01-09 15:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:16:03] Production.INFO: Account Balance Start.
[2025-01-09 15:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:16:03] Production.INFO: 117
[2025-01-09 15:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:16:03] Production.INFO: count ==21
[2025-01-09 15:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:16:03] Production.INFO: count ==21
[2025-01-09 15:16:03] Production.ERROR: done
[2025-01-09 15:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210432') start
[2025-01-09 15:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:16:03] Production.INFO: Total Charge 0
[2025-01-09 15:16:03] Production.INFO: CreateAllLog End
[2025-01-09 15:16:04] Production.ERROR: done
[2025-01-09 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210432') end
[2025-01-09 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:16:04] Production.INFO: 1
[2025-01-09 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:16:04] Production.INFO: Account Balance End.
[2025-01-09 15:16:04] Production.INFO: ==7690== Releasing lock...
[2025-01-09 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:16:04] Production.INFO: ==7698== Releasing lock...
[2025-01-09 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:16:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:16:04] Production.INFO: ==7694== Releasing lock...
[2025-01-09 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:16:05
[end_date_ymd] => 2025-01-09 15:16:05
[RateCDR] => 1
)
[2025-01-09 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:16:05' and `end` < '2025-01-09 15:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:16:11] Production.ERROR: CronJobId end10
[2025-01-09 15:16:11] Production.INFO: ==7692== Releasing lock...
[2025-01-09 15:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:16:12] Production.INFO: call_cost start
[2025-01-09 15:16:12] Production.INFO: call_cost end
[2025-01-09 15:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:16:13] Production.INFO: ==7688== Releasing lock...
[2025-01-09 15:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:16:29] Production.INFO: count ==3669
[2025-01-09 15:16:30] Production.ERROR: pbx CDR StartTime 2025-01-09 12:16:05 - End Time 2025-01-09 15:16:05
[2025-01-09 15:16:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:16:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210434', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210434', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210434', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:16:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210434', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:16:31] Production.INFO: ProcessCDR(1,14210434,1,1,2)
[2025-01-09 15:16:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:16:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210434,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:16:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:16:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210434,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:16:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210434', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:16:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210434', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:16:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:16:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:16:35] Production.INFO: ==7696== Releasing lock...
[2025-01-09 15:16:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:16:35] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:17:02] Production.INFO: ==7753== Lock acquired, processing the job...
[2025-01-09 20:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:17:02] Production.INFO: neon service started
[2025-01-09 20:17:02] Production.INFO: neon service started
[2025-01-09 20:17:02] Production.INFO: ==7753== Releasing lock...
[2025-01-09 20:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:17:02] Production.INFO: ==7755== Lock acquired, processing the job...
[2025-01-09 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:17:02] Production.INFO: ==7757== Lock acquired, processing the job...
[2025-01-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:17:02] Production.INFO: ==7757== Releasing lock...
[2025-01-09 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:17:03] Production.INFO: ==7755== Releasing lock...
[2025-01-09 15:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:17:03] Production.INFO: ==7760== Lock acquired, processing the job...
[2025-01-09 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:17:03] Production.INFO: ==7762== Lock acquired, processing the job...
[2025-01-09 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:17:04] Production.INFO: ==7768== Lock acquired, processing the job...
[2025-01-09 15:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:17:04] Production.INFO: ==7764== Lock acquired, processing the job...
[2025-01-09 15:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:17:04] Production.INFO: ==7762== Releasing lock...
[2025-01-09 15:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:17:04] Production.INFO: ==7766== Lock acquired, processing the job...
[2025-01-09 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:17:04] Production.INFO: ==7770== Lock acquired, processing the job...
[2025-01-09 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:17:04] Production.ERROR: done
[2025-01-09 15:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:17:04] Production.INFO: count ==21
[2025-01-09 15:17:04] Production.INFO: Account Balance Start.
[2025-01-09 15:17:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:17:04] Production.INFO: 117
[2025-01-09 15:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:17:04] Production.INFO: count ==21
[2025-01-09 15:17:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:17:04] Production.ERROR: done
[2025-01-09 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210438') start
[2025-01-09 15:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:17:04] Production.INFO: Total Charge 0
[2025-01-09 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210438') end
[2025-01-09 15:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:17:04] Production.INFO: 1
[2025-01-09 15:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:17:04] Production.INFO: CreateAllLog End
[2025-01-09 15:17:04] Production.INFO: ==7770== Releasing lock...
[2025-01-09 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:17:05] Production.INFO: Account Balance End.
[2025-01-09 15:17:05] Production.ERROR: CronJobId end 12
[2025-01-09 15:17:05] Production.INFO: ==7766== Releasing lock...
[2025-01-09 15:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:17:05
[end_date_ymd] => 2025-01-09 15:17:05
[RateCDR] => 1
)
[2025-01-09 15:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:17:05' and `end` < '2025-01-09 15:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:17:12] Production.ERROR: CronJobId end10
[2025-01-09 15:17:12] Production.INFO: ==7764== Releasing lock...
[2025-01-09 15:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:17:13] Production.INFO: call_cost start
[2025-01-09 15:17:13] Production.INFO: call_cost end
[2025-01-09 15:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:17:14] Production.INFO: ==7760== Releasing lock...
[2025-01-09 15:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:17:25] Production.INFO: count ==3663
[2025-01-09 15:17:27] Production.ERROR: pbx CDR StartTime 2025-01-09 12:17:05 - End Time 2025-01-09 15:17:05
[2025-01-09 15:17:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210439', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210439', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210439', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:17:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210439', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:17:28] Production.INFO: ProcessCDR(1,14210439,1,1,2)
[2025-01-09 15:17:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:17:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210439,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:17:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:17:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210439,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:17:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210439', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:17:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210439', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:17:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:17:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:17:33] Production.INFO: ==7768== Releasing lock...
[2025-01-09 15:17:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:17:33] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:18:01] Production.INFO: ==7824== Lock acquired, processing the job...
[2025-01-09 20:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:18:01] Production.INFO: neon service started
[2025-01-09 20:18:01] Production.INFO: neon service started
[2025-01-09 20:18:01] Production.INFO: ==7824== Releasing lock...
[2025-01-09 20:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:18:02] Production.INFO: ==7826== Lock acquired, processing the job...
[2025-01-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:18:02] Production.INFO: ==7828== Lock acquired, processing the job...
[2025-01-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:18:02] Production.INFO: ==7828== Releasing lock...
[2025-01-09 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:18:02] Production.INFO: ==7826== Releasing lock...
[2025-01-09 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:18:03] Production.INFO: ==7835== Lock acquired, processing the job...
[2025-01-09 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:18:03] Production.INFO: ==7841== Lock acquired, processing the job...
[2025-01-09 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:18:03] Production.INFO: ==7831== Lock acquired, processing the job...
[2025-01-09 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:18:03] Production.INFO: ==7833== Lock acquired, processing the job...
[2025-01-09 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:18:03] Production.INFO: count ==21
[2025-01-09 15:18:03] Production.INFO: ==7837== Lock acquired, processing the job...
[2025-01-09 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:18:03] Production.INFO: ==7839== Lock acquired, processing the job...
[2025-01-09 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:18:03] Production.INFO: count ==21
[2025-01-09 15:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210440') start
[2025-01-09 15:18:03] Production.INFO: Account Balance Start.
[2025-01-09 15:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:18:03] Production.INFO: 117
[2025-01-09 15:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210440') end
[2025-01-09 15:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:18:03] Production.INFO: 1
[2025-01-09 15:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:18:03] Production.INFO: ==7841== Releasing lock...
[2025-01-09 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:18:04] Production.INFO: ==7833== Releasing lock...
[2025-01-09 15:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:18:04] Production.INFO: Total Charge 0
[2025-01-09 15:18:04] Production.INFO: CreateAllLog End
[2025-01-09 15:18:04] Production.ERROR: done
[2025-01-09 15:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:18:04] Production.ERROR: done
[2025-01-09 15:18:04] Production.INFO: Account Balance End.
[2025-01-09 15:18:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:18:04] Production.INFO: ==7837== Releasing lock...
[2025-01-09 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:18:05
[end_date_ymd] => 2025-01-09 15:18:05
[RateCDR] => 1
)
[2025-01-09 15:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:18:05' and `end` < '2025-01-09 15:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:18:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-01-09 23:59:59))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#2 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#3 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#4 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#7 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 {main}
[2025-01-09 15:18:10] Production.ERROR: CronJobId end10
[2025-01-09 15:18:10] Production.INFO: ==7835== Releasing lock...
[2025-01-09 15:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:18:13] Production.INFO: call_cost start
[2025-01-09 15:18:13] Production.INFO: call_cost end
[2025-01-09 15:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:18:13] Production.INFO: ==7831== Releasing lock...
[2025-01-09 15:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:18:25] Production.INFO: count ==3657
[2025-01-09 15:18:27] Production.ERROR: pbx CDR StartTime 2025-01-09 12:18:05 - End Time 2025-01-09 15:18:05
[2025-01-09 15:18:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210444', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210444', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210444', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:18:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210444', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:18:27] Production.INFO: ProcessCDR(1,14210444,1,1,2)
[2025-01-09 15:18:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:18:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210444,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:18:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:18:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210444,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210444', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:18:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210444', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:18:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:18:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:18:32] Production.INFO: ==7839== Releasing lock...
[2025-01-09 15:18:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:18:32] Production.INFO: 55.25 MB #Memory Used#
[2025-01-09 20:19:02] Production.INFO: ==7894== Lock acquired, processing the job...
[2025-01-09 20:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:19:02] Production.INFO: neon service started
[2025-01-09 20:19:02] Production.INFO: neon service started
[2025-01-09 20:19:02] Production.INFO: ==7894== Releasing lock...
[2025-01-09 20:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:19:02] Production.INFO: ==7897== Lock acquired, processing the job...
[2025-01-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:19:02] Production.INFO: ==7899== Lock acquired, processing the job...
[2025-01-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:19:02] Production.INFO: ==7897== Releasing lock...
[2025-01-09 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:19:02] Production.INFO: ==7899== Releasing lock...
[2025-01-09 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:19:03] Production.INFO: ==7909== Lock acquired, processing the job...
[2025-01-09 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:19:03] Production.INFO: ==7907== Lock acquired, processing the job...
[2025-01-09 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:19:03] Production.INFO: ==7901== Lock acquired, processing the job...
[2025-01-09 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:19:03] Production.INFO: Account Balance Start.
[2025-01-09 15:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:19:03] Production.INFO: 117
[2025-01-09 15:19:03] Production.INFO: ==7903== Lock acquired, processing the job...
[2025-01-09 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:19:03] Production.ERROR: done
[2025-01-09 15:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:19:03] Production.INFO: ==7905== Lock acquired, processing the job...
[2025-01-09 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:19:03] Production.INFO: ==7911== Lock acquired, processing the job...
[2025-01-09 15:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:19:04] Production.ERROR: done
[2025-01-09 15:19:04] Production.INFO: Total Charge 0
[2025-01-09 15:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:19:04] Production.INFO: CreateAllLog End
[2025-01-09 15:19:04] Production.INFO: Account Balance End.
[2025-01-09 15:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:19:04] Production.INFO: ==7907== Releasing lock...
[2025-01-09 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:19:04] Production.INFO: count ==21
[2025-01-09 15:19:04] Production.INFO: ==7903== Releasing lock...
[2025-01-09 15:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:19:04] Production.INFO: count ==21
[2025-01-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210449') start
[2025-01-09 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210449') end
[2025-01-09 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:19:04] Production.INFO: 1
[2025-01-09 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:19:04] Production.INFO: ==7911== Releasing lock...
[2025-01-09 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:19:04
[end_date_ymd] => 2025-01-09 15:19:04
[RateCDR] => 1
)
[2025-01-09 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-01-09 12:19:04' and `end` < '2025-01-09 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-01-09 15:19:12] Production.ERROR: CronJobId end10
[2025-01-09 15:19:12] Production.INFO: ==7905== Releasing lock...
[2025-01-09 15:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:19:13] Production.INFO: call_cost start
[2025-01-09 15:19:13] Production.INFO: call_cost end
[2025-01-09 15:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:19:14] Production.INFO: ==7901== Releasing lock...
[2025-01-09 15:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:19:22] Production.INFO: count ==3666
[2025-01-09 15:19:24] Production.ERROR: pbx CDR StartTime 2025-01-09 12:19:04 - End Time 2025-01-09 15:19:04
[2025-01-09 15:19:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210448', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210448', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210448', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:19:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210448', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:19:24] Production.INFO: ProcessCDR(1,14210448,1,1,2)
[2025-01-09 15:19:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:19:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210448,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:19:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:19:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210448,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:19:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210448', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:19:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210448', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:19:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:19:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:19:29] Production.INFO: ==7909== Releasing lock...
[2025-01-09 15:19:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:19:29] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:20:01] Production.INFO: ==7965== Lock acquired, processing the job...
[2025-01-09 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:20:01] Production.INFO: neon service started
[2025-01-09 20:20:01] Production.INFO: neon service started
[2025-01-09 20:20:01] Production.INFO: ==7965== Releasing lock...
[2025-01-09 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:20:01] Production.INFO: ==7967== Lock acquired, processing the job...
[2025-01-09 15:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:20:02] Production.INFO: ==7969== Lock acquired, processing the job...
[2025-01-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:20:02] Production.INFO: ==7967== Releasing lock...
[2025-01-09 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:20:02] Production.INFO: ==7969== Releasing lock...
[2025-01-09 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:20:03] Production.INFO: ==7972== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 15:20:03] Production.INFO: ==7976== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:20:03] Production.INFO: ==7974== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 15:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:20:03] Production.ERROR: CronJob PID - 7974
[2025-01-09 15:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 15:20:03] Production.ERROR: CronJob ID - 5
[2025-01-09 15:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:20:00
[2025-01-09 15:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:20:03] Production.ERROR: CronJob PID - 7976
[2025-01-09 15:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 15:20:03] Production.ERROR: CronJob ID - 7
[2025-01-09 15:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:20:00
[2025-01-09 15:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 15:20:03] Production.INFO: ==7972== Releasing lock...
[2025-01-09 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:20:03] Production.INFO: ==7978== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:20:03] Production.INFO: ==7980== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:20:03] Production.INFO: ==7982== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:20:03] Production.INFO: Account Balance Start.
[2025-01-09 15:20:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:20:03] Production.INFO: 117
[2025-01-09 15:20:03] Production.INFO: ==7984== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 15:20:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:20:03] Production.INFO: ==7986== Lock acquired, processing the job...
[2025-01-09 15:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:20:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:20:03] Production.INFO: ==7976== Releasing lock...
[2025-01-09 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:20:03] Production.INFO: Total Charge 0
[2025-01-09 15:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:20:03] Production.INFO: CreateAllLog End
[2025-01-09 15:20:03] Production.INFO: count ==21
[2025-01-09 15:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:20:03] Production.INFO: count ==21
[2025-01-09 15:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210453') start
[2025-01-09 15:20:03] Production.ERROR: done
[2025-01-09 15:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210453') end
[2025-01-09 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:20:04] Production.INFO: 1
[2025-01-09 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:20:04] Production.INFO: Account Balance End.
[2025-01-09 15:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:20:04] Production.INFO: ==7980== Releasing lock...
[2025-01-09 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:20:04] Production.INFO: ==7986== Releasing lock...
[2025-01-09 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:20:04] Production.ERROR: done
[2025-01-09 15:20:04] Production.ERROR: done
[2025-01-09 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210454', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 15:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:20:05
[end_date_ymd] => 2025-01-09 15:20:05
[RateCDR] => 1
)
[2025-01-09 15:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:20:05' and `end` < '2025-01-09 15:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210454', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 15:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 15:20:08] Production.INFO: ProcessCDR(1,14210454,1,1,2)
[2025-01-09 15:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210454,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210454,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:20:08] Production.INFO: ==7984== Releasing lock...
[2025-01-09 15:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 15:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 15:20:12] Production.ERROR: CronJobId end10
[2025-01-09 15:20:12] Production.INFO: ==7978== Releasing lock...
[2025-01-09 15:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:20:14] Production.INFO: call_cost start
[2025-01-09 15:20:14] Production.INFO: call_cost end
[2025-01-09 15:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:20:15] Production.INFO: ==7974== Releasing lock...
[2025-01-09 15:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:20:22] Production.INFO: count ==3669
[2025-01-09 15:20:24] Production.ERROR: pbx CDR StartTime 2025-01-09 12:20:05 - End Time 2025-01-09 15:20:05
[2025-01-09 15:20:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210455', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210455', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210455', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:20:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210455', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:20:24] Production.INFO: ProcessCDR(1,14210455,1,1,2)
[2025-01-09 15:20:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:20:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210455,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:20:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:20:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210455,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:20:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210455', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:20:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210455', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:20:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:20:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:20:29] Production.INFO: ==7982== Releasing lock...
[2025-01-09 15:20:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:20:29] Production.INFO: 55.5 MB #Memory Used#
[2025-01-09 20:21:01] Production.INFO: ==8039== Lock acquired, processing the job...
[2025-01-09 20:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:21:01] Production.INFO: neon service started
[2025-01-09 20:21:01] Production.INFO: neon service started
[2025-01-09 20:21:01] Production.INFO: ==8039== Releasing lock...
[2025-01-09 20:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:21:02] Production.INFO: ==8043== Lock acquired, processing the job...
[2025-01-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:21:02] Production.INFO: ==8043== Releasing lock...
[2025-01-09 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:21:02] Production.INFO: ==8041== Lock acquired, processing the job...
[2025-01-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:21:02] Production.INFO: ==8041== Releasing lock...
[2025-01-09 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:21:03] Production.INFO: ==8054== Lock acquired, processing the job...
[2025-01-09 15:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:21:03] Production.INFO: ==8050== Lock acquired, processing the job...
[2025-01-09 15:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:21:03] Production.INFO: ==8046== Lock acquired, processing the job...
[2025-01-09 15:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:21:03] Production.INFO: ==8048== Lock acquired, processing the job...
[2025-01-09 15:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:21:03] Production.INFO: ==8052== Lock acquired, processing the job...
[2025-01-09 15:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:21:03] Production.INFO: ==8056== Lock acquired, processing the job...
[2025-01-09 15:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:21:03] Production.ERROR: done
[2025-01-09 15:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:21:03] Production.INFO: Account Balance Start.
[2025-01-09 15:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:21:03] Production.INFO: 117
[2025-01-09 15:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:21:03] Production.ERROR: done
[2025-01-09 15:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:21:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:21:04] Production.INFO: ==8048== Releasing lock...
[2025-01-09 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:21:04] Production.INFO: Total Charge 0
[2025-01-09 15:21:04] Production.INFO: count ==21
[2025-01-09 15:21:04] Production.INFO: CreateAllLog End
[2025-01-09 15:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:21:04] Production.INFO: count ==21
[2025-01-09 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210459') start
[2025-01-09 15:21:04] Production.INFO: Account Balance End.
[2025-01-09 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210459') end
[2025-01-09 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:21:04] Production.INFO: 1
[2025-01-09 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:21:04] Production.INFO: ==8056== Releasing lock...
[2025-01-09 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:21:04] Production.INFO: ==8052== Releasing lock...
[2025-01-09 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:21:04
[end_date_ymd] => 2025-01-09 15:21:04
[RateCDR] => 1
)
[2025-01-09 15:21:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:21:04' and `end` < '2025-01-09 15:21:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:21:11] Production.ERROR: CronJobId end10
[2025-01-09 15:21:11] Production.INFO: ==8050== Releasing lock...
[2025-01-09 15:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:21:12] Production.INFO: call_cost start
[2025-01-09 15:21:12] Production.INFO: call_cost end
[2025-01-09 15:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:21:13] Production.INFO: ==8046== Releasing lock...
[2025-01-09 15:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:21:20] Production.INFO: count ==3791
[2025-01-09 15:21:22] Production.ERROR: pbx CDR StartTime 2025-01-09 12:21:04 - End Time 2025-01-09 15:21:04
[2025-01-09 15:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210460', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210460', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210460', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210460', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:21:22] Production.INFO: ProcessCDR(1,14210460,1,1,2)
[2025-01-09 15:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:21:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210460,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:21:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:21:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210460,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210460', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:21:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210460', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:21:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:21:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:21:26] Production.INFO: ==8054== Releasing lock...
[2025-01-09 15:21:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:21:26] Production.INFO: 56.25 MB #Memory Used#
[2025-01-09 20:22:02] Production.INFO: ==8114== Lock acquired, processing the job...
[2025-01-09 20:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:22:02] Production.INFO: neon service started
[2025-01-09 20:22:02] Production.INFO: neon service started
[2025-01-09 20:22:02] Production.INFO: ==8114== Releasing lock...
[2025-01-09 20:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:22:02] Production.INFO: ==8116== Lock acquired, processing the job...
[2025-01-09 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:22:02] Production.INFO: ==8118== Lock acquired, processing the job...
[2025-01-09 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:22:03] Production.INFO: ==8116== Releasing lock...
[2025-01-09 15:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:22:03] Production.INFO: ==8118== Releasing lock...
[2025-01-09 20:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:22:03] Production.INFO: ==8126== Lock acquired, processing the job...
[2025-01-09 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:22:03] Production.INFO: ==8124== Lock acquired, processing the job...
[2025-01-09 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:22:04] Production.INFO: Account Balance Start.
[2025-01-09 15:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:22:04] Production.INFO: 117
[2025-01-09 15:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:22:04] Production.INFO: Total Charge 0
[2025-01-09 15:22:04] Production.INFO: CreateAllLog End
[2025-01-09 15:22:04] Production.INFO: ==8122== Lock acquired, processing the job...
[2025-01-09 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:22:04] Production.INFO: ==8120== Lock acquired, processing the job...
[2025-01-09 15:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:22:04] Production.INFO: Account Balance End.
[2025-01-09 15:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:22:04] Production.INFO: ==8126== Releasing lock...
[2025-01-09 15:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:22:04] Production.INFO: ==8128== Lock acquired, processing the job...
[2025-01-09 15:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:22:04] Production.INFO: ==8130== Lock acquired, processing the job...
[2025-01-09 15:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:22:04] Production.INFO: ==8122== Releasing lock...
[2025-01-09 15:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:22:04] Production.INFO: count ==21
[2025-01-09 15:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:22:04] Production.INFO: count ==21
[2025-01-09 15:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210464') start
[2025-01-09 15:22:04] Production.ERROR: done
[2025-01-09 15:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:22:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210464') end
[2025-01-09 15:22:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:22:05] Production.INFO: 1
[2025-01-09 15:22:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:22:05] Production.INFO: ==8130== Releasing lock...
[2025-01-09 15:22:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:22:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:22:05] Production.ERROR: done
[2025-01-09 15:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:22:05
[end_date_ymd] => 2025-01-09 15:22:05
[RateCDR] => 1
)
[2025-01-09 15:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:22:05' and `end` < '2025-01-09 15:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:22:12] Production.ERROR: CronJobId end10
[2025-01-09 15:22:12] Production.INFO: ==8124== Releasing lock...
[2025-01-09 15:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:22:14] Production.INFO: call_cost start
[2025-01-09 15:22:14] Production.INFO: call_cost end
[2025-01-09 15:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:22:15] Production.INFO: ==8120== Releasing lock...
[2025-01-09 15:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:22:20] Production.INFO: count ==3791
[2025-01-09 15:22:22] Production.ERROR: pbx CDR StartTime 2025-01-09 12:22:05 - End Time 2025-01-09 15:22:05
[2025-01-09 15:22:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210465', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210465', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210465', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:22:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210465', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:22:22] Production.INFO: ProcessCDR(1,14210465,1,1,2)
[2025-01-09 15:22:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:22:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210465,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:22:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:22:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210465,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:22:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210465', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:22:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210465', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:22:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:22:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:22:27] Production.INFO: ==8128== Releasing lock...
[2025-01-09 15:22:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:22:27] Production.INFO: 56.25 MB #Memory Used#
[2025-01-09 20:23:01] Production.INFO: ==8184== Lock acquired, processing the job...
[2025-01-09 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:23:01] Production.INFO: neon service started
[2025-01-09 20:23:01] Production.INFO: neon service started
[2025-01-09 20:23:01] Production.INFO: ==8184== Releasing lock...
[2025-01-09 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:23:02] Production.INFO: ==8187== Lock acquired, processing the job...
[2025-01-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:23:02] Production.INFO: ==8189== Lock acquired, processing the job...
[2025-01-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:23:02] Production.INFO: ==8187== Releasing lock...
[2025-01-09 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:23:02] Production.INFO: ==8189== Releasing lock...
[2025-01-09 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:23:03] Production.INFO: ==8191== Lock acquired, processing the job...
[2025-01-09 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:23:03] Production.INFO: ==8193== Lock acquired, processing the job...
[2025-01-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:23:03] Production.INFO: ==8195== Lock acquired, processing the job...
[2025-01-09 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:23:03] Production.INFO: ==8197== Lock acquired, processing the job...
[2025-01-09 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:23:03] Production.INFO: ==8199== Lock acquired, processing the job...
[2025-01-09 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:23:03] Production.INFO: Account Balance Start.
[2025-01-09 15:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:23:03] Production.INFO: 117
[2025-01-09 15:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:23:03] Production.INFO: ==8201== Lock acquired, processing the job...
[2025-01-09 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:23:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:23:03] Production.INFO: Total Charge 0
[2025-01-09 15:23:03] Production.INFO: CreateAllLog End
[2025-01-09 15:23:03] Production.INFO: ==8193== Releasing lock...
[2025-01-09 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:23:03] Production.INFO: count ==21
[2025-01-09 15:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:23:03] Production.INFO: count ==21
[2025-01-09 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210469') start
[2025-01-09 15:23:04] Production.ERROR: done
[2025-01-09 15:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:23:04] Production.ERROR: done
[2025-01-09 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210469') end
[2025-01-09 15:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:23:04] Production.INFO: 1
[2025-01-09 15:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:23:04] Production.INFO: Account Balance End.
[2025-01-09 15:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:23:04] Production.INFO: ==8201== Releasing lock...
[2025-01-09 15:23:04] Production.INFO: ==8197== Releasing lock...
[2025-01-09 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:23:05
[end_date_ymd] => 2025-01-09 15:23:05
[RateCDR] => 1
)
[2025-01-09 15:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:23:05' and `end` < '2025-01-09 15:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:23:11] Production.ERROR: CronJobId end10
[2025-01-09 15:23:11] Production.INFO: ==8195== Releasing lock...
[2025-01-09 15:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:23:13] Production.INFO: call_cost start
[2025-01-09 15:23:13] Production.INFO: call_cost end
[2025-01-09 15:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:23:14] Production.INFO: ==8191== Releasing lock...
[2025-01-09 15:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:23:30] Production.INFO: count ==3816
[2025-01-09 15:23:32] Production.ERROR: pbx CDR StartTime 2025-01-09 12:23:05 - End Time 2025-01-09 15:23:05
[2025-01-09 15:23:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210470', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210470', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210470', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:23:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210470', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:23:32] Production.INFO: ProcessCDR(1,14210470,1,1,2)
[2025-01-09 15:23:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:23:34] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210470,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:23:34] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:23:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210470,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:23:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210470', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:23:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210470', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:23:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:23:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:23:37] Production.INFO: ==8199== Releasing lock...
[2025-01-09 15:23:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:23:37] Production.INFO: 56.5 MB #Memory Used#
[2025-01-09 20:24:02] Production.INFO: ==8258== Lock acquired, processing the job...
[2025-01-09 20:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:24:02] Production.INFO: neon service started
[2025-01-09 20:24:02] Production.INFO: neon service started
[2025-01-09 20:24:02] Production.INFO: ==8258== Releasing lock...
[2025-01-09 20:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:24:02] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-01-09 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:24:03] Production.INFO: ==8261== Releasing lock...
[2025-01-09 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:24:03] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-01-09 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:24:03] Production.INFO: ==8263== Releasing lock...
[2025-01-09 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:24:04] Production.INFO: ==8284== Lock acquired, processing the job...
[2025-01-09 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:24:04] Production.INFO: ==8296== Lock acquired, processing the job...
[2025-01-09 15:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:24:04] Production.INFO: ==8282== Lock acquired, processing the job...
[2025-01-09 15:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:24:04] Production.INFO: ==8287== Lock acquired, processing the job...
[2025-01-09 15:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:24:04] Production.INFO: ==8292== Lock acquired, processing the job...
[2025-01-09 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:24:04] Production.INFO: ==8298== Lock acquired, processing the job...
[2025-01-09 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:24:04] Production.INFO: Account Balance Start.
[2025-01-09 15:24:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:24:04] Production.INFO: 117
[2025-01-09 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:24:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:24:04] Production.ERROR: done
[2025-01-09 15:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:24:04] Production.INFO: count ==21
[2025-01-09 15:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:24:04] Production.INFO: count ==21
[2025-01-09 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210474') start
[2025-01-09 15:24:04] Production.ERROR: done
[2025-01-09 15:24:04] Production.INFO: Total Charge 0
[2025-01-09 15:24:04] Production.INFO: ==8284== Releasing lock...
[2025-01-09 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:24:04] Production.INFO: CreateAllLog End
[2025-01-09 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210474') end
[2025-01-09 15:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:24:04] Production.INFO: 1
[2025-01-09 15:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:24:04] Production.INFO: ==8298== Releasing lock...
[2025-01-09 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:24:05] Production.INFO: Account Balance End.
[2025-01-09 15:24:05] Production.ERROR: CronJobId end 12
[2025-01-09 15:24:05] Production.INFO: ==8292== Releasing lock...
[2025-01-09 15:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:24:05
[end_date_ymd] => 2025-01-09 15:24:05
[RateCDR] => 1
)
[2025-01-09 15:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:24:05' and `end` < '2025-01-09 15:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:24:13] Production.ERROR: CronJobId end10
[2025-01-09 15:24:13] Production.INFO: ==8287== Releasing lock...
[2025-01-09 15:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:24:15] Production.INFO: call_cost start
[2025-01-09 15:24:15] Production.INFO: call_cost end
[2025-01-09 15:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:24:15] Production.INFO: ==8282== Releasing lock...
[2025-01-09 15:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:24:36] Production.INFO: count ==3830
[2025-01-09 15:24:38] Production.ERROR: pbx CDR StartTime 2025-01-09 12:24:05 - End Time 2025-01-09 15:24:05
[2025-01-09 15:24:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210475', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210475', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210475', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:24:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210475', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:24:38] Production.INFO: ProcessCDR(1,14210475,1,1,2)
[2025-01-09 15:24:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:24:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210475,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:24:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:24:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210475,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:24:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210475', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:24:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210475', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:24:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:24:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:24:43] Production.INFO: ==8296== Releasing lock...
[2025-01-09 15:24:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:24:43] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 20:25:02] Production.INFO: ==8369== Lock acquired, processing the job...
[2025-01-09 20:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:25:02] Production.INFO: neon service started
[2025-01-09 20:25:02] Production.INFO: neon service started
[2025-01-09 20:25:02] Production.INFO: ==8369== Releasing lock...
[2025-01-09 20:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:25:02] Production.INFO: ==8373== Lock acquired, processing the job...
[2025-01-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:25:02] Production.INFO: ==8371== Lock acquired, processing the job...
[2025-01-09 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:25:02] Production.INFO: ==8373== Releasing lock...
[2025-01-09 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:25:03] Production.INFO: ==8371== Releasing lock...
[2025-01-09 15:25:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:25:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:25:03] Production.INFO: ==8376== Lock acquired, processing the job...
[2025-01-09 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:25:03] Production.INFO: ==8378== Lock acquired, processing the job...
[2025-01-09 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:25:03] Production.INFO: ==8382== Lock acquired, processing the job...
[2025-01-09 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:25:03] Production.INFO: Account Balance Start.
[2025-01-09 15:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:25:03] Production.INFO: 117
[2025-01-09 15:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:25:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:25:04] Production.INFO: ==8380== Lock acquired, processing the job...
[2025-01-09 15:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:25:04] Production.INFO: Total Charge 0
[2025-01-09 15:25:04] Production.INFO: CreateAllLog End
[2025-01-09 15:25:04] Production.INFO: ==8384== Lock acquired, processing the job...
[2025-01-09 15:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:25:04] Production.INFO: ==8386== Lock acquired, processing the job...
[2025-01-09 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:25:04] Production.INFO: ==8378== Releasing lock...
[2025-01-09 15:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 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-01-09 15:25:04] Production.INFO: Account Balance End.
[2025-01-09 15:25:04] Production.INFO: count ==21
[2025-01-09 15:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:25:04] Production.INFO: ==8382== Releasing lock...
[2025-01-09 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 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-01-09 15:25:04] Production.INFO: count ==21
[2025-01-09 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210479') start
[2025-01-09 15:25:04] Production.ERROR: done
[2025-01-09 15:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210479') end
[2025-01-09 15:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:25:04] Production.INFO: 1
[2025-01-09 15:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:25:04] Production.INFO: ==8386== Releasing lock...
[2025-01-09 15:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:25:04] Production.ERROR: done
[2025-01-09 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:25:05
[end_date_ymd] => 2025-01-09 15:25:05
[RateCDR] => 1
)
[2025-01-09 15:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:25:05' and `end` < '2025-01-09 15:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:25:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_LowBal...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#4 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#6 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#8 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#9 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#10 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#11 [internal function]: App\Console\Commands\NeonAlerts->fire()
#12 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#20 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#21 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_LowBalanceReminder(1,0,8))' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_LowBal...', Array, Object(Closure))
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_LowBal...', Array, Object(Closure))
#2 [internal function]: Illuminate\Database\Connection->select('CALL prc_LowBal...', Array)
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php(304): call_user_func_array(Array, Array)
#4 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->__call('select', Array)
#5 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(213): Illuminate\Database\DatabaseManager->select('CALL prc_LowBal...', Array)
#6 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Support\Facades\Facade::__callStatic('select', Array)
#7 /var/www/html/onswitch.neon.service/app/lib/NeonAlert.php(0): App\Lib\AccountBalance::LowBalanceReminder()
#8 /var/www/html/onswitch.neon.service/app/Console/Commands/NeonAlerts.php(0): App\Lib\NeonAlert::neon_alerts()
#9 [internal function]: App\Console\Commands\NeonAlerts->fire()
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#11 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\NeonAlerts), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#17 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#18 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#19 {main}
[2025-01-09 15:25:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:25:10] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:25:10] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:25:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:25:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:25:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:25:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:25:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:25:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:25:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:25:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:25:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:25:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:25:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:25:10] Production.INFO: call_cost start
[2025-01-09 15:25:10] Production.INFO: call_cost end
[2025-01-09 15:25:10] Production.ERROR: CronJobId end10
[2025-01-09 15:25:10] Production.INFO: ==8380== Releasing lock...
[2025-01-09 15:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:25:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:25:11] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:25:11] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:25:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:25:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:25:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:25:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:25:11] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:25:11] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:25:11] Production.INFO: ==8376== Releasing lock...
[2025-01-09 15:25:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:25:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:25:36] Production.INFO: count ==3820
[2025-01-09 15:25:38] Production.ERROR: pbx CDR StartTime 2025-01-09 12:25:05 - End Time 2025-01-09 15:25:05
[2025-01-09 15:25:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:25:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210480', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:25:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210480', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:25:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210480', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:25:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210480', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:25:38] Production.INFO: ProcessCDR(1,14210480,1,1,2)
[2025-01-09 15:25:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:25:40] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210480,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:25:40] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:25:42] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210480,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:25:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210480', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:25:42] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210480', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:25:42] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:25:42] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:25:43] Production.INFO: ==8384== Releasing lock...
[2025-01-09 15:25:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:25:43] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 20:26:01] Production.INFO: ==8439== Lock acquired, processing the job...
[2025-01-09 20:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:26:01] Production.INFO: neon service started
[2025-01-09 20:26:01] Production.INFO: neon service started
[2025-01-09 20:26:01] Production.INFO: ==8439== Releasing lock...
[2025-01-09 20:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:26:01] Production.INFO: ==8441== Lock acquired, processing the job...
[2025-01-09 15:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:26:02] Production.INFO: ==8441== Releasing lock...
[2025-01-09 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:26:02] Production.INFO: ==8443== Lock acquired, processing the job...
[2025-01-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:26:02] Production.INFO: ==8443== Releasing lock...
[2025-01-09 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:26:03] Production.INFO: ==8449== Lock acquired, processing the job...
[2025-01-09 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:26:03] Production.INFO: ==8451== Lock acquired, processing the job...
[2025-01-09 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:26:03] Production.INFO: Account Balance Start.
[2025-01-09 15:26:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:26:03] Production.INFO: 117
[2025-01-09 15:26:03] Production.INFO: ==8447== Lock acquired, processing the job...
[2025-01-09 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:26:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:26:03] Production.INFO: ==8445== Lock acquired, processing the job...
[2025-01-09 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:26:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:26:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:26:03] Production.INFO: Total Charge 0
[2025-01-09 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:26:03] Production.INFO: CreateAllLog End
[2025-01-09 15:26:03] Production.INFO: ==8453== Lock acquired, processing the job...
[2025-01-09 15:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:26:03] Production.INFO: ==8455== Lock acquired, processing the job...
[2025-01-09 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:26:03] Production.INFO: Account Balance End.
[2025-01-09 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-01-09 15:26:03] Production.INFO: count ==21
[2025-01-09 15:26:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:26:03] Production.INFO: ==8451== Releasing lock...
[2025-01-09 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 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-01-09 15:26:03] Production.INFO: count ==21
[2025-01-09 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210484') start
[2025-01-09 15:26:03] Production.ERROR: done
[2025-01-09 15:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210484') end
[2025-01-09 15:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:26:03] Production.INFO: 1
[2025-01-09 15:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:26:03] Production.INFO: ==8447== Releasing lock...
[2025-01-09 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:26:04] Production.ERROR: done
[2025-01-09 15:26:04] Production.INFO: ==8455== Releasing lock...
[2025-01-09 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:26:05
[end_date_ymd] => 2025-01-09 15:26:05
[RateCDR] => 1
)
[2025-01-09 15:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:26:05' and `end` < '2025-01-09 15:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:26:11] Production.ERROR: CronJobId end10
[2025-01-09 15:26:11] Production.INFO: ==8449== Releasing lock...
[2025-01-09 15:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:26:13] Production.INFO: call_cost start
[2025-01-09 15:26:13] Production.INFO: call_cost end
[2025-01-09 15:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:26:14] Production.INFO: ==8445== Releasing lock...
[2025-01-09 15:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:26:40] Production.INFO: count ==3839
[2025-01-09 15:26:42] Production.ERROR: pbx CDR StartTime 2025-01-09 12:26:05 - End Time 2025-01-09 15:26:05
[2025-01-09 15:26:42] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:26:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210485', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:26:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210485', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:26:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210485', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:26:42] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210485', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:26:42] Production.INFO: ProcessCDR(1,14210485,1,1,2)
[2025-01-09 15:26:42] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:26:44] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210485,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:26:44] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:26:46] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210485,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:26:46] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210485', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:26:47] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210485', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:26:47] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:26:47] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:26:47] Production.INFO: ==8453== Releasing lock...
[2025-01-09 15:26:47] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:26:47] Production.INFO: 57.25 MB #Memory Used#
[2025-01-09 20:27:02] Production.INFO: ==8509== Lock acquired, processing the job...
[2025-01-09 20:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:27:02] Production.INFO: neon service started
[2025-01-09 20:27:02] Production.INFO: neon service started
[2025-01-09 20:27:02] Production.INFO: ==8509== Releasing lock...
[2025-01-09 20:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:27:02] Production.INFO: ==8511== Lock acquired, processing the job...
[2025-01-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:27:02] Production.INFO: ==8513== Lock acquired, processing the job...
[2025-01-09 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:27:02] Production.INFO: ==8513== Releasing lock...
[2025-01-09 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:27:02] Production.INFO: ==8511== Releasing lock...
[2025-01-09 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:27:03] Production.INFO: ==8517== Lock acquired, processing the job...
[2025-01-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:27:03] Production.INFO: ==8522== Lock acquired, processing the job...
[2025-01-09 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:27:03] Production.INFO: Account Balance Start.
[2025-01-09 15:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:27:03] Production.INFO: 117
[2025-01-09 15:27:03] Production.INFO: ==8517== Releasing lock...
[2025-01-09 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:27:03] Production.INFO: ==8515== Lock acquired, processing the job...
[2025-01-09 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:27:03] Production.INFO: Total Charge 0
[2025-01-09 15:27:03] Production.INFO: ==8526== Lock acquired, processing the job...
[2025-01-09 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:27:03] Production.INFO: CreateAllLog End
[2025-01-09 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:27:03] Production.INFO: ==8519== Lock acquired, processing the job...
[2025-01-09 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:27:03] Production.INFO: Account Balance End.
[2025-01-09 15:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:27:03] Production.INFO: ==8524== Lock acquired, processing the job...
[2025-01-09 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:27:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:27:03] Production.INFO: ==8522== Releasing lock...
[2025-01-09 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:27:03] Production.INFO: count ==21
[2025-01-09 15:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:27:03] Production.INFO: count ==21
[2025-01-09 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210489') start
[2025-01-09 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210489') end
[2025-01-09 15:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:27:03] Production.INFO: 1
[2025-01-09 15:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:27:03] Production.INFO: ==8526== Releasing lock...
[2025-01-09 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:27:04] Production.ERROR: done
[2025-01-09 15:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:27:04] Production.ERROR: done
[2025-01-09 15:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:27:05
[end_date_ymd] => 2025-01-09 15:27:05
[RateCDR] => 1
)
[2025-01-09 15:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:27:05' and `end` < '2025-01-09 15:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:27:11] Production.ERROR: CronJobId end10
[2025-01-09 15:27:11] Production.INFO: ==8519== Releasing lock...
[2025-01-09 15:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:27:13] Production.INFO: call_cost start
[2025-01-09 15:27:13] Production.INFO: call_cost end
[2025-01-09 15:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:27:14] Production.INFO: ==8515== Releasing lock...
[2025-01-09 15:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:27:33] Production.INFO: count ==3832
[2025-01-09 15:27:34] Production.ERROR: pbx CDR StartTime 2025-01-09 12:27:05 - End Time 2025-01-09 15:27:05
[2025-01-09 15:27:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:27:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210490', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:27:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210490', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:27:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210490', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:27:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210490', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:27:35] Production.INFO: ProcessCDR(1,14210490,1,1,2)
[2025-01-09 15:27:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:27:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210490,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:27:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:27:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210490,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:27:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210490', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:27:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210490', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:27:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:27:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:27:39] Production.INFO: ==8524== Releasing lock...
[2025-01-09 15:27:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:27:39] Production.INFO: 56.75 MB #Memory Used#
[2025-01-09 20:28:01] Production.INFO: ==8581== Lock acquired, processing the job...
[2025-01-09 20:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:28:01] Production.INFO: neon service started
[2025-01-09 20:28:01] Production.INFO: neon service started
[2025-01-09 20:28:01] Production.INFO: ==8581== Releasing lock...
[2025-01-09 20:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:28:01] Production.INFO: ==8583== Lock acquired, processing the job...
[2025-01-09 15:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:28:02] Production.INFO: ==8585== Lock acquired, processing the job...
[2025-01-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:28:02] Production.INFO: ==8585== Releasing lock...
[2025-01-09 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:28:02] Production.INFO: ==8583== Releasing lock...
[2025-01-09 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:28:02] Production.INFO: ==8587== Lock acquired, processing the job...
[2025-01-09 15:28:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:28:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:28:03] Production.INFO: ==8593== Lock acquired, processing the job...
[2025-01-09 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:28:03] Production.INFO: ==8591== Lock acquired, processing the job...
[2025-01-09 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:28:03] Production.INFO: Account Balance Start.
[2025-01-09 15:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:28:03] Production.INFO: 117
[2025-01-09 15:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:28:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:28:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:28:03] Production.INFO: Total Charge 0
[2025-01-09 15:28:03] Production.INFO: CreateAllLog End
[2025-01-09 15:28:03] Production.INFO: ==8589== Lock acquired, processing the job...
[2025-01-09 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:28:03] Production.INFO: Account Balance End.
[2025-01-09 15:28:03] Production.INFO: ==8595== Lock acquired, processing the job...
[2025-01-09 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:28:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:28:03] Production.INFO: ==8593== Releasing lock...
[2025-01-09 15:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:28:03] Production.INFO: ==8598== Lock acquired, processing the job...
[2025-01-09 15:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:28:03] Production.INFO: ==8589== Releasing lock...
[2025-01-09 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 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-01-09 15:28:03] Production.INFO: count ==21
[2025-01-09 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-01-09 15:28:03] Production.INFO: count ==21
[2025-01-09 15:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210494') start
[2025-01-09 15:28:03] Production.ERROR: done
[2025-01-09 15:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210494') end
[2025-01-09 15:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:28:03] Production.INFO: 1
[2025-01-09 15:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:28:04] Production.INFO: ==8598== Releasing lock...
[2025-01-09 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:28:04] Production.ERROR: done
[2025-01-09 15:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:28:04
[end_date_ymd] => 2025-01-09 15:28:04
[RateCDR] => 1
)
[2025-01-09 15:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:28:04' and `end` < '2025-01-09 15:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:28:10] Production.ERROR: CronJobId end10
[2025-01-09 15:28:10] Production.INFO: ==8591== Releasing lock...
[2025-01-09 15:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:28:12] Production.INFO: call_cost start
[2025-01-09 15:28:12] Production.INFO: call_cost end
[2025-01-09 15:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:28:13] Production.INFO: ==8587== Releasing lock...
[2025-01-09 15:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:28:36] Production.INFO: count ==3864
[2025-01-09 15:28:38] Production.ERROR: pbx CDR StartTime 2025-01-09 12:28:04 - End Time 2025-01-09 15:28:04
[2025-01-09 15:28:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210495', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210495', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210495', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:28:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210495', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:28:38] Production.INFO: ProcessCDR(1,14210495,1,1,2)
[2025-01-09 15:28:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:28:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210495,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:28:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:28:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210495,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:28:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210495', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:28:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210495', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:28:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:28:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:28:43] Production.INFO: ==8595== Releasing lock...
[2025-01-09 15:28:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:28:43] Production.INFO: 57.75 MB #Memory Used#
[2025-01-09 20:29:01] Production.INFO: ==8652== Lock acquired, processing the job...
[2025-01-09 20:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:29:01] Production.INFO: neon service started
[2025-01-09 20:29:01] Production.INFO: neon service started
[2025-01-09 20:29:01] Production.INFO: ==8652== Releasing lock...
[2025-01-09 20:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:29:02] Production.INFO: ==8654== Lock acquired, processing the job...
[2025-01-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:29:02] Production.INFO: ==8656== Lock acquired, processing the job...
[2025-01-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:29:02] Production.INFO: ==8654== Releasing lock...
[2025-01-09 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:29:02] Production.INFO: ==8656== Releasing lock...
[2025-01-09 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:29:03] Production.INFO: ==8659== Lock acquired, processing the job...
[2025-01-09 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:29:03] Production.INFO: ==8665== Lock acquired, processing the job...
[2025-01-09 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:29:03] Production.INFO: ==8663== Lock acquired, processing the job...
[2025-01-09 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:29:03] Production.INFO: ==8661== Lock acquired, processing the job...
[2025-01-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:29:03] Production.INFO: Account Balance Start.
[2025-01-09 15:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:29:03] Production.INFO: 117
[2025-01-09 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:29:03] Production.INFO: Total Charge 0
[2025-01-09 15:29:03] Production.INFO: CreateAllLog End
[2025-01-09 15:29:03] Production.INFO: ==8667== Lock acquired, processing the job...
[2025-01-09 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:29:03] Production.INFO: ==8669== Lock acquired, processing the job...
[2025-01-09 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:29:03] Production.INFO: Account Balance End.
[2025-01-09 15:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:29:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:29:03] Production.INFO: ==8665== Releasing lock...
[2025-01-09 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:29:03] Production.INFO: count ==21
[2025-01-09 15:29:03] Production.INFO: ==8661== Releasing lock...
[2025-01-09 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:29:03] Production.ERROR: done
[2025-01-09 15:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:29:03] Production.INFO: count ==21
[2025-01-09 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210499') start
[2025-01-09 15:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210499') end
[2025-01-09 15:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:29:04] Production.INFO: 1
[2025-01-09 15:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:29:04] Production.ERROR: done
[2025-01-09 15:29:04] Production.INFO: ==8669== Releasing lock...
[2025-01-09 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:29:04
[end_date_ymd] => 2025-01-09 15:29:04
[RateCDR] => 1
)
[2025-01-09 15:29:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:29:04' and `end` < '2025-01-09 15:29:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:29:11] Production.ERROR: CronJobId end10
[2025-01-09 15:29:11] Production.INFO: ==8663== Releasing lock...
[2025-01-09 15:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:29:12] Production.INFO: call_cost start
[2025-01-09 15:29:12] Production.INFO: call_cost end
[2025-01-09 15:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:29:13] Production.INFO: ==8659== Releasing lock...
[2025-01-09 15:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:29:32] Production.INFO: count ==3859
[2025-01-09 15:29:34] Production.ERROR: pbx CDR StartTime 2025-01-09 12:29:04 - End Time 2025-01-09 15:29:04
[2025-01-09 15:29:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210500', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210500', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210500', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:29:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210500', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:29:34] Production.INFO: ProcessCDR(1,14210500,1,1,2)
[2025-01-09 15:29:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:29:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210500,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:29:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:29:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210500,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:29:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210500', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:29:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210500', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:29:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:29:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:29:39] Production.INFO: ==8667== Releasing lock...
[2025-01-09 15:29:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:29:39] Production.INFO: 57 MB #Memory Used#
[2025-01-09 20:30:01] Production.INFO: ==8723== Lock acquired, processing the job...
[2025-01-09 20:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:30:01] Production.INFO: neon service started
[2025-01-09 20:30:01] Production.INFO: neon service started
[2025-01-09 20:30:01] Production.INFO: ==8723== Releasing lock...
[2025-01-09 20:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:30:02] Production.INFO: ==8726== Lock acquired, processing the job...
[2025-01-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:30:02] Production.INFO: ==8728== Lock acquired, processing the job...
[2025-01-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:30:02] Production.INFO: ==8728== Releasing lock...
[2025-01-09 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:30:02] Production.INFO: ==8726== Releasing lock...
[2025-01-09 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:30:04] Production.INFO: ==8734== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:30:04] Production.INFO: ==8744== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:30:04] Production.INFO: ==8742== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 15:30:04] Production.INFO: ==8730== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:30:04] Production.INFO: ==8732== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:30:04] Production.ERROR: CronJob PID - 8734
[2025-01-09 15:30:04] Production.ERROR: CronJob Title - Account Block
[2025-01-09 15:30:04] Production.ERROR: CronJob ID - 7
[2025-01-09 15:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:30:00
[2025-01-09 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:30:04] Production.ERROR: CronJob PID - 8742
[2025-01-09 15:30:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-09 15:30:04] Production.ERROR: CronJob ID - 17
[2025-01-09 15:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:30:00
[2025-01-09 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:30:04] Production.ERROR: CronJob PID - 8744
[2025-01-09 15:30:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-09 15:30:04] Production.ERROR: CronJob ID - 19
[2025-01-09 15:30:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:30:00
[2025-01-09 15:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:30:04] Production.INFO: count ==21
[2025-01-09 15:30:04] Production.INFO: ==8736== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:30:04] Production.INFO: ==8738== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 15:30:04] Production.INFO: count ==21
[2025-01-09 15:30:04] Production.INFO: ==8730== Releasing lock...
[2025-01-09 15:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 15:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:30:04] Production.INFO: ==8734== Releasing lock...
[2025-01-09 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210502') start
[2025-01-09 15:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:30:04] Production.INFO: ==8740== Lock acquired, processing the job...
[2025-01-09 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:30:04] Production.INFO: Account Balance Start.
[2025-01-09 15:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:30:04] Production.INFO: 117
[2025-01-09 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210502') end
[2025-01-09 15:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:30:04] Production.INFO: 1
[2025-01-09 15:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:30:04] Production.INFO: Total Charge 0
[2025-01-09 15:30:04] Production.INFO: ==8744== Releasing lock...
[2025-01-09 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:30:04] Production.ERROR: done
[2025-01-09 15:30:04] Production.INFO: CreateAllLog End
[2025-01-09 15:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 15:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210505', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 15:30:05] Production.ERROR: done
[2025-01-09 15:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:30:05] Production.INFO: Account Balance End.
[2025-01-09 15:30:05] Production.ERROR: CronJobId end 12
[2025-01-09 15:30:05] Production.INFO: ==8738== Releasing lock...
[2025-01-09 15:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:30:05] Production.ERROR: done
[2025-01-09 15:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:30:06
[end_date_ymd] => 2025-01-09 15:30:06
[RateCDR] => 1
)
[2025-01-09 15:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:30:06' and `end` < '2025-01-09 15:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210505', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 15:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 15:30:08] Production.INFO: ProcessCDR(1,14210505,1,1,2)
[2025-01-09 15:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210505,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210505,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:30:09] Production.INFO: ==8742== Releasing lock...
[2025-01-09 15:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 15:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 15:30:13] Production.ERROR: CronJobId end10
[2025-01-09 15:30:13] Production.INFO: ==8736== Releasing lock...
[2025-01-09 15:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:30:16] Production.INFO: call_cost start
[2025-01-09 15:30:16] Production.INFO: call_cost end
[2025-01-09 15:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:30:16] Production.INFO: ==8732== Releasing lock...
[2025-01-09 15:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:30:31] Production.INFO: count ==3874
[2025-01-09 15:30:33] Production.ERROR: pbx CDR StartTime 2025-01-09 12:30:06 - End Time 2025-01-09 15:30:06
[2025-01-09 15:30:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210506', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210506', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210506', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:30:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210506', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:30:33] Production.INFO: ProcessCDR(1,14210506,1,1,2)
[2025-01-09 15:30:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:30:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210506,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:30:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:30:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210506,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210506', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:30:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210506', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:30:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:30:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:30:38] Production.INFO: ==8740== Releasing lock...
[2025-01-09 15:30:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:30:38] Production.INFO: 57.25 MB #Memory Used#
[2025-01-09 20:31:02] Production.INFO: ==8801== Lock acquired, processing the job...
[2025-01-09 20:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:31:02] Production.INFO: neon service started
[2025-01-09 20:31:02] Production.INFO: neon service started
[2025-01-09 20:31:02] Production.INFO: ==8801== Releasing lock...
[2025-01-09 20:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:31:02] Production.INFO: ==8805== Lock acquired, processing the job...
[2025-01-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:31:02] Production.INFO: ==8805== Releasing lock...
[2025-01-09 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:31:02] Production.INFO: ==8803== Lock acquired, processing the job...
[2025-01-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:31:02] Production.INFO: ==8803== Releasing lock...
[2025-01-09 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:31:03] Production.INFO: ==8807== Lock acquired, processing the job...
[2025-01-09 15:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:31:03] Production.INFO: ==8811== Lock acquired, processing the job...
[2025-01-09 15:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:31:03] Production.INFO: ==8815== Lock acquired, processing the job...
[2025-01-09 15:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:31:03] Production.INFO: ==8809== Lock acquired, processing the job...
[2025-01-09 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:31:03] Production.INFO: ==8813== Lock acquired, processing the job...
[2025-01-09 15:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:31:04] Production.INFO: ==8817== Lock acquired, processing the job...
[2025-01-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:31:04] Production.INFO: Account Balance Start.
[2025-01-09 15:31:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:31:04] Production.INFO: 117
[2025-01-09 15:31:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:31:04] Production.ERROR: done
[2025-01-09 15:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:31:04] Production.INFO: ==8809== Releasing lock...
[2025-01-09 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:31:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:31:04] Production.INFO: count ==21
[2025-01-09 15:31:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:31:04] Production.INFO: Total Charge 0
[2025-01-09 15:31:04] Production.INFO: CreateAllLog End
[2025-01-09 15:31:04] Production.INFO: count ==21
[2025-01-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210510') start
[2025-01-09 15:31:04] Production.ERROR: done
[2025-01-09 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210510') end
[2025-01-09 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:31:04] Production.INFO: 1
[2025-01-09 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:31:04] Production.INFO: Account Balance End.
[2025-01-09 15:31:04] Production.INFO: ==8817== Releasing lock...
[2025-01-09 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:31:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:31:04] Production.INFO: ==8813== Releasing lock...
[2025-01-09 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:31:05
[end_date_ymd] => 2025-01-09 15:31:05
[RateCDR] => 1
)
[2025-01-09 15:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:31:05' and `end` < '2025-01-09 15:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:31:11] Production.ERROR: CronJobId end10
[2025-01-09 15:31:11] Production.INFO: ==8811== Releasing lock...
[2025-01-09 15:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:31:13] Production.INFO: call_cost start
[2025-01-09 15:31:13] Production.INFO: call_cost end
[2025-01-09 15:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:31:14] Production.INFO: ==8807== Releasing lock...
[2025-01-09 15:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:31:24] Production.INFO: count ==3989
[2025-01-09 15:31:26] Production.ERROR: pbx CDR StartTime 2025-01-09 12:31:05 - End Time 2025-01-09 15:31:05
[2025-01-09 15:31:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210511', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210511', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210511', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:31:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210511', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:31:26] Production.INFO: ProcessCDR(1,14210511,1,1,2)
[2025-01-09 15:31:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:31:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210511,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:31:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:31:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210511,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:31:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210511', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:31:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210511', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:31:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:31:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:31:30] Production.INFO: ==8815== Releasing lock...
[2025-01-09 15:31:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:31:30] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:32:01] Production.INFO: ==8871== Lock acquired, processing the job...
[2025-01-09 20:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:32:01] Production.INFO: neon service started
[2025-01-09 20:32:01] Production.INFO: neon service started
[2025-01-09 20:32:01] Production.INFO: ==8871== Releasing lock...
[2025-01-09 20:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:32:02] Production.INFO: ==8873== Lock acquired, processing the job...
[2025-01-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:32:02] Production.INFO: ==8875== Lock acquired, processing the job...
[2025-01-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:32:02] Production.INFO: ==8875== Releasing lock...
[2025-01-09 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:32:02] Production.INFO: ==8873== Releasing lock...
[2025-01-09 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:32:03] Production.INFO: ==8884== Lock acquired, processing the job...
[2025-01-09 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:32:03] Production.INFO: ==8886== Lock acquired, processing the job...
[2025-01-09 15:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:32:03] Production.INFO: ==8878== Lock acquired, processing the job...
[2025-01-09 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:32:03] Production.INFO: Account Balance Start.
[2025-01-09 15:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:32:03] Production.INFO: 117
[2025-01-09 15:32:03] Production.INFO: ==8880== Lock acquired, processing the job...
[2025-01-09 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:32:03] Production.INFO: ==8882== Lock acquired, processing the job...
[2025-01-09 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:32:03] Production.INFO: ==8888== Lock acquired, processing the job...
[2025-01-09 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:32:03] Production.INFO: Total Charge 0
[2025-01-09 15:32:03] Production.INFO: CreateAllLog End
[2025-01-09 15:32:03] Production.ERROR: done
[2025-01-09 15:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:32:03] Production.INFO: count ==21
[2025-01-09 15:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:32:03] Production.INFO: count ==21
[2025-01-09 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210515') start
[2025-01-09 15:32:04] Production.ERROR: done
[2025-01-09 15:32:04] Production.INFO: ==8880== Releasing lock...
[2025-01-09 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210515') end
[2025-01-09 15:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:32:04] Production.INFO: 1
[2025-01-09 15:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:32:04] Production.INFO: ==8888== Releasing lock...
[2025-01-09 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:32:04] Production.INFO: Account Balance End.
[2025-01-09 15:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:32:04] Production.INFO: ==8884== Releasing lock...
[2025-01-09 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:32:04
[end_date_ymd] => 2025-01-09 15:32:04
[RateCDR] => 1
)
[2025-01-09 15:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:32:04' and `end` < '2025-01-09 15:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:32:11] Production.ERROR: CronJobId end10
[2025-01-09 15:32:11] Production.INFO: ==8882== Releasing lock...
[2025-01-09 15:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:32:13] Production.INFO: call_cost start
[2025-01-09 15:32:13] Production.INFO: call_cost end
[2025-01-09 15:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:32:14] Production.INFO: ==8878== Releasing lock...
[2025-01-09 15:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:32:26] Production.INFO: count ==3992
[2025-01-09 15:32:28] Production.ERROR: pbx CDR StartTime 2025-01-09 12:32:04 - End Time 2025-01-09 15:32:04
[2025-01-09 15:32:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210516', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210516', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210516', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:32:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210516', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:32:28] Production.INFO: ProcessCDR(1,14210516,1,1,2)
[2025-01-09 15:32:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:32:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210516,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:32:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:32:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210516,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210516', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:32:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210516', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:32:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:32:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:32:32] Production.INFO: ==8886== Releasing lock...
[2025-01-09 15:32:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:32:32] Production.INFO: 57.75 MB #Memory Used#
[2025-01-09 20:33:02] Production.INFO: ==8942== Lock acquired, processing the job...
[2025-01-09 20:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:33:02] Production.INFO: neon service started
[2025-01-09 20:33:02] Production.INFO: neon service started
[2025-01-09 20:33:02] Production.INFO: ==8942== Releasing lock...
[2025-01-09 20:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:33:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 20:33:02] Production.INFO: ==8946== Lock acquired, processing the job...
[2025-01-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:33:02] Production.INFO: ==8946== Releasing lock...
[2025-01-09 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:33:02] Production.INFO: ==8944== Lock acquired, processing the job...
[2025-01-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:33:02] Production.INFO: ==8944== Releasing lock...
[2025-01-09 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:33:03] Production.INFO: ==8949== Lock acquired, processing the job...
[2025-01-09 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:33:03] Production.INFO: ==8953== Lock acquired, processing the job...
[2025-01-09 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:33:03] Production.INFO: ==8955== Lock acquired, processing the job...
[2025-01-09 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:33:03] Production.INFO: Account Balance Start.
[2025-01-09 15:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:33:03] Production.INFO: 117
[2025-01-09 15:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:33:03] Production.INFO: ==8951== Lock acquired, processing the job...
[2025-01-09 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:33:03] Production.INFO: ==8957== Lock acquired, processing the job...
[2025-01-09 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:33:03] Production.INFO: Total Charge 0
[2025-01-09 15:33:04] Production.INFO: ==8959== Lock acquired, processing the job...
[2025-01-09 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:33:04] Production.INFO: CreateAllLog End
[2025-01-09 15:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:33:04] Production.INFO: Account Balance End.
[2025-01-09 15:33:04] Production.INFO: count ==21
[2025-01-09 15:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:33:04] Production.INFO: count ==21
[2025-01-09 15:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:33:04] Production.INFO: ==8955== Releasing lock...
[2025-01-09 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210520') start
[2025-01-09 15:33:04] Production.ERROR: done
[2025-01-09 15:33:04] Production.INFO: ==8951== Releasing lock...
[2025-01-09 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210520') end
[2025-01-09 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:33:04] Production.INFO: 1
[2025-01-09 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:33:04] Production.ERROR: done
[2025-01-09 15:33:04] Production.INFO: ==8959== Releasing lock...
[2025-01-09 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:33:05
[end_date_ymd] => 2025-01-09 15:33:05
[RateCDR] => 1
)
[2025-01-09 15:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:33:05' and `end` < '2025-01-09 15:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:33:11] Production.ERROR: CronJobId end10
[2025-01-09 15:33:11] Production.INFO: ==8953== Releasing lock...
[2025-01-09 15:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:33:13] Production.INFO: call_cost start
[2025-01-09 15:33:13] Production.INFO: call_cost end
[2025-01-09 15:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:33:13] Production.INFO: ==8949== Releasing lock...
[2025-01-09 15:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:33:26] Production.INFO: count ==3991
[2025-01-09 15:33:28] Production.ERROR: pbx CDR StartTime 2025-01-09 12:33:05 - End Time 2025-01-09 15:33:05
[2025-01-09 15:33:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210521', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210521', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210521', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:33:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210521', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:33:28] Production.INFO: ProcessCDR(1,14210521,1,1,2)
[2025-01-09 15:33:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:33:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210521,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:33:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:33:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210521,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:33:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210521', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:33:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210521', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:33:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:33:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:33:33] Production.INFO: ==8957== Releasing lock...
[2025-01-09 15:33:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:33:33] Production.INFO: 57.75 MB #Memory Used#
[2025-01-09 20:34:01] Production.INFO: ==9012== Lock acquired, processing the job...
[2025-01-09 20:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:34:01] Production.INFO: neon service started
[2025-01-09 20:34:01] Production.INFO: neon service started
[2025-01-09 20:34:01] Production.INFO: ==9012== Releasing lock...
[2025-01-09 20:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:34:01] Production.INFO: ==9014== Lock acquired, processing the job...
[2025-01-09 15:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:34:02] Production.INFO: ==9014== Releasing lock...
[2025-01-09 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:34:02] Production.INFO: ==9016== Lock acquired, processing the job...
[2025-01-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:34:02] Production.INFO: ==9016== Releasing lock...
[2025-01-09 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:34:03] Production.INFO: ==9018== Lock acquired, processing the job...
[2025-01-09 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:34:03] Production.INFO: ==9026== Lock acquired, processing the job...
[2025-01-09 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:34:03] Production.INFO: ==9028== Lock acquired, processing the job...
[2025-01-09 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:34:03] Production.INFO: ==9020== Lock acquired, processing the job...
[2025-01-09 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:34:03] Production.INFO: ==9022== Lock acquired, processing the job...
[2025-01-09 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:34:03] Production.INFO: ==9024== Lock acquired, processing the job...
[2025-01-09 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:34:03] Production.INFO: count ==21
[2025-01-09 15:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:34:03] Production.INFO: count ==21
[2025-01-09 15:34:03] Production.INFO: Account Balance Start.
[2025-01-09 15:34:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210523') start
[2025-01-09 15:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:34:03] Production.INFO: 117
[2025-01-09 15:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:34:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:34:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:34:03] Production.ERROR: done
[2025-01-09 15:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:34:03] Production.INFO: Total Charge 0
[2025-01-09 15:34:03] Production.INFO: CreateAllLog End
[2025-01-09 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210523') end
[2025-01-09 15:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:34:03] Production.INFO: 1
[2025-01-09 15:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:34:03] Production.INFO: ==9028== Releasing lock...
[2025-01-09 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:34:03] Production.ERROR: done
[2025-01-09 15:34:03] Production.INFO: ==9020== Releasing lock...
[2025-01-09 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:34:03] Production.INFO: Account Balance End.
[2025-01-09 15:34:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:34:03] Production.INFO: ==9024== Releasing lock...
[2025-01-09 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:34:04
[end_date_ymd] => 2025-01-09 15:34:04
[RateCDR] => 1
)
[2025-01-09 15:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:34:04' and `end` < '2025-01-09 15:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:34:11] Production.ERROR: CronJobId end10
[2025-01-09 15:34:11] Production.INFO: ==9022== Releasing lock...
[2025-01-09 15:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:34:13] Production.INFO: call_cost start
[2025-01-09 15:34:13] Production.INFO: call_cost end
[2025-01-09 15:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:34:14] Production.INFO: ==9018== Releasing lock...
[2025-01-09 15:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:34:28] Production.INFO: count ==4011
[2025-01-09 15:34:30] Production.ERROR: pbx CDR StartTime 2025-01-09 12:34:04 - End Time 2025-01-09 15:34:04
[2025-01-09 15:34:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:34:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210526', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:34:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210526', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:34:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210526', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:34:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210526', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:34:30] Production.INFO: ProcessCDR(1,14210526,1,1,2)
[2025-01-09 15:34:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:34:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210526,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:34:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:34:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210526,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210526', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:34:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210526', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:34:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:34:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:34:35] Production.INFO: ==9026== Releasing lock...
[2025-01-09 15:34:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:34:35] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:35:01] Production.INFO: ==9086== Lock acquired, processing the job...
[2025-01-09 20:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:35:01] Production.INFO: neon service started
[2025-01-09 20:35:01] Production.INFO: neon service started
[2025-01-09 20:35:01] Production.INFO: ==9086== Releasing lock...
[2025-01-09 20:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:35:02] Production.INFO: ==9088== Lock acquired, processing the job...
[2025-01-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:35:02] Production.INFO: ==9088== Releasing lock...
[2025-01-09 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:35:02] Production.INFO: ==9090== Lock acquired, processing the job...
[2025-01-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:35:02] Production.INFO: ==9090== Releasing lock...
[2025-01-09 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:35:03] Production.INFO: ==9092== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:35:03] Production.INFO: ==9094== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:35:03] Production.INFO: ==9098== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:35:03] Production.INFO: ==9096== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:35:03] Production.INFO: ==9100== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:35:03] Production.INFO: Account Balance Start.
[2025-01-09 15:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:35:03] Production.INFO: 117
[2025-01-09 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:35:03] Production.INFO: Total Charge 0
[2025-01-09 15:35:03] Production.INFO: ==9103== Lock acquired, processing the job...
[2025-01-09 15:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:35:03] Production.INFO: CreateAllLog End
[2025-01-09 15:35:03] Production.INFO: ==9094== Releasing lock...
[2025-01-09 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:35:03] Production.INFO: Account Balance End.
[2025-01-09 15:35:04] Production.INFO: count ==21
[2025-01-09 15:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:35:04] Production.INFO: count ==21
[2025-01-09 15:35:04] Production.ERROR: done
[2025-01-09 15:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:35:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:35:04] Production.INFO: ==9098== Releasing lock...
[2025-01-09 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210530') start
[2025-01-09 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210530') end
[2025-01-09 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:35:04] Production.INFO: 1
[2025-01-09 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:35:04] Production.ERROR: done
[2025-01-09 15:35:04] Production.INFO: ==9103== Releasing lock...
[2025-01-09 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:35:05
[end_date_ymd] => 2025-01-09 15:35:05
[RateCDR] => 1
)
[2025-01-09 15:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:35:05' and `end` < '2025-01-09 15:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:35:12] Production.ERROR: CronJobId end10
[2025-01-09 15:35:12] Production.INFO: ==9096== Releasing lock...
[2025-01-09 15:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:35:13] Production.INFO: call_cost start
[2025-01-09 15:35:13] Production.INFO: call_cost end
[2025-01-09 15:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:35:14] Production.INFO: ==9092== Releasing lock...
[2025-01-09 15:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:35:24] Production.INFO: count ==4012
[2025-01-09 15:35:26] Production.ERROR: pbx CDR StartTime 2025-01-09 12:35:05 - End Time 2025-01-09 15:35:05
[2025-01-09 15:35:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210531', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210531', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210531', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210531', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:35:26] Production.INFO: ProcessCDR(1,14210531,1,1,2)
[2025-01-09 15:35:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:35:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210531,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:35:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:35:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210531,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210531', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:35:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210531', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:35:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:35:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:35:30] Production.INFO: ==9100== Releasing lock...
[2025-01-09 15:35:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:35:30] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:36:01] Production.INFO: ==9158== Lock acquired, processing the job...
[2025-01-09 20:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:36:01] Production.INFO: neon service started
[2025-01-09 20:36:01] Production.INFO: neon service started
[2025-01-09 20:36:01] Production.INFO: ==9158== Releasing lock...
[2025-01-09 20:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:36:01] Production.INFO: ==9162== Lock acquired, processing the job...
[2025-01-09 20:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:36:01] Production.INFO: ==9162== Releasing lock...
[2025-01-09 20:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:36:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:36:01] Production.INFO: ==9160== Lock acquired, processing the job...
[2025-01-09 15:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:36:02] Production.INFO: ==9160== Releasing lock...
[2025-01-09 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:36:02] Production.INFO: ==9165== Lock acquired, processing the job...
[2025-01-09 15:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:36:02] Production.INFO: ==9171== Lock acquired, processing the job...
[2025-01-09 15:36:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:36:03] Production.INFO: Account Balance Start.
[2025-01-09 15:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:36:03] Production.INFO: 117
[2025-01-09 15:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:36:03] Production.INFO: ==9173== Lock acquired, processing the job...
[2025-01-09 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:36:03] Production.INFO: ==9167== Lock acquired, processing the job...
[2025-01-09 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:36:03] Production.INFO: ==9169== Lock acquired, processing the job...
[2025-01-09 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:36:03] Production.INFO: Total Charge 0
[2025-01-09 15:36:03] Production.INFO: CreateAllLog End
[2025-01-09 15:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:36:03] Production.INFO: ==9175== Lock acquired, processing the job...
[2025-01-09 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:36:03] Production.INFO: Account Balance End.
[2025-01-09 15:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:36:03] Production.INFO: ==9171== Releasing lock...
[2025-01-09 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:36:03] Production.ERROR: done
[2025-01-09 15:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:36:03] Production.INFO: ==9167== Releasing lock...
[2025-01-09 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:36:03] Production.INFO: count ==21
[2025-01-09 15:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:36:03] Production.INFO: count ==21
[2025-01-09 15:36:03] Production.ERROR: done
[2025-01-09 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210535') start
[2025-01-09 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210535') end
[2025-01-09 15:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:36:03] Production.INFO: 1
[2025-01-09 15:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:36:04] Production.INFO: ==9175== Releasing lock...
[2025-01-09 15:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:36:04
[end_date_ymd] => 2025-01-09 15:36:04
[RateCDR] => 1
)
[2025-01-09 15:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:36:04' and `end` < '2025-01-09 15:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:36:10] Production.ERROR: CronJobId end10
[2025-01-09 15:36:10] Production.INFO: ==9169== Releasing lock...
[2025-01-09 15:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:36:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:36:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:36:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:36:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:36:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:36:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:36:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:36:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:36:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:36:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:36:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:36:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:36:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:36:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:36:11] Production.INFO: call_cost start
[2025-01-09 15:36:11] Production.INFO: call_cost end
[2025-01-09 15:36:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:36:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:36:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:36:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:36:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:36:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:36:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:36:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:36:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:36:12] Production.INFO: ==9165== Releasing lock...
[2025-01-09 15:36:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:36:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:36:18] Production.INFO: count ==4015
[2025-01-09 15:36:20] Production.ERROR: pbx CDR StartTime 2025-01-09 12:36:04 - End Time 2025-01-09 15:36:04
[2025-01-09 15:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210536', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210536', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210536', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210536', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:36:20] Production.INFO: ProcessCDR(1,14210536,1,1,2)
[2025-01-09 15:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210536,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210536,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210536', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210536', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:36:23] Production.INFO: ==9173== Releasing lock...
[2025-01-09 15:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:36:23] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:37:01] Production.INFO: ==9229== Lock acquired, processing the job...
[2025-01-09 20:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:37:01] Production.INFO: neon service started
[2025-01-09 20:37:01] Production.INFO: neon service started
[2025-01-09 20:37:01] Production.INFO: ==9229== Releasing lock...
[2025-01-09 20:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:37:02] Production.INFO: ==9231== Lock acquired, processing the job...
[2025-01-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:37:02] Production.INFO: ==9231== Releasing lock...
[2025-01-09 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:37:02] Production.INFO: ==9233== Lock acquired, processing the job...
[2025-01-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:37:02] Production.INFO: ==9233== Releasing lock...
[2025-01-09 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:37:03] Production.INFO: ==9240== Lock acquired, processing the job...
[2025-01-09 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:37:03] Production.INFO: ==9238== Lock acquired, processing the job...
[2025-01-09 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:37:03] Production.INFO: ==9242== Lock acquired, processing the job...
[2025-01-09 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:37:03] Production.INFO: ==9236== Lock acquired, processing the job...
[2025-01-09 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:37:03] Production.INFO: Account Balance Start.
[2025-01-09 15:37:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:37:03] Production.INFO: 117
[2025-01-09 15:37:03] Production.INFO: ==9244== Lock acquired, processing the job...
[2025-01-09 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:37:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:37:03] Production.INFO: ==9246== Lock acquired, processing the job...
[2025-01-09 15:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:37:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:37:03] Production.INFO: Reseller ==> 0
[2025-01-09 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-01-09 15:37:03] Production.INFO: Total Charge 0
[2025-01-09 15:37:03] Production.INFO: ==9238== Releasing lock...
[2025-01-09 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:37:03] Production.INFO: CreateAllLog End
[2025-01-09 15:37:03] Production.INFO: count ==21
[2025-01-09 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-01-09 15:37:03] Production.INFO: count ==21
[2025-01-09 15:37:03] Production.ERROR: done
[2025-01-09 15:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210540') start
[2025-01-09 15:37:04] Production.ERROR: done
[2025-01-09 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210540') end
[2025-01-09 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:37:04] Production.INFO: 1
[2025-01-09 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:37:04] Production.INFO: Account Balance End.
[2025-01-09 15:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:37:04] Production.INFO: ==9242== Releasing lock...
[2025-01-09 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:37:04] Production.INFO: ==9246== Releasing lock...
[2025-01-09 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:37:04
[end_date_ymd] => 2025-01-09 15:37:04
[RateCDR] => 1
)
[2025-01-09 15:37:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:37:04' and `end` < '2025-01-09 15:37:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:37:11] Production.ERROR: CronJobId end10
[2025-01-09 15:37:11] Production.INFO: ==9240== Releasing lock...
[2025-01-09 15:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:37:12] Production.INFO: call_cost start
[2025-01-09 15:37:12] Production.INFO: call_cost end
[2025-01-09 15:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:37:13] Production.INFO: ==9236== Releasing lock...
[2025-01-09 15:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:37:27] Production.INFO: count ==4020
[2025-01-09 15:37:29] Production.ERROR: pbx CDR StartTime 2025-01-09 12:37:04 - End Time 2025-01-09 15:37:04
[2025-01-09 15:37:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:37:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210541', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210541', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210541', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:37:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210541', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:37:30] Production.INFO: ProcessCDR(1,14210541,1,1,2)
[2025-01-09 15:37:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:37:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210541,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:37:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:37:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210541,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:37:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210541', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:37:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210541', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:37:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:37:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:37:34] Production.INFO: ==9244== Releasing lock...
[2025-01-09 15:37:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:37:34] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:38:02] Production.INFO: ==9302== Lock acquired, processing the job...
[2025-01-09 20:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:38:02] Production.INFO: neon service started
[2025-01-09 20:38:02] Production.INFO: neon service started
[2025-01-09 20:38:02] Production.INFO: ==9302== Releasing lock...
[2025-01-09 20:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:38:02] Production.INFO: ==9304== Lock acquired, processing the job...
[2025-01-09 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:38:02] Production.INFO: ==9306== Lock acquired, processing the job...
[2025-01-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:38:02] Production.INFO: ==9306== Releasing lock...
[2025-01-09 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:38:03] Production.INFO: ==9304== Releasing lock...
[2025-01-09 15:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:38:04] Production.INFO: ==9309== Lock acquired, processing the job...
[2025-01-09 15:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:38:04] Production.INFO: ==9313== Lock acquired, processing the job...
[2025-01-09 15:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:38:04] Production.INFO: ==9311== Lock acquired, processing the job...
[2025-01-09 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:38:04] Production.INFO: ==9315== Lock acquired, processing the job...
[2025-01-09 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:38:04] Production.INFO: ==9317== Lock acquired, processing the job...
[2025-01-09 15:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:38:04] Production.INFO: ==9319== Lock acquired, processing the job...
[2025-01-09 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:38:04] Production.INFO: Account Balance Start.
[2025-01-09 15:38:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:38:04] Production.INFO: 117
[2025-01-09 15:38:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:38:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:38:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:38:04] Production.INFO: Total Charge 0
[2025-01-09 15:38:04] Production.INFO: CreateAllLog End
[2025-01-09 15:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:38:04] Production.INFO: ==9311== Releasing lock...
[2025-01-09 15:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:38:04] Production.INFO: count ==21
[2025-01-09 15:38:04] Production.ERROR: done
[2025-01-09 15:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:38:04] Production.INFO: count ==21
[2025-01-09 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210545') start
[2025-01-09 15:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210545') end
[2025-01-09 15:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:38:04] Production.INFO: 1
[2025-01-09 15:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:38:04] Production.ERROR: done
[2025-01-09 15:38:04] Production.INFO: ==9319== Releasing lock...
[2025-01-09 15:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:38:04] Production.INFO: Account Balance End.
[2025-01-09 15:38:05] Production.ERROR: CronJobId end 12
[2025-01-09 15:38:05] Production.INFO: ==9315== Releasing lock...
[2025-01-09 15:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:38:05
[end_date_ymd] => 2025-01-09 15:38:05
[RateCDR] => 1
)
[2025-01-09 15:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:38:05' and `end` < '2025-01-09 15:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:38:11] Production.ERROR: CronJobId end10
[2025-01-09 15:38:11] Production.INFO: ==9313== Releasing lock...
[2025-01-09 15:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:38:13] Production.INFO: call_cost start
[2025-01-09 15:38:13] Production.INFO: call_cost end
[2025-01-09 15:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:38:14] Production.INFO: ==9309== Releasing lock...
[2025-01-09 15:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:38:25] Production.INFO: count ==3994
[2025-01-09 15:38:27] Production.ERROR: pbx CDR StartTime 2025-01-09 12:38:05 - End Time 2025-01-09 15:38:05
[2025-01-09 15:38:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210546', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210546', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210546', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:38:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210546', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:38:27] Production.INFO: ProcessCDR(1,14210546,1,1,2)
[2025-01-09 15:38:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:38:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210546,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:38:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:38:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210546,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:38:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210546', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:38:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210546', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:38:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:38:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:38:32] Production.INFO: ==9317== Releasing lock...
[2025-01-09 15:38:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:38:32] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:39:01] Production.INFO: ==9372== Lock acquired, processing the job...
[2025-01-09 20:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:39:01] Production.INFO: neon service started
[2025-01-09 20:39:01] Production.INFO: neon service started
[2025-01-09 20:39:01] Production.INFO: ==9372== Releasing lock...
[2025-01-09 20:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:39:01] Production.INFO: ==9374== Lock acquired, processing the job...
[2025-01-09 15:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:39:02] Production.INFO: ==9374== Releasing lock...
[2025-01-09 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:39:02] Production.INFO: ==9376== Lock acquired, processing the job...
[2025-01-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:39:02] Production.INFO: ==9376== Releasing lock...
[2025-01-09 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:39:03] Production.INFO: ==9385== Lock acquired, processing the job...
[2025-01-09 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:39:03] Production.INFO: ==9389== Lock acquired, processing the job...
[2025-01-09 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:39:03] Production.INFO: ==9379== Lock acquired, processing the job...
[2025-01-09 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:39:03] Production.INFO: ==9381== Lock acquired, processing the job...
[2025-01-09 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:39:03] Production.INFO: Account Balance Start.
[2025-01-09 15:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:39:03] Production.INFO: 117
[2025-01-09 15:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:39:03] Production.INFO: ==9383== Lock acquired, processing the job...
[2025-01-09 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:39:03] Production.INFO: ==9387== Lock acquired, processing the job...
[2025-01-09 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:39:03] Production.INFO: count ==21
[2025-01-09 15:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:39:03] Production.INFO: count ==21
[2025-01-09 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210548') start
[2025-01-09 15:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:39:03] Production.INFO: Total Charge 0
[2025-01-09 15:39:03] Production.INFO: CreateAllLog End
[2025-01-09 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210548') end
[2025-01-09 15:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:39:03] Production.INFO: 1
[2025-01-09 15:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:39:03] Production.INFO: ==9389== Releasing lock...
[2025-01-09 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:39:03] Production.INFO: ==9381== Releasing lock...
[2025-01-09 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:39:03] Production.ERROR: done
[2025-01-09 15:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:39:03] Production.INFO: Account Balance End.
[2025-01-09 15:39:04] Production.ERROR: done
[2025-01-09 15:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:39:04] Production.INFO: ==9385== Releasing lock...
[2025-01-09 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:39:04
[end_date_ymd] => 2025-01-09 15:39:04
[RateCDR] => 1
)
[2025-01-09 15:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:39:04' and `end` < '2025-01-09 15:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:39:10] Production.ERROR: CronJobId end10
[2025-01-09 15:39:10] Production.INFO: ==9383== Releasing lock...
[2025-01-09 15:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:39:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:39:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:39:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:39:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:39:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:39:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:39:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:39:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:39:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:39:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:39:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:39:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:39:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:39:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:39:12] Production.INFO: call_cost start
[2025-01-09 15:39:12] Production.INFO: call_cost end
[2025-01-09 15:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:39:13] Production.INFO: ==9379== Releasing lock...
[2025-01-09 15:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:39:18] Production.INFO: count ==3991
[2025-01-09 15:39:20] Production.ERROR: pbx CDR StartTime 2025-01-09 12:39:04 - End Time 2025-01-09 15:39:04
[2025-01-09 15:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210551', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210551', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210551', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210551', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:39:20] Production.INFO: ProcessCDR(1,14210551,1,1,2)
[2025-01-09 15:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210551,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:39:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210551,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210551', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:39:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210551', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:39:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:39:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:39:25] Production.INFO: ==9387== Releasing lock...
[2025-01-09 15:39:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:39:25] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:40:02] Production.INFO: ==9483== Lock acquired, processing the job...
[2025-01-09 20:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:40:02] Production.INFO: neon service started
[2025-01-09 20:40:02] Production.INFO: neon service started
[2025-01-09 20:40:02] Production.INFO: ==9483== Releasing lock...
[2025-01-09 20:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:40:02] Production.INFO: ==9487== Lock acquired, processing the job...
[2025-01-09 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:40:02] Production.INFO: ==9485== Lock acquired, processing the job...
[2025-01-09 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:40:02] Production.INFO: ==9487== Releasing lock...
[2025-01-09 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:40:03] Production.INFO: ==9485== Releasing lock...
[2025-01-09 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:40:04] Production.INFO: ==9490== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 15:40:04] Production.INFO: ==9492== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 15:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:40:04] Production.ERROR: CronJob PID - 9492
[2025-01-09 15:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 15:40:04] Production.ERROR: CronJob ID - 5
[2025-01-09 15:40:04] Production.ERROR: CronJob Last Run Time 2025-01-09 15:40:00
[2025-01-09 15:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:40:04] Production.INFO: ==9496== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 15:40:04] Production.INFO: ==9490== Releasing lock...
[2025-01-09 15:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 15:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:40:04] Production.INFO: ==9502== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 15:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:40:04] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:40:04] Production.INFO: ==9498== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:40:04] Production.INFO: ==9500== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:40:04] Production.ERROR: done
[2025-01-09 15:40:04] Production.INFO: ==9504== Lock acquired, processing the job...
[2025-01-09 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:40:04] Production.INFO: Account Balance Start.
[2025-01-09 15:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:40:04] Production.INFO: 117
[2025-01-09 15:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 15:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210555', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:40:04] Production.INFO: ==9494== Releasing lock...
[2025-01-09 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:40:05] Production.INFO: count ==21
[2025-01-09 15:40:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:40:05] Production.INFO: count ==21
[2025-01-09 15:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210556') start
[2025-01-09 15:40:05] Production.INFO: Date 2025-01-09
[2025-01-09 15:40:05] Production.INFO: Reseller ==> 0
[2025-01-09 15:40:05] Production.INFO: Total Charge 0
[2025-01-09 15:40:05] Production.INFO: CreateAllLog End
[2025-01-09 15:40:05] Production.ERROR: done
[2025-01-09 15:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210556') end
[2025-01-09 15:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:40:05] Production.INFO: 1
[2025-01-09 15:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:40:05] Production.INFO: ==9504== Releasing lock...
[2025-01-09 15:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:40:05] Production.ERROR: done
[2025-01-09 15:40:05] Production.INFO: Account Balance End.
[2025-01-09 15:40:05] Production.ERROR: CronJobId end 12
[2025-01-09 15:40:05] Production.INFO: ==9498== Releasing lock...
[2025-01-09 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:40:06
[end_date_ymd] => 2025-01-09 15:40:06
[RateCDR] => 1
)
[2025-01-09 15:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:40:06' and `end` < '2025-01-09 15:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210555', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 15:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 15:40:08] Production.INFO: ProcessCDR(1,14210555,1,1,2)
[2025-01-09 15:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210555,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210555,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:40:08] Production.INFO: ==9502== Releasing lock...
[2025-01-09 15:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 15:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 15:40:13] Production.ERROR: CronJobId end10
[2025-01-09 15:40:13] Production.INFO: ==9496== Releasing lock...
[2025-01-09 15:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:40:14] Production.INFO: call_cost start
[2025-01-09 15:40:14] Production.INFO: call_cost end
[2025-01-09 15:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:40:15] Production.INFO: ==9492== Releasing lock...
[2025-01-09 15:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:40:21] Production.INFO: count ==3994
[2025-01-09 15:40:23] Production.ERROR: pbx CDR StartTime 2025-01-09 12:40:06 - End Time 2025-01-09 15:40:06
[2025-01-09 15:40:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210557', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210557', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210557', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:40:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210557', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:40:23] Production.INFO: ProcessCDR(1,14210557,1,1,2)
[2025-01-09 15:40:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:40:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210557,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:40:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:40:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210557,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210557', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:40:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210557', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:40:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:40:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:40:28] Production.INFO: ==9500== Releasing lock...
[2025-01-09 15:40:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:40:28] Production.INFO: 58 MB #Memory Used#
[2025-01-09 20:41:01] Production.INFO: ==9558== Lock acquired, processing the job...
[2025-01-09 20:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:41:01] Production.INFO: neon service started
[2025-01-09 20:41:01] Production.INFO: neon service started
[2025-01-09 20:41:01] Production.INFO: ==9558== Releasing lock...
[2025-01-09 20:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:41:01] Production.INFO: ==9560== Lock acquired, processing the job...
[2025-01-09 15:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:41:02] Production.INFO: ==9560== Releasing lock...
[2025-01-09 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:41:02] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-01-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:41:02] Production.INFO: ==9562== Releasing lock...
[2025-01-09 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:41:03] Production.INFO: ==9567== Lock acquired, processing the job...
[2025-01-09 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:41:03] Production.INFO: ==9565== Lock acquired, processing the job...
[2025-01-09 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:41:03] Production.INFO: ==9573== Lock acquired, processing the job...
[2025-01-09 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:41:03] Production.INFO: ==9569== Lock acquired, processing the job...
[2025-01-09 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:41:03] Production.INFO: ==9571== Lock acquired, processing the job...
[2025-01-09 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:41:03] Production.INFO: ==9567== Releasing lock...
[2025-01-09 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:41:03] Production.INFO: ==9575== Lock acquired, processing the job...
[2025-01-09 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:41:03] Production.INFO: Account Balance Start.
[2025-01-09 15:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:41:03] Production.INFO: 117
[2025-01-09 15:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:41:03] Production.ERROR: done
[2025-01-09 15:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:41:03] Production.INFO: Total Charge 0
[2025-01-09 15:41:03] Production.INFO: CreateAllLog End
[2025-01-09 15:41:03] Production.INFO: count ==21
[2025-01-09 15:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:41:03] Production.ERROR: done
[2025-01-09 15:41:03] Production.INFO: Account Balance End.
[2025-01-09 15:41:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:41:04] Production.INFO: ==9571== Releasing lock...
[2025-01-09 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:41:04] Production.INFO: count ==21
[2025-01-09 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210561') start
[2025-01-09 15:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210561') end
[2025-01-09 15:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:41:04] Production.INFO: 1
[2025-01-09 15:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:41:04] Production.INFO: ==9575== Releasing lock...
[2025-01-09 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:41:04
[end_date_ymd] => 2025-01-09 15:41:04
[RateCDR] => 1
)
[2025-01-09 15:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:41:04' and `end` < '2025-01-09 15:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:41:11] Production.ERROR: CronJobId end10
[2025-01-09 15:41:11] Production.INFO: ==9569== Releasing lock...
[2025-01-09 15:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:41:13] Production.INFO: call_cost start
[2025-01-09 15:41:13] Production.INFO: call_cost end
[2025-01-09 15:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:41:13] Production.INFO: ==9565== Releasing lock...
[2025-01-09 15:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:41:20] Production.INFO: count ==4073
[2025-01-09 15:41:22] Production.ERROR: pbx CDR StartTime 2025-01-09 12:41:04 - End Time 2025-01-09 15:41:04
[2025-01-09 15:41:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210562', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210562', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210562', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:41:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210562', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:41:22] Production.INFO: ProcessCDR(1,14210562,1,1,2)
[2025-01-09 15:41:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:41:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210562,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:41:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:41:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210562,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210562', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:41:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210562', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:41:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:41:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:41:27] Production.INFO: ==9573== Releasing lock...
[2025-01-09 15:41:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:41:27] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:42:02] Production.INFO: ==9629== Lock acquired, processing the job...
[2025-01-09 20:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:42:02] Production.INFO: neon service started
[2025-01-09 20:42:02] Production.INFO: neon service started
[2025-01-09 20:42:02] Production.INFO: ==9629== Releasing lock...
[2025-01-09 20:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:42:02] Production.INFO: ==9631== Lock acquired, processing the job...
[2025-01-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:42:02] Production.INFO: ==9631== Releasing lock...
[2025-01-09 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:42:02] Production.INFO: ==9633== Lock acquired, processing the job...
[2025-01-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:42:02] Production.INFO: ==9633== Releasing lock...
[2025-01-09 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:42:03] Production.INFO: ==9635== Lock acquired, processing the job...
[2025-01-09 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:42:03] Production.INFO: ==9637== Lock acquired, processing the job...
[2025-01-09 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:42:03] Production.INFO: ==9639== Lock acquired, processing the job...
[2025-01-09 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:42:03] Production.INFO: ==9641== Lock acquired, processing the job...
[2025-01-09 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:42:03] Production.INFO: ==9643== Lock acquired, processing the job...
[2025-01-09 15:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:42:03] Production.INFO: Account Balance Start.
[2025-01-09 15:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:42:03] Production.INFO: 117
[2025-01-09 15:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:42:03] Production.INFO: ==9645== Lock acquired, processing the job...
[2025-01-09 15:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:42:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:42:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:42:03] Production.INFO: Total Charge 0
[2025-01-09 15:42:03] Production.INFO: CreateAllLog End
[2025-01-09 15:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:42:04] Production.INFO: count ==21
[2025-01-09 15:42:04] Production.INFO: ==9637== Releasing lock...
[2025-01-09 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:42:04] Production.ERROR: done
[2025-01-09 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:42:04] Production.INFO: count ==21
[2025-01-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210566') start
[2025-01-09 15:42:04] Production.INFO: Account Balance End.
[2025-01-09 15:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:42:04] Production.INFO: ==9641== Releasing lock...
[2025-01-09 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:42:04] Production.ERROR: done
[2025-01-09 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210566') end
[2025-01-09 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:42:04] Production.INFO: 1
[2025-01-09 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:42:04] Production.INFO: ==9645== Releasing lock...
[2025-01-09 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:42:05
[end_date_ymd] => 2025-01-09 15:42:05
[RateCDR] => 1
)
[2025-01-09 15:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:42:05' and `end` < '2025-01-09 15:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:42:11] Production.ERROR: CronJobId end10
[2025-01-09 15:42:11] Production.INFO: ==9639== Releasing lock...
[2025-01-09 15:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:42:13] Production.INFO: call_cost start
[2025-01-09 15:42:13] Production.INFO: call_cost end
[2025-01-09 15:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:42:14] Production.INFO: ==9635== Releasing lock...
[2025-01-09 15:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:42:22] Production.INFO: count ==4070
[2025-01-09 15:42:24] Production.ERROR: pbx CDR StartTime 2025-01-09 12:42:05 - End Time 2025-01-09 15:42:05
[2025-01-09 15:42:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210567', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210567', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210567', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:42:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210567', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:42:24] Production.INFO: ProcessCDR(1,14210567,1,1,2)
[2025-01-09 15:42:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:42:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210567,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:42:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:42:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210567,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210567', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210567', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:42:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:42:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:42:29] Production.INFO: ==9643== Releasing lock...
[2025-01-09 15:42:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:42:29] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:43:01] Production.INFO: ==9700== Lock acquired, processing the job...
[2025-01-09 20:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:43:01] Production.INFO: neon service started
[2025-01-09 20:43:01] Production.INFO: neon service started
[2025-01-09 20:43:01] Production.INFO: ==9700== Releasing lock...
[2025-01-09 20:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:43:01] Production.INFO: ==9702== Lock acquired, processing the job...
[2025-01-09 15:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:43:02] Production.INFO: ==9702== Releasing lock...
[2025-01-09 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:43:02] Production.INFO: ==9704== Lock acquired, processing the job...
[2025-01-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:43:02] Production.INFO: ==9704== Releasing lock...
[2025-01-09 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:43:02] Production.INFO: ==9708== Lock acquired, processing the job...
[2025-01-09 15:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:43:02] Production.INFO: ==9706== Lock acquired, processing the job...
[2025-01-09 15:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:43:02] Production.INFO: ==9710== Lock acquired, processing the job...
[2025-01-09 15:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:43:03] Production.INFO: ==9708== Releasing lock...
[2025-01-09 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:43:03] Production.INFO: ==9712== Lock acquired, processing the job...
[2025-01-09 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:43:03] Production.INFO: ==9714== Lock acquired, processing the job...
[2025-01-09 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:43:03] Production.INFO: Account Balance Start.
[2025-01-09 15:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:43:03] Production.INFO: 117
[2025-01-09 15:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:43:03] Production.INFO: ==9716== Lock acquired, processing the job...
[2025-01-09 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:43:03] Production.INFO: Total Charge 0
[2025-01-09 15:43:03] Production.INFO: CreateAllLog End
[2025-01-09 15:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:43:03] Production.INFO: count ==21
[2025-01-09 15:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:43:03] Production.INFO: count ==21
[2025-01-09 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210571') start
[2025-01-09 15:43:03] Production.ERROR: done
[2025-01-09 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210571') end
[2025-01-09 15:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:43:03] Production.INFO: 1
[2025-01-09 15:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:43:03] Production.INFO: Account Balance End.
[2025-01-09 15:43:03] Production.INFO: ==9716== Releasing lock...
[2025-01-09 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:43:03] Production.INFO: ==9712== Releasing lock...
[2025-01-09 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:43:03] Production.ERROR: done
[2025-01-09 15:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:43:04
[end_date_ymd] => 2025-01-09 15:43:04
[RateCDR] => 1
)
[2025-01-09 15:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:43:04' and `end` < '2025-01-09 15:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:43:10] Production.ERROR: CronJobId end10
[2025-01-09 15:43:10] Production.INFO: ==9710== Releasing lock...
[2025-01-09 15:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:43:13] Production.INFO: call_cost start
[2025-01-09 15:43:13] Production.INFO: call_cost end
[2025-01-09 15:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:43:13] Production.INFO: ==9706== Releasing lock...
[2025-01-09 15:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:43:23] Production.INFO: count ==4078
[2025-01-09 15:43:24] Production.ERROR: pbx CDR StartTime 2025-01-09 12:43:04 - End Time 2025-01-09 15:43:04
[2025-01-09 15:43:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:43:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210572', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210572', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210572', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:43:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210572', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:43:25] Production.INFO: ProcessCDR(1,14210572,1,1,2)
[2025-01-09 15:43:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:43:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210572,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:43:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:43:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210572,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:43:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210572', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:43:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210572', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:43:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:43:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:43:29] Production.INFO: ==9714== Releasing lock...
[2025-01-09 15:43:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:43:29] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:44:02] Production.INFO: ==9771== Lock acquired, processing the job...
[2025-01-09 20:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:44:02] Production.INFO: neon service started
[2025-01-09 20:44:02] Production.INFO: neon service started
[2025-01-09 20:44:02] Production.INFO: ==9771== Releasing lock...
[2025-01-09 20:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:44:02] Production.INFO: ==9773== Lock acquired, processing the job...
[2025-01-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:44:02] Production.INFO: ==9773== Releasing lock...
[2025-01-09 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:44:02] Production.INFO: ==9776== Lock acquired, processing the job...
[2025-01-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:44:02] Production.INFO: ==9776== Releasing lock...
[2025-01-09 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:44:03] Production.INFO: ==9780== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:44:03] Production.INFO: ==9784== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:44:03] Production.INFO: ==9778== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:44:03] Production.INFO: Account Balance Start.
[2025-01-09 15:44:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:44:03] Production.INFO: 117
[2025-01-09 15:44:03] Production.INFO: ==9782== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:44:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:44:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:44:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:44:03] Production.INFO: ==9786== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:44:03] Production.INFO: Total Charge 0
[2025-01-09 15:44:03] Production.INFO: ==9788== Lock acquired, processing the job...
[2025-01-09 15:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:44:03] Production.INFO: CreateAllLog End
[2025-01-09 15:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:44:03] Production.INFO: ==9780== Releasing lock...
[2025-01-09 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:44:04] Production.INFO: Account Balance End.
[2025-01-09 15:44:04] Production.INFO: count ==21
[2025-01-09 15:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:44:04] Production.INFO: count ==21
[2025-01-09 15:44:04] Production.ERROR: done
[2025-01-09 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210576') start
[2025-01-09 15:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:44:04] Production.INFO: ==9784== Releasing lock...
[2025-01-09 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:44:04] Production.ERROR: done
[2025-01-09 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210576') end
[2025-01-09 15:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:44:04] Production.INFO: 1
[2025-01-09 15:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:44:04] Production.INFO: ==9788== Releasing lock...
[2025-01-09 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:44:05
[end_date_ymd] => 2025-01-09 15:44:05
[RateCDR] => 1
)
[2025-01-09 15:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:44:05' and `end` < '2025-01-09 15:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:44:11] Production.ERROR: CronJobId end10
[2025-01-09 15:44:11] Production.INFO: ==9782== Releasing lock...
[2025-01-09 15:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:44:12] Production.INFO: call_cost start
[2025-01-09 15:44:12] Production.INFO: call_cost end
[2025-01-09 15:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:44:13] Production.INFO: ==9778== Releasing lock...
[2025-01-09 15:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:44:24] Production.INFO: count ==4093
[2025-01-09 15:44:26] Production.ERROR: pbx CDR StartTime 2025-01-09 12:44:05 - End Time 2025-01-09 15:44:05
[2025-01-09 15:44:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210577', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210577', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210577', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:44:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210577', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:44:26] Production.INFO: ProcessCDR(1,14210577,1,1,2)
[2025-01-09 15:44:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:44:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210577,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:44:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:44:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210577,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210577', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:44:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210577', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:44:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:44:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:44:31] Production.INFO: ==9786== Releasing lock...
[2025-01-09 15:44:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:44:31] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:45:01] Production.INFO: ==9843== Lock acquired, processing the job...
[2025-01-09 20:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:45:01] Production.INFO: neon service started
[2025-01-09 20:45:01] Production.INFO: neon service started
[2025-01-09 20:45:01] Production.INFO: ==9843== Releasing lock...
[2025-01-09 20:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:45:01] Production.INFO: ==9845== Lock acquired, processing the job...
[2025-01-09 15:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:45:02] Production.INFO: ==9845== Releasing lock...
[2025-01-09 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:45:02] Production.INFO: ==9847== Lock acquired, processing the job...
[2025-01-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:45:02] Production.INFO: ==9847== Releasing lock...
[2025-01-09 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:45:03] Production.INFO: ==9858== Lock acquired, processing the job...
[2025-01-09 15:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:45:03] Production.INFO: ==9856== Lock acquired, processing the job...
[2025-01-09 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:45:03] Production.INFO: ==9850== Lock acquired, processing the job...
[2025-01-09 15:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:45:03] Production.INFO: Account Balance Start.
[2025-01-09 15:45:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:45:03] Production.INFO: 117
[2025-01-09 15:45:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:45:03] Production.INFO: ==9852== Lock acquired, processing the job...
[2025-01-09 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:45:03] Production.INFO: ==9854== Lock acquired, processing the job...
[2025-01-09 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:45:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:45:03] Production.INFO: ==9860== Lock acquired, processing the job...
[2025-01-09 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:45:03] Production.ERROR: done
[2025-01-09 15:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:45:03] Production.INFO: Total Charge 0
[2025-01-09 15:45:03] Production.INFO: CreateAllLog End
[2025-01-09 15:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:45:03] Production.ERROR: done
[2025-01-09 15:45:03] Production.INFO: count ==21
[2025-01-09 15:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:45:03] Production.INFO: count ==21
[2025-01-09 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210581') start
[2025-01-09 15:45:03] Production.INFO: Account Balance End.
[2025-01-09 15:45:03] Production.INFO: ==9852== Releasing lock...
[2025-01-09 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210581') end
[2025-01-09 15:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:45:03] Production.INFO: 1
[2025-01-09 15:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:45:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:45:03] Production.INFO: ==9856== Releasing lock...
[2025-01-09 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:45:03] Production.INFO: ==9860== Releasing lock...
[2025-01-09 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:45:04
[end_date_ymd] => 2025-01-09 15:45:04
[RateCDR] => 1
)
[2025-01-09 15:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:45:04' and `end` < '2025-01-09 15:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:45:10] Production.ERROR: CronJobId end10
[2025-01-09 15:45:10] Production.INFO: ==9854== Releasing lock...
[2025-01-09 15:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:45:12] Production.INFO: call_cost start
[2025-01-09 15:45:12] Production.INFO: call_cost end
[2025-01-09 15:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:45:13] Production.INFO: ==9850== Releasing lock...
[2025-01-09 15:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:45:24] Production.INFO: count ==4082
[2025-01-09 15:45:25] Production.ERROR: pbx CDR StartTime 2025-01-09 12:45:04 - End Time 2025-01-09 15:45:04
[2025-01-09 15:45:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:45:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210582', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210582', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210582', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:45:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210582', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:45:26] Production.INFO: ProcessCDR(1,14210582,1,1,2)
[2025-01-09 15:45:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:45:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210582,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:45:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:45:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210582,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210582', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:45:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210582', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:45:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:45:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:45:30] Production.INFO: ==9858== Releasing lock...
[2025-01-09 15:45:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:45:30] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:46:02] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-01-09 20:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:46:02] Production.INFO: neon service started
[2025-01-09 20:46:02] Production.INFO: neon service started
[2025-01-09 20:46:02] Production.INFO: ==9914== Releasing lock...
[2025-01-09 20:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:46:02] Production.INFO: ==9917== Lock acquired, processing the job...
[2025-01-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:46:02] Production.INFO: ==9919== Lock acquired, processing the job...
[2025-01-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:46:02] Production.INFO: ==9919== Releasing lock...
[2025-01-09 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:46:02] Production.INFO: ==9917== Releasing lock...
[2025-01-09 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:46:03] Production.INFO: ==9929== Lock acquired, processing the job...
[2025-01-09 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:46:03] Production.INFO: ==9931== Lock acquired, processing the job...
[2025-01-09 15:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:46:04] Production.INFO: count ==21
[2025-01-09 15:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:46:04] Production.INFO: count ==21
[2025-01-09 15:46:04] Production.INFO: ==9921== Lock acquired, processing the job...
[2025-01-09 15:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210583') start
[2025-01-09 15:46:04] Production.INFO: ==9923== Lock acquired, processing the job...
[2025-01-09 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:46:04] Production.INFO: ==9925== Lock acquired, processing the job...
[2025-01-09 15:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:46:04] Production.ERROR: done
[2025-01-09 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:46:04] Production.INFO: ==9927== Lock acquired, processing the job...
[2025-01-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210583') end
[2025-01-09 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:46:04] Production.INFO: 1
[2025-01-09 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:46:04] Production.INFO: ==9931== Releasing lock...
[2025-01-09 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:46:04] Production.ERROR: done
[2025-01-09 15:46:04] Production.INFO: Account Balance Start.
[2025-01-09 15:46:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:46:04] Production.INFO: 117
[2025-01-09 15:46:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:46:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:46:04] Production.INFO: Total Charge 0
[2025-01-09 15:46:04] Production.INFO: CreateAllLog End
[2025-01-09 15:46:04] Production.INFO: ==9923== Releasing lock...
[2025-01-09 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:46:04] Production.INFO: Account Balance End.
[2025-01-09 15:46:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:46:04] Production.INFO: ==9927== Releasing lock...
[2025-01-09 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:46:05
[end_date_ymd] => 2025-01-09 15:46:05
[RateCDR] => 1
)
[2025-01-09 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:46:05' and `end` < '2025-01-09 15:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:46:12] Production.ERROR: CronJobId end10
[2025-01-09 15:46:12] Production.INFO: ==9925== Releasing lock...
[2025-01-09 15:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:46:13] Production.INFO: call_cost start
[2025-01-09 15:46:13] Production.INFO: call_cost end
[2025-01-09 15:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:46:14] Production.INFO: ==9921== Releasing lock...
[2025-01-09 15:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:46:19] Production.INFO: count ==4086
[2025-01-09 15:46:21] Production.ERROR: pbx CDR StartTime 2025-01-09 12:46:05 - End Time 2025-01-09 15:46:05
[2025-01-09 15:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210587', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210587', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210587', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210587', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:46:21] Production.INFO: ProcessCDR(1,14210587,1,1,2)
[2025-01-09 15:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:46:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210587,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:46:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:46:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210587,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210587', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:46:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210587', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:46:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:46:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:46:26] Production.INFO: ==9929== Releasing lock...
[2025-01-09 15:46:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:46:26] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:47:01] Production.INFO: ==9984== Lock acquired, processing the job...
[2025-01-09 20:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:47:01] Production.INFO: neon service started
[2025-01-09 20:47:01] Production.INFO: neon service started
[2025-01-09 20:47:01] Production.INFO: ==9984== Releasing lock...
[2025-01-09 20:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:47:01] Production.INFO: ==9987== Lock acquired, processing the job...
[2025-01-09 15:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:47:02] Production.INFO: ==9987== Releasing lock...
[2025-01-09 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:47:02] Production.INFO: ==9989== Lock acquired, processing the job...
[2025-01-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:47:02] Production.INFO: ==9989== Releasing lock...
[2025-01-09 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:47:02] Production.INFO: ==9991== Lock acquired, processing the job...
[2025-01-09 15:47:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:47:03] Production.INFO: ==9995== Lock acquired, processing the job...
[2025-01-09 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:47:03] Production.INFO: ==9993== Lock acquired, processing the job...
[2025-01-09 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:47:03] Production.INFO: ==10001== Lock acquired, processing the job...
[2025-01-09 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:47:03] Production.INFO: ==9997== Lock acquired, processing the job...
[2025-01-09 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:47:03] Production.INFO: ==9999== Lock acquired, processing the job...
[2025-01-09 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:47:03] Production.INFO: Account Balance Start.
[2025-01-09 15:47:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:47:03] Production.INFO: 117
[2025-01-09 15:47:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:47:03] Production.INFO: count ==21
[2025-01-09 15:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:47:03] Production.INFO: count ==21
[2025-01-09 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:47:03] Production.INFO: ==9993== Releasing lock...
[2025-01-09 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210590') start
[2025-01-09 15:47:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:47:03] Production.INFO: Total Charge 0
[2025-01-09 15:47:03] Production.INFO: CreateAllLog End
[2025-01-09 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210590') end
[2025-01-09 15:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:47:03] Production.INFO: 1
[2025-01-09 15:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:47:03] Production.INFO: ==10001== Releasing lock...
[2025-01-09 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:47:03] Production.ERROR: done
[2025-01-09 15:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:47:03] Production.INFO: Account Balance End.
[2025-01-09 15:47:03] Production.ERROR: done
[2025-01-09 15:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:47:04] Production.INFO: ==9997== Releasing lock...
[2025-01-09 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:47:04
[end_date_ymd] => 2025-01-09 15:47:04
[RateCDR] => 1
)
[2025-01-09 15:47:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:47:04' and `end` < '2025-01-09 15:47:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:47:10] Production.ERROR: CronJobId end10
[2025-01-09 15:47:10] Production.INFO: ==9995== Releasing lock...
[2025-01-09 15:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:47:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:47:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:47:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:47:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:47:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:47:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:47:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:47:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:47:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:47:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:47:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:47:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:47:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:47:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:47:12] Production.INFO: call_cost start
[2025-01-09 15:47:12] Production.INFO: call_cost end
[2025-01-09 15:47:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:47:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:47:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:47:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:47:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:47:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:47:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:47:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:47:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:47:12] Production.INFO: ==9991== Releasing lock...
[2025-01-09 15:47:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:47:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:47:19] Production.INFO: count ==4094
[2025-01-09 15:47:21] Production.ERROR: pbx CDR StartTime 2025-01-09 12:47:04 - End Time 2025-01-09 15:47:04
[2025-01-09 15:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210592', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210592', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210592', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210592', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:47:21] Production.INFO: ProcessCDR(1,14210592,1,1,2)
[2025-01-09 15:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:47:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210592,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:47:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:47:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210592,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210592', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:47:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210592', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:47:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:47:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:47:26] Production.INFO: ==9999== Releasing lock...
[2025-01-09 15:47:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:47:26] Production.INFO: 58.5 MB #Memory Used#
[2025-01-09 20:48:02] Production.INFO: ==10055== Lock acquired, processing the job...
[2025-01-09 20:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:48:02] Production.INFO: neon service started
[2025-01-09 20:48:02] Production.INFO: neon service started
[2025-01-09 20:48:02] Production.INFO: ==10055== Releasing lock...
[2025-01-09 20:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:48:02] Production.INFO: ==10057== Lock acquired, processing the job...
[2025-01-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:48:02] Production.INFO: ==10057== Releasing lock...
[2025-01-09 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:48:02] Production.INFO: ==10059== Lock acquired, processing the job...
[2025-01-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:48:02] Production.INFO: ==10059== Releasing lock...
[2025-01-09 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:48:03] Production.INFO: ==10068== Lock acquired, processing the job...
[2025-01-09 15:48:03] Production.INFO: ==10070== Lock acquired, processing the job...
[2025-01-09 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:48:03] Production.INFO: ==10062== Lock acquired, processing the job...
[2025-01-09 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:48:03] Production.INFO: ==10066== Lock acquired, processing the job...
[2025-01-09 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:48:03] Production.INFO: ==10064== Lock acquired, processing the job...
[2025-01-09 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:48:03] Production.INFO: Account Balance Start.
[2025-01-09 15:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:48:03] Production.INFO: 117
[2025-01-09 15:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:48:03] Production.INFO: Total Charge 0
[2025-01-09 15:48:04] Production.INFO: ==10072== Lock acquired, processing the job...
[2025-01-09 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:48:04] Production.INFO: CreateAllLog End
[2025-01-09 15:48:04] Production.INFO: ==10064== Releasing lock...
[2025-01-09 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:48:04] Production.ERROR: done
[2025-01-09 15:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:48:04] Production.ERROR: done
[2025-01-09 15:48:04] Production.INFO: Account Balance End.
[2025-01-09 15:48:04] Production.INFO: count ==21
[2025-01-09 15:48:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:48:04] Production.INFO: ==10068== Releasing lock...
[2025-01-09 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:48:04] Production.INFO: count ==21
[2025-01-09 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210596') start
[2025-01-09 15:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210596') end
[2025-01-09 15:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:48:04] Production.INFO: 1
[2025-01-09 15:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:48:04] Production.INFO: ==10072== Releasing lock...
[2025-01-09 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:48:05
[end_date_ymd] => 2025-01-09 15:48:05
[RateCDR] => 1
)
[2025-01-09 15:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:48:05' and `end` < '2025-01-09 15:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:48:13] Production.ERROR: CronJobId end10
[2025-01-09 15:48:13] Production.INFO: ==10066== Releasing lock...
[2025-01-09 15:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:48:14] Production.INFO: call_cost start
[2025-01-09 15:48:14] Production.INFO: call_cost end
[2025-01-09 15:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:48:14] Production.INFO: ==10062== Releasing lock...
[2025-01-09 15:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:48:19] Production.INFO: count ==4103
[2025-01-09 15:48:20] Production.ERROR: pbx CDR StartTime 2025-01-09 12:48:05 - End Time 2025-01-09 15:48:05
[2025-01-09 15:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210597', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210597', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210597', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210597', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:48:21] Production.INFO: ProcessCDR(1,14210597,1,1,2)
[2025-01-09 15:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:48:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210597,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:48:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210597,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210597', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210597', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:48:25] Production.INFO: ==10070== Releasing lock...
[2025-01-09 15:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:48:25] Production.INFO: 58.75 MB #Memory Used#
[2025-01-09 20:49:01] Production.INFO: ==10129== Lock acquired, processing the job...
[2025-01-09 20:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:49:01] Production.INFO: neon service started
[2025-01-09 20:49:01] Production.INFO: neon service started
[2025-01-09 20:49:01] Production.INFO: ==10129== Releasing lock...
[2025-01-09 20:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:49:02] Production.INFO: ==10131== Lock acquired, processing the job...
[2025-01-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:49:02] Production.INFO: ==10133== Lock acquired, processing the job...
[2025-01-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:49:02] Production.INFO: ==10133== Releasing lock...
[2025-01-09 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:49:02] Production.INFO: ==10131== Releasing lock...
[2025-01-09 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:49:03] Production.INFO: ==10142== Lock acquired, processing the job...
[2025-01-09 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:49:03] Production.INFO: ==10146== Lock acquired, processing the job...
[2025-01-09 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:49:03] Production.INFO: Account Balance Start.
[2025-01-09 15:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:49:03] Production.INFO: 117
[2025-01-09 15:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:49:03] Production.INFO: ==10138== Lock acquired, processing the job...
[2025-01-09 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:49:03] Production.INFO: ==10140== Lock acquired, processing the job...
[2025-01-09 15:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:49:03] Production.INFO: ==10136== Lock acquired, processing the job...
[2025-01-09 15:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:49:03] Production.INFO: ==10144== Lock acquired, processing the job...
[2025-01-09 15:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:49:03] Production.INFO: count ==21
[2025-01-09 15:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:49:03] Production.INFO: count ==21
[2025-01-09 15:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210599') start
[2025-01-09 15:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:49:03] Production.INFO: Total Charge 0
[2025-01-09 15:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:49:03] Production.INFO: CreateAllLog End
[2025-01-09 15:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210599') end
[2025-01-09 15:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:49:03] Production.INFO: 1
[2025-01-09 15:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:49:03] Production.INFO: ==10146== Releasing lock...
[2025-01-09 15:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:49:03] Production.ERROR: done
[2025-01-09 15:49:03] Production.INFO: ==10138== Releasing lock...
[2025-01-09 15:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:49:03] Production.INFO: Account Balance End.
[2025-01-09 15:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:49:03] Production.INFO: ==10142== Releasing lock...
[2025-01-09 15:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:49:03] Production.ERROR: done
[2025-01-09 15:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:49:04
[end_date_ymd] => 2025-01-09 15:49:04
[RateCDR] => 1
)
[2025-01-09 15:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:49:04' and `end` < '2025-01-09 15:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:49:10] Production.ERROR: CronJobId end10
[2025-01-09 15:49:10] Production.INFO: ==10140== Releasing lock...
[2025-01-09 15:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:49:12] Production.INFO: call_cost start
[2025-01-09 15:49:12] Production.INFO: call_cost end
[2025-01-09 15:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:49:13] Production.INFO: ==10136== Releasing lock...
[2025-01-09 15:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:49:30] Production.INFO: count ==4103
[2025-01-09 15:49:32] Production.ERROR: pbx CDR StartTime 2025-01-09 12:49:04 - End Time 2025-01-09 15:49:04
[2025-01-09 15:49:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210602', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210602', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210602', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:49:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210602', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:49:32] Production.INFO: ProcessCDR(1,14210602,1,1,2)
[2025-01-09 15:49:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:49:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210602,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:49:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:49:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210602,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:49:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210602', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:49:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210602', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:49:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:49:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:49:37] Production.INFO: ==10144== Releasing lock...
[2025-01-09 15:49:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:49:37] Production.INFO: 58.75 MB #Memory Used#
[2025-01-09 20:50:01] Production.INFO: ==10204== Lock acquired, processing the job...
[2025-01-09 20:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:50:01] Production.INFO: neon service started
[2025-01-09 20:50:01] Production.INFO: neon service started
[2025-01-09 20:50:01] Production.INFO: ==10204== Releasing lock...
[2025-01-09 20:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:50:02] Production.INFO: ==10206== Lock acquired, processing the job...
[2025-01-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:50:02] Production.INFO: ==10208== Lock acquired, processing the job...
[2025-01-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:50:02] Production.INFO: ==10206== Releasing lock...
[2025-01-09 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:50:02] Production.INFO: ==10208== Releasing lock...
[2025-01-09 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:50:03] Production.INFO: ==10216== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:50:03] Production.INFO: ==10210== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 15:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:50:03] Production.INFO: ==10220== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:50:03] Production.INFO: ==10212== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:50:03] Production.INFO: ==10214== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:50:03] Production.ERROR: CronJob PID - 10214
[2025-01-09 15:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-09 15:50:03] Production.ERROR: CronJob ID - 7
[2025-01-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:50:00
[2025-01-09 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:50:03] Production.ERROR: CronJob PID - 10216
[2025-01-09 15:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 15:50:03] Production.ERROR: CronJob ID - 10
[2025-01-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:50:00
[2025-01-09 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 15:50:03] Production.ERROR: CronJob PID - 10220
[2025-01-09 15:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-09 15:50:03] Production.ERROR: CronJob ID - 16
[2025-01-09 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 15:50:00
[2025-01-09 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 15:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:50:03] Production.INFO: ==10225== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 15:50:03] Production.INFO: ==10210== Releasing lock...
[2025-01-09 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 15:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 15:50:03] Production.INFO: ==10218== Lock acquired, processing the job...
[2025-01-09 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:50:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:50:04] Production.INFO: ==10223== Lock acquired, processing the job...
[2025-01-09 15:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 15:50:04] Production.INFO: count ==21
[2025-01-09 15:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:50:04] Production.INFO: count ==21
[2025-01-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210604') start
[2025-01-09 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:50:04] Production.INFO: Account Balance Start.
[2025-01-09 15:50:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:50:04] Production.INFO: 117
[2025-01-09 15:50:04] Production.ERROR: done
[2025-01-09 15:50:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210604') end
[2025-01-09 15:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:50:04] Production.INFO: 1
[2025-01-09 15:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:50:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:50:04] Production.INFO: ==10225== Releasing lock...
[2025-01-09 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:50:04] Production.ERROR: done
[2025-01-09 15:50:04] Production.INFO: Total Charge 0
[2025-01-09 15:50:04] Production.INFO: ==10214== Releasing lock...
[2025-01-09 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:50:04] Production.INFO: CreateAllLog End
[2025-01-09 15:50:04] Production.ERROR: done
[2025-01-09 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210607', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 15:50:04] Production.INFO: Account Balance End.
[2025-01-09 15:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:50:04] Production.INFO: ==10218== Releasing lock...
[2025-01-09 15:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:50:05
[end_date_ymd] => 2025-01-09 15:50:05
[RateCDR] => 1
)
[2025-01-09 15:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:50:05' and `end` < '2025-01-09 15:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210607', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 15:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 15:50:08] Production.INFO: ProcessCDR(1,14210607,1,1,2)
[2025-01-09 15:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210607,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210607,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:50:08] Production.INFO: ==10223== Releasing lock...
[2025-01-09 15:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 15:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 15:50:13] Production.ERROR: CronJobId end10
[2025-01-09 15:50:13] Production.INFO: ==10216== Releasing lock...
[2025-01-09 15:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:50:14] Production.INFO: call_cost start
[2025-01-09 15:50:14] Production.INFO: call_cost end
[2025-01-09 15:50:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:50:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:50:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:50:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:50:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:50:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:50:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:50:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:50:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:50:14] Production.INFO: ==10212== Releasing lock...
[2025-01-09 15:50:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:50:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:50:25] Production.INFO: count ==4115
[2025-01-09 15:50:27] Production.ERROR: pbx CDR StartTime 2025-01-09 12:50:05 - End Time 2025-01-09 15:50:05
[2025-01-09 15:50:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:50:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210608', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210608', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210608', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210608', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:50:28] Production.INFO: ProcessCDR(1,14210608,1,1,2)
[2025-01-09 15:50:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:50:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210608,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:50:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:50:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210608,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:50:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210608', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:50:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210608', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:50:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:50:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:50:32] Production.INFO: ==10220== Releasing lock...
[2025-01-09 15:50:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:50:32] Production.INFO: 58.75 MB #Memory Used#
[2025-01-09 20:51:02] Production.INFO: ==10281== Lock acquired, processing the job...
[2025-01-09 20:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:51:02] Production.INFO: neon service started
[2025-01-09 20:51:02] Production.INFO: neon service started
[2025-01-09 20:51:02] Production.INFO: ==10281== Releasing lock...
[2025-01-09 20:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:51:02] Production.INFO: ==10283== Lock acquired, processing the job...
[2025-01-09 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:51:02] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-01-09 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:51:03] Production.INFO: ==10285== Releasing lock...
[2025-01-09 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:51:03] Production.INFO: ==10283== Releasing lock...
[2025-01-09 15:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:51:04] Production.INFO: ==10292== Lock acquired, processing the job...
[2025-01-09 15:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:51:04] Production.INFO: ==10298== Lock acquired, processing the job...
[2025-01-09 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:51:04] Production.INFO: ==10288== Lock acquired, processing the job...
[2025-01-09 15:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:51:04] Production.INFO: ==10290== Lock acquired, processing the job...
[2025-01-09 15:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:51:04] Production.INFO: count ==21
[2025-01-09 15:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:51:04] Production.INFO: count ==21
[2025-01-09 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210609') start
[2025-01-09 15:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:51:04] Production.INFO: ==10294== Lock acquired, processing the job...
[2025-01-09 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210609') end
[2025-01-09 15:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:51:04] Production.INFO: 1
[2025-01-09 15:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:51:04] Production.INFO: ==10296== Lock acquired, processing the job...
[2025-01-09 15:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:51:04] Production.INFO: ==10298== Releasing lock...
[2025-01-09 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:51:04] Production.INFO: Account Balance Start.
[2025-01-09 15:51:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:51:04] Production.INFO: 117
[2025-01-09 15:51:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:51:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:51:04] Production.INFO: Total Charge 0
[2025-01-09 15:51:04] Production.ERROR: done
[2025-01-09 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:51:04] Production.INFO: CreateAllLog End
[2025-01-09 15:51:04] Production.ERROR: done
[2025-01-09 15:51:04] Production.INFO: ==10290== Releasing lock...
[2025-01-09 15:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:51:04] Production.INFO: Account Balance End.
[2025-01-09 15:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:51:04] Production.INFO: ==10294== Releasing lock...
[2025-01-09 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:51:05
[end_date_ymd] => 2025-01-09 15:51:05
[RateCDR] => 1
)
[2025-01-09 15:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:51:05' and `end` < '2025-01-09 15:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:51:11] Production.ERROR: CronJobId end10
[2025-01-09 15:51:11] Production.INFO: ==10292== Releasing lock...
[2025-01-09 15:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:51:13] Production.INFO: call_cost start
[2025-01-09 15:51:13] Production.INFO: call_cost end
[2025-01-09 15:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:51:14] Production.INFO: ==10288== Releasing lock...
[2025-01-09 15:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:51:24] Production.INFO: count ==4241
[2025-01-09 15:51:25] Production.ERROR: pbx CDR StartTime 2025-01-09 12:51:05 - End Time 2025-01-09 15:51:05
[2025-01-09 15:51:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210613', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210613', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210613', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:51:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210613', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:51:25] Production.INFO: ProcessCDR(1,14210613,1,1,2)
[2025-01-09 15:51:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:51:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210613,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:51:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:51:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210613,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210613', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:51:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210613', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:51:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:51:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:51:30] Production.INFO: ==10296== Releasing lock...
[2025-01-09 15:51:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:51:30] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 20:52:01] Production.INFO: ==10353== Lock acquired, processing the job...
[2025-01-09 20:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:52:01] Production.INFO: neon service started
[2025-01-09 20:52:01] Production.INFO: neon service started
[2025-01-09 20:52:01] Production.INFO: ==10353== Releasing lock...
[2025-01-09 20:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:52:02] Production.INFO: ==10355== Lock acquired, processing the job...
[2025-01-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:52:02] Production.INFO: ==10357== Lock acquired, processing the job...
[2025-01-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:52:02] Production.INFO: ==10357== Releasing lock...
[2025-01-09 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:52:02] Production.INFO: ==10355== Releasing lock...
[2025-01-09 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:52:03] Production.INFO: ==10359== Lock acquired, processing the job...
[2025-01-09 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:52:03] Production.INFO: ==10364== Lock acquired, processing the job...
[2025-01-09 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:52:03] Production.INFO: ==10362== Lock acquired, processing the job...
[2025-01-09 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:52:03] Production.INFO: ==10368== Lock acquired, processing the job...
[2025-01-09 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:52:03] Production.INFO: ==10366== Lock acquired, processing the job...
[2025-01-09 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:52:03] Production.INFO: ==10370== Lock acquired, processing the job...
[2025-01-09 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:52:03] Production.INFO: ==10362== Releasing lock...
[2025-01-09 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:52:03] Production.INFO: Account Balance Start.
[2025-01-09 15:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:52:03] Production.INFO: 117
[2025-01-09 15:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:52:03] Production.INFO: count ==21
[2025-01-09 15:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:52:03] Production.INFO: count ==21
[2025-01-09 15:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210617') start
[2025-01-09 15:52:04] Production.INFO: Total Charge 0
[2025-01-09 15:52:04] Production.ERROR: done
[2025-01-09 15:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:52:04] Production.INFO: CreateAllLog End
[2025-01-09 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210617') end
[2025-01-09 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:52:04] Production.INFO: 1
[2025-01-09 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:52:04] Production.INFO: ==10370== Releasing lock...
[2025-01-09 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:52:04] Production.ERROR: done
[2025-01-09 15:52:04] Production.INFO: Account Balance End.
[2025-01-09 15:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:52:04] Production.INFO: ==10366== Releasing lock...
[2025-01-09 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:52:05
[end_date_ymd] => 2025-01-09 15:52:05
[RateCDR] => 1
)
[2025-01-09 15:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:52:05' and `end` < '2025-01-09 15:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:52:11] Production.ERROR: CronJobId end10
[2025-01-09 15:52:11] Production.INFO: ==10364== Releasing lock...
[2025-01-09 15:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:52:13] Production.INFO: call_cost start
[2025-01-09 15:52:13] Production.INFO: call_cost end
[2025-01-09 15:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:52:14] Production.INFO: ==10359== Releasing lock...
[2025-01-09 15:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:52:28] Production.INFO: count ==4240
[2025-01-09 15:52:30] Production.ERROR: pbx CDR StartTime 2025-01-09 12:52:05 - End Time 2025-01-09 15:52:05
[2025-01-09 15:52:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210618', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210618', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210618', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:52:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210618', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:52:30] Production.INFO: ProcessCDR(1,14210618,1,1,2)
[2025-01-09 15:52:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:52:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210618,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:52:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:52:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210618,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:52:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210618', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:52:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210618', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:52:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:52:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:52:35] Production.INFO: ==10368== Releasing lock...
[2025-01-09 15:52:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:52:35] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 20:53:02] Production.INFO: ==10423== Lock acquired, processing the job...
[2025-01-09 20:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:53:02] Production.INFO: neon service started
[2025-01-09 20:53:02] Production.INFO: neon service started
[2025-01-09 20:53:02] Production.INFO: ==10423== Releasing lock...
[2025-01-09 20:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:53:02] Production.INFO: ==10427== Lock acquired, processing the job...
[2025-01-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 15:53:02] Production.INFO: ==10425== Lock acquired, processing the job...
[2025-01-09 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:53:02] Production.INFO: ==10427== Releasing lock...
[2025-01-09 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:53:03] Production.INFO: ==10425== Releasing lock...
[2025-01-09 15:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:53:03] Production.INFO: ==10434== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:53:03] Production.INFO: ==10438== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:53:03] Production.INFO: ==10430== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:53:03] Production.INFO: ==10432== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:53:03] Production.INFO: ==10436== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:53:03] Production.INFO: ==10440== Lock acquired, processing the job...
[2025-01-09 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:53:04] Production.INFO: Account Balance Start.
[2025-01-09 15:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:53:04] Production.INFO: 117
[2025-01-09 15:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:53:04] Production.INFO: Total Charge 0
[2025-01-09 15:53:04] Production.INFO: count ==21
[2025-01-09 15:53:04] Production.ERROR: done
[2025-01-09 15:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:53:04] Production.INFO: CreateAllLog End
[2025-01-09 15:53:04] Production.ERROR: done
[2025-01-09 15:53:04] Production.INFO: ==10432== Releasing lock...
[2025-01-09 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:53:04] Production.INFO: Account Balance End.
[2025-01-09 15:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:53:04] Production.INFO: ==10436== Releasing lock...
[2025-01-09 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:53:04] Production.INFO: count ==21
[2025-01-09 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210620') start
[2025-01-09 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210620') end
[2025-01-09 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:53:04] Production.INFO: 1
[2025-01-09 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:53:04] Production.INFO: ==10440== Releasing lock...
[2025-01-09 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:53:05
[end_date_ymd] => 2025-01-09 15:53:05
[RateCDR] => 1
)
[2025-01-09 15:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:53:05' and `end` < '2025-01-09 15:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:53:11] Production.ERROR: CronJobId end10
[2025-01-09 15:53:11] Production.INFO: ==10434== Releasing lock...
[2025-01-09 15:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:53:13] Production.INFO: call_cost start
[2025-01-09 15:53:13] Production.INFO: call_cost end
[2025-01-09 15:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:53:14] Production.INFO: ==10430== Releasing lock...
[2025-01-09 15:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:53:33] Production.INFO: count ==4251
[2025-01-09 15:53:35] Production.ERROR: pbx CDR StartTime 2025-01-09 12:53:05 - End Time 2025-01-09 15:53:05
[2025-01-09 15:53:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:53:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210623', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:53:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210623', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:53:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210623', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:53:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210623', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:53:35] Production.INFO: ProcessCDR(1,14210623,1,1,2)
[2025-01-09 15:53:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:53:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210623,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:53:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:53:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210623,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:53:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210623', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:53:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210623', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:53:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:53:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:53:40] Production.INFO: ==10438== Releasing lock...
[2025-01-09 15:53:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:53:40] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 20:54:01] Production.INFO: ==10496== Lock acquired, processing the job...
[2025-01-09 20:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:54:01] Production.INFO: neon service started
[2025-01-09 20:54:01] Production.INFO: neon service started
[2025-01-09 20:54:01] Production.INFO: ==10496== Releasing lock...
[2025-01-09 20:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:54:02] Production.INFO: ==10498== Lock acquired, processing the job...
[2025-01-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 20:54:02] Production.INFO: ==10500== Lock acquired, processing the job...
[2025-01-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:54:02] Production.INFO: ==10500== Releasing lock...
[2025-01-09 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:54:02] Production.INFO: ==10498== Releasing lock...
[2025-01-09 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:54:03] Production.INFO: ==10503== Lock acquired, processing the job...
[2025-01-09 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:54:03] Production.INFO: ==10505== Lock acquired, processing the job...
[2025-01-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:54:03] Production.INFO: ==10507== Lock acquired, processing the job...
[2025-01-09 15:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:54:03] Production.INFO: ==10509== Lock acquired, processing the job...
[2025-01-09 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:54:03] Production.INFO: ==10511== Lock acquired, processing the job...
[2025-01-09 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:54:03] Production.INFO: ==10513== Lock acquired, processing the job...
[2025-01-09 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:54:03] Production.INFO: Account Balance Start.
[2025-01-09 15:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:54:03] Production.INFO: 117
[2025-01-09 15:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:54:03] Production.INFO: ==10505== Releasing lock...
[2025-01-09 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:54:03] Production.INFO: count ==21
[2025-01-09 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:54:03] Production.INFO: count ==21
[2025-01-09 15:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210627') start
[2025-01-09 15:54:03] Production.INFO: Total Charge 0
[2025-01-09 15:54:03] Production.INFO: CreateAllLog End
[2025-01-09 15:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210627') end
[2025-01-09 15:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:54:03] Production.INFO: 1
[2025-01-09 15:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:54:03] Production.INFO: ==10513== Releasing lock...
[2025-01-09 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:54:04] Production.ERROR: done
[2025-01-09 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:54:04] Production.ERROR: done
[2025-01-09 15:54:04] Production.INFO: Account Balance End.
[2025-01-09 15:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:54:04] Production.INFO: ==10509== Releasing lock...
[2025-01-09 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:54:05
[end_date_ymd] => 2025-01-09 15:54:05
[RateCDR] => 1
)
[2025-01-09 15:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:54:05' and `end` < '2025-01-09 15:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:54:11] Production.ERROR: CronJobId end10
[2025-01-09 15:54:11] Production.INFO: ==10507== Releasing lock...
[2025-01-09 15:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:54:12] Production.INFO: call_cost start
[2025-01-09 15:54:12] Production.INFO: call_cost end
[2025-01-09 15:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:54:13] Production.INFO: ==10503== Releasing lock...
[2025-01-09 15:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:54:28] Production.INFO: count ==4263
[2025-01-09 15:54:30] Production.ERROR: pbx CDR StartTime 2025-01-09 12:54:05 - End Time 2025-01-09 15:54:05
[2025-01-09 15:54:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:54:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210628', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:54:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210628', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:54:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210628', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:54:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210628', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:54:30] Production.INFO: ProcessCDR(1,14210628,1,1,2)
[2025-01-09 15:54:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:54:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210628,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:54:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:54:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210628,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:54:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210628', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:54:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210628', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:54:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:54:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:54:34] Production.INFO: ==10511== Releasing lock...
[2025-01-09 15:54:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:54:34] Production.INFO: 60 MB #Memory Used#
[2025-01-09 20:55:01] Production.INFO: ==10566== Lock acquired, processing the job...
[2025-01-09 20:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:55:02] Production.INFO: neon service started
[2025-01-09 20:55:02] Production.INFO: neon service started
[2025-01-09 20:55:02] Production.INFO: ==10566== Releasing lock...
[2025-01-09 20:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:55:02] Production.INFO: ==10568== Lock acquired, processing the job...
[2025-01-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:55:02] Production.INFO: ==10568== Releasing lock...
[2025-01-09 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:55:02] Production.INFO: ==10570== Lock acquired, processing the job...
[2025-01-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:55:02] Production.INFO: ==10570== Releasing lock...
[2025-01-09 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:55:03] Production.INFO: ==10575== Lock acquired, processing the job...
[2025-01-09 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:55:03] Production.INFO: ==10583== Lock acquired, processing the job...
[2025-01-09 15:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:55:03] Production.INFO: ==10573== Lock acquired, processing the job...
[2025-01-09 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:55:03] Production.INFO: ==10577== Lock acquired, processing the job...
[2025-01-09 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 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-01-09 15:55:03] Production.INFO: ==10579== Lock acquired, processing the job...
[2025-01-09 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:55:03] Production.INFO: count ==21
[2025-01-09 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 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-01-09 15:55:03] Production.INFO: count ==21
[2025-01-09 15:55:03] Production.INFO: ==10575== Releasing lock...
[2025-01-09 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210630') start
[2025-01-09 15:55:03] Production.INFO: ==10581== Lock acquired, processing the job...
[2025-01-09 15:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:55:03] Production.INFO: Account Balance Start.
[2025-01-09 15:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:55:03] Production.INFO: 117
[2025-01-09 15:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:55:03] Production.INFO: Total Charge 0
[2025-01-09 15:55:04] Production.INFO: CreateAllLog End
[2025-01-09 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210630') end
[2025-01-09 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:55:04] Production.INFO: 1
[2025-01-09 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:55:04] Production.INFO: ==10583== Releasing lock...
[2025-01-09 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:55:04] Production.ERROR: done
[2025-01-09 15:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:55:04] Production.INFO: Account Balance End.
[2025-01-09 15:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:55:04] Production.INFO: ==10579== Releasing lock...
[2025-01-09 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:55:04] Production.ERROR: done
[2025-01-09 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:55:05
[end_date_ymd] => 2025-01-09 15:55:05
[RateCDR] => 1
)
[2025-01-09 15:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:55:05' and `end` < '2025-01-09 15:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:55:11] Production.ERROR: CronJobId end10
[2025-01-09 15:55:11] Production.INFO: ==10577== Releasing lock...
[2025-01-09 15:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:55:13] Production.INFO: call_cost start
[2025-01-09 15:55:13] Production.INFO: call_cost end
[2025-01-09 15:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:55:14] Production.INFO: ==10573== Releasing lock...
[2025-01-09 15:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:55:28] Production.INFO: count ==4267
[2025-01-09 15:55:30] Production.ERROR: pbx CDR StartTime 2025-01-09 12:55:05 - End Time 2025-01-09 15:55:05
[2025-01-09 15:55:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210633', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210633', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210633', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:55:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210633', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:55:30] Production.INFO: ProcessCDR(1,14210633,1,1,2)
[2025-01-09 15:55:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:55:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210633,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:55:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:55:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210633,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:55:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210633', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:55:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210633', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:55:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:55:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:55:35] Production.INFO: ==10581== Releasing lock...
[2025-01-09 15:55:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:55:35] Production.INFO: 60 MB #Memory Used#
[2025-01-09 20:56:01] Production.INFO: ==10677== Lock acquired, processing the job...
[2025-01-09 20:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:56:01] Production.INFO: neon service started
[2025-01-09 20:56:01] Production.INFO: neon service started
[2025-01-09 20:56:01] Production.INFO: ==10677== Releasing lock...
[2025-01-09 20:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:56:02] Production.INFO: ==10679== Lock acquired, processing the job...
[2025-01-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:56:02] Production.INFO: ==10679== Releasing lock...
[2025-01-09 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:56:02] Production.INFO: ==10681== Lock acquired, processing the job...
[2025-01-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:56:02] Production.INFO: ==10681== Releasing lock...
[2025-01-09 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:56:03] Production.INFO: ==10683== Lock acquired, processing the job...
[2025-01-09 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:56:03] Production.INFO: ==10685== Lock acquired, processing the job...
[2025-01-09 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:56:03] Production.INFO: ==10687== Lock acquired, processing the job...
[2025-01-09 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:56:03] Production.INFO: ==10690== Lock acquired, processing the job...
[2025-01-09 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:56:03] Production.INFO: Account Balance Start.
[2025-01-09 15:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:56:03] Production.INFO: 117
[2025-01-09 15:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:56:03] Production.INFO: ==10692== Lock acquired, processing the job...
[2025-01-09 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:56:03] Production.INFO: ==10694== Lock acquired, processing the job...
[2025-01-09 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:56:03] Production.INFO: ==10685== Releasing lock...
[2025-01-09 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:56:03] Production.INFO: Total Charge 0
[2025-01-09 15:56:04] Production.INFO: count ==21
[2025-01-09 15:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:56:04] Production.INFO: count ==21
[2025-01-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210637') start
[2025-01-09 15:56:04] Production.INFO: CreateAllLog End
[2025-01-09 15:56:04] Production.ERROR: done
[2025-01-09 15:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210637') end
[2025-01-09 15:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:56:04] Production.INFO: 1
[2025-01-09 15:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:56:04] Production.INFO: Account Balance End.
[2025-01-09 15:56:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:56:04] Production.INFO: ==10690== Releasing lock...
[2025-01-09 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:56:04] Production.INFO: ==10694== Releasing lock...
[2025-01-09 15:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:56:04] Production.ERROR: done
[2025-01-09 15:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:56:05
[end_date_ymd] => 2025-01-09 15:56:05
[RateCDR] => 1
)
[2025-01-09 15:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:56:05' and `end` < '2025-01-09 15:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:56:13] Production.ERROR: CronJobId end10
[2025-01-09 15:56:13] Production.INFO: ==10687== Releasing lock...
[2025-01-09 15:56:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:56:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:56:14] Production.INFO: call_cost start
[2025-01-09 15:56:14] Production.INFO: call_cost end
[2025-01-09 15:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:56:15] Production.INFO: ==10683== Releasing lock...
[2025-01-09 15:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:56:23] Production.INFO: count ==4273
[2025-01-09 15:56:25] Production.ERROR: pbx CDR StartTime 2025-01-09 12:56:05 - End Time 2025-01-09 15:56:05
[2025-01-09 15:56:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210638', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210638', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210638', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:56:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210638', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:56:25] Production.INFO: ProcessCDR(1,14210638,1,1,2)
[2025-01-09 15:56:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:56:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210638,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:56:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:56:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210638,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:56:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210638', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:56:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210638', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:56:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:56:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:56:30] Production.INFO: ==10692== Releasing lock...
[2025-01-09 15:56:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:56:30] Production.INFO: 60 MB #Memory Used#
[2025-01-09 20:57:02] Production.INFO: ==10748== Lock acquired, processing the job...
[2025-01-09 20:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:57:02] Production.INFO: neon service started
[2025-01-09 20:57:02] Production.INFO: neon service started
[2025-01-09 20:57:02] Production.INFO: ==10748== Releasing lock...
[2025-01-09 20:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:57:02] Production.INFO: ==10752== Lock acquired, processing the job...
[2025-01-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:57:02] Production.INFO: ==10752== Releasing lock...
[2025-01-09 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:57:02] Production.INFO: ==10750== Lock acquired, processing the job...
[2025-01-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:57:02] Production.INFO: ==10750== Releasing lock...
[2025-01-09 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:57:03] Production.INFO: ==10754== Lock acquired, processing the job...
[2025-01-09 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:57:03] Production.INFO: ==10756== Lock acquired, processing the job...
[2025-01-09 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:57:03] Production.INFO: ==10758== Lock acquired, processing the job...
[2025-01-09 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:57:03] Production.INFO: ==10756== Releasing lock...
[2025-01-09 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:57:03] Production.INFO: ==10761== Lock acquired, processing the job...
[2025-01-09 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:57:03] Production.INFO: ==10763== Lock acquired, processing the job...
[2025-01-09 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:57:04] Production.INFO: ==10765== Lock acquired, processing the job...
[2025-01-09 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:57:04] Production.INFO: Account Balance Start.
[2025-01-09 15:57:04] Production.INFO: CreateAllLog Start
[2025-01-09 15:57:04] Production.INFO: 117
[2025-01-09 15:57:04] Production.INFO: Date 2025-01-08
[2025-01-09 15:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:57:04] Production.INFO: Date 2025-01-09
[2025-01-09 15:57:04] Production.INFO: Reseller ==> 0
[2025-01-09 15:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:57:04] Production.INFO: Total Charge 0
[2025-01-09 15:57:04] Production.INFO: count ==21
[2025-01-09 15:57:04] Production.INFO: CreateAllLog End
[2025-01-09 15:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:57:04] Production.INFO: count ==21
[2025-01-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210642') start
[2025-01-09 15:57:04] Production.ERROR: done
[2025-01-09 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:57:04] Production.ERROR: done
[2025-01-09 15:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210642') end
[2025-01-09 15:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:57:04] Production.INFO: 1
[2025-01-09 15:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:57:04] Production.INFO: Account Balance End.
[2025-01-09 15:57:04] Production.INFO: ==10765== Releasing lock...
[2025-01-09 15:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:57:04] Production.INFO: ==10761== Releasing lock...
[2025-01-09 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:57:05
[end_date_ymd] => 2025-01-09 15:57:05
[RateCDR] => 1
)
[2025-01-09 15:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:57:05' and `end` < '2025-01-09 15:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:57:11] Production.ERROR: CronJobId end10
[2025-01-09 15:57:11] Production.INFO: ==10758== Releasing lock...
[2025-01-09 15:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:57:13] Production.INFO: call_cost start
[2025-01-09 15:57:13] Production.INFO: call_cost end
[2025-01-09 15:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:57:14] Production.INFO: ==10754== Releasing lock...
[2025-01-09 15:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:57:19] Production.INFO: count ==4263
[2025-01-09 15:57:21] Production.ERROR: pbx CDR StartTime 2025-01-09 12:57:05 - End Time 2025-01-09 15:57:05
[2025-01-09 15:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210643', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210643', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210643', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210643', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:57:21] Production.INFO: ProcessCDR(1,14210643,1,1,2)
[2025-01-09 15:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210643,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210643,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210643', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210643', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:57:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:57:25] Production.INFO: ==10763== Releasing lock...
[2025-01-09 15:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:57:25] Production.INFO: 60 MB #Memory Used#
[2025-01-09 20:58:01] Production.INFO: ==10818== Lock acquired, processing the job...
[2025-01-09 20:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:58:01] Production.INFO: neon service started
[2025-01-09 20:58:01] Production.INFO: neon service started
[2025-01-09 20:58:01] Production.INFO: ==10818== Releasing lock...
[2025-01-09 20:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 20:58:01] Production.INFO: ==10822== Lock acquired, processing the job...
[2025-01-09 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:58:01] Production.INFO: ==10822== Releasing lock...
[2025-01-09 20:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:58:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:58:02] Production.INFO: ==10820== Lock acquired, processing the job...
[2025-01-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:58:02] Production.INFO: ==10820== Releasing lock...
[2025-01-09 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 15:58:03] Production.INFO: ==10824== Lock acquired, processing the job...
[2025-01-09 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:58:03] Production.INFO: ==10826== Lock acquired, processing the job...
[2025-01-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:58:03] Production.INFO: ==10828== Lock acquired, processing the job...
[2025-01-09 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:58:03] Production.INFO: ==10830== Lock acquired, processing the job...
[2025-01-09 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:58:03] Production.INFO: ==10826== Releasing lock...
[2025-01-09 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:58:03] Production.INFO: ==10832== Lock acquired, processing the job...
[2025-01-09 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:58:03] Production.INFO: ==10835== Lock acquired, processing the job...
[2025-01-09 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:58:03] Production.INFO: Account Balance Start.
[2025-01-09 15:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:58:03] Production.INFO: 117
[2025-01-09 15:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:58:03] Production.INFO: count ==21
[2025-01-09 15:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:58:03] Production.INFO: count ==21
[2025-01-09 15:58:03] Production.INFO: Total Charge 0
[2025-01-09 15:58:03] Production.ERROR: done
[2025-01-09 15:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210647') start
[2025-01-09 15:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:58:03] Production.INFO: CreateAllLog End
[2025-01-09 15:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210647') end
[2025-01-09 15:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:58:03] Production.INFO: 1
[2025-01-09 15:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:58:04] Production.ERROR: done
[2025-01-09 15:58:04] Production.INFO: Account Balance End.
[2025-01-09 15:58:04] Production.INFO: ==10835== Releasing lock...
[2025-01-09 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 15:58:04] Production.INFO: ==10830== Releasing lock...
[2025-01-09 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:58:05
[end_date_ymd] => 2025-01-09 15:58:05
[RateCDR] => 1
)
[2025-01-09 15:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:58:05' and `end` < '2025-01-09 15:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:58:11] Production.ERROR: CronJobId end10
[2025-01-09 15:58:11] Production.INFO: ==10828== Releasing lock...
[2025-01-09 15:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:58:12] Production.INFO: call_cost start
[2025-01-09 15:58:12] Production.INFO: call_cost end
[2025-01-09 15:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:58:13] Production.INFO: ==10824== Releasing lock...
[2025-01-09 15:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:58:30] Production.INFO: count ==4272
[2025-01-09 15:58:32] Production.ERROR: pbx CDR StartTime 2025-01-09 12:58:05 - End Time 2025-01-09 15:58:05
[2025-01-09 15:58:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:58:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210648', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:58:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210648', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:58:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210648', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:58:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210648', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:58:33] Production.INFO: ProcessCDR(1,14210648,1,1,2)
[2025-01-09 15:58:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:58:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210648,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:58:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:58:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210648,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:58:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210648', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:58:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210648', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:58:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:58:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:58:37] Production.INFO: ==10832== Releasing lock...
[2025-01-09 15:58:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:58:37] Production.INFO: 60 MB #Memory Used#
[2025-01-09 20:59:01] Production.INFO: ==10891== Lock acquired, processing the job...
[2025-01-09 20:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 20:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 20:59:01] Production.INFO: neon service started
[2025-01-09 20:59:01] Production.INFO: neon service started
[2025-01-09 20:59:01] Production.INFO: ==10891== Releasing lock...
[2025-01-09 20:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 20:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 15:59:02] Production.INFO: ==10893== Lock acquired, processing the job...
[2025-01-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 15:59:02] Production.INFO: ==10893== Releasing lock...
[2025-01-09 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 20:59:02] Production.INFO: ==10895== Lock acquired, processing the job...
[2025-01-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 20:59:02] Production.INFO: ==10895== Releasing lock...
[2025-01-09 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 20:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 15:59:03] Production.INFO: ==10903== Lock acquired, processing the job...
[2025-01-09 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 15:59:03] Production.INFO: Account Balance Start.
[2025-01-09 15:59:03] Production.INFO: CreateAllLog Start
[2025-01-09 15:59:03] Production.INFO: 117
[2025-01-09 15:59:03] Production.INFO: Date 2025-01-08
[2025-01-09 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:59:03] Production.INFO: Date 2025-01-09
[2025-01-09 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-09 15:59:03] Production.INFO: Total Charge 0
[2025-01-09 15:59:03] Production.INFO: CreateAllLog End
[2025-01-09 15:59:03] Production.INFO: Account Balance End.
[2025-01-09 15:59:03] Production.ERROR: CronJobId end 12
[2025-01-09 15:59:03] Production.INFO: ==10903== Releasing lock...
[2025-01-09 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 15:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 15:59:03] Production.INFO: ==10897== Lock acquired, processing the job...
[2025-01-09 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 15:59:03] Production.INFO: ==10899== Lock acquired, processing the job...
[2025-01-09 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 15:59:03] Production.INFO: ==10901== Lock acquired, processing the job...
[2025-01-09 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 15:59:03] Production.INFO: ==10907== Lock acquired, processing the job...
[2025-01-09 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 15:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 15:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 15:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 15:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 15:59:03] Production.INFO: ==10905== Lock acquired, processing the job...
[2025-01-09 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 15:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:59:03] Production.INFO: count ==21
[2025-01-09 15:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 15:59:03] Production.INFO: count ==21
[2025-01-09 15:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210652') start
[2025-01-09 15:59:03] Production.INFO: ==10899== Releasing lock...
[2025-01-09 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 15:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 15:59:04] Production.ERROR: done
[2025-01-09 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210652') end
[2025-01-09 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 15:59:04] Production.INFO: 1
[2025-01-09 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 15:59:04] Production.ERROR: done
[2025-01-09 15:59:04] Production.INFO: ==10907== Releasing lock...
[2025-01-09 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 12:59:05
[end_date_ymd] => 2025-01-09 15:59:05
[RateCDR] => 1
)
[2025-01-09 15:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 12:59:05' and `end` < '2025-01-09 15:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 15:59:12] Production.ERROR: CronJobId end10
[2025-01-09 15:59:12] Production.INFO: ==10901== Releasing lock...
[2025-01-09 15:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 15:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 15:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 15:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 15:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 15:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 15:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 15:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 15:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 15:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 15:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 15:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 15:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 15:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 15:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 15:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 15:59:13] Production.INFO: call_cost start
[2025-01-09 15:59:13] Production.INFO: call_cost end
[2025-01-09 15:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 15:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 15:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 15:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 15:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 15:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 15:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 15:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 15:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 15:59:14] Production.INFO: ==10897== Releasing lock...
[2025-01-09 15:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 15:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 15:59:32] Production.INFO: count ==4284
[2025-01-09 15:59:34] Production.ERROR: pbx CDR StartTime 2025-01-09 12:59:05 - End Time 2025-01-09 15:59:05
[2025-01-09 15:59:34] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 15:59:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210653', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:59:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210653', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:59:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210653', 'tblTempVendorCDR_20' ) start
[2025-01-09 15:59:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210653', 'tblTempVendorCDR_20' ) end
[2025-01-09 15:59:34] Production.INFO: ProcessCDR(1,14210653,1,1,2)
[2025-01-09 15:59:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:59:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210653,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 15:59:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:59:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210653,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 15:59:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210653', 'tblTempUsageDetail_20' ) start
[2025-01-09 15:59:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210653', 'tblTempUsageDetail_20' ) end
[2025-01-09 15:59:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 15:59:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 15:59:39] Production.INFO: ==10905== Releasing lock...
[2025-01-09 15:59:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 15:59:39] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:00:02] Production.INFO: ==10961== Lock acquired, processing the job...
[2025-01-09 21:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:00:02] Production.INFO: neon service started
[2025-01-09 21:00:02] Production.INFO: neon service started
[2025-01-09 21:00:02] Production.INFO: ==10961== Releasing lock...
[2025-01-09 21:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:00:02] Production.INFO: ==10964== Lock acquired, processing the job...
[2025-01-09 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:00:03] Production.INFO: ==10964== Releasing lock...
[2025-01-09 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:00:03] Production.INFO: ==10966== Lock acquired, processing the job...
[2025-01-09 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:00:03] Production.INFO: ==10966== Releasing lock...
[2025-01-09 21:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:00:03] Production.INFO: ==10968== Lock acquired, processing the job...
[2025-01-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 16:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 16:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 16:00:03] Production.INFO: ==10968== Releasing lock...
[2025-01-09 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 16:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 16:00:04] Production.INFO: ==10972== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:00:04] Production.INFO: ==10970== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:00:04] Production.INFO: ==10974== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:00:04] Production.INFO: ==10976== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:00:04] Production.INFO: ==10972== Releasing lock...
[2025-01-09 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:00:04] Production.INFO: ==10978== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:00:04] Production.INFO: ==10982== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:00:04] Production.INFO: ==10980== Lock acquired, processing the job...
[2025-01-09 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 16:00:04] Production.INFO: Account Balance Start.
[2025-01-09 16:00:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:00:04] Production.INFO: 117
[2025-01-09 16:00:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:00:04] Production.INFO: count ==21
[2025-01-09 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:00:04] Production.INFO: count ==21
[2025-01-09 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210657') start
[2025-01-09 16:00:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:00:04] Production.INFO: Total Charge 0
[2025-01-09 16:00:04] Production.INFO: CreateAllLog End
[2025-01-09 16:00:04] Production.ERROR: done
[2025-01-09 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210657') end
[2025-01-09 16:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:00:04] Production.INFO: 1
[2025-01-09 16:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:00:04] Production.INFO: ==10982== Releasing lock...
[2025-01-09 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:00:05] Production.ERROR: done
[2025-01-09 16:00:05] Production.ERROR: done
[2025-01-09 16:00:05] Production.INFO: Account Balance End.
[2025-01-09 16:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 16:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210659', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 16:00:05] Production.ERROR: CronJobId end 12
[2025-01-09 16:00:05] Production.INFO: ==10976== Releasing lock...
[2025-01-09 16:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:00:05
[end_date_ymd] => 2025-01-09 16:00:05
[RateCDR] => 1
)
[2025-01-09 16:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:00:05' and `end` < '2025-01-09 16:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210659', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 16:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 16:00:09] Production.INFO: ProcessCDR(1,14210659,1,1,2)
[2025-01-09 16:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210659,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210659,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:00:09] Production.INFO: ==10980== Releasing lock...
[2025-01-09 16:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 16:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:00:14] Production.ERROR: CronJobId end10
[2025-01-09 16:00:14] Production.INFO: ==10974== Releasing lock...
[2025-01-09 16:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:00:15] Production.INFO: call_cost start
[2025-01-09 16:00:15] Production.INFO: call_cost end
[2025-01-09 16:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:00:16] Production.INFO: ==10970== Releasing lock...
[2025-01-09 16:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:00:27] Production.INFO: count ==4306
[2025-01-09 16:00:28] Production.ERROR: pbx CDR StartTime 2025-01-09 13:00:05 - End Time 2025-01-09 16:00:05
[2025-01-09 16:00:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:00:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210658', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210658', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210658', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:00:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210658', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:00:29] Production.INFO: ProcessCDR(1,14210658,1,1,2)
[2025-01-09 16:00:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:00:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210658,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:00:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:00:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210658,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:00:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210658', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:00:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210658', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:00:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:00:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:00:33] Production.INFO: ==10978== Releasing lock...
[2025-01-09 16:00:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:00:33] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:01:01] Production.INFO: ==11044== Lock acquired, processing the job...
[2025-01-09 21:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:01:01] Production.INFO: neon service started
[2025-01-09 21:01:01] Production.INFO: neon service started
[2025-01-09 21:01:01] Production.INFO: ==11044== Releasing lock...
[2025-01-09 21:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:01:02] Production.INFO: ==11050== Lock acquired, processing the job...
[2025-01-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:01:02] Production.INFO: ==11050== Releasing lock...
[2025-01-09 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:01:02] Production.INFO: ==11052== Lock acquired, processing the job...
[2025-01-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:01:02] Production.INFO: ==11052== Releasing lock...
[2025-01-09 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:01:02] Production.INFO: ==11057== Lock acquired, processing the job...
[2025-01-09 16:01:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:01:03] Production.INFO: ==11061== Lock acquired, processing the job...
[2025-01-09 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:01:03] Production.INFO: Account Balance Start.
[2025-01-09 16:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:01:03] Production.INFO: 117
[2025-01-09 16:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:01:03] Production.INFO: ==11055== Lock acquired, processing the job...
[2025-01-09 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:01:03] Production.INFO: ==11057== Releasing lock...
[2025-01-09 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:01:03] Production.INFO: Total Charge 0
[2025-01-09 16:01:03] Production.INFO: CreateAllLog End
[2025-01-09 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:01:03] Production.INFO: ==11065== Lock acquired, processing the job...
[2025-01-09 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:01:03] Production.INFO: Account Balance End.
[2025-01-09 16:01:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:01:03] Production.INFO: ==11061== Releasing lock...
[2025-01-09 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:01:03] Production.INFO: ==11059== Lock acquired, processing the job...
[2025-01-09 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:01:03] Production.INFO: ==11063== Lock acquired, processing the job...
[2025-01-09 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:01:03] Production.INFO: count ==21
[2025-01-09 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:01:03] Production.INFO: count ==21
[2025-01-09 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210663') start
[2025-01-09 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210663') end
[2025-01-09 16:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:01:03] Production.INFO: 1
[2025-01-09 16:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:01:03] Production.INFO: ==11065== Releasing lock...
[2025-01-09 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:01:04] Production.ERROR: done
[2025-01-09 16:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:01:04] Production.ERROR: done
[2025-01-09 16:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:01:05
[end_date_ymd] => 2025-01-09 16:01:05
[RateCDR] => 1
)
[2025-01-09 16:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:01:05' and `end` < '2025-01-09 16:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:01:12] Production.ERROR: CronJobId end10
[2025-01-09 16:01:12] Production.INFO: ==11059== Releasing lock...
[2025-01-09 16:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:01:13] Production.INFO: call_cost start
[2025-01-09 16:01:13] Production.INFO: call_cost end
[2025-01-09 16:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:01:14] Production.INFO: ==11055== Releasing lock...
[2025-01-09 16:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:01:36] Production.INFO: count ==4392
[2025-01-09 16:01:38] Production.ERROR: pbx CDR StartTime 2025-01-09 13:01:05 - End Time 2025-01-09 16:01:05
[2025-01-09 16:01:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:01:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210664', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:01:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210664', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:01:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210664', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:01:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210664', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:01:38] Production.INFO: ProcessCDR(1,14210664,1,1,2)
[2025-01-09 16:01:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:01:41] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210664,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:01:41] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:01:43] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210664,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:01:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210664', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:01:43] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210664', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:01:43] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:01:43] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:01:43] Production.INFO: ==11063== Releasing lock...
[2025-01-09 16:01:43] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:01:43] Production.INFO: 61 MB #Memory Used#
[2025-01-09 21:02:02] Production.INFO: ==11148== Lock acquired, processing the job...
[2025-01-09 21:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:02:02] Production.INFO: neon service started
[2025-01-09 21:02:02] Production.INFO: neon service started
[2025-01-09 21:02:02] Production.INFO: ==11148== Releasing lock...
[2025-01-09 21:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:02:02] Production.INFO: ==11152== Lock acquired, processing the job...
[2025-01-09 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:02:02] Production.INFO: ==11152== Releasing lock...
[2025-01-09 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:02:02] Production.INFO: ==11150== Lock acquired, processing the job...
[2025-01-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:02:02] Production.INFO: ==11150== Releasing lock...
[2025-01-09 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:02:03] Production.INFO: ==11154== Lock acquired, processing the job...
[2025-01-09 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:02:03] Production.INFO: ==11156== Lock acquired, processing the job...
[2025-01-09 16:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:02:03] Production.INFO: ==11158== Lock acquired, processing the job...
[2025-01-09 16:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:02:04] Production.INFO: ==11162== Lock acquired, processing the job...
[2025-01-09 16:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:02:04] Production.INFO: ==11156== Releasing lock...
[2025-01-09 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:02:04] Production.INFO: ==11160== Lock acquired, processing the job...
[2025-01-09 16:02:04] Production.INFO: ==11164== Lock acquired, processing the job...
[2025-01-09 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:02:04] Production.INFO: Account Balance Start.
[2025-01-09 16:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:02:04] Production.INFO: 117
[2025-01-09 16:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:02:04] Production.INFO: count ==21
[2025-01-09 16:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:02:04] Production.INFO: count ==21
[2025-01-09 16:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210668') start
[2025-01-09 16:02:04] Production.ERROR: done
[2025-01-09 16:02:04] Production.INFO: Total Charge 0
[2025-01-09 16:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:02:04] Production.INFO: CreateAllLog End
[2025-01-09 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210668') end
[2025-01-09 16:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:02:04] Production.INFO: 1
[2025-01-09 16:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:02:04] Production.INFO: ==11164== Releasing lock...
[2025-01-09 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:02:04] Production.ERROR: done
[2025-01-09 16:02:04] Production.INFO: Account Balance End.
[2025-01-09 16:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:02:04] Production.INFO: ==11160== Releasing lock...
[2025-01-09 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:02:05
[end_date_ymd] => 2025-01-09 16:02:05
[RateCDR] => 1
)
[2025-01-09 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:02:05' and `end` < '2025-01-09 16:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:02:11] Production.ERROR: CronJobId end10
[2025-01-09 16:02:11] Production.INFO: ==11158== Releasing lock...
[2025-01-09 16:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:02:13] Production.INFO: call_cost start
[2025-01-09 16:02:13] Production.INFO: call_cost end
[2025-01-09 16:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:02:14] Production.INFO: ==11154== Releasing lock...
[2025-01-09 16:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:02:26] Production.INFO: count ==4383
[2025-01-09 16:02:28] Production.ERROR: pbx CDR StartTime 2025-01-09 13:02:05 - End Time 2025-01-09 16:02:05
[2025-01-09 16:02:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210669', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210669', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210669', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:02:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210669', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:02:28] Production.INFO: ProcessCDR(1,14210669,1,1,2)
[2025-01-09 16:02:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:02:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210669,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:02:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:02:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210669,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210669', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:02:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210669', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:02:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:02:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:02:33] Production.INFO: ==11162== Releasing lock...
[2025-01-09 16:02:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:02:33] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 21:03:01] Production.INFO: ==11218== Lock acquired, processing the job...
[2025-01-09 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:03:01] Production.INFO: neon service started
[2025-01-09 21:03:01] Production.INFO: neon service started
[2025-01-09 21:03:01] Production.INFO: ==11218== Releasing lock...
[2025-01-09 21:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:03:01] Production.INFO: ==11220== Lock acquired, processing the job...
[2025-01-09 16:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:03:02] Production.INFO: ==11222== Lock acquired, processing the job...
[2025-01-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:03:02] Production.INFO: ==11220== Releasing lock...
[2025-01-09 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:03:02] Production.INFO: ==11222== Releasing lock...
[2025-01-09 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:03:03] Production.INFO: ==11226== Lock acquired, processing the job...
[2025-01-09 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:03:03] Production.INFO: ==11224== Lock acquired, processing the job...
[2025-01-09 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:03:03] Production.INFO: ==11228== Lock acquired, processing the job...
[2025-01-09 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:03:03] Production.INFO: ==11230== Lock acquired, processing the job...
[2025-01-09 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:03:03] Production.INFO: ==11232== Lock acquired, processing the job...
[2025-01-09 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:03:03] Production.INFO: Account Balance Start.
[2025-01-09 16:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:03:03] Production.INFO: 117
[2025-01-09 16:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:03:03] Production.INFO: ==11234== Lock acquired, processing the job...
[2025-01-09 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:03:03] Production.INFO: Total Charge 0
[2025-01-09 16:03:03] Production.INFO: CreateAllLog End
[2025-01-09 16:03:03] Production.INFO: ==11226== Releasing lock...
[2025-01-09 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:03:03] Production.INFO: count ==21
[2025-01-09 16:03:03] Production.ERROR: done
[2025-01-09 16:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:03:03] Production.INFO: Account Balance End.
[2025-01-09 16:03:03] Production.INFO: count ==21
[2025-01-09 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210673') start
[2025-01-09 16:03:03] Production.ERROR: done
[2025-01-09 16:03:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:03:03] Production.INFO: ==11230== Releasing lock...
[2025-01-09 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210673') end
[2025-01-09 16:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:03:03] Production.INFO: 1
[2025-01-09 16:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:03:03] Production.INFO: ==11234== Releasing lock...
[2025-01-09 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:03:04
[end_date_ymd] => 2025-01-09 16:03:04
[RateCDR] => 1
)
[2025-01-09 16:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:03:04' and `end` < '2025-01-09 16:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:03:11] Production.ERROR: CronJobId end10
[2025-01-09 16:03:11] Production.INFO: ==11228== Releasing lock...
[2025-01-09 16:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:03:13] Production.INFO: call_cost start
[2025-01-09 16:03:13] Production.INFO: call_cost end
[2025-01-09 16:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:03:14] Production.INFO: ==11224== Releasing lock...
[2025-01-09 16:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:03:31] Production.INFO: count ==4367
[2025-01-09 16:03:32] Production.ERROR: pbx CDR StartTime 2025-01-09 13:03:04 - End Time 2025-01-09 16:03:04
[2025-01-09 16:03:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:03:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210674', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:03:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210674', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:03:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210674', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:03:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210674', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:03:33] Production.INFO: ProcessCDR(1,14210674,1,1,2)
[2025-01-09 16:03:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:03:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210674,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:03:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:03:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210674,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:03:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210674', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:03:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210674', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:03:37] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:03:37] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:03:37] Production.INFO: ==11232== Releasing lock...
[2025-01-09 16:03:37] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:03:37] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 21:04:02] Production.INFO: ==11288== Lock acquired, processing the job...
[2025-01-09 21:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:04:02] Production.INFO: neon service started
[2025-01-09 21:04:02] Production.INFO: neon service started
[2025-01-09 21:04:02] Production.INFO: ==11288== Releasing lock...
[2025-01-09 21:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:04:02] Production.INFO: ==11292== Lock acquired, processing the job...
[2025-01-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:04:02] Production.INFO: ==11292== Releasing lock...
[2025-01-09 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:04:02] Production.INFO: ==11290== Lock acquired, processing the job...
[2025-01-09 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:04:03] Production.INFO: ==11290== Releasing lock...
[2025-01-09 16:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:04:03] Production.INFO: ==11299== Lock acquired, processing the job...
[2025-01-09 16:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:04:03] Production.INFO: ==11295== Lock acquired, processing the job...
[2025-01-09 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:04:03] Production.INFO: ==11303== Lock acquired, processing the job...
[2025-01-09 16:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:04:03] Production.INFO: ==11297== Lock acquired, processing the job...
[2025-01-09 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:04:03] Production.INFO: ==11301== Lock acquired, processing the job...
[2025-01-09 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:04:04] Production.INFO: ==11305== Lock acquired, processing the job...
[2025-01-09 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:04:04] Production.INFO: Account Balance Start.
[2025-01-09 16:04:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:04:04] Production.INFO: 117
[2025-01-09 16:04:04] Production.ERROR: done
[2025-01-09 16:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:04:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:04:04] Production.INFO: count ==21
[2025-01-09 16:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:04:04] Production.INFO: count ==21
[2025-01-09 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210678') start
[2025-01-09 16:04:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:04:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:04:04] Production.INFO: Total Charge 0
[2025-01-09 16:04:04] Production.ERROR: done
[2025-01-09 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210678') end
[2025-01-09 16:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:04:04] Production.INFO: 1
[2025-01-09 16:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:04:04] Production.INFO: CreateAllLog End
[2025-01-09 16:04:04] Production.INFO: ==11305== Releasing lock...
[2025-01-09 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:04:04] Production.INFO: ==11297== Releasing lock...
[2025-01-09 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:04:04] Production.INFO: Account Balance End.
[2025-01-09 16:04:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:04:04] Production.INFO: ==11301== Releasing lock...
[2025-01-09 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:04:05
[end_date_ymd] => 2025-01-09 16:04:05
[RateCDR] => 1
)
[2025-01-09 16:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:04:05' and `end` < '2025-01-09 16:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:04:12] Production.ERROR: CronJobId end10
[2025-01-09 16:04:12] Production.INFO: ==11299== Releasing lock...
[2025-01-09 16:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:04:13] Production.INFO: call_cost start
[2025-01-09 16:04:13] Production.INFO: call_cost end
[2025-01-09 16:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:04:14] Production.INFO: ==11295== Releasing lock...
[2025-01-09 16:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:04:23] Production.INFO: count ==4353
[2025-01-09 16:04:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:04:05 - End Time 2025-01-09 16:04:05
[2025-01-09 16:04:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:04:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210679', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210679', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210679', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:04:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210679', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:04:26] Production.INFO: ProcessCDR(1,14210679,1,1,2)
[2025-01-09 16:04:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:04:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210679,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:04:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:04:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210679,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210679', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:04:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210679', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:04:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:04:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:04:30] Production.INFO: ==11303== Releasing lock...
[2025-01-09 16:04:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:04:30] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:05:01] Production.INFO: ==11358== Lock acquired, processing the job...
[2025-01-09 21:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:05:01] Production.INFO: neon service started
[2025-01-09 21:05:01] Production.INFO: neon service started
[2025-01-09 21:05:01] Production.INFO: ==11358== Releasing lock...
[2025-01-09 21:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:05:01] Production.INFO: ==11360== Lock acquired, processing the job...
[2025-01-09 16:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:05:02] Production.INFO: ==11362== Lock acquired, processing the job...
[2025-01-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:05:02] Production.INFO: ==11362== Releasing lock...
[2025-01-09 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:05:02] Production.INFO: ==11360== Releasing lock...
[2025-01-09 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:05:03] Production.INFO: ==11365== Lock acquired, processing the job...
[2025-01-09 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:05:03] Production.INFO: ==11367== Lock acquired, processing the job...
[2025-01-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:05:03] Production.INFO: ==11375== Lock acquired, processing the job...
[2025-01-09 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:05:03] Production.INFO: ==11369== Lock acquired, processing the job...
[2025-01-09 16:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:05:03] Production.INFO: ==11371== Lock acquired, processing the job...
[2025-01-09 16:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:05:03] Production.INFO: ==11367== Releasing lock...
[2025-01-09 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:05:03] Production.INFO: ==11373== Lock acquired, processing the job...
[2025-01-09 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:05:03] Production.INFO: count ==21
[2025-01-09 16:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:05:03] Production.INFO: count ==21
[2025-01-09 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210682') start
[2025-01-09 16:05:03] Production.INFO: Account Balance Start.
[2025-01-09 16:05:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:05:03] Production.INFO: 117
[2025-01-09 16:05:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210682') end
[2025-01-09 16:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:05:03] Production.INFO: 1
[2025-01-09 16:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:05:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:05:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:05:03] Production.INFO: Total Charge 0
[2025-01-09 16:05:03] Production.INFO: CreateAllLog End
[2025-01-09 16:05:03] Production.INFO: ==11375== Releasing lock...
[2025-01-09 16:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:05:03] Production.ERROR: done
[2025-01-09 16:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:05:03] Production.ERROR: done
[2025-01-09 16:05:03] Production.INFO: Account Balance End.
[2025-01-09 16:05:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:05:04] Production.INFO: ==11371== Releasing lock...
[2025-01-09 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:05:04
[end_date_ymd] => 2025-01-09 16:05:04
[RateCDR] => 1
)
[2025-01-09 16:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:05:04' and `end` < '2025-01-09 16:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:05:11] Production.ERROR: CronJobId end10
[2025-01-09 16:05:11] Production.INFO: ==11369== Releasing lock...
[2025-01-09 16:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:05:13] Production.INFO: call_cost start
[2025-01-09 16:05:13] Production.INFO: call_cost end
[2025-01-09 16:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:05:13] Production.INFO: ==11365== Releasing lock...
[2025-01-09 16:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:05:21] Production.INFO: count ==4330
[2025-01-09 16:05:23] Production.ERROR: pbx CDR StartTime 2025-01-09 13:05:04 - End Time 2025-01-09 16:05:04
[2025-01-09 16:05:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210684', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210684', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210684', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:05:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210684', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:05:23] Production.INFO: ProcessCDR(1,14210684,1,1,2)
[2025-01-09 16:05:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:05:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210684,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:05:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:05:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210684,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210684', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:05:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210684', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:05:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:05:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:05:28] Production.INFO: ==11373== Releasing lock...
[2025-01-09 16:05:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:05:28] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:06:02] Production.INFO: ==11430== Lock acquired, processing the job...
[2025-01-09 21:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:06:02] Production.INFO: neon service started
[2025-01-09 21:06:02] Production.INFO: neon service started
[2025-01-09 21:06:02] Production.INFO: ==11430== Releasing lock...
[2025-01-09 21:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:06:02] Production.INFO: ==11432== Lock acquired, processing the job...
[2025-01-09 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:06:02] Production.INFO: ==11434== Lock acquired, processing the job...
[2025-01-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:06:02] Production.INFO: ==11434== Releasing lock...
[2025-01-09 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:06:03] Production.INFO: ==11432== Releasing lock...
[2025-01-09 16:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:06:03] Production.INFO: ==11437== Lock acquired, processing the job...
[2025-01-09 16:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:06:03] Production.INFO: ==11445== Lock acquired, processing the job...
[2025-01-09 16:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:06:04] Production.INFO: ==11439== Lock acquired, processing the job...
[2025-01-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:06:04] Production.INFO: ==11441== Lock acquired, processing the job...
[2025-01-09 16:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:06:04] Production.INFO: ==11443== Lock acquired, processing the job...
[2025-01-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:06:04] Production.INFO: ==11447== Lock acquired, processing the job...
[2025-01-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:06:04] Production.ERROR: done
[2025-01-09 16:06:04] Production.INFO: Account Balance Start.
[2025-01-09 16:06:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:06:04] Production.INFO: 117
[2025-01-09 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:06:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:06:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:06:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:06:04] Production.INFO: Total Charge 0
[2025-01-09 16:06:04] Production.INFO: count ==21
[2025-01-09 16:06:04] Production.INFO: CreateAllLog End
[2025-01-09 16:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:06:04] Production.INFO: count ==21
[2025-01-09 16:06:04] Production.ERROR: done
[2025-01-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210688') start
[2025-01-09 16:06:04] Production.INFO: ==11439== Releasing lock...
[2025-01-09 16:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:06:04] Production.INFO: Account Balance End.
[2025-01-09 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210688') end
[2025-01-09 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:06:04] Production.INFO: 1
[2025-01-09 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:06:04] Production.INFO: ==11447== Releasing lock...
[2025-01-09 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:06:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:06:04] Production.INFO: ==11443== Releasing lock...
[2025-01-09 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:06:05
[end_date_ymd] => 2025-01-09 16:06:05
[RateCDR] => 1
)
[2025-01-09 16:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:06:05' and `end` < '2025-01-09 16:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:06:12] Production.ERROR: CronJobId end10
[2025-01-09 16:06:12] Production.INFO: ==11441== Releasing lock...
[2025-01-09 16:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:06:13] Production.INFO: call_cost start
[2025-01-09 16:06:13] Production.INFO: call_cost end
[2025-01-09 16:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:06:13] Production.INFO: ==11437== Releasing lock...
[2025-01-09 16:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:06:24] Production.INFO: count ==4316
[2025-01-09 16:06:26] Production.ERROR: pbx CDR StartTime 2025-01-09 13:06:05 - End Time 2025-01-09 16:06:05
[2025-01-09 16:06:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210689', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210689', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210689', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:06:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210689', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:06:26] Production.INFO: ProcessCDR(1,14210689,1,1,2)
[2025-01-09 16:06:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:06:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210689,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:06:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:06:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210689,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210689', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:06:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210689', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:06:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:06:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:06:31] Production.INFO: ==11445== Releasing lock...
[2025-01-09 16:06:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:06:31] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:07:01] Production.INFO: ==11503== Lock acquired, processing the job...
[2025-01-09 21:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:07:01] Production.INFO: neon service started
[2025-01-09 21:07:01] Production.INFO: neon service started
[2025-01-09 21:07:01] Production.INFO: ==11503== Releasing lock...
[2025-01-09 21:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:07:01] Production.INFO: ==11505== Lock acquired, processing the job...
[2025-01-09 16:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:07:02] Production.INFO: ==11505== Releasing lock...
[2025-01-09 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:07:02] Production.INFO: ==11507== Lock acquired, processing the job...
[2025-01-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:07:02] Production.INFO: ==11507== Releasing lock...
[2025-01-09 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:07:03] Production.INFO: ==11509== Lock acquired, processing the job...
[2025-01-09 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:07:03] Production.INFO: ==11515== Lock acquired, processing the job...
[2025-01-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:07:03] Production.INFO: ==11513== Lock acquired, processing the job...
[2025-01-09 16:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:07:03] Production.INFO: ==11511== Lock acquired, processing the job...
[2025-01-09 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:07:03] Production.INFO: Account Balance Start.
[2025-01-09 16:07:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:07:03] Production.INFO: 117
[2025-01-09 16:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:07:03] Production.INFO: ==11517== Lock acquired, processing the job...
[2025-01-09 16:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:07:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:07:03] Production.INFO: ==11519== Lock acquired, processing the job...
[2025-01-09 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:07:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:07:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:07:03] Production.INFO: Total Charge 0
[2025-01-09 16:07:03] Production.INFO: CreateAllLog End
[2025-01-09 16:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:07:03] Production.INFO: count ==21
[2025-01-09 16:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:07:03] Production.INFO: count ==21
[2025-01-09 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210693') start
[2025-01-09 16:07:03] Production.ERROR: done
[2025-01-09 16:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:07:03] Production.INFO: Account Balance End.
[2025-01-09 16:07:03] Production.INFO: ==11511== Releasing lock...
[2025-01-09 16:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210693') end
[2025-01-09 16:07:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:07:03] Production.INFO: 1
[2025-01-09 16:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:07:03] Production.INFO: ==11515== Releasing lock...
[2025-01-09 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:07:03] Production.INFO: ==11519== Releasing lock...
[2025-01-09 16:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:07:03] Production.ERROR: done
[2025-01-09 16:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:07:04
[end_date_ymd] => 2025-01-09 16:07:04
[RateCDR] => 1
)
[2025-01-09 16:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:07:04' and `end` < '2025-01-09 16:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:07:10] Production.ERROR: CronJobId end10
[2025-01-09 16:07:10] Production.INFO: ==11513== Releasing lock...
[2025-01-09 16:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:07:13] Production.INFO: call_cost start
[2025-01-09 16:07:13] Production.INFO: call_cost end
[2025-01-09 16:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:07:14] Production.INFO: ==11509== Releasing lock...
[2025-01-09 16:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:07:23] Production.INFO: count ==4310
[2025-01-09 16:07:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:07:04 - End Time 2025-01-09 16:07:04
[2025-01-09 16:07:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210694', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210694', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210694', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:07:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210694', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:07:25] Production.INFO: ProcessCDR(1,14210694,1,1,2)
[2025-01-09 16:07:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:07:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210694,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:07:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:07:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210694,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:07:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210694', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:07:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210694', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:07:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:07:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:07:29] Production.INFO: ==11517== Releasing lock...
[2025-01-09 16:07:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:07:29] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:08:02] Production.INFO: ==11575== Lock acquired, processing the job...
[2025-01-09 21:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:08:02] Production.INFO: neon service started
[2025-01-09 21:08:02] Production.INFO: neon service started
[2025-01-09 21:08:02] Production.INFO: ==11575== Releasing lock...
[2025-01-09 21:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:08:02] Production.INFO: ==11577== Lock acquired, processing the job...
[2025-01-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:08:02] Production.INFO: ==11579== Lock acquired, processing the job...
[2025-01-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:08:02] Production.INFO: ==11577== Releasing lock...
[2025-01-09 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:08:02] Production.INFO: ==11579== Releasing lock...
[2025-01-09 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:08:03] Production.INFO: ==11584== Lock acquired, processing the job...
[2025-01-09 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:08:03] Production.INFO: ==11582== Lock acquired, processing the job...
[2025-01-09 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:08:03] Production.INFO: ==11584== Releasing lock...
[2025-01-09 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:08:03] Production.INFO: ==11586== Lock acquired, processing the job...
[2025-01-09 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:08:04] Production.INFO: ==11588== Lock acquired, processing the job...
[2025-01-09 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:08:04] Production.INFO: ==11590== Lock acquired, processing the job...
[2025-01-09 16:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:08:04] Production.INFO: ==11592== Lock acquired, processing the job...
[2025-01-09 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:08:04] Production.INFO: Account Balance Start.
[2025-01-09 16:08:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:08:04] Production.INFO: 117
[2025-01-09 16:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:08:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:08:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:08:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:08:04] Production.INFO: Total Charge 0
[2025-01-09 16:08:04] Production.INFO: CreateAllLog End
[2025-01-09 16:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:08:04] Production.INFO: count ==21
[2025-01-09 16:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:08:04] Production.INFO: count ==21
[2025-01-09 16:08:04] Production.INFO: Account Balance End.
[2025-01-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210698') start
[2025-01-09 16:08:04] Production.ERROR: done
[2025-01-09 16:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:08:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:08:04] Production.INFO: ==11588== Releasing lock...
[2025-01-09 16:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:08:04] Production.ERROR: done
[2025-01-09 16:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210698') end
[2025-01-09 16:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:08:04] Production.INFO: 1
[2025-01-09 16:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:08:04] Production.INFO: ==11592== Releasing lock...
[2025-01-09 16:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:08:05
[end_date_ymd] => 2025-01-09 16:08:05
[RateCDR] => 1
)
[2025-01-09 16:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:08:05' and `end` < '2025-01-09 16:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:08:12] Production.ERROR: CronJobId end10
[2025-01-09 16:08:12] Production.INFO: ==11586== Releasing lock...
[2025-01-09 16:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:08:13] Production.INFO: call_cost start
[2025-01-09 16:08:13] Production.INFO: call_cost end
[2025-01-09 16:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:08:14] Production.INFO: ==11582== Releasing lock...
[2025-01-09 16:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:08:21] Production.INFO: count ==4310
[2025-01-09 16:08:23] Production.ERROR: pbx CDR StartTime 2025-01-09 13:08:05 - End Time 2025-01-09 16:08:05
[2025-01-09 16:08:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210699', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210699', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210699', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:08:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210699', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:08:23] Production.INFO: ProcessCDR(1,14210699,1,1,2)
[2025-01-09 16:08:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:08:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210699,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:08:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:08:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210699,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210699', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:08:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210699', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:08:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:08:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:08:28] Production.INFO: ==11590== Releasing lock...
[2025-01-09 16:08:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:08:28] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:09:01] Production.INFO: ==11646== Lock acquired, processing the job...
[2025-01-09 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:09:01] Production.INFO: neon service started
[2025-01-09 21:09:01] Production.INFO: neon service started
[2025-01-09 21:09:01] Production.INFO: ==11646== Releasing lock...
[2025-01-09 21:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:09:01] Production.INFO: ==11648== Lock acquired, processing the job...
[2025-01-09 16:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:09:02] Production.INFO: ==11650== Lock acquired, processing the job...
[2025-01-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:09:02] Production.INFO: ==11648== Releasing lock...
[2025-01-09 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:09:02] Production.INFO: ==11650== Releasing lock...
[2025-01-09 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:09:02] Production.INFO: ==11653== Lock acquired, processing the job...
[2025-01-09 16:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:09:03] Production.INFO: ==11663== Lock acquired, processing the job...
[2025-01-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:09:03] Production.INFO: ==11655== Lock acquired, processing the job...
[2025-01-09 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:09:03] Production.INFO: ==11657== Lock acquired, processing the job...
[2025-01-09 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:09:03] Production.INFO: ==11659== Lock acquired, processing the job...
[2025-01-09 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:09:03] Production.INFO: ==11661== Lock acquired, processing the job...
[2025-01-09 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:09:03] Production.INFO: Account Balance Start.
[2025-01-09 16:09:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:09:03] Production.INFO: 117
[2025-01-09 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:09:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:09:03] Production.INFO: count ==21
[2025-01-09 16:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:09:03] Production.INFO: count ==21
[2025-01-09 16:09:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210701') start
[2025-01-09 16:09:03] Production.INFO: Total Charge 0
[2025-01-09 16:09:03] Production.INFO: CreateAllLog End
[2025-01-09 16:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210701') end
[2025-01-09 16:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:09:03] Production.INFO: 1
[2025-01-09 16:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:09:03] Production.INFO: ==11655== Releasing lock...
[2025-01-09 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:09:03] Production.ERROR: done
[2025-01-09 16:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:09:03] Production.INFO: ==11663== Releasing lock...
[2025-01-09 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:09:03] Production.INFO: Account Balance End.
[2025-01-09 16:09:03] Production.ERROR: done
[2025-01-09 16:09:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:09:03] Production.INFO: ==11659== Releasing lock...
[2025-01-09 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:09:04
[end_date_ymd] => 2025-01-09 16:09:04
[RateCDR] => 1
)
[2025-01-09 16:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:09:04' and `end` < '2025-01-09 16:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:09:11] Production.ERROR: CronJobId end10
[2025-01-09 16:09:11] Production.INFO: ==11657== Releasing lock...
[2025-01-09 16:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:09:13] Production.INFO: call_cost start
[2025-01-09 16:09:13] Production.INFO: call_cost end
[2025-01-09 16:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:09:14] Production.INFO: ==11653== Releasing lock...
[2025-01-09 16:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:09:19] Production.INFO: count ==4317
[2025-01-09 16:09:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:09:04 - End Time 2025-01-09 16:09:04
[2025-01-09 16:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210704', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210704', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210704', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210704', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:09:21] Production.INFO: ProcessCDR(1,14210704,1,1,2)
[2025-01-09 16:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:09:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210704,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:09:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:09:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210704,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210704', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:09:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210704', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:09:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:09:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:09:26] Production.INFO: ==11661== Releasing lock...
[2025-01-09 16:09:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:09:26] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:10:01] Production.INFO: ==11724== Lock acquired, processing the job...
[2025-01-09 21:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:10:01] Production.INFO: neon service started
[2025-01-09 21:10:01] Production.INFO: neon service started
[2025-01-09 21:10:01] Production.INFO: ==11724== Releasing lock...
[2025-01-09 21:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:10:02] Production.INFO: ==11730== Lock acquired, processing the job...
[2025-01-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:10:02] Production.INFO: ==11730== Releasing lock...
[2025-01-09 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:10:02] Production.INFO: ==11728== Lock acquired, processing the job...
[2025-01-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:10:02] Production.INFO: ==11728== Releasing lock...
[2025-01-09 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:10:03] Production.INFO: ==11733== Lock acquired, processing the job...
[2025-01-09 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 16:10:03] Production.INFO: ==11739== Lock acquired, processing the job...
[2025-01-09 16:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:10:03] Production.INFO: ==11741== Lock acquired, processing the job...
[2025-01-09 16:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 16:10:04] Production.ERROR: CronJob PID - 11739
[2025-01-09 16:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-09 16:10:04] Production.ERROR: CronJob ID - 10
[2025-01-09 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 16:10:00
[2025-01-09 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 16:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 16:10:04] Production.ERROR: CronJob PID - 11741
[2025-01-09 16:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 16:10:04] Production.ERROR: CronJob ID - 12
[2025-01-09 16:10:04] Production.ERROR: CronJob Last Run Time 2025-01-09 16:10:00
[2025-01-09 16:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 16:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 16:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 16:10:04] Production.INFO: ==11735== Lock acquired, processing the job...
[2025-01-09 16:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:10:04] Production.INFO: ==11733== Releasing lock...
[2025-01-09 16:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 16:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 16:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:10:04] Production.INFO: ==11737== Lock acquired, processing the job...
[2025-01-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:10:04] Production.INFO: ==11745== Lock acquired, processing the job...
[2025-01-09 16:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 16:10:04] Production.INFO: Account Balance Start.
[2025-01-09 16:10:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:10:04] Production.INFO: 117
[2025-01-09 16:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:10:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:10:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:10:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:10:04] Production.INFO: ==11743== Lock acquired, processing the job...
[2025-01-09 16:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:10:04] Production.INFO: Total Charge 0
[2025-01-09 16:10:04] Production.INFO: ==11747== Lock acquired, processing the job...
[2025-01-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:10:04] Production.INFO: CreateAllLog End
[2025-01-09 16:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:10:04] Production.INFO: ==11737== Releasing lock...
[2025-01-09 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:10:04] Production.ERROR: done
[2025-01-09 16:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:10:04] Production.INFO: count ==21
[2025-01-09 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:10:04] Production.INFO: count ==21
[2025-01-09 16:10:04] Production.INFO: Account Balance End.
[2025-01-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210708') start
[2025-01-09 16:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 16:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210709', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 16:10:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:10:04] Production.INFO: ==11741== Releasing lock...
[2025-01-09 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:10:04] Production.ERROR: done
[2025-01-09 16:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210708') end
[2025-01-09 16:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:10:04] Production.INFO: 1
[2025-01-09 16:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:10:04] Production.INFO: ==11747== Releasing lock...
[2025-01-09 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:10:04] Production.ERROR: done
[2025-01-09 16:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:10:06
[end_date_ymd] => 2025-01-09 16:10:06
[RateCDR] => 1
)
[2025-01-09 16:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:10:06' and `end` < '2025-01-09 16:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210709', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 16:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 16:10:08] Production.INFO: ProcessCDR(1,14210709,1,1,2)
[2025-01-09 16:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210709,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210709,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:10:09] Production.INFO: ==11745== Releasing lock...
[2025-01-09 16:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 16:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:10:14] Production.ERROR: CronJobId end10
[2025-01-09 16:10:14] Production.INFO: ==11739== Releasing lock...
[2025-01-09 16:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:10:16] Production.INFO: call_cost start
[2025-01-09 16:10:16] Production.INFO: call_cost end
[2025-01-09 16:10:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:10:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:10:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:10:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:10:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:10:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:10:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:10:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:10:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:10:17] Production.INFO: ==11735== Releasing lock...
[2025-01-09 16:10:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:10:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:10:26] Production.INFO: count ==4294
[2025-01-09 16:10:28] Production.ERROR: pbx CDR StartTime 2025-01-09 13:10:06 - End Time 2025-01-09 16:10:06
[2025-01-09 16:10:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210710', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210710', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210710', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:10:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210710', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:10:28] Production.INFO: ProcessCDR(1,14210710,1,1,2)
[2025-01-09 16:10:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:10:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210710,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:10:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:10:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210710,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210710', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:10:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210710', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:10:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:10:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:10:31] Production.INFO: ==11743== Releasing lock...
[2025-01-09 16:10:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:10:31] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:11:02] Production.INFO: ==11871== Lock acquired, processing the job...
[2025-01-09 21:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:11:02] Production.INFO: neon service started
[2025-01-09 21:11:02] Production.INFO: neon service started
[2025-01-09 21:11:02] Production.INFO: ==11871== Releasing lock...
[2025-01-09 21:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:11:02] Production.INFO: ==11873== Lock acquired, processing the job...
[2025-01-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:11:02] Production.INFO: ==11875== Lock acquired, processing the job...
[2025-01-09 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:11:02] Production.INFO: ==11873== Releasing lock...
[2025-01-09 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:11:03] Production.INFO: ==11875== Releasing lock...
[2025-01-09 21:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:11:03] Production.INFO: ==11880== Lock acquired, processing the job...
[2025-01-09 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:11:03] Production.INFO: ==11884== Lock acquired, processing the job...
[2025-01-09 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:11:04] Production.INFO: ==11878== Lock acquired, processing the job...
[2025-01-09 16:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:11:04] Production.INFO: Account Balance Start.
[2025-01-09 16:11:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:11:04] Production.INFO: 117
[2025-01-09 16:11:04] Production.INFO: ==11880== Releasing lock...
[2025-01-09 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:11:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:11:04] Production.INFO: ==11882== Lock acquired, processing the job...
[2025-01-09 16:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:11:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:11:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:11:04] Production.INFO: ==11886== Lock acquired, processing the job...
[2025-01-09 16:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:11:04] Production.INFO: Total Charge 0
[2025-01-09 16:11:04] Production.INFO: CreateAllLog End
[2025-01-09 16:11:04] Production.INFO: ==11888== Lock acquired, processing the job...
[2025-01-09 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:11:04] Production.INFO: count ==21
[2025-01-09 16:11:04] Production.INFO: Account Balance End.
[2025-01-09 16:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:11:04] Production.INFO: count ==21
[2025-01-09 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210714') start
[2025-01-09 16:11:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:11:04] Production.INFO: ==11884== Releasing lock...
[2025-01-09 16:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:11:04] Production.ERROR: done
[2025-01-09 16:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210714') end
[2025-01-09 16:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:11:04] Production.INFO: 1
[2025-01-09 16:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:11:04] Production.INFO: ==11888== Releasing lock...
[2025-01-09 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:11:04] Production.ERROR: done
[2025-01-09 16:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:11:05
[end_date_ymd] => 2025-01-09 16:11:05
[RateCDR] => 1
)
[2025-01-09 16:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:11:05' and `end` < '2025-01-09 16:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:11:12] Production.ERROR: CronJobId end10
[2025-01-09 16:11:12] Production.INFO: ==11882== Releasing lock...
[2025-01-09 16:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:11:13] Production.INFO: call_cost start
[2025-01-09 16:11:13] Production.INFO: call_cost end
[2025-01-09 16:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:11:14] Production.INFO: ==11878== Releasing lock...
[2025-01-09 16:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:11:32] Production.INFO: count ==4363
[2025-01-09 16:11:33] Production.ERROR: pbx CDR StartTime 2025-01-09 13:11:05 - End Time 2025-01-09 16:11:05
[2025-01-09 16:11:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:11:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210715', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:11:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210715', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:11:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210715', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:11:34] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210715', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:11:34] Production.INFO: ProcessCDR(1,14210715,1,1,2)
[2025-01-09 16:11:34] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:11:36] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210715,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:11:36] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:11:38] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210715,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:11:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210715', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:11:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210715', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:11:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:11:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:11:38] Production.INFO: ==11886== Releasing lock...
[2025-01-09 16:11:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:11:38] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 21:12:01] Production.INFO: ==11973== Lock acquired, processing the job...
[2025-01-09 21:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:12:01] Production.INFO: neon service started
[2025-01-09 21:12:01] Production.INFO: neon service started
[2025-01-09 21:12:01] Production.INFO: ==11973== Releasing lock...
[2025-01-09 21:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:12:02] Production.INFO: ==11975== Lock acquired, processing the job...
[2025-01-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:12:02] Production.INFO: ==11975== Releasing lock...
[2025-01-09 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:12:02] Production.INFO: ==11977== Lock acquired, processing the job...
[2025-01-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:12:02] Production.INFO: ==11977== Releasing lock...
[2025-01-09 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:12:02] Production.INFO: ==11981== Lock acquired, processing the job...
[2025-01-09 16:12:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:12:03] Production.INFO: ==11979== Lock acquired, processing the job...
[2025-01-09 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:12:03] Production.INFO: ==11981== Releasing lock...
[2025-01-09 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:12:03] Production.INFO: ==11983== Lock acquired, processing the job...
[2025-01-09 16:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:12:03] Production.INFO: ==11987== Lock acquired, processing the job...
[2025-01-09 16:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:12:03] Production.INFO: ==11985== Lock acquired, processing the job...
[2025-01-09 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:12:03] Production.INFO: ==11989== Lock acquired, processing the job...
[2025-01-09 16:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:12:03] Production.INFO: Account Balance Start.
[2025-01-09 16:12:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:12:03] Production.INFO: 117
[2025-01-09 16:12:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:12:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:12:03] Production.INFO: count ==21
[2025-01-09 16:12:03] Production.ERROR: done
[2025-01-09 16:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:12:03] Production.INFO: count ==21
[2025-01-09 16:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210719') start
[2025-01-09 16:12:04] Production.INFO: Total Charge 0
[2025-01-09 16:12:04] Production.INFO: CreateAllLog End
[2025-01-09 16:12:04] Production.ERROR: done
[2025-01-09 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210719') end
[2025-01-09 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:12:04] Production.INFO: 1
[2025-01-09 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:12:04] Production.INFO: Account Balance End.
[2025-01-09 16:12:04] Production.INFO: ==11989== Releasing lock...
[2025-01-09 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:12:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:12:04] Production.INFO: ==11985== Releasing lock...
[2025-01-09 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:12:05
[end_date_ymd] => 2025-01-09 16:12:05
[RateCDR] => 1
)
[2025-01-09 16:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:12:05' and `end` < '2025-01-09 16:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:12:11] Production.ERROR: CronJobId end10
[2025-01-09 16:12:11] Production.INFO: ==11983== Releasing lock...
[2025-01-09 16:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:12:13] Production.INFO: call_cost start
[2025-01-09 16:12:13] Production.INFO: call_cost end
[2025-01-09 16:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:12:14] Production.INFO: ==11979== Releasing lock...
[2025-01-09 16:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:12:37] Production.INFO: count ==4340
[2025-01-09 16:12:39] Production.ERROR: pbx CDR StartTime 2025-01-09 13:12:05 - End Time 2025-01-09 16:12:05
[2025-01-09 16:12:39] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:12:39] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210720', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:12:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210720', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:12:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210720', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:12:40] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210720', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:12:40] Production.INFO: ProcessCDR(1,14210720,1,1,2)
[2025-01-09 16:12:40] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:12:42] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210720,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:12:42] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:12:44] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210720,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:12:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210720', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:12:44] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210720', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:12:44] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:12:44] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:12:44] Production.INFO: ==11987== Releasing lock...
[2025-01-09 16:12:44] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:12:44] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:13:02] Production.INFO: ==12059== Lock acquired, processing the job...
[2025-01-09 21:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:13:02] Production.INFO: neon service started
[2025-01-09 21:13:02] Production.INFO: neon service started
[2025-01-09 21:13:02] Production.INFO: ==12059== Releasing lock...
[2025-01-09 21:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:13:02] Production.INFO: ==12063== Lock acquired, processing the job...
[2025-01-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:13:02] Production.INFO: ==12063== Releasing lock...
[2025-01-09 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:13:02] Production.INFO: ==12061== Lock acquired, processing the job...
[2025-01-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:13:02] Production.INFO: ==12061== Releasing lock...
[2025-01-09 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:13:03] Production.INFO: ==12067== Lock acquired, processing the job...
[2025-01-09 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:13:03] Production.INFO: ==12069== Lock acquired, processing the job...
[2025-01-09 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:13:03] Production.INFO: ==12071== Lock acquired, processing the job...
[2025-01-09 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:13:03] Production.INFO: ==12065== Lock acquired, processing the job...
[2025-01-09 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:13:03] Production.INFO: Account Balance Start.
[2025-01-09 16:13:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:13:03] Production.INFO: 117
[2025-01-09 16:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:13:03] Production.INFO: ==12067== Releasing lock...
[2025-01-09 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:13:03] Production.INFO: ==12073== Lock acquired, processing the job...
[2025-01-09 16:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:13:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:13:04] Production.INFO: ==12075== Lock acquired, processing the job...
[2025-01-09 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:13:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:13:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:13:04] Production.INFO: Total Charge 0
[2025-01-09 16:13:04] Production.INFO: CreateAllLog End
[2025-01-09 16:13:04] Production.INFO: count ==21
[2025-01-09 16:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:13:04] Production.INFO: count ==21
[2025-01-09 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210724') start
[2025-01-09 16:13:04] Production.ERROR: done
[2025-01-09 16:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:13:04] Production.ERROR: done
[2025-01-09 16:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210724') end
[2025-01-09 16:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:13:04] Production.INFO: 1
[2025-01-09 16:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:13:04] Production.INFO: Account Balance End.
[2025-01-09 16:13:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:13:04] Production.INFO: ==12071== Releasing lock...
[2025-01-09 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:13:04] Production.INFO: ==12075== Releasing lock...
[2025-01-09 16:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:13:05
[end_date_ymd] => 2025-01-09 16:13:05
[RateCDR] => 1
)
[2025-01-09 16:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:13:05' and `end` < '2025-01-09 16:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:13:11] Production.ERROR: CronJobId end10
[2025-01-09 16:13:11] Production.INFO: ==12069== Releasing lock...
[2025-01-09 16:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:13:14] Production.INFO: call_cost start
[2025-01-09 16:13:14] Production.INFO: call_cost end
[2025-01-09 16:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:13:14] Production.INFO: ==12065== Releasing lock...
[2025-01-09 16:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:13:27] Production.INFO: count ==4337
[2025-01-09 16:13:28] Production.ERROR: pbx CDR StartTime 2025-01-09 13:13:05 - End Time 2025-01-09 16:13:05
[2025-01-09 16:13:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:13:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210725', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210725', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210725', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:13:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210725', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:13:29] Production.INFO: ProcessCDR(1,14210725,1,1,2)
[2025-01-09 16:13:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:13:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210725,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:13:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:13:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210725,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:13:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210725', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:13:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210725', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:13:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:13:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:13:33] Production.INFO: ==12073== Releasing lock...
[2025-01-09 16:13:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:13:33] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:14:01] Production.INFO: ==12128== Lock acquired, processing the job...
[2025-01-09 21:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:14:01] Production.INFO: neon service started
[2025-01-09 21:14:01] Production.INFO: neon service started
[2025-01-09 21:14:01] Production.INFO: ==12128== Releasing lock...
[2025-01-09 21:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:14:02] Production.INFO: ==12130== Lock acquired, processing the job...
[2025-01-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:14:02] Production.INFO: ==12132== Lock acquired, processing the job...
[2025-01-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:14:02] Production.INFO: ==12132== Releasing lock...
[2025-01-09 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:14:02] Production.INFO: ==12130== Releasing lock...
[2025-01-09 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:14:03] Production.INFO: ==12141== Lock acquired, processing the job...
[2025-01-09 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:14:03] Production.INFO: ==12145== Lock acquired, processing the job...
[2025-01-09 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:14:03] Production.INFO: Account Balance Start.
[2025-01-09 16:14:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:14:03] Production.INFO: 117
[2025-01-09 16:14:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:14:03] Production.INFO: count ==21
[2025-01-09 16:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:14:03] Production.INFO: count ==21
[2025-01-09 16:14:03] Production.INFO: ==12143== Lock acquired, processing the job...
[2025-01-09 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210727') start
[2025-01-09 16:14:03] Production.INFO: ==12139== Lock acquired, processing the job...
[2025-01-09 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:14:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:14:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:14:03] Production.INFO: ==12137== Lock acquired, processing the job...
[2025-01-09 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:14:03] Production.INFO: ==12135== Lock acquired, processing the job...
[2025-01-09 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:14:03] Production.INFO: Total Charge 0
[2025-01-09 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:14:03] Production.INFO: CreateAllLog End
[2025-01-09 16:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210727') end
[2025-01-09 16:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:14:03] Production.INFO: 1
[2025-01-09 16:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:14:04] Production.INFO: ==12145== Releasing lock...
[2025-01-09 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:14:04] Production.INFO: Account Balance End.
[2025-01-09 16:14:04] Production.ERROR: done
[2025-01-09 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:14:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:14:04] Production.INFO: ==12141== Releasing lock...
[2025-01-09 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:14:04] Production.ERROR: done
[2025-01-09 16:14:04] Production.INFO: ==12137== Releasing lock...
[2025-01-09 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:14:05
[end_date_ymd] => 2025-01-09 16:14:05
[RateCDR] => 1
)
[2025-01-09 16:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:14:05' and `end` < '2025-01-09 16:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:14:11] Production.ERROR: CronJobId end10
[2025-01-09 16:14:11] Production.INFO: ==12139== Releasing lock...
[2025-01-09 16:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:14:13] Production.INFO: call_cost start
[2025-01-09 16:14:13] Production.INFO: call_cost end
[2025-01-09 16:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:14:14] Production.INFO: ==12135== Releasing lock...
[2025-01-09 16:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:14:23] Production.INFO: count ==4315
[2025-01-09 16:14:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:14:05 - End Time 2025-01-09 16:14:05
[2025-01-09 16:14:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210730', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210730', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210730', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:14:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210730', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:14:25] Production.INFO: ProcessCDR(1,14210730,1,1,2)
[2025-01-09 16:14:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:14:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210730,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:14:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:14:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210730,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210730', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:14:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210730', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:14:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:14:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:14:30] Production.INFO: ==12143== Releasing lock...
[2025-01-09 16:14:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:14:30] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:15:02] Production.INFO: ==12205== Lock acquired, processing the job...
[2025-01-09 21:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:15:02] Production.INFO: neon service started
[2025-01-09 21:15:02] Production.INFO: neon service started
[2025-01-09 21:15:02] Production.INFO: ==12205== Releasing lock...
[2025-01-09 21:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:15:02] Production.INFO: ==12207== Lock acquired, processing the job...
[2025-01-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:15:02] Production.INFO: ==12209== Lock acquired, processing the job...
[2025-01-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:15:02] Production.INFO: ==12207== Releasing lock...
[2025-01-09 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:15:02] Production.INFO: ==12209== Releasing lock...
[2025-01-09 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:15:03] Production.INFO: ==12220== Lock acquired, processing the job...
[2025-01-09 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:15:03] Production.INFO: ==12222== Lock acquired, processing the job...
[2025-01-09 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:15:03] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-01-09 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:15:03] Production.INFO: ==12214== Lock acquired, processing the job...
[2025-01-09 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:15:03] Production.INFO: count ==21
[2025-01-09 16:15:03] Production.INFO: ==12216== Lock acquired, processing the job...
[2025-01-09 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:15:03] Production.INFO: ==12218== Lock acquired, processing the job...
[2025-01-09 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:15:03] Production.INFO: count ==21
[2025-01-09 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210731') start
[2025-01-09 16:15:03] Production.INFO: Account Balance Start.
[2025-01-09 16:15:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:15:03] Production.INFO: 117
[2025-01-09 16:15:03] Production.ERROR: done
[2025-01-09 16:15:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:15:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:15:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:15:04] Production.INFO: Total Charge 0
[2025-01-09 16:15:04] Production.INFO: CreateAllLog End
[2025-01-09 16:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210731') end
[2025-01-09 16:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:15:04] Production.INFO: 1
[2025-01-09 16:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:15:04] Production.INFO: ==12214== Releasing lock...
[2025-01-09 16:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:15:04] Production.INFO: ==12222== Releasing lock...
[2025-01-09 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:15:04] Production.ERROR: done
[2025-01-09 16:15:04] Production.INFO: Account Balance End.
[2025-01-09 16:15:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:15:04] Production.INFO: ==12218== Releasing lock...
[2025-01-09 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:15:05
[end_date_ymd] => 2025-01-09 16:15:05
[RateCDR] => 1
)
[2025-01-09 16:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:15:05' and `end` < '2025-01-09 16:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:15:11] Production.ERROR: CronJobId end10
[2025-01-09 16:15:11] Production.INFO: ==12216== Releasing lock...
[2025-01-09 16:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:15:14] Production.INFO: call_cost start
[2025-01-09 16:15:14] Production.INFO: call_cost end
[2025-01-09 16:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:15:14] Production.INFO: ==12212== Releasing lock...
[2025-01-09 16:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:15:31] Production.INFO: count ==4303
[2025-01-09 16:15:33] Production.ERROR: pbx CDR StartTime 2025-01-09 13:15:05 - End Time 2025-01-09 16:15:05
[2025-01-09 16:15:33] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210735', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210735', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210735', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:15:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210735', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:15:33] Production.INFO: ProcessCDR(1,14210735,1,1,2)
[2025-01-09 16:15:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:15:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210735,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:15:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:15:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210735,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:15:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210735', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:15:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210735', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:15:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:15:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:15:38] Production.INFO: ==12220== Releasing lock...
[2025-01-09 16:15:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:15:38] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:16:01] Production.INFO: ==12280== Lock acquired, processing the job...
[2025-01-09 21:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:16:01] Production.INFO: neon service started
[2025-01-09 21:16:01] Production.INFO: neon service started
[2025-01-09 21:16:01] Production.INFO: ==12280== Releasing lock...
[2025-01-09 21:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:16:01] Production.INFO: ==12282== Lock acquired, processing the job...
[2025-01-09 16:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:16:02] Production.INFO: ==12282== Releasing lock...
[2025-01-09 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:16:02] Production.INFO: ==12284== Lock acquired, processing the job...
[2025-01-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:16:02] Production.INFO: ==12284== Releasing lock...
[2025-01-09 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:16:03] Production.INFO: ==12288== Lock acquired, processing the job...
[2025-01-09 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:16:03] Production.INFO: ==12286== Lock acquired, processing the job...
[2025-01-09 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:16:03] Production.INFO: ==12292== Lock acquired, processing the job...
[2025-01-09 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:16:03] Production.INFO: ==12290== Lock acquired, processing the job...
[2025-01-09 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:16:03] Production.INFO: Account Balance Start.
[2025-01-09 16:16:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:16:03] Production.INFO: 117
[2025-01-09 16:16:03] Production.INFO: ==12294== Lock acquired, processing the job...
[2025-01-09 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:16:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:16:03] Production.INFO: ==12296== Lock acquired, processing the job...
[2025-01-09 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:16:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:16:03] Production.INFO: ==12288== Releasing lock...
[2025-01-09 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:16:03] Production.INFO: Total Charge 0
[2025-01-09 16:16:03] Production.INFO: count ==21
[2025-01-09 16:16:03] Production.INFO: CreateAllLog End
[2025-01-09 16:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:16:03] Production.INFO: count ==21
[2025-01-09 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210739') start
[2025-01-09 16:16:03] Production.ERROR: done
[2025-01-09 16:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210739') end
[2025-01-09 16:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:16:03] Production.INFO: 1
[2025-01-09 16:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:16:03] Production.ERROR: done
[2025-01-09 16:16:03] Production.INFO: ==12296== Releasing lock...
[2025-01-09 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:16:03] Production.INFO: Account Balance End.
[2025-01-09 16:16:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:16:03] Production.INFO: ==12292== Releasing lock...
[2025-01-09 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:16:04
[end_date_ymd] => 2025-01-09 16:16:04
[RateCDR] => 1
)
[2025-01-09 16:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:16:04' and `end` < '2025-01-09 16:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:16:11] Production.ERROR: CronJobId end10
[2025-01-09 16:16:11] Production.INFO: ==12290== Releasing lock...
[2025-01-09 16:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:16:13] Production.INFO: call_cost start
[2025-01-09 16:16:13] Production.INFO: call_cost end
[2025-01-09 16:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:16:14] Production.INFO: ==12286== Releasing lock...
[2025-01-09 16:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:16:31] Production.INFO: count ==4310
[2025-01-09 16:16:32] Production.ERROR: pbx CDR StartTime 2025-01-09 13:16:04 - End Time 2025-01-09 16:16:04
[2025-01-09 16:16:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:16:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210740', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210740', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210740', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:16:33] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210740', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:16:33] Production.INFO: ProcessCDR(1,14210740,1,1,2)
[2025-01-09 16:16:33] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:16:35] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210740,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:16:35] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:16:37] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210740,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:16:37] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210740', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:16:38] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210740', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:16:38] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:16:38] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:16:38] Production.INFO: ==12294== Releasing lock...
[2025-01-09 16:16:38] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:16:38] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:17:02] Production.INFO: ==12361== Lock acquired, processing the job...
[2025-01-09 21:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:17:02] Production.INFO: neon service started
[2025-01-09 21:17:02] Production.INFO: neon service started
[2025-01-09 21:17:02] Production.INFO: ==12361== Releasing lock...
[2025-01-09 21:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:17:02] Production.INFO: ==12365== Lock acquired, processing the job...
[2025-01-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:17:02] Production.INFO: ==12365== Releasing lock...
[2025-01-09 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:17:02] Production.INFO: ==12363== Lock acquired, processing the job...
[2025-01-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:17:02] Production.INFO: ==12363== Releasing lock...
[2025-01-09 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:17:03] Production.INFO: ==12367== Lock acquired, processing the job...
[2025-01-09 16:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:17:03] Production.INFO: ==12369== Lock acquired, processing the job...
[2025-01-09 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:17:03] Production.INFO: ==12371== Lock acquired, processing the job...
[2025-01-09 16:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:17:03] Production.INFO: ==12374== Lock acquired, processing the job...
[2025-01-09 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:17:04] Production.INFO: Account Balance Start.
[2025-01-09 16:17:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:17:04] Production.INFO: 117
[2025-01-09 16:17:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:17:04] Production.INFO: ==12369== Releasing lock...
[2025-01-09 16:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:17:04] Production.INFO: ==12376== Lock acquired, processing the job...
[2025-01-09 16:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:17:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:17:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:17:04] Production.INFO: ==12378== Lock acquired, processing the job...
[2025-01-09 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:17:04] Production.INFO: Total Charge 0
[2025-01-09 16:17:04] Production.INFO: CreateAllLog End
[2025-01-09 16:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:17:04] Production.INFO: count ==21
[2025-01-09 16:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:17:04] Production.ERROR: done
[2025-01-09 16:17:04] Production.INFO: count ==21
[2025-01-09 16:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210744') start
[2025-01-09 16:17:04] Production.ERROR: done
[2025-01-09 16:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210744') end
[2025-01-09 16:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:17:04] Production.INFO: 1
[2025-01-09 16:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:17:04] Production.INFO: Account Balance End.
[2025-01-09 16:17:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:17:04] Production.INFO: ==12374== Releasing lock...
[2025-01-09 16:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:17:04] Production.INFO: ==12378== Releasing lock...
[2025-01-09 16:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:17:05
[end_date_ymd] => 2025-01-09 16:17:05
[RateCDR] => 1
)
[2025-01-09 16:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:17:05' and `end` < '2025-01-09 16:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:17:13] Production.ERROR: CronJobId end10
[2025-01-09 16:17:13] Production.INFO: ==12371== Releasing lock...
[2025-01-09 16:17:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:17:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:17:14] Production.INFO: call_cost start
[2025-01-09 16:17:14] Production.INFO: call_cost end
[2025-01-09 16:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:17:15] Production.INFO: ==12367== Releasing lock...
[2025-01-09 16:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:17:25] Production.INFO: count ==4306
[2025-01-09 16:17:27] Production.ERROR: pbx CDR StartTime 2025-01-09 13:17:05 - End Time 2025-01-09 16:17:05
[2025-01-09 16:17:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210745', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210745', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210745', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:17:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210745', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:17:27] Production.INFO: ProcessCDR(1,14210745,1,1,2)
[2025-01-09 16:17:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:17:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210745,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:17:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:17:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210745,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210745', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:17:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210745', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:17:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:17:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:17:31] Production.INFO: ==12376== Releasing lock...
[2025-01-09 16:17:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:17:31] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:18:01] Production.INFO: ==12445== Lock acquired, processing the job...
[2025-01-09 21:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:18:01] Production.INFO: neon service started
[2025-01-09 21:18:01] Production.INFO: neon service started
[2025-01-09 21:18:01] Production.INFO: ==12445== Releasing lock...
[2025-01-09 21:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:18:01] Production.INFO: ==12447== Lock acquired, processing the job...
[2025-01-09 16:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:18:02] Production.INFO: ==12447== Releasing lock...
[2025-01-09 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:18:02] Production.INFO: ==12449== Lock acquired, processing the job...
[2025-01-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:18:02] Production.INFO: ==12449== Releasing lock...
[2025-01-09 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:18:03] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-01-09 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:18:03] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-01-09 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:18:03] Production.INFO: ==12451== Lock acquired, processing the job...
[2025-01-09 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:18:03] Production.INFO: ==12453== Lock acquired, processing the job...
[2025-01-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:18:03] Production.INFO: ==12457== Lock acquired, processing the job...
[2025-01-09 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:18:03] Production.INFO: ==12455== Lock acquired, processing the job...
[2025-01-09 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:18:03] Production.INFO: count ==21
[2025-01-09 16:18:03] Production.INFO: Account Balance Start.
[2025-01-09 16:18:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:18:03] Production.INFO: 117
[2025-01-09 16:18:03] Production.ERROR: done
[2025-01-09 16:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:18:03] Production.INFO: count ==21
[2025-01-09 16:18:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210746') start
[2025-01-09 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:18:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:18:03] Production.INFO: Total Charge 0
[2025-01-09 16:18:03] Production.ERROR: done
[2025-01-09 16:18:03] Production.INFO: CreateAllLog End
[2025-01-09 16:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210746') end
[2025-01-09 16:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:18:03] Production.INFO: 1
[2025-01-09 16:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:18:03] Production.INFO: ==12453== Releasing lock...
[2025-01-09 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:18:03] Production.INFO: ==12461== Releasing lock...
[2025-01-09 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:18:03] Production.INFO: Account Balance End.
[2025-01-09 16:18:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:18:03] Production.INFO: ==12457== Releasing lock...
[2025-01-09 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:18:04
[end_date_ymd] => 2025-01-09 16:18:04
[RateCDR] => 1
)
[2025-01-09 16:18:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:18:04' and `end` < '2025-01-09 16:18:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:18:11] Production.ERROR: CronJobId end10
[2025-01-09 16:18:11] Production.INFO: ==12455== Releasing lock...
[2025-01-09 16:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:18:12] Production.INFO: call_cost start
[2025-01-09 16:18:12] Production.INFO: call_cost end
[2025-01-09 16:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:18:13] Production.INFO: ==12451== Releasing lock...
[2025-01-09 16:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:18:33] Production.INFO: count ==4299
[2025-01-09 16:18:35] Production.ERROR: pbx CDR StartTime 2025-01-09 13:18:04 - End Time 2025-01-09 16:18:04
[2025-01-09 16:18:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210750', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210750', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210750', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:18:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210750', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:18:35] Production.INFO: ProcessCDR(1,14210750,1,1,2)
[2025-01-09 16:18:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:18:38] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210750,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:18:38] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:18:40] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210750,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:18:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210750', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:18:40] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210750', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:18:40] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:18:40] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:18:40] Production.INFO: ==12459== Releasing lock...
[2025-01-09 16:18:40] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:18:40] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:19:01] Production.INFO: ==12516== Lock acquired, processing the job...
[2025-01-09 21:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:19:01] Production.INFO: neon service started
[2025-01-09 21:19:01] Production.INFO: neon service started
[2025-01-09 21:19:01] Production.INFO: ==12516== Releasing lock...
[2025-01-09 21:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:19:02] Production.INFO: ==12518== Lock acquired, processing the job...
[2025-01-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:19:02] Production.INFO: ==12520== Lock acquired, processing the job...
[2025-01-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:19:02] Production.INFO: ==12520== Releasing lock...
[2025-01-09 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:19:02] Production.INFO: ==12518== Releasing lock...
[2025-01-09 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:19:03] Production.INFO: ==12522== Lock acquired, processing the job...
[2025-01-09 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:19:03] Production.INFO: ==12527== Lock acquired, processing the job...
[2025-01-09 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:19:03] Production.INFO: ==12533== Lock acquired, processing the job...
[2025-01-09 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:19:03] Production.INFO: ==12524== Lock acquired, processing the job...
[2025-01-09 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:19:03] Production.INFO: ==12529== Lock acquired, processing the job...
[2025-01-09 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:19:03] Production.INFO: count ==21
[2025-01-09 16:19:03] Production.INFO: ==12531== Lock acquired, processing the job...
[2025-01-09 16:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:19:03] Production.INFO: count ==21
[2025-01-09 16:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:19:03] Production.INFO: Account Balance Start.
[2025-01-09 16:19:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:19:03] Production.INFO: 117
[2025-01-09 16:19:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210752') start
[2025-01-09 16:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:19:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:19:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:19:03] Production.INFO: Total Charge 0
[2025-01-09 16:19:04] Production.INFO: CreateAllLog End
[2025-01-09 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210752') end
[2025-01-09 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:19:04] Production.INFO: 1
[2025-01-09 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:19:04] Production.INFO: ==12524== Releasing lock...
[2025-01-09 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:19:04] Production.INFO: ==12533== Releasing lock...
[2025-01-09 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:19:04] Production.ERROR: done
[2025-01-09 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:19:04] Production.INFO: Account Balance End.
[2025-01-09 16:19:04] Production.ERROR: done
[2025-01-09 16:19:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:19:04] Production.INFO: ==12529== Releasing lock...
[2025-01-09 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:19:05
[end_date_ymd] => 2025-01-09 16:19:05
[RateCDR] => 1
)
[2025-01-09 16:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:19:05' and `end` < '2025-01-09 16:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:19:11] Production.ERROR: CronJobId end10
[2025-01-09 16:19:11] Production.INFO: ==12527== Releasing lock...
[2025-01-09 16:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:19:12] Production.INFO: call_cost start
[2025-01-09 16:19:12] Production.INFO: call_cost end
[2025-01-09 16:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:19:13] Production.INFO: ==12522== Releasing lock...
[2025-01-09 16:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:19:35] Production.INFO: count ==4286
[2025-01-09 16:19:37] Production.ERROR: pbx CDR StartTime 2025-01-09 13:19:05 - End Time 2025-01-09 16:19:05
[2025-01-09 16:19:37] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210755', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210755', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210755', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:19:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210755', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:19:37] Production.INFO: ProcessCDR(1,14210755,1,1,2)
[2025-01-09 16:19:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:19:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210755,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:19:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:19:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210755,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:19:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210755', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:19:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210755', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:19:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:19:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:19:41] Production.INFO: ==12531== Releasing lock...
[2025-01-09 16:19:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:19:41] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:20:01] Production.INFO: ==12588== Lock acquired, processing the job...
[2025-01-09 21:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:20:01] Production.INFO: neon service started
[2025-01-09 21:20:01] Production.INFO: neon service started
[2025-01-09 21:20:01] Production.INFO: ==12588== Releasing lock...
[2025-01-09 21:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:20:01] Production.INFO: ==12592== Lock acquired, processing the job...
[2025-01-09 21:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:20:01] Production.INFO: ==12592== Releasing lock...
[2025-01-09 21:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:20:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:20:01] Production.INFO: ==12590== Lock acquired, processing the job...
[2025-01-09 16:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:20:02] Production.INFO: ==12590== Releasing lock...
[2025-01-09 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:20:03] Production.INFO: ==12596== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:20:03] Production.INFO: ==12594== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 16:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:20:03] Production.INFO: ==12602== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 16:20:03] Production.ERROR: CronJob PID - 12596
[2025-01-09 16:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 16:20:03] Production.ERROR: CronJob ID - 5
[2025-01-09 16:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 16:20:00
[2025-01-09 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 16:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 16:20:03] Production.ERROR: CronJob PID - 12602
[2025-01-09 16:20:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-09 16:20:03] Production.ERROR: CronJob ID - 12
[2025-01-09 16:20:03] Production.ERROR: CronJob Last Run Time 2025-01-09 16:20:00
[2025-01-09 16:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 16:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 16:20:03] Production.INFO: ==12608== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 16:20:03] Production.INFO: ==12594== Releasing lock...
[2025-01-09 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 16:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 16:20:03] Production.INFO: Account Balance Start.
[2025-01-09 16:20:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:20:03] Production.INFO: 117
[2025-01-09 16:20:03] Production.INFO: ==12598== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:20:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:20:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:20:03] Production.INFO: count ==21
[2025-01-09 16:20:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:20:03] Production.INFO: count ==21
[2025-01-09 16:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210758') start
[2025-01-09 16:20:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:20:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:20:03] Production.INFO: ==12600== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:20:03] Production.INFO: Total Charge 0
[2025-01-09 16:20:03] Production.INFO: ==12606== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 16:20:03] Production.INFO: CreateAllLog End
[2025-01-09 16:20:03] Production.INFO: ==12604== Lock acquired, processing the job...
[2025-01-09 16:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:20:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210758') end
[2025-01-09 16:20:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:20:03] Production.INFO: 1
[2025-01-09 16:20:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:20:03] Production.INFO: ==12608== Releasing lock...
[2025-01-09 16:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:20:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:20:03] Production.INFO: Account Balance End.
[2025-01-09 16:20:03] Production.INFO: ==12598== Releasing lock...
[2025-01-09 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:20:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:20:04] Production.INFO: ==12602== Releasing lock...
[2025-01-09 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:20:04] Production.ERROR: done
[2025-01-09 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:20:04] Production.ERROR: done
[2025-01-09 16:20:04] Production.ERROR: done
[2025-01-09 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210760', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 16:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:20:05
[end_date_ymd] => 2025-01-09 16:20:05
[RateCDR] => 1
)
[2025-01-09 16:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:20:05' and `end` < '2025-01-09 16:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210760', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 16:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 16:20:08] Production.INFO: ProcessCDR(1,14210760,1,1,2)
[2025-01-09 16:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210760,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210760,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:20:08] Production.INFO: ==12606== Releasing lock...
[2025-01-09 16:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 16:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:20:12] Production.ERROR: CronJobId end10
[2025-01-09 16:20:12] Production.INFO: ==12600== Releasing lock...
[2025-01-09 16:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:20:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:20:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:20:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:20:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:20:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:20:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:20:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:20:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:20:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:20:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:20:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:20:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:20:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:20:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:20:13] Production.INFO: call_cost start
[2025-01-09 16:20:13] Production.INFO: call_cost end
[2025-01-09 16:20:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:20:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:20:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:20:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:20:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:20:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:20:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:20:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:20:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:20:14] Production.INFO: ==12596== Releasing lock...
[2025-01-09 16:20:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:20:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:20:29] Production.INFO: count ==4271
[2025-01-09 16:20:31] Production.ERROR: pbx CDR StartTime 2025-01-09 13:20:05 - End Time 2025-01-09 16:20:05
[2025-01-09 16:20:31] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:20:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210761', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:20:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210761', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:20:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210761', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:20:31] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210761', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:20:31] Production.INFO: ProcessCDR(1,14210761,1,1,2)
[2025-01-09 16:20:31] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:20:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210761,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:20:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:20:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210761,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:20:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210761', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:20:36] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210761', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:20:36] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:20:36] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:20:36] Production.INFO: ==12604== Releasing lock...
[2025-01-09 16:20:36] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:20:36] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:21:01] Production.INFO: ==12662== Lock acquired, processing the job...
[2025-01-09 21:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:21:01] Production.INFO: neon service started
[2025-01-09 21:21:01] Production.INFO: neon service started
[2025-01-09 21:21:01] Production.INFO: ==12662== Releasing lock...
[2025-01-09 21:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:21:02] Production.INFO: ==12666== Lock acquired, processing the job...
[2025-01-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:21:02] Production.INFO: ==12666== Releasing lock...
[2025-01-09 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:21:02] Production.INFO: ==12664== Lock acquired, processing the job...
[2025-01-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:21:02] Production.INFO: ==12664== Releasing lock...
[2025-01-09 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:21:03] Production.INFO: ==12673== Lock acquired, processing the job...
[2025-01-09 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:21:03] Production.INFO: ==12677== Lock acquired, processing the job...
[2025-01-09 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:21:03] Production.INFO: ==12669== Lock acquired, processing the job...
[2025-01-09 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:21:03] Production.INFO: ==12671== Lock acquired, processing the job...
[2025-01-09 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:21:03] Production.INFO: ==12675== Lock acquired, processing the job...
[2025-01-09 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:21:03] Production.INFO: ==12679== Lock acquired, processing the job...
[2025-01-09 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:21:03] Production.ERROR: done
[2025-01-09 16:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:21:03] Production.INFO: Account Balance Start.
[2025-01-09 16:21:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:21:03] Production.INFO: 117
[2025-01-09 16:21:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:21:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:21:03] Production.INFO: Total Charge 0
[2025-01-09 16:21:03] Production.INFO: count ==21
[2025-01-09 16:21:03] Production.ERROR: done
[2025-01-09 16:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:21:03] Production.INFO: count ==21
[2025-01-09 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210765') start
[2025-01-09 16:21:04] Production.INFO: CreateAllLog End
[2025-01-09 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210765') end
[2025-01-09 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:21:04] Production.INFO: 1
[2025-01-09 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:21:04] Production.INFO: ==12671== Releasing lock...
[2025-01-09 16:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:21:04] Production.INFO: Account Balance End.
[2025-01-09 16:21:04] Production.INFO: ==12679== Releasing lock...
[2025-01-09 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:21:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:21:04] Production.INFO: ==12675== Releasing lock...
[2025-01-09 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:21:05
[end_date_ymd] => 2025-01-09 16:21:05
[RateCDR] => 1
)
[2025-01-09 16:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:21:05' and `end` < '2025-01-09 16:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:21:11] Production.ERROR: CronJobId end10
[2025-01-09 16:21:11] Production.INFO: ==12673== Releasing lock...
[2025-01-09 16:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:21:13] Production.INFO: call_cost start
[2025-01-09 16:21:13] Production.INFO: call_cost end
[2025-01-09 16:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:21:14] Production.INFO: ==12669== Releasing lock...
[2025-01-09 16:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:21:25] Production.INFO: count ==4363
[2025-01-09 16:21:27] Production.ERROR: pbx CDR StartTime 2025-01-09 13:21:05 - End Time 2025-01-09 16:21:05
[2025-01-09 16:21:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210766', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210766', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210766', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:21:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210766', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:21:27] Production.INFO: ProcessCDR(1,14210766,1,1,2)
[2025-01-09 16:21:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:21:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210766,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:21:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:21:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210766,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210766', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:21:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210766', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:21:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:21:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:21:32] Production.INFO: ==12677== Releasing lock...
[2025-01-09 16:21:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:21:32] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 21:22:02] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-01-09 21:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:22:02] Production.INFO: neon service started
[2025-01-09 21:22:02] Production.INFO: neon service started
[2025-01-09 21:22:02] Production.INFO: ==12733== Releasing lock...
[2025-01-09 21:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:22:02] Production.INFO: ==12735== Lock acquired, processing the job...
[2025-01-09 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:22:03] Production.INFO: ==12737== Lock acquired, processing the job...
[2025-01-09 21:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:22:03] Production.INFO: ==12737== Releasing lock...
[2025-01-09 21:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:22:03] Production.INFO: ==12735== Releasing lock...
[2025-01-09 16:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:22:04] Production.INFO: ==12746== Lock acquired, processing the job...
[2025-01-09 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:22:04] Production.INFO: ==12750== Lock acquired, processing the job...
[2025-01-09 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:22:04] Production.INFO: Account Balance Start.
[2025-01-09 16:22:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:22:04] Production.INFO: 117
[2025-01-09 16:22:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:22:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:22:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:22:04] Production.INFO: Total Charge 0
[2025-01-09 16:22:04] Production.INFO: CreateAllLog End
[2025-01-09 16:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:22:04] Production.INFO: ==12740== Lock acquired, processing the job...
[2025-01-09 16:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:22:04] Production.INFO: count ==21
[2025-01-09 16:22:04] Production.INFO: Account Balance End.
[2025-01-09 16:22:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:22:04] Production.INFO: ==12746== Releasing lock...
[2025-01-09 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:22:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:22:04] Production.INFO: count ==21
[2025-01-09 16:22:04] Production.INFO: ==12742== Lock acquired, processing the job...
[2025-01-09 16:22:04] Production.INFO: ==12748== Lock acquired, processing the job...
[2025-01-09 16:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210768') start
[2025-01-09 16:22:04] Production.INFO: ==12744== Lock acquired, processing the job...
[2025-01-09 16:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210768') end
[2025-01-09 16:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:22:04] Production.INFO: 1
[2025-01-09 16:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:22:04] Production.INFO: ==12750== Releasing lock...
[2025-01-09 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:22:04] Production.ERROR: done
[2025-01-09 16:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:22:04] Production.INFO: ==12742== Releasing lock...
[2025-01-09 16:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:22:05] Production.ERROR: done
[2025-01-09 16:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:22:05
[end_date_ymd] => 2025-01-09 16:22:05
[RateCDR] => 1
)
[2025-01-09 16:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:22:05' and `end` < '2025-01-09 16:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:22:12] Production.ERROR: CronJobId end10
[2025-01-09 16:22:12] Production.INFO: ==12744== Releasing lock...
[2025-01-09 16:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:22:13] Production.INFO: call_cost start
[2025-01-09 16:22:13] Production.INFO: call_cost end
[2025-01-09 16:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:22:14] Production.INFO: ==12740== Releasing lock...
[2025-01-09 16:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:22:24] Production.INFO: count ==4383
[2025-01-09 16:22:26] Production.ERROR: pbx CDR StartTime 2025-01-09 13:22:05 - End Time 2025-01-09 16:22:05
[2025-01-09 16:22:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210771', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210771', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210771', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:22:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210771', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:22:26] Production.INFO: ProcessCDR(1,14210771,1,1,2)
[2025-01-09 16:22:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:22:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210771,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:22:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:22:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210771,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210771', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:22:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210771', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:22:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:22:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:22:31] Production.INFO: ==12748== Releasing lock...
[2025-01-09 16:22:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:22:31] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 21:23:01] Production.INFO: ==12803== Lock acquired, processing the job...
[2025-01-09 21:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:23:01] Production.INFO: neon service started
[2025-01-09 21:23:01] Production.INFO: neon service started
[2025-01-09 21:23:01] Production.INFO: ==12803== Releasing lock...
[2025-01-09 21:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:23:02] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-01-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:23:02] Production.INFO: ==12808== Releasing lock...
[2025-01-09 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:23:02] Production.INFO: ==12806== Lock acquired, processing the job...
[2025-01-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:23:02] Production.INFO: ==12806== Releasing lock...
[2025-01-09 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:23:03] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-01-09 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:23:03] Production.INFO: ==12814== Lock acquired, processing the job...
[2025-01-09 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:23:03] Production.INFO: ==12818== Lock acquired, processing the job...
[2025-01-09 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:23:03] Production.INFO: ==12820== Lock acquired, processing the job...
[2025-01-09 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:23:03] Production.INFO: ==12816== Lock acquired, processing the job...
[2025-01-09 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:23:03] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-01-09 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:23:03] Production.INFO: Account Balance Start.
[2025-01-09 16:23:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:23:03] Production.INFO: 117
[2025-01-09 16:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:23:03] Production.INFO: count ==21
[2025-01-09 16:23:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:23:03] Production.INFO: count ==21
[2025-01-09 16:23:03] Production.ERROR: done
[2025-01-09 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210774') start
[2025-01-09 16:23:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:23:04] Production.ERROR: done
[2025-01-09 16:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210774') end
[2025-01-09 16:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:23:04] Production.INFO: 1
[2025-01-09 16:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:23:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:23:04] Production.INFO: ==12820== Releasing lock...
[2025-01-09 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:23:04] Production.INFO: Total Charge 0
[2025-01-09 16:23:04] Production.INFO: ==12812== Releasing lock...
[2025-01-09 16:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:23:04] Production.INFO: CreateAllLog End
[2025-01-09 16:23:04] Production.INFO: Account Balance End.
[2025-01-09 16:23:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:23:04] Production.INFO: ==12816== Releasing lock...
[2025-01-09 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:23:05
[end_date_ymd] => 2025-01-09 16:23:05
[RateCDR] => 1
)
[2025-01-09 16:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:23:05' and `end` < '2025-01-09 16:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:23:12] Production.ERROR: CronJobId end10
[2025-01-09 16:23:12] Production.INFO: ==12814== Releasing lock...
[2025-01-09 16:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:23:12] Production.INFO: call_cost start
[2025-01-09 16:23:12] Production.INFO: call_cost end
[2025-01-09 16:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:23:13] Production.INFO: ==12810== Releasing lock...
[2025-01-09 16:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:23:19] Production.INFO: count ==4361
[2025-01-09 16:23:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:23:05 - End Time 2025-01-09 16:23:05
[2025-01-09 16:23:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210776', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210776', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210776', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:23:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210776', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:23:21] Production.INFO: ProcessCDR(1,14210776,1,1,2)
[2025-01-09 16:23:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:23:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210776,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:23:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210776,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210776', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210776', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:23:25] Production.INFO: ==12818== Releasing lock...
[2025-01-09 16:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:23:25] Production.INFO: 60.75 MB #Memory Used#
[2025-01-09 21:24:02] Production.INFO: ==12874== Lock acquired, processing the job...
[2025-01-09 21:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:24:02] Production.INFO: neon service started
[2025-01-09 21:24:02] Production.INFO: neon service started
[2025-01-09 21:24:02] Production.INFO: ==12874== Releasing lock...
[2025-01-09 21:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:24:02] Production.INFO: ==12876== Lock acquired, processing the job...
[2025-01-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:24:02] Production.INFO: ==12878== Lock acquired, processing the job...
[2025-01-09 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:24:02] Production.INFO: ==12876== Releasing lock...
[2025-01-09 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:24:03] Production.INFO: ==12878== Releasing lock...
[2025-01-09 21:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:24:03] Production.INFO: ==12888== Lock acquired, processing the job...
[2025-01-09 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:24:03] Production.INFO: ==12886== Lock acquired, processing the job...
[2025-01-09 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:24:03] Production.INFO: ==12880== Lock acquired, processing the job...
[2025-01-09 16:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:24:03] Production.INFO: Account Balance Start.
[2025-01-09 16:24:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:24:03] Production.INFO: 117
[2025-01-09 16:24:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:24:04] Production.INFO: ==12882== Lock acquired, processing the job...
[2025-01-09 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:24:04] Production.INFO: ==12884== Lock acquired, processing the job...
[2025-01-09 16:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:24:04] Production.INFO: ==12890== Lock acquired, processing the job...
[2025-01-09 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:24:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:24:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:24:04] Production.ERROR: done
[2025-01-09 16:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:24:04] Production.INFO: Total Charge 0
[2025-01-09 16:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:24:04] Production.INFO: CreateAllLog End
[2025-01-09 16:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:24:04] Production.INFO: Account Balance End.
[2025-01-09 16:24:04] Production.INFO: count ==21
[2025-01-09 16:24:04] Production.ERROR: done
[2025-01-09 16:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:24:04] Production.INFO: count ==21
[2025-01-09 16:24:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:24:04] Production.INFO: ==12886== Releasing lock...
[2025-01-09 16:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210780') start
[2025-01-09 16:24:04] Production.INFO: ==12882== Releasing lock...
[2025-01-09 16:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210780') end
[2025-01-09 16:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:24:04] Production.INFO: 1
[2025-01-09 16:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:24:04] Production.INFO: ==12890== Releasing lock...
[2025-01-09 16:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:24:05
[end_date_ymd] => 2025-01-09 16:24:05
[RateCDR] => 1
)
[2025-01-09 16:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:24:05' and `end` < '2025-01-09 16:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:24:11] Production.ERROR: CronJobId end10
[2025-01-09 16:24:11] Production.INFO: ==12884== Releasing lock...
[2025-01-09 16:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:24:14] Production.INFO: call_cost start
[2025-01-09 16:24:14] Production.INFO: call_cost end
[2025-01-09 16:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:24:14] Production.INFO: ==12880== Releasing lock...
[2025-01-09 16:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:24:20] Production.INFO: count ==4344
[2025-01-09 16:24:22] Production.ERROR: pbx CDR StartTime 2025-01-09 13:24:05 - End Time 2025-01-09 16:24:05
[2025-01-09 16:24:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210781', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210781', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210781', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:24:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210781', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:24:22] Production.INFO: ProcessCDR(1,14210781,1,1,2)
[2025-01-09 16:24:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:24:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210781,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:24:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:24:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210781,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210781', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210781', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:24:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:24:27] Production.INFO: ==12888== Releasing lock...
[2025-01-09 16:24:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:24:27] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:25:01] Production.INFO: ==12946== Lock acquired, processing the job...
[2025-01-09 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:25:01] Production.INFO: neon service started
[2025-01-09 21:25:01] Production.INFO: neon service started
[2025-01-09 21:25:01] Production.INFO: ==12946== Releasing lock...
[2025-01-09 21:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:25:02] Production.INFO: ==12950== Lock acquired, processing the job...
[2025-01-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:25:02] Production.INFO: ==12950== Releasing lock...
[2025-01-09 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:25:02] Production.INFO: ==12948== Lock acquired, processing the job...
[2025-01-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:25:02] Production.INFO: ==12948== Releasing lock...
[2025-01-09 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:25:03] Production.INFO: ==12954== Lock acquired, processing the job...
[2025-01-09 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:25:03] Production.INFO: ==12960== Lock acquired, processing the job...
[2025-01-09 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:25:03] Production.INFO: ==12962== Lock acquired, processing the job...
[2025-01-09 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:25:03] Production.INFO: ==12956== Lock acquired, processing the job...
[2025-01-09 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:25:03] Production.INFO: count ==21
[2025-01-09 16:25:03] Production.INFO: ==12952== Lock acquired, processing the job...
[2025-01-09 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:25:03] Production.INFO: count ==21
[2025-01-09 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210783') start
[2025-01-09 16:25:03] Production.INFO: ==12954== Releasing lock...
[2025-01-09 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:25:03] Production.ERROR: done
[2025-01-09 16:25:03] Production.INFO: ==12958== Lock acquired, processing the job...
[2025-01-09 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:25:03] Production.INFO: Account Balance Start.
[2025-01-09 16:25:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:25:03] Production.INFO: 117
[2025-01-09 16:25:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210783') end
[2025-01-09 16:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:25:03] Production.INFO: 1
[2025-01-09 16:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:25:03] Production.ERROR: done
[2025-01-09 16:25:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:25:03] Production.INFO: ==12962== Releasing lock...
[2025-01-09 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:25:03] Production.INFO: Total Charge 0
[2025-01-09 16:25:03] Production.INFO: CreateAllLog End
[2025-01-09 16:25:03] Production.INFO: Account Balance End.
[2025-01-09 16:25:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:25:04] Production.INFO: ==12958== Releasing lock...
[2025-01-09 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:25:04
[end_date_ymd] => 2025-01-09 16:25:04
[RateCDR] => 1
)
[2025-01-09 16:25:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:25:04' and `end` < '2025-01-09 16:25:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:25:11] Production.ERROR: CronJobId end10
[2025-01-09 16:25:11] Production.INFO: ==12956== Releasing lock...
[2025-01-09 16:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:25:12] Production.INFO: call_cost start
[2025-01-09 16:25:12] Production.INFO: call_cost end
[2025-01-09 16:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:25:13] Production.INFO: ==12952== Releasing lock...
[2025-01-09 16:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:25:25] Production.INFO: count ==4301
[2025-01-09 16:25:26] Production.ERROR: pbx CDR StartTime 2025-01-09 13:25:04 - End Time 2025-01-09 16:25:04
[2025-01-09 16:25:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210786', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210786', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210786', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:25:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210786', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:25:26] Production.INFO: ProcessCDR(1,14210786,1,1,2)
[2025-01-09 16:25:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:25:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210786,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:25:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:25:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210786,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210786', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:25:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210786', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:25:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:25:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:25:30] Production.INFO: ==12960== Releasing lock...
[2025-01-09 16:25:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:25:30] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:26:02] Production.INFO: ==13017== Lock acquired, processing the job...
[2025-01-09 21:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:26:02] Production.INFO: neon service started
[2025-01-09 21:26:02] Production.INFO: neon service started
[2025-01-09 21:26:02] Production.INFO: ==13017== Releasing lock...
[2025-01-09 21:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:26:02] Production.INFO: ==13022== Lock acquired, processing the job...
[2025-01-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:26:02] Production.INFO: ==13020== Lock acquired, processing the job...
[2025-01-09 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:26:02] Production.INFO: ==13022== Releasing lock...
[2025-01-09 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:26:03] Production.INFO: ==13020== Releasing lock...
[2025-01-09 16:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:26:04] Production.INFO: ==13034== Lock acquired, processing the job...
[2025-01-09 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:26:04] Production.INFO: ==13032== Lock acquired, processing the job...
[2025-01-09 16:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:26:04] Production.INFO: count ==21
[2025-01-09 16:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:26:04] Production.INFO: count ==21
[2025-01-09 16:26:04] Production.INFO: ==13024== Lock acquired, processing the job...
[2025-01-09 16:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:26:04] Production.INFO: ==13026== Lock acquired, processing the job...
[2025-01-09 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210787') start
[2025-01-09 16:26:04] Production.INFO: ==13028== Lock acquired, processing the job...
[2025-01-09 16:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:26:04] Production.INFO: ==13030== Lock acquired, processing the job...
[2025-01-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210787') end
[2025-01-09 16:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:26:04] Production.INFO: 1
[2025-01-09 16:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:26:04] Production.INFO: ==13034== Releasing lock...
[2025-01-09 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:26:04] Production.ERROR: done
[2025-01-09 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:26:04] Production.INFO: Account Balance Start.
[2025-01-09 16:26:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:26:04] Production.INFO: 117
[2025-01-09 16:26:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:26:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:26:04] Production.ERROR: done
[2025-01-09 16:26:04] Production.INFO: Total Charge 0
[2025-01-09 16:26:04] Production.INFO: CreateAllLog End
[2025-01-09 16:26:04] Production.INFO: ==13026== Releasing lock...
[2025-01-09 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:26:04] Production.INFO: Account Balance End.
[2025-01-09 16:26:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:26:04] Production.INFO: ==13030== Releasing lock...
[2025-01-09 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:26:05
[end_date_ymd] => 2025-01-09 16:26:05
[RateCDR] => 1
)
[2025-01-09 16:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:26:05' and `end` < '2025-01-09 16:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:26:14] Production.ERROR: CronJobId end10
[2025-01-09 16:26:14] Production.INFO: ==13028== Releasing lock...
[2025-01-09 16:26:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:26:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:26:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:26:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:26:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:26:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:26:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:26:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:26:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:26:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:26:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:26:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:26:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:26:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:26:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:26:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:26:16] Production.INFO: call_cost start
[2025-01-09 16:26:16] Production.INFO: call_cost end
[2025-01-09 16:26:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:26:17] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:26:17] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:26:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:26:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:26:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:26:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:26:17] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:26:17] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:26:17] Production.INFO: ==13024== Releasing lock...
[2025-01-09 16:26:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:26:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:26:21] Production.INFO: count ==4300
[2025-01-09 16:26:22] Production.ERROR: pbx CDR StartTime 2025-01-09 13:26:05 - End Time 2025-01-09 16:26:05
[2025-01-09 16:26:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210791', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210791', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210791', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:26:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210791', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:26:23] Production.INFO: ProcessCDR(1,14210791,1,1,2)
[2025-01-09 16:26:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:26:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210791,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:26:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:26:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210791,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210791', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:26:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210791', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:26:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:26:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:26:27] Production.INFO: ==13032== Releasing lock...
[2025-01-09 16:26:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:26:27] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:27:01] Production.INFO: ==13130== Lock acquired, processing the job...
[2025-01-09 21:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:27:01] Production.INFO: neon service started
[2025-01-09 21:27:01] Production.INFO: neon service started
[2025-01-09 21:27:01] Production.INFO: ==13130== Releasing lock...
[2025-01-09 21:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:27:02] Production.INFO: ==13132== Lock acquired, processing the job...
[2025-01-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:27:02] Production.INFO: ==13134== Lock acquired, processing the job...
[2025-01-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:27:02] Production.INFO: ==13134== Releasing lock...
[2025-01-09 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:27:02] Production.INFO: ==13132== Releasing lock...
[2025-01-09 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:27:03] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-01-09 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:27:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-01-09 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:27:03] Production.INFO: ==13147== Lock acquired, processing the job...
[2025-01-09 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:27:03] Production.INFO: Account Balance Start.
[2025-01-09 16:27:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:27:03] Production.INFO: 117
[2025-01-09 16:27:03] Production.INFO: ==13136== Lock acquired, processing the job...
[2025-01-09 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:27:03] Production.INFO: count ==21
[2025-01-09 16:27:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:27:03] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-01-09 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:27:03] Production.INFO: count ==21
[2025-01-09 16:27:03] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-01-09 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210793') start
[2025-01-09 16:27:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:27:03] Production.INFO: Total Charge 0
[2025-01-09 16:27:03] Production.INFO: CreateAllLog End
[2025-01-09 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:27:03] Production.ERROR: done
[2025-01-09 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210793') end
[2025-01-09 16:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:27:03] Production.INFO: 1
[2025-01-09 16:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:27:03] Production.INFO: ==13147== Releasing lock...
[2025-01-09 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:27:03] Production.INFO: Account Balance End.
[2025-01-09 16:27:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:27:04] Production.INFO: ==13142== Releasing lock...
[2025-01-09 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:27:04] Production.ERROR: done
[2025-01-09 16:27:04] Production.INFO: ==13138== Releasing lock...
[2025-01-09 16:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:27:05
[end_date_ymd] => 2025-01-09 16:27:05
[RateCDR] => 1
)
[2025-01-09 16:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:27:05' and `end` < '2025-01-09 16:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:27:11] Production.ERROR: CronJobId end10
[2025-01-09 16:27:11] Production.INFO: ==13140== Releasing lock...
[2025-01-09 16:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:27:13] Production.INFO: call_cost start
[2025-01-09 16:27:13] Production.INFO: call_cost end
[2025-01-09 16:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:27:14] Production.INFO: ==13136== Releasing lock...
[2025-01-09 16:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:27:26] Production.INFO: count ==4292
[2025-01-09 16:27:27] Production.ERROR: pbx CDR StartTime 2025-01-09 13:27:05 - End Time 2025-01-09 16:27:05
[2025-01-09 16:27:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210796', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210796', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210796', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:27:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210796', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:27:27] Production.INFO: ProcessCDR(1,14210796,1,1,2)
[2025-01-09 16:27:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:27:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210796,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:27:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:27:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210796,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:27:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210796', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:27:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210796', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:27:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:27:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:27:32] Production.INFO: ==13144== Releasing lock...
[2025-01-09 16:27:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:27:32] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:28:02] Production.INFO: ==13200== Lock acquired, processing the job...
[2025-01-09 21:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:28:02] Production.INFO: neon service started
[2025-01-09 21:28:02] Production.INFO: neon service started
[2025-01-09 21:28:02] Production.INFO: ==13200== Releasing lock...
[2025-01-09 21:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:28:02] Production.INFO: ==13202== Lock acquired, processing the job...
[2025-01-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:28:02] Production.INFO: ==13202== Releasing lock...
[2025-01-09 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:28:03] Production.INFO: ==13204== Lock acquired, processing the job...
[2025-01-09 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:28:03] Production.INFO: ==13204== Releasing lock...
[2025-01-09 21:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:28:03] Production.INFO: ==13207== Lock acquired, processing the job...
[2025-01-09 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:28:03] Production.INFO: ==13211== Lock acquired, processing the job...
[2025-01-09 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:28:03] Production.INFO: ==13209== Lock acquired, processing the job...
[2025-01-09 16:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:28:03] Production.INFO: ==13213== Lock acquired, processing the job...
[2025-01-09 16:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:28:03] Production.INFO: ==13217== Lock acquired, processing the job...
[2025-01-09 16:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:28:03] Production.INFO: ==13215== Lock acquired, processing the job...
[2025-01-09 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:28:03] Production.INFO: Account Balance Start.
[2025-01-09 16:28:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:28:03] Production.INFO: 117
[2025-01-09 16:28:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:28:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:28:04] Production.INFO: Total Charge 0
[2025-01-09 16:28:04] Production.INFO: CreateAllLog End
[2025-01-09 16:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:28:04] Production.INFO: count ==21
[2025-01-09 16:28:04] Production.INFO: ==13209== Releasing lock...
[2025-01-09 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:28:04] Production.INFO: count ==21
[2025-01-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210800') start
[2025-01-09 16:28:04] Production.INFO: Account Balance End.
[2025-01-09 16:28:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:28:04] Production.INFO: ==13213== Releasing lock...
[2025-01-09 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210800') end
[2025-01-09 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:28:04] Production.INFO: 1
[2025-01-09 16:28:04] Production.ERROR: done
[2025-01-09 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:28:04] Production.INFO: ==13217== Releasing lock...
[2025-01-09 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:28:04] Production.ERROR: done
[2025-01-09 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:28:05
[end_date_ymd] => 2025-01-09 16:28:05
[RateCDR] => 1
)
[2025-01-09 16:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:28:05' and `end` < '2025-01-09 16:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:28:11] Production.ERROR: CronJobId end10
[2025-01-09 16:28:11] Production.INFO: ==13211== Releasing lock...
[2025-01-09 16:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:28:13] Production.INFO: call_cost start
[2025-01-09 16:28:13] Production.INFO: call_cost end
[2025-01-09 16:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:28:14] Production.INFO: ==13207== Releasing lock...
[2025-01-09 16:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:28:22] Production.INFO: count ==4284
[2025-01-09 16:28:24] Production.ERROR: pbx CDR StartTime 2025-01-09 13:28:05 - End Time 2025-01-09 16:28:05
[2025-01-09 16:28:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210801', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210801', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210801', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:28:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210801', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:28:24] Production.INFO: ProcessCDR(1,14210801,1,1,2)
[2025-01-09 16:28:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:28:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210801,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:28:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:28:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210801,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210801', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:28:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210801', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:28:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:28:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:28:28] Production.INFO: ==13215== Releasing lock...
[2025-01-09 16:28:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:28:28] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:29:01] Production.INFO: ==13276== Lock acquired, processing the job...
[2025-01-09 21:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:29:01] Production.INFO: neon service started
[2025-01-09 21:29:01] Production.INFO: neon service started
[2025-01-09 21:29:01] Production.INFO: ==13276== Releasing lock...
[2025-01-09 21:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:29:02] Production.INFO: ==13278== Lock acquired, processing the job...
[2025-01-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:29:02] Production.INFO: ==13280== Lock acquired, processing the job...
[2025-01-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:29:02] Production.INFO: ==13280== Releasing lock...
[2025-01-09 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:29:02] Production.INFO: ==13278== Releasing lock...
[2025-01-09 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:29:03] Production.INFO: ==13283== Lock acquired, processing the job...
[2025-01-09 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:29:03] Production.INFO: ==13285== Lock acquired, processing the job...
[2025-01-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:29:03] Production.INFO: ==13291== Lock acquired, processing the job...
[2025-01-09 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:29:03] Production.INFO: ==13287== Lock acquired, processing the job...
[2025-01-09 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:29:03] Production.INFO: ==13285== Releasing lock...
[2025-01-09 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:29:03] Production.INFO: ==13289== Lock acquired, processing the job...
[2025-01-09 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:29:03] Production.INFO: ==13293== Lock acquired, processing the job...
[2025-01-09 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:29:03] Production.INFO: Account Balance Start.
[2025-01-09 16:29:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:29:03] Production.INFO: 117
[2025-01-09 16:29:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:29:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:29:03] Production.ERROR: done
[2025-01-09 16:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:29:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:29:04] Production.INFO: Total Charge 0
[2025-01-09 16:29:04] Production.INFO: count ==21
[2025-01-09 16:29:04] Production.INFO: CreateAllLog End
[2025-01-09 16:29:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:29:04] Production.INFO: count ==21
[2025-01-09 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210805') start
[2025-01-09 16:29:04] Production.ERROR: done
[2025-01-09 16:29:04] Production.INFO: Account Balance End.
[2025-01-09 16:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210805') end
[2025-01-09 16:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:29:04] Production.INFO: 1
[2025-01-09 16:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:29:04] Production.INFO: ==13293== Releasing lock...
[2025-01-09 16:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:29:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:29:04] Production.INFO: ==13289== Releasing lock...
[2025-01-09 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:29:05
[end_date_ymd] => 2025-01-09 16:29:05
[RateCDR] => 1
)
[2025-01-09 16:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:29:05' and `end` < '2025-01-09 16:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:29:12] Production.ERROR: CronJobId end10
[2025-01-09 16:29:12] Production.INFO: ==13287== Releasing lock...
[2025-01-09 16:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:29:13] Production.INFO: call_cost start
[2025-01-09 16:29:13] Production.INFO: call_cost end
[2025-01-09 16:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:29:14] Production.INFO: ==13283== Releasing lock...
[2025-01-09 16:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:29:25] Production.INFO: count ==4294
[2025-01-09 16:29:27] Production.ERROR: pbx CDR StartTime 2025-01-09 13:29:05 - End Time 2025-01-09 16:29:05
[2025-01-09 16:29:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:29:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210806', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:29:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210806', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:29:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210806', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:29:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210806', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:29:27] Production.INFO: ProcessCDR(1,14210806,1,1,2)
[2025-01-09 16:29:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:29:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210806,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:29:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:29:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210806,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:29:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210806', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:29:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210806', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:29:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:29:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:29:32] Production.INFO: ==13291== Releasing lock...
[2025-01-09 16:29:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:29:32] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:30:02] Production.INFO: ==13350== Lock acquired, processing the job...
[2025-01-09 21:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:30:02] Production.INFO: neon service started
[2025-01-09 21:30:02] Production.INFO: neon service started
[2025-01-09 21:30:02] Production.INFO: ==13350== Releasing lock...
[2025-01-09 21:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:30:02] Production.INFO: ==13352== Lock acquired, processing the job...
[2025-01-09 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:30:02] Production.INFO: ==13354== Lock acquired, processing the job...
[2025-01-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:30:02] Production.INFO: ==13354== Releasing lock...
[2025-01-09 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:30:03] Production.INFO: ==13352== Releasing lock...
[2025-01-09 16:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:30:03] Production.INFO: ==13357== Lock acquired, processing the job...
[2025-01-09 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 16:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 16:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 16:30:03] Production.INFO: ==13357== Releasing lock...
[2025-01-09 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 16:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 16:30:04] Production.INFO: ==13361== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:30:04] Production.INFO: ==13359== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:30:04] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:30:04] Production.INFO: ==13367== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:30:04] Production.INFO: ==13361== Releasing lock...
[2025-01-09 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:30:04] Production.INFO: ==13365== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:30:04] Production.INFO: Account Balance Start.
[2025-01-09 16:30:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:30:04] Production.INFO: 117
[2025-01-09 16:30:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:30:04] Production.INFO: ==13369== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 16:30:04] Production.ERROR: done
[2025-01-09 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:30:04] Production.INFO: ==13371== Lock acquired, processing the job...
[2025-01-09 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:30:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:30:04] Production.INFO: Total Charge 0
[2025-01-09 16:30:04] Production.INFO: CreateAllLog End
[2025-01-09 16:30:04] Production.ERROR: done
[2025-01-09 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-01-09 16:30:05] Production.INFO: count ==21
[2025-01-09 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-01-09 16:30:05] Production.INFO: count ==21
[2025-01-09 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210810') start
[2025-01-09 16:30:05] Production.ERROR: done
[2025-01-09 16:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210810') end
[2025-01-09 16:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:30:05] Production.INFO: 1
[2025-01-09 16:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 16:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210812', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 16:30:05] Production.INFO: Account Balance End.
[2025-01-09 16:30:05] Production.ERROR: CronJobId end 12
[2025-01-09 16:30:05] Production.INFO: ==13365== Releasing lock...
[2025-01-09 16:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:30:05] Production.INFO: ==13371== Releasing lock...
[2025-01-09 16:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:30:06
[end_date_ymd] => 2025-01-09 16:30:06
[RateCDR] => 1
)
[2025-01-09 16:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:30:06' and `end` < '2025-01-09 16:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210812', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 16:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 16:30:09] Production.INFO: ProcessCDR(1,14210812,1,1,2)
[2025-01-09 16:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210812,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210812,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:30:09] Production.INFO: ==13369== Releasing lock...
[2025-01-09 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:30:13] Production.ERROR: CronJobId end10
[2025-01-09 16:30:13] Production.INFO: ==13363== Releasing lock...
[2025-01-09 16:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:30:14] Production.INFO: call_cost start
[2025-01-09 16:30:14] Production.INFO: call_cost end
[2025-01-09 16:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:30:15] Production.INFO: ==13359== Releasing lock...
[2025-01-09 16:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:30:20] Production.INFO: count ==4270
[2025-01-09 16:30:22] Production.ERROR: pbx CDR StartTime 2025-01-09 13:30:06 - End Time 2025-01-09 16:30:06
[2025-01-09 16:30:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210811', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210811', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210811', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:30:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210811', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:30:22] Production.INFO: ProcessCDR(1,14210811,1,1,2)
[2025-01-09 16:30:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:30:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210811,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:30:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:30:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210811,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210811', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:30:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210811', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:30:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:30:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:30:26] Production.INFO: ==13367== Releasing lock...
[2025-01-09 16:30:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:30:26] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:31:01] Production.INFO: ==13425== Lock acquired, processing the job...
[2025-01-09 21:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:31:01] Production.INFO: neon service started
[2025-01-09 21:31:01] Production.INFO: neon service started
[2025-01-09 21:31:01] Production.INFO: ==13425== Releasing lock...
[2025-01-09 21:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:31:01] Production.INFO: ==13427== Lock acquired, processing the job...
[2025-01-09 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:31:02] Production.INFO: ==13427== Releasing lock...
[2025-01-09 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:31:02] Production.INFO: ==13429== Lock acquired, processing the job...
[2025-01-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:31:02] Production.INFO: ==13429== Releasing lock...
[2025-01-09 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:31:03] Production.INFO: ==13437== Lock acquired, processing the job...
[2025-01-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:31:03] Production.INFO: ==13435== Lock acquired, processing the job...
[2025-01-09 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:31:03] Production.INFO: ==13431== Lock acquired, processing the job...
[2025-01-09 16:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:31:03] Production.INFO: Account Balance Start.
[2025-01-09 16:31:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:31:03] Production.INFO: 117
[2025-01-09 16:31:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:31:03] Production.INFO: ==13433== Lock acquired, processing the job...
[2025-01-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:31:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:31:03] Production.INFO: Total Charge 0
[2025-01-09 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:31:03] Production.INFO: ==13439== Lock acquired, processing the job...
[2025-01-09 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:31:03] Production.INFO: CreateAllLog End
[2025-01-09 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:31:03] Production.INFO: ==13441== Lock acquired, processing the job...
[2025-01-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:31:03] Production.INFO: Account Balance End.
[2025-01-09 16:31:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:31:03] Production.INFO: ==13437== Releasing lock...
[2025-01-09 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:31:03] Production.INFO: count ==21
[2025-01-09 16:31:03] Production.ERROR: done
[2025-01-09 16:31:03] Production.INFO: ==13433== Releasing lock...
[2025-01-09 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:31:03] Production.INFO: count ==21
[2025-01-09 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210816') start
[2025-01-09 16:31:03] Production.ERROR: done
[2025-01-09 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210816') end
[2025-01-09 16:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:31:03] Production.INFO: 1
[2025-01-09 16:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:31:03] Production.INFO: ==13441== Releasing lock...
[2025-01-09 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:31:04
[end_date_ymd] => 2025-01-09 16:31:04
[RateCDR] => 1
)
[2025-01-09 16:31:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:31:04' and `end` < '2025-01-09 16:31:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:31:11] Production.ERROR: CronJobId end10
[2025-01-09 16:31:11] Production.INFO: ==13435== Releasing lock...
[2025-01-09 16:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:31:12] Production.INFO: call_cost start
[2025-01-09 16:31:12] Production.INFO: call_cost end
[2025-01-09 16:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:31:13] Production.INFO: ==13431== Releasing lock...
[2025-01-09 16:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:31:23] Production.INFO: count ==4303
[2025-01-09 16:31:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:31:04 - End Time 2025-01-09 16:31:04
[2025-01-09 16:31:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210817', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210817', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210817', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:31:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210817', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:31:25] Production.INFO: ProcessCDR(1,14210817,1,1,2)
[2025-01-09 16:31:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:31:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210817,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:31:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:31:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210817,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:31:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210817', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:31:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210817', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:31:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:31:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:31:29] Production.INFO: ==13439== Releasing lock...
[2025-01-09 16:31:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:31:29] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:32:01] Production.INFO: ==13495== Lock acquired, processing the job...
[2025-01-09 21:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:32:02] Production.INFO: neon service started
[2025-01-09 21:32:02] Production.INFO: neon service started
[2025-01-09 21:32:02] Production.INFO: ==13495== Releasing lock...
[2025-01-09 21:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:32:02] Production.INFO: ==13497== Lock acquired, processing the job...
[2025-01-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:32:02] Production.INFO: ==13497== Releasing lock...
[2025-01-09 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:32:02] Production.INFO: ==13499== Lock acquired, processing the job...
[2025-01-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:32:02] Production.INFO: ==13499== Releasing lock...
[2025-01-09 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:32:03] Production.INFO: ==13505== Lock acquired, processing the job...
[2025-01-09 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:32:03] Production.INFO: ==13501== Lock acquired, processing the job...
[2025-01-09 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:32:03] Production.INFO: ==13511== Lock acquired, processing the job...
[2025-01-09 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:32:03] Production.INFO: ==13503== Lock acquired, processing the job...
[2025-01-09 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:32:03] Production.INFO: ==13507== Lock acquired, processing the job...
[2025-01-09 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:32:03] Production.INFO: ==13509== Lock acquired, processing the job...
[2025-01-09 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:32:03] Production.INFO: Account Balance Start.
[2025-01-09 16:32:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:32:03] Production.INFO: 117
[2025-01-09 16:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:32:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:32:03] Production.INFO: count ==21
[2025-01-09 16:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:32:03] Production.INFO: count ==21
[2025-01-09 16:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210818') start
[2025-01-09 16:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:32:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:32:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:32:03] Production.INFO: Total Charge 0
[2025-01-09 16:32:03] Production.INFO: CreateAllLog End
[2025-01-09 16:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210818') end
[2025-01-09 16:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:32:03] Production.INFO: 1
[2025-01-09 16:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:32:03] Production.INFO: ==13503== Releasing lock...
[2025-01-09 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:32:04] Production.INFO: ==13511== Releasing lock...
[2025-01-09 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:32:04] Production.INFO: Account Balance End.
[2025-01-09 16:32:04] Production.ERROR: done
[2025-01-09 16:32:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:32:04] Production.INFO: ==13507== Releasing lock...
[2025-01-09 16:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:32:04] Production.ERROR: done
[2025-01-09 16:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:32:05
[end_date_ymd] => 2025-01-09 16:32:05
[RateCDR] => 1
)
[2025-01-09 16:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:32:05' and `end` < '2025-01-09 16:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:32:11] Production.ERROR: CronJobId end10
[2025-01-09 16:32:11] Production.INFO: ==13505== Releasing lock...
[2025-01-09 16:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:32:13] Production.INFO: call_cost start
[2025-01-09 16:32:13] Production.INFO: call_cost end
[2025-01-09 16:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:32:14] Production.INFO: ==13501== Releasing lock...
[2025-01-09 16:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:32:23] Production.INFO: count ==4297
[2025-01-09 16:32:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:32:05 - End Time 2025-01-09 16:32:05
[2025-01-09 16:32:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210822', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210822', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210822', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:32:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210822', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:32:25] Production.INFO: ProcessCDR(1,14210822,1,1,2)
[2025-01-09 16:32:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:32:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210822,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:32:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:32:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210822,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210822', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:32:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210822', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:32:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:32:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:32:30] Production.INFO: ==13509== Releasing lock...
[2025-01-09 16:32:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:32:30] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:33:01] Production.INFO: ==13569== Lock acquired, processing the job...
[2025-01-09 21:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:33:01] Production.INFO: neon service started
[2025-01-09 21:33:01] Production.INFO: neon service started
[2025-01-09 21:33:01] Production.INFO: ==13569== Releasing lock...
[2025-01-09 21:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:33:01] Production.INFO: ==13571== Lock acquired, processing the job...
[2025-01-09 16:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:33:02] Production.INFO: ==13571== Releasing lock...
[2025-01-09 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:33:02] Production.INFO: ==13573== Lock acquired, processing the job...
[2025-01-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:33:02] Production.INFO: ==13573== Releasing lock...
[2025-01-09 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:33:02] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:33:02] Production.INFO: ==13577== Lock acquired, processing the job...
[2025-01-09 16:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:33:02] Production.INFO: ==13575== Lock acquired, processing the job...
[2025-01-09 16:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:33:03] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-01-09 16:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:33:03] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-01-09 16:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:33:03] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-01-09 16:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:33:03] Production.INFO: ==13585== Lock acquired, processing the job...
[2025-01-09 16:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:33:03] Production.INFO: Account Balance Start.
[2025-01-09 16:33:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:33:03] Production.INFO: 117
[2025-01-09 16:33:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:33:03] Production.INFO: ==13577== Releasing lock...
[2025-01-09 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:33:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:33:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:33:03] Production.ERROR: done
[2025-01-09 16:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:33:03] Production.INFO: Total Charge 0
[2025-01-09 16:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:33:03] Production.INFO: CreateAllLog End
[2025-01-09 16:33:03] Production.INFO: count ==21
[2025-01-09 16:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:33:03] Production.INFO: count ==21
[2025-01-09 16:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210826') start
[2025-01-09 16:33:03] Production.ERROR: done
[2025-01-09 16:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210826') end
[2025-01-09 16:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:33:03] Production.INFO: 1
[2025-01-09 16:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:33:03] Production.INFO: Account Balance End.
[2025-01-09 16:33:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:33:04] Production.INFO: ==13581== Releasing lock...
[2025-01-09 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:33:04] Production.INFO: ==13585== Releasing lock...
[2025-01-09 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:33:04
[end_date_ymd] => 2025-01-09 16:33:04
[RateCDR] => 1
)
[2025-01-09 16:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:33:04' and `end` < '2025-01-09 16:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:33:12] Production.ERROR: CronJobId end10
[2025-01-09 16:33:12] Production.INFO: ==13579== Releasing lock...
[2025-01-09 16:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:33:12] Production.INFO: call_cost start
[2025-01-09 16:33:12] Production.INFO: call_cost end
[2025-01-09 16:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:33:13] Production.INFO: ==13575== Releasing lock...
[2025-01-09 16:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:33:18] Production.INFO: count ==4272
[2025-01-09 16:33:20] Production.ERROR: pbx CDR StartTime 2025-01-09 13:33:04 - End Time 2025-01-09 16:33:04
[2025-01-09 16:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210827', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210827', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210827', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210827', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:33:20] Production.INFO: ProcessCDR(1,14210827,1,1,2)
[2025-01-09 16:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210827,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210827,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210827', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210827', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:33:24] Production.INFO: ==13583== Releasing lock...
[2025-01-09 16:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:33:24] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:34:01] Production.INFO: ==13649== Lock acquired, processing the job...
[2025-01-09 21:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:34:01] Production.INFO: neon service started
[2025-01-09 21:34:01] Production.INFO: neon service started
[2025-01-09 21:34:01] Production.INFO: ==13649== Releasing lock...
[2025-01-09 21:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:34:02] Production.INFO: ==13651== Lock acquired, processing the job...
[2025-01-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:34:02] Production.INFO: ==13653== Lock acquired, processing the job...
[2025-01-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:34:02] Production.INFO: ==13653== Releasing lock...
[2025-01-09 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:34:02] Production.INFO: ==13651== Releasing lock...
[2025-01-09 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:34:03] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-01-09 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:34:03] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-01-09 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:34:03] Production.INFO: count ==21
[2025-01-09 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:34:03] Production.INFO: count ==21
[2025-01-09 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210828') start
[2025-01-09 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210828') end
[2025-01-09 16:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:34:03] Production.INFO: 1
[2025-01-09 16:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:34:04] Production.INFO: ==13666== Releasing lock...
[2025-01-09 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:34:04] Production.INFO: ==13656== Lock acquired, processing the job...
[2025-01-09 16:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:34:04] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-01-09 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:34:04] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-01-09 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:34:04] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-01-09 16:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:34:04] Production.INFO: Account Balance Start.
[2025-01-09 16:34:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:34:04] Production.INFO: 117
[2025-01-09 16:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:34:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:34:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:34:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:34:04] Production.INFO: Total Charge 0
[2025-01-09 16:34:04] Production.INFO: CreateAllLog End
[2025-01-09 16:34:04] Production.INFO: ==13658== Releasing lock...
[2025-01-09 16:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:34:04] Production.ERROR: done
[2025-01-09 16:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:34:04] Production.INFO: Account Balance End.
[2025-01-09 16:34:04] Production.ERROR: done
[2025-01-09 16:34:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:34:04] Production.INFO: ==13662== Releasing lock...
[2025-01-09 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:34:05
[end_date_ymd] => 2025-01-09 16:34:05
[RateCDR] => 1
)
[2025-01-09 16:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:34:05' and `end` < '2025-01-09 16:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:34:12] Production.ERROR: CronJobId end10
[2025-01-09 16:34:12] Production.INFO: ==13660== Releasing lock...
[2025-01-09 16:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:34:13] Production.INFO: call_cost start
[2025-01-09 16:34:13] Production.INFO: call_cost end
[2025-01-09 16:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:34:14] Production.INFO: ==13656== Releasing lock...
[2025-01-09 16:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:34:23] Production.INFO: count ==4240
[2025-01-09 16:34:24] Production.ERROR: pbx CDR StartTime 2025-01-09 13:34:05 - End Time 2025-01-09 16:34:05
[2025-01-09 16:34:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:34:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210832', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210832', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210832', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:34:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210832', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:34:25] Production.INFO: ProcessCDR(1,14210832,1,1,2)
[2025-01-09 16:34:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:34:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210832,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:34:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:34:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210832,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210832', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:34:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210832', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:34:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:34:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:34:29] Production.INFO: ==13664== Releasing lock...
[2025-01-09 16:34:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:34:29] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 21:35:01] Production.INFO: ==13720== Lock acquired, processing the job...
[2025-01-09 21:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:35:01] Production.INFO: neon service started
[2025-01-09 21:35:01] Production.INFO: neon service started
[2025-01-09 21:35:01] Production.INFO: ==13720== Releasing lock...
[2025-01-09 21:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:35:01] Production.INFO: ==13722== Lock acquired, processing the job...
[2025-01-09 16:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:35:01] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-01-09 21:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:35:01] Production.INFO: ==13724== Releasing lock...
[2025-01-09 21:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:35:02] Production.INFO: ==13722== Releasing lock...
[2025-01-09 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:35:02] Production.INFO: ==13727== Lock acquired, processing the job...
[2025-01-09 16:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:35:02] Production.INFO: ==13733== Lock acquired, processing the job...
[2025-01-09 16:35:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:35:02] Production.INFO: ==13735== Lock acquired, processing the job...
[2025-01-09 16:35:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:35:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:35:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:35:03] Production.INFO: Account Balance Start.
[2025-01-09 16:35:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:35:03] Production.INFO: 117
[2025-01-09 16:35:03] Production.INFO: ==13729== Lock acquired, processing the job...
[2025-01-09 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:35:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:35:03] Production.INFO: ==13731== Lock acquired, processing the job...
[2025-01-09 16:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:35:03] Production.INFO: ==13737== Lock acquired, processing the job...
[2025-01-09 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:35:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:35:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:35:03] Production.ERROR: done
[2025-01-09 16:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:35:03] Production.INFO: Total Charge 0
[2025-01-09 16:35:03] Production.INFO: CreateAllLog End
[2025-01-09 16:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:35:03] Production.INFO: count ==21
[2025-01-09 16:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:35:03] Production.INFO: count ==21
[2025-01-09 16:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210836') start
[2025-01-09 16:35:03] Production.ERROR: done
[2025-01-09 16:35:03] Production.INFO: Account Balance End.
[2025-01-09 16:35:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:35:03] Production.INFO: ==13733== Releasing lock...
[2025-01-09 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210836') end
[2025-01-09 16:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:35:03] Production.INFO: 1
[2025-01-09 16:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:35:03] Production.INFO: ==13729== Releasing lock...
[2025-01-09 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:35:03] Production.INFO: ==13737== Releasing lock...
[2025-01-09 16:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:35:04
[end_date_ymd] => 2025-01-09 16:35:04
[RateCDR] => 1
)
[2025-01-09 16:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:35:04' and `end` < '2025-01-09 16:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:35:11] Production.ERROR: CronJobId end10
[2025-01-09 16:35:11] Production.INFO: ==13731== Releasing lock...
[2025-01-09 16:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:35:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:35:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:35:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:35:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:35:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:35:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:35:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:35:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:35:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:35:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:35:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:35:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:35:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:35:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:35:12] Production.INFO: call_cost start
[2025-01-09 16:35:12] Production.INFO: call_cost end
[2025-01-09 16:35:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:35:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:35:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:35:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:35:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:35:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:35:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:35:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:35:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:35:12] Production.INFO: ==13727== Releasing lock...
[2025-01-09 16:35:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:35:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:35:25] Production.INFO: count ==4231
[2025-01-09 16:35:26] Production.ERROR: pbx CDR StartTime 2025-01-09 13:35:04 - End Time 2025-01-09 16:35:04
[2025-01-09 16:35:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:35:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210837', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210837', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210837', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:35:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210837', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:35:27] Production.INFO: ProcessCDR(1,14210837,1,1,2)
[2025-01-09 16:35:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:35:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210837,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:35:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:35:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210837,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210837', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:35:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210837', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:35:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:35:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:35:31] Production.INFO: ==13735== Releasing lock...
[2025-01-09 16:35:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:35:31] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 21:36:01] Production.INFO: ==13790== Lock acquired, processing the job...
[2025-01-09 21:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:36:01] Production.INFO: neon service started
[2025-01-09 21:36:01] Production.INFO: neon service started
[2025-01-09 21:36:01] Production.INFO: ==13790== Releasing lock...
[2025-01-09 21:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:36:02] Production.INFO: ==13792== Lock acquired, processing the job...
[2025-01-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:36:02] Production.INFO: ==13792== Releasing lock...
[2025-01-09 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:36:02] Production.INFO: ==13794== Lock acquired, processing the job...
[2025-01-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:36:02] Production.INFO: ==13794== Releasing lock...
[2025-01-09 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:36:03] Production.INFO: ==13803== Lock acquired, processing the job...
[2025-01-09 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:36:03] Production.INFO: ==13805== Lock acquired, processing the job...
[2025-01-09 16:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:36:03] Production.INFO: Account Balance Start.
[2025-01-09 16:36:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:36:03] Production.INFO: 117
[2025-01-09 16:36:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:36:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:36:03] Production.INFO: ==13797== Lock acquired, processing the job...
[2025-01-09 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:36:03] Production.INFO: Total Charge 0
[2025-01-09 16:36:03] Production.INFO: CreateAllLog End
[2025-01-09 16:36:03] Production.INFO: ==13807== Lock acquired, processing the job...
[2025-01-09 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:36:03] Production.INFO: ==13801== Lock acquired, processing the job...
[2025-01-09 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:36:03] Production.INFO: ==13799== Lock acquired, processing the job...
[2025-01-09 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:36:03] Production.ERROR: done
[2025-01-09 16:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:36:03] Production.INFO: Account Balance End.
[2025-01-09 16:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:36:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:36:03] Production.INFO: ==13803== Releasing lock...
[2025-01-09 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:36:03] Production.INFO: count ==21
[2025-01-09 16:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:36:03] Production.ERROR: done
[2025-01-09 16:36:04] Production.INFO: count ==21
[2025-01-09 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210841') start
[2025-01-09 16:36:04] Production.INFO: ==13799== Releasing lock...
[2025-01-09 16:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210841') end
[2025-01-09 16:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:36:04] Production.INFO: 1
[2025-01-09 16:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:36:04] Production.INFO: ==13807== Releasing lock...
[2025-01-09 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:36:05
[end_date_ymd] => 2025-01-09 16:36:05
[RateCDR] => 1
)
[2025-01-09 16:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:36:05' and `end` < '2025-01-09 16:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:36:12] Production.ERROR: CronJobId end10
[2025-01-09 16:36:12] Production.INFO: ==13801== Releasing lock...
[2025-01-09 16:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:36:13] Production.INFO: call_cost start
[2025-01-09 16:36:13] Production.INFO: call_cost end
[2025-01-09 16:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:36:14] Production.INFO: ==13797== Releasing lock...
[2025-01-09 16:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:36:25] Production.INFO: count ==4251
[2025-01-09 16:36:27] Production.ERROR: pbx CDR StartTime 2025-01-09 13:36:05 - End Time 2025-01-09 16:36:05
[2025-01-09 16:36:27] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210842', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210842', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210842', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:36:27] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210842', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:36:27] Production.INFO: ProcessCDR(1,14210842,1,1,2)
[2025-01-09 16:36:27] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:36:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210842,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:36:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:36:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210842,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210842', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:36:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210842', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:36:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:36:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:36:32] Production.INFO: ==13805== Releasing lock...
[2025-01-09 16:36:32] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:36:32] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 21:37:02] Production.INFO: ==13861== Lock acquired, processing the job...
[2025-01-09 21:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:37:02] Production.INFO: neon service started
[2025-01-09 21:37:02] Production.INFO: neon service started
[2025-01-09 21:37:02] Production.INFO: ==13861== Releasing lock...
[2025-01-09 21:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:37:03] Production.INFO: ==13863== Lock acquired, processing the job...
[2025-01-09 16:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:37:03] Production.INFO: ==13865== Lock acquired, processing the job...
[2025-01-09 21:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:37:03] Production.INFO: ==13865== Releasing lock...
[2025-01-09 21:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:37:03] Production.INFO: ==13863== Releasing lock...
[2025-01-09 16:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:37:04] Production.INFO: ==13874== Lock acquired, processing the job...
[2025-01-09 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:37:04] Production.INFO: ==13876== Lock acquired, processing the job...
[2025-01-09 16:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:37:04] Production.INFO: Account Balance Start.
[2025-01-09 16:37:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:37:04] Production.INFO: 117
[2025-01-09 16:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:37:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:37:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:37:04] Production.INFO: Total Charge 0
[2025-01-09 16:37:04] Production.INFO: CreateAllLog End
[2025-01-09 16:37:04] Production.INFO: ==13868== Lock acquired, processing the job...
[2025-01-09 16:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:37:04] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-01-09 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:37:04] Production.ERROR: done
[2025-01-09 16:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:37:04] Production.INFO: ==13872== Lock acquired, processing the job...
[2025-01-09 16:37:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:37:04] Production.INFO: Account Balance End.
[2025-01-09 16:37:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:37:04] Production.INFO: ==13874== Releasing lock...
[2025-01-09 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:37:04] Production.ERROR: done
[2025-01-09 16:37:04] Production.INFO: ==13878== Lock acquired, processing the job...
[2025-01-09 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:37:04] Production.INFO: count ==21
[2025-01-09 16:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:37:04] Production.INFO: ==13870== Releasing lock...
[2025-01-09 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:37:04] Production.INFO: count ==21
[2025-01-09 16:37:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210847') start
[2025-01-09 16:37:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210847') end
[2025-01-09 16:37:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:37:05] Production.INFO: 1
[2025-01-09 16:37:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:37:05] Production.INFO: ==13878== Releasing lock...
[2025-01-09 16:37:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:37:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:37:05
[end_date_ymd] => 2025-01-09 16:37:05
[RateCDR] => 1
)
[2025-01-09 16:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:37:05' and `end` < '2025-01-09 16:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:37:12] Production.ERROR: CronJobId end10
[2025-01-09 16:37:12] Production.INFO: ==13872== Releasing lock...
[2025-01-09 16:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:37:13] Production.INFO: call_cost start
[2025-01-09 16:37:13] Production.INFO: call_cost end
[2025-01-09 16:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:37:14] Production.INFO: ==13868== Releasing lock...
[2025-01-09 16:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:37:24] Production.INFO: count ==4237
[2025-01-09 16:37:26] Production.ERROR: pbx CDR StartTime 2025-01-09 13:37:05 - End Time 2025-01-09 16:37:05
[2025-01-09 16:37:26] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210846', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210846', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210846', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:37:26] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210846', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:37:26] Production.INFO: ProcessCDR(1,14210846,1,1,2)
[2025-01-09 16:37:26] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:37:28] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210846,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:37:28] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:37:30] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210846,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210846', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:37:30] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210846', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:37:30] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:37:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:37:31] Production.INFO: ==13876== Releasing lock...
[2025-01-09 16:37:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:37:31] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 21:38:02] Production.INFO: ==13931== Lock acquired, processing the job...
[2025-01-09 21:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:38:02] Production.INFO: neon service started
[2025-01-09 21:38:02] Production.INFO: neon service started
[2025-01-09 21:38:02] Production.INFO: ==13931== Releasing lock...
[2025-01-09 21:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:38:02] Production.INFO: ==13933== Lock acquired, processing the job...
[2025-01-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:38:02] Production.INFO: ==13933== Releasing lock...
[2025-01-09 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:38:02] Production.INFO: ==13935== Lock acquired, processing the job...
[2025-01-09 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:38:03] Production.INFO: ==13935== Releasing lock...
[2025-01-09 21:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:38:03] Production.INFO: ==13937== Lock acquired, processing the job...
[2025-01-09 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:38:03] Production.INFO: ==13941== Lock acquired, processing the job...
[2025-01-09 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:38:03] Production.INFO: ==13943== Lock acquired, processing the job...
[2025-01-09 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:38:03] Production.INFO: ==13939== Lock acquired, processing the job...
[2025-01-09 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:38:03] Production.INFO: Account Balance Start.
[2025-01-09 16:38:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:38:03] Production.INFO: 117
[2025-01-09 16:38:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:38:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:38:03] Production.INFO: ==13946== Lock acquired, processing the job...
[2025-01-09 16:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:38:03] Production.INFO: Total Charge 0
[2025-01-09 16:38:03] Production.INFO: CreateAllLog End
[2025-01-09 16:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:38:04] Production.INFO: ==13948== Lock acquired, processing the job...
[2025-01-09 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:38:04] Production.INFO: Account Balance End.
[2025-01-09 16:38:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:38:04] Production.INFO: ==13943== Releasing lock...
[2025-01-09 16:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:38:04] Production.INFO: ==13939== Releasing lock...
[2025-01-09 16:38:04] Production.ERROR: done
[2025-01-09 16:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:38:04] Production.INFO: count ==21
[2025-01-09 16:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:38:04] Production.INFO: count ==21
[2025-01-09 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210851') start
[2025-01-09 16:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210851') end
[2025-01-09 16:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:38:04] Production.INFO: 1
[2025-01-09 16:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:38:04] Production.ERROR: done
[2025-01-09 16:38:04] Production.INFO: ==13948== Releasing lock...
[2025-01-09 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:38:05
[end_date_ymd] => 2025-01-09 16:38:05
[RateCDR] => 1
)
[2025-01-09 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:38:05' and `end` < '2025-01-09 16:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:38:12] Production.ERROR: CronJobId end10
[2025-01-09 16:38:12] Production.INFO: ==13941== Releasing lock...
[2025-01-09 16:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:38:14] Production.INFO: call_cost start
[2025-01-09 16:38:14] Production.INFO: call_cost end
[2025-01-09 16:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:38:15] Production.INFO: ==13937== Releasing lock...
[2025-01-09 16:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:38:23] Production.INFO: count ==4249
[2025-01-09 16:38:24] Production.ERROR: pbx CDR StartTime 2025-01-09 13:38:05 - End Time 2025-01-09 16:38:05
[2025-01-09 16:38:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:38:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210852', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210852', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210852', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:38:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210852', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:38:25] Production.INFO: ProcessCDR(1,14210852,1,1,2)
[2025-01-09 16:38:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:38:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210852,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:38:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:38:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210852,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210852', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:38:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210852', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:38:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:38:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:38:29] Production.INFO: ==13946== Releasing lock...
[2025-01-09 16:38:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:38:29] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 21:39:01] Production.INFO: ==14002== Lock acquired, processing the job...
[2025-01-09 21:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:39:01] Production.INFO: neon service started
[2025-01-09 21:39:01] Production.INFO: neon service started
[2025-01-09 21:39:01] Production.INFO: ==14002== Releasing lock...
[2025-01-09 21:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:39:01] Production.INFO: ==14004== Lock acquired, processing the job...
[2025-01-09 16:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:39:02] Production.INFO: ==14006== Lock acquired, processing the job...
[2025-01-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:39:02] Production.INFO: ==14006== Releasing lock...
[2025-01-09 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:39:02] Production.INFO: ==14004== Releasing lock...
[2025-01-09 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:39:02] Production.INFO: ==14008== Lock acquired, processing the job...
[2025-01-09 16:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:39:03] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-01-09 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:39:03] Production.INFO: ==14010== Lock acquired, processing the job...
[2025-01-09 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:39:03] Production.INFO: count ==21
[2025-01-09 16:39:03] Production.INFO: ==14012== Lock acquired, processing the job...
[2025-01-09 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:39:03] Production.INFO: ==14014== Lock acquired, processing the job...
[2025-01-09 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:39:03] Production.INFO: count ==21
[2025-01-09 16:39:03] Production.INFO: ==14016== Lock acquired, processing the job...
[2025-01-09 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210854') start
[2025-01-09 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:39:03] Production.INFO: Account Balance Start.
[2025-01-09 16:39:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210854') end
[2025-01-09 16:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:39:03] Production.INFO: 1
[2025-01-09 16:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:39:03] Production.INFO: 117
[2025-01-09 16:39:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:39:03] Production.INFO: ==14019== Releasing lock...
[2025-01-09 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:39:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:39:03] Production.INFO: ==14010== Releasing lock...
[2025-01-09 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:39:03] Production.INFO: Total Charge 0
[2025-01-09 16:39:03] Production.INFO: CreateAllLog End
[2025-01-09 16:39:03] Production.ERROR: done
[2025-01-09 16:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:39:03] Production.INFO: Account Balance End.
[2025-01-09 16:39:04] Production.ERROR: done
[2025-01-09 16:39:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:39:04] Production.INFO: ==14014== Releasing lock...
[2025-01-09 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:39:04
[end_date_ymd] => 2025-01-09 16:39:04
[RateCDR] => 1
)
[2025-01-09 16:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:39:04' and `end` < '2025-01-09 16:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:39:10] Production.ERROR: CronJobId end10
[2025-01-09 16:39:10] Production.INFO: ==14012== Releasing lock...
[2025-01-09 16:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:39:12] Production.INFO: call_cost start
[2025-01-09 16:39:12] Production.INFO: call_cost end
[2025-01-09 16:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:39:13] Production.INFO: ==14008== Releasing lock...
[2025-01-09 16:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:39:21] Production.INFO: count ==4217
[2025-01-09 16:39:23] Production.ERROR: pbx CDR StartTime 2025-01-09 13:39:04 - End Time 2025-01-09 16:39:04
[2025-01-09 16:39:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210857', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210857', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210857', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:39:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210857', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:39:23] Production.INFO: ProcessCDR(1,14210857,1,1,2)
[2025-01-09 16:39:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:39:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210857,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:39:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:39:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210857,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:39:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210857', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:39:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210857', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:39:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:39:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:39:28] Production.INFO: ==14016== Releasing lock...
[2025-01-09 16:39:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:39:28] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 21:40:02] Production.INFO: ==14073== Lock acquired, processing the job...
[2025-01-09 21:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:40:02] Production.INFO: neon service started
[2025-01-09 21:40:02] Production.INFO: neon service started
[2025-01-09 21:40:02] Production.INFO: ==14073== Releasing lock...
[2025-01-09 21:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:40:02] Production.INFO: ==14075== Lock acquired, processing the job...
[2025-01-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:40:02] Production.INFO: ==14077== Lock acquired, processing the job...
[2025-01-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:40:02] Production.INFO: ==14077== Releasing lock...
[2025-01-09 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:40:02] Production.INFO: ==14075== Releasing lock...
[2025-01-09 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:40:03] Production.INFO: ==14079== Lock acquired, processing the job...
[2025-01-09 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 16:40:03] Production.INFO: ==14081== Lock acquired, processing the job...
[2025-01-09 16:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:40:03] Production.INFO: ==14085== Lock acquired, processing the job...
[2025-01-09 16:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:40:03] Production.INFO: ==14083== Lock acquired, processing the job...
[2025-01-09 16:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 16:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 16:40:03] Production.ERROR: CronJob PID - 14081
[2025-01-09 16:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 16:40:03] Production.ERROR: CronJob ID - 5
[2025-01-09 16:40:03] Production.ERROR: CronJob Last Run Time 2025-01-09 16:40:00
[2025-01-09 16:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 16:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 16:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 16:40:03] Production.INFO: ==14079== Releasing lock...
[2025-01-09 16:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 16:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 16:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:40:03] Production.INFO: ==14087== Lock acquired, processing the job...
[2025-01-09 16:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:40:03] Production.INFO: ==14083== Releasing lock...
[2025-01-09 16:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:40:04] Production.INFO: Account Balance Start.
[2025-01-09 16:40:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:40:04] Production.INFO: 117
[2025-01-09 16:40:04] Production.INFO: ==14089== Lock acquired, processing the job...
[2025-01-09 16:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:40:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:40:04] Production.INFO: ==14091== Lock acquired, processing the job...
[2025-01-09 16:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:40:04] Production.INFO: ==14094== Lock acquired, processing the job...
[2025-01-09 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:40:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:40:04] Production.INFO: Total Charge 0
[2025-01-09 16:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:40:04] Production.INFO: CreateAllLog End
[2025-01-09 16:40:04] Production.ERROR: done
[2025-01-09 16:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:40:04] Production.INFO: count ==21
[2025-01-09 16:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:40:04] Production.INFO: count ==21
[2025-01-09 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210861') start
[2025-01-09 16:40:04] Production.ERROR: done
[2025-01-09 16:40:04] Production.ERROR: done
[2025-01-09 16:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 16:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210862', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210861') end
[2025-01-09 16:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:40:04] Production.INFO: 1
[2025-01-09 16:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:40:04] Production.INFO: Account Balance End.
[2025-01-09 16:40:04] Production.INFO: ==14094== Releasing lock...
[2025-01-09 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:40:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:40:04] Production.INFO: ==14087== Releasing lock...
[2025-01-09 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:40:05
[end_date_ymd] => 2025-01-09 16:40:05
[RateCDR] => 1
)
[2025-01-09 16:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:40:05' and `end` < '2025-01-09 16:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210862', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 16:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 16:40:08] Production.INFO: ProcessCDR(1,14210862,1,1,2)
[2025-01-09 16:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210862,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210862,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:40:08] Production.INFO: ==14091== Releasing lock...
[2025-01-09 16:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 16:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:40:13] Production.ERROR: CronJobId end10
[2025-01-09 16:40:13] Production.INFO: ==14085== Releasing lock...
[2025-01-09 16:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:40:14] Production.INFO: call_cost start
[2025-01-09 16:40:14] Production.INFO: call_cost end
[2025-01-09 16:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:40:15] Production.INFO: ==14081== Releasing lock...
[2025-01-09 16:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:40:28] Production.INFO: count ==4215
[2025-01-09 16:40:29] Production.ERROR: pbx CDR StartTime 2025-01-09 13:40:05 - End Time 2025-01-09 16:40:05
[2025-01-09 16:40:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210863', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210863', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210863', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:40:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210863', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:40:29] Production.INFO: ProcessCDR(1,14210863,1,1,2)
[2025-01-09 16:40:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:40:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210863,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:40:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:40:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210863,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210863', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:40:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210863', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:40:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:40:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:40:34] Production.INFO: ==14089== Releasing lock...
[2025-01-09 16:40:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:40:34] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 21:41:01] Production.INFO: ==14151== Lock acquired, processing the job...
[2025-01-09 21:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:41:01] Production.INFO: neon service started
[2025-01-09 21:41:01] Production.INFO: neon service started
[2025-01-09 21:41:01] Production.INFO: ==14151== Releasing lock...
[2025-01-09 21:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:41:01] Production.INFO: ==14153== Lock acquired, processing the job...
[2025-01-09 16:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:41:02] Production.INFO: ==14153== Releasing lock...
[2025-01-09 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:41:02] Production.INFO: ==14155== Lock acquired, processing the job...
[2025-01-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:41:02] Production.INFO: ==14155== Releasing lock...
[2025-01-09 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:41:02] Production.INFO: ==14158== Lock acquired, processing the job...
[2025-01-09 16:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:41:02] Production.INFO: ==14166== Lock acquired, processing the job...
[2025-01-09 16:41:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:41:03] Production.INFO: ==14160== Lock acquired, processing the job...
[2025-01-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:41:03] Production.INFO: ==14168== Lock acquired, processing the job...
[2025-01-09 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:41:03] Production.INFO: ==14164== Lock acquired, processing the job...
[2025-01-09 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:41:03] Production.INFO: ==14162== Lock acquired, processing the job...
[2025-01-09 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:41:03] Production.INFO: count ==21
[2025-01-09 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-01-09 16:41:03] Production.INFO: count ==21
[2025-01-09 16:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210866') start
[2025-01-09 16:41:03] Production.INFO: Account Balance Start.
[2025-01-09 16:41:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:41:03] Production.INFO: 117
[2025-01-09 16:41:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:41:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:41:03] Production.ERROR: done
[2025-01-09 16:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210866') end
[2025-01-09 16:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:41:03] Production.INFO: 1
[2025-01-09 16:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:41:03] Production.INFO: Total Charge 0
[2025-01-09 16:41:03] Production.INFO: CreateAllLog End
[2025-01-09 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:41:03] Production.INFO: ==14168== Releasing lock...
[2025-01-09 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:41:03] Production.ERROR: done
[2025-01-09 16:41:03] Production.INFO: ==14160== Releasing lock...
[2025-01-09 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:41:03] Production.INFO: Account Balance End.
[2025-01-09 16:41:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:41:03] Production.INFO: ==14164== Releasing lock...
[2025-01-09 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:41:04
[end_date_ymd] => 2025-01-09 16:41:04
[RateCDR] => 1
)
[2025-01-09 16:41:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:41:04' and `end` < '2025-01-09 16:41:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:41:11] Production.ERROR: CronJobId end10
[2025-01-09 16:41:11] Production.INFO: ==14162== Releasing lock...
[2025-01-09 16:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:41:13] Production.INFO: call_cost start
[2025-01-09 16:41:13] Production.INFO: call_cost end
[2025-01-09 16:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:41:13] Production.INFO: ==14158== Releasing lock...
[2025-01-09 16:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:41:30] Production.INFO: count ==4332
[2025-01-09 16:41:32] Production.ERROR: pbx CDR StartTime 2025-01-09 13:41:04 - End Time 2025-01-09 16:41:04
[2025-01-09 16:41:32] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:41:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210868', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:41:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210868', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:41:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210868', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:41:32] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210868', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:41:32] Production.INFO: ProcessCDR(1,14210868,1,1,2)
[2025-01-09 16:41:32] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:41:33] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210868,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:41:33] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:41:35] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210868,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:41:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210868', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:41:35] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210868', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:41:35] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:41:35] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:41:35] Production.INFO: ==14166== Releasing lock...
[2025-01-09 16:41:35] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:41:35] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:42:01] Production.INFO: ==14228== Lock acquired, processing the job...
[2025-01-09 21:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:42:01] Production.INFO: neon service started
[2025-01-09 21:42:01] Production.INFO: neon service started
[2025-01-09 21:42:01] Production.INFO: ==14228== Releasing lock...
[2025-01-09 21:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:42:02] Production.INFO: ==14230== Lock acquired, processing the job...
[2025-01-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:42:02] Production.INFO: ==14230== Releasing lock...
[2025-01-09 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:42:02] Production.INFO: ==14232== Lock acquired, processing the job...
[2025-01-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:42:02] Production.INFO: ==14232== Releasing lock...
[2025-01-09 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:42:03] Production.INFO: ==14234== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:42:03] Production.INFO: ==14236== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:42:03] Production.INFO: ==14238== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:42:03] Production.INFO: ==14242== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:42:03] Production.INFO: ==14240== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:42:03] Production.INFO: ==14244== Lock acquired, processing the job...
[2025-01-09 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:42:03] Production.INFO: ==14236== Releasing lock...
[2025-01-09 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:42:03] Production.ERROR: done
[2025-01-09 16:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:42:03] Production.INFO: Account Balance Start.
[2025-01-09 16:42:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:42:03] Production.INFO: 117
[2025-01-09 16:42:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:42:04] Production.INFO: count ==21
[2025-01-09 16:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:42:04] Production.INFO: count ==21
[2025-01-09 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210872') start
[2025-01-09 16:42:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:42:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:42:04] Production.INFO: Total Charge 0
[2025-01-09 16:42:04] Production.INFO: CreateAllLog End
[2025-01-09 16:42:04] Production.ERROR: done
[2025-01-09 16:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210872') end
[2025-01-09 16:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:42:04] Production.INFO: 1
[2025-01-09 16:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:42:04] Production.INFO: ==14244== Releasing lock...
[2025-01-09 16:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:42:04] Production.INFO: Account Balance End.
[2025-01-09 16:42:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:42:04] Production.INFO: ==14240== Releasing lock...
[2025-01-09 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:42:05
[end_date_ymd] => 2025-01-09 16:42:05
[RateCDR] => 1
)
[2025-01-09 16:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:42:05' and `end` < '2025-01-09 16:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:42:12] Production.ERROR: CronJobId end10
[2025-01-09 16:42:12] Production.INFO: ==14238== Releasing lock...
[2025-01-09 16:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:42:13] Production.INFO: call_cost start
[2025-01-09 16:42:13] Production.INFO: call_cost end
[2025-01-09 16:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:42:13] Production.INFO: ==14234== Releasing lock...
[2025-01-09 16:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:42:23] Production.INFO: count ==4334
[2025-01-09 16:42:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:42:05 - End Time 2025-01-09 16:42:05
[2025-01-09 16:42:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210873', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210873', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210873', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:42:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210873', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:42:25] Production.INFO: ProcessCDR(1,14210873,1,1,2)
[2025-01-09 16:42:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:42:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210873,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:42:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:42:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210873,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210873', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:42:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210873', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:42:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:42:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:42:30] Production.INFO: ==14242== Releasing lock...
[2025-01-09 16:42:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:42:30] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:43:01] Production.INFO: ==14338== Lock acquired, processing the job...
[2025-01-09 21:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:43:01] Production.INFO: neon service started
[2025-01-09 21:43:01] Production.INFO: neon service started
[2025-01-09 21:43:01] Production.INFO: ==14338== Releasing lock...
[2025-01-09 21:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:43:01] Production.INFO: ==14341== Lock acquired, processing the job...
[2025-01-09 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:43:01] Production.INFO: ==14343== Lock acquired, processing the job...
[2025-01-09 21:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:43:01] Production.INFO: ==14341== Releasing lock...
[2025-01-09 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:43:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:43:02] Production.INFO: ==14343== Releasing lock...
[2025-01-09 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:43:02] Production.INFO: ==14345== Lock acquired, processing the job...
[2025-01-09 16:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:43:02] Production.INFO: ==14349== Lock acquired, processing the job...
[2025-01-09 16:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:43:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:43:02] Production.INFO: ==14347== Lock acquired, processing the job...
[2025-01-09 16:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:43:02] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:43:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:43:02] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:43:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:43:02] Production.INFO: ==14353== Lock acquired, processing the job...
[2025-01-09 16:43:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:43:02] Production.INFO: ==14351== Lock acquired, processing the job...
[2025-01-09 16:43:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:43:03] Production.INFO: ==14355== Lock acquired, processing the job...
[2025-01-09 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:43:03] Production.INFO: Account Balance Start.
[2025-01-09 16:43:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:43:03] Production.INFO: 117
[2025-01-09 16:43:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:43:03] Production.INFO: count ==21
[2025-01-09 16:43:03] Production.INFO: ==14347== Releasing lock...
[2025-01-09 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:43:03] Production.INFO: count ==21
[2025-01-09 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210877') start
[2025-01-09 16:43:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:43:03] Production.INFO: Total Charge 0
[2025-01-09 16:43:03] Production.INFO: CreateAllLog End
[2025-01-09 16:43:03] Production.ERROR: done
[2025-01-09 16:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210877') end
[2025-01-09 16:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:43:03] Production.INFO: 1
[2025-01-09 16:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:43:03] Production.ERROR: done
[2025-01-09 16:43:03] Production.INFO: ==14355== Releasing lock...
[2025-01-09 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:43:03] Production.INFO: Account Balance End.
[2025-01-09 16:43:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:43:03] Production.INFO: ==14351== Releasing lock...
[2025-01-09 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:43:04
[end_date_ymd] => 2025-01-09 16:43:04
[RateCDR] => 1
)
[2025-01-09 16:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:43:04' and `end` < '2025-01-09 16:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:43:10] Production.ERROR: CronJobId end10
[2025-01-09 16:43:10] Production.INFO: ==14349== Releasing lock...
[2025-01-09 16:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:43:12] Production.INFO: call_cost start
[2025-01-09 16:43:12] Production.INFO: call_cost end
[2025-01-09 16:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:43:13] Production.INFO: ==14345== Releasing lock...
[2025-01-09 16:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:43:18] Production.INFO: count ==4330
[2025-01-09 16:43:20] Production.ERROR: pbx CDR StartTime 2025-01-09 13:43:04 - End Time 2025-01-09 16:43:04
[2025-01-09 16:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210878', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210878', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210878', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210878', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:43:20] Production.INFO: ProcessCDR(1,14210878,1,1,2)
[2025-01-09 16:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210878,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210878,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210878', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210878', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:43:25] Production.INFO: ==14353== Releasing lock...
[2025-01-09 16:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:43:25] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:44:01] Production.INFO: ==14412== Lock acquired, processing the job...
[2025-01-09 21:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:44:01] Production.INFO: neon service started
[2025-01-09 21:44:01] Production.INFO: neon service started
[2025-01-09 21:44:01] Production.INFO: ==14412== Releasing lock...
[2025-01-09 21:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:44:02] Production.INFO: ==14416== Lock acquired, processing the job...
[2025-01-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:44:02] Production.INFO: ==14416== Releasing lock...
[2025-01-09 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:44:02] Production.INFO: ==14414== Lock acquired, processing the job...
[2025-01-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:44:02] Production.INFO: ==14414== Releasing lock...
[2025-01-09 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:44:03] Production.INFO: ==14419== Lock acquired, processing the job...
[2025-01-09 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:44:03] Production.INFO: ==14421== Lock acquired, processing the job...
[2025-01-09 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:44:03] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-01-09 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:44:03] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-01-09 16:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:44:03] Production.INFO: count ==21
[2025-01-09 16:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:44:03] Production.INFO: count ==21
[2025-01-09 16:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210881') start
[2025-01-09 16:44:03] Production.INFO: ==14421== Releasing lock...
[2025-01-09 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:44:03] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-01-09 16:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:44:03] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-01-09 16:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210881') end
[2025-01-09 16:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:44:03] Production.INFO: 1
[2025-01-09 16:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:44:04] Production.INFO: Account Balance Start.
[2025-01-09 16:44:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:44:04] Production.INFO: 117
[2025-01-09 16:44:04] Production.INFO: ==14429== Releasing lock...
[2025-01-09 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:44:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:44:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:44:04] Production.INFO: Total Charge 0
[2025-01-09 16:44:04] Production.INFO: CreateAllLog End
[2025-01-09 16:44:04] Production.ERROR: done
[2025-01-09 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:44:04] Production.INFO: Account Balance End.
[2025-01-09 16:44:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:44:04] Production.INFO: ==14425== Releasing lock...
[2025-01-09 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:44:04] Production.ERROR: done
[2025-01-09 16:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:44:05
[end_date_ymd] => 2025-01-09 16:44:05
[RateCDR] => 1
)
[2025-01-09 16:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:44:05' and `end` < '2025-01-09 16:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:44:10] Production.ERROR: CronJobId end10
[2025-01-09 16:44:10] Production.INFO: ==14423== Releasing lock...
[2025-01-09 16:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:44:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:44:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:44:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:44:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:44:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:44:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:44:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:44:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:44:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:44:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:44:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:44:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:44:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:44:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:44:12] Production.INFO: call_cost start
[2025-01-09 16:44:12] Production.INFO: call_cost end
[2025-01-09 16:44:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:44:12] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:44:12] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:44:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:44:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:44:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:44:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:44:12] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:44:12] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:44:12] Production.INFO: ==14419== Releasing lock...
[2025-01-09 16:44:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:44:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:44:35] Production.INFO: count ==4344
[2025-01-09 16:44:36] Production.ERROR: pbx CDR StartTime 2025-01-09 13:44:05 - End Time 2025-01-09 16:44:05
[2025-01-09 16:44:36] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:44:36] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210883', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:44:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210883', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:44:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210883', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:44:37] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210883', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:44:37] Production.INFO: ProcessCDR(1,14210883,1,1,2)
[2025-01-09 16:44:37] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:44:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210883,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:44:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:44:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210883,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:44:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210883', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:44:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210883', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:44:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:44:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:44:41] Production.INFO: ==14427== Releasing lock...
[2025-01-09 16:44:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:44:41] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:45:02] Production.INFO: ==14483== Lock acquired, processing the job...
[2025-01-09 21:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:45:02] Production.INFO: neon service started
[2025-01-09 21:45:02] Production.INFO: neon service started
[2025-01-09 21:45:02] Production.INFO: ==14483== Releasing lock...
[2025-01-09 21:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:45:02] Production.INFO: ==14485== Lock acquired, processing the job...
[2025-01-09 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:45:02] Production.INFO: ==14487== Lock acquired, processing the job...
[2025-01-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:45:02] Production.INFO: ==14487== Releasing lock...
[2025-01-09 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:45:03] Production.INFO: ==14485== Releasing lock...
[2025-01-09 16:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:45:03] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-01-09 16:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:45:03] Production.INFO: ==14492== Lock acquired, processing the job...
[2025-01-09 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:45:03] Production.INFO: ==14500== Lock acquired, processing the job...
[2025-01-09 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:45:04] Production.INFO: ==14490== Lock acquired, processing the job...
[2025-01-09 16:45:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:45:04] Production.INFO: count ==21
[2025-01-09 16:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:45:04] Production.INFO: count ==21
[2025-01-09 16:45:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:45:04] Production.INFO: ==14496== Lock acquired, processing the job...
[2025-01-09 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:45:04] Production.INFO: ==14498== Lock acquired, processing the job...
[2025-01-09 16:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210885') start
[2025-01-09 16:45:04] Production.INFO: ==14492== Releasing lock...
[2025-01-09 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210885') end
[2025-01-09 16:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:45:04] Production.INFO: 1
[2025-01-09 16:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:45:04] Production.INFO: Account Balance Start.
[2025-01-09 16:45:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:45:04] Production.INFO: 117
[2025-01-09 16:45:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:45:04] Production.INFO: ==14500== Releasing lock...
[2025-01-09 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:45:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:45:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:45:04] Production.INFO: Total Charge 0
[2025-01-09 16:45:04] Production.INFO: CreateAllLog End
[2025-01-09 16:45:04] Production.ERROR: done
[2025-01-09 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:45:04] Production.INFO: Account Balance End.
[2025-01-09 16:45:04] Production.ERROR: done
[2025-01-09 16:45:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:45:04] Production.INFO: ==14496== Releasing lock...
[2025-01-09 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:45:05
[end_date_ymd] => 2025-01-09 16:45:05
[RateCDR] => 1
)
[2025-01-09 16:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:45:05' and `end` < '2025-01-09 16:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:45:11] Production.ERROR: CronJobId end10
[2025-01-09 16:45:11] Production.INFO: ==14494== Releasing lock...
[2025-01-09 16:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:45:13] Production.INFO: call_cost start
[2025-01-09 16:45:13] Production.INFO: call_cost end
[2025-01-09 16:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:45:13] Production.INFO: ==14490== Releasing lock...
[2025-01-09 16:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:45:27] Production.INFO: count ==4341
[2025-01-09 16:45:29] Production.ERROR: pbx CDR StartTime 2025-01-09 13:45:05 - End Time 2025-01-09 16:45:05
[2025-01-09 16:45:29] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210888', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210888', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210888', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:45:29] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210888', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:45:29] Production.INFO: ProcessCDR(1,14210888,1,1,2)
[2025-01-09 16:45:29] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:45:32] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:45:32] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:45:34] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:45:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210888', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:45:34] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210888', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:45:34] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:45:34] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:45:34] Production.INFO: ==14498== Releasing lock...
[2025-01-09 16:45:34] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:45:34] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:46:01] Production.INFO: ==14561== Lock acquired, processing the job...
[2025-01-09 21:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:46:01] Production.INFO: neon service started
[2025-01-09 21:46:01] Production.INFO: neon service started
[2025-01-09 21:46:01] Production.INFO: ==14561== Releasing lock...
[2025-01-09 21:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:46:01] Production.INFO: ==14563== Lock acquired, processing the job...
[2025-01-09 16:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:46:02] Production.INFO: ==14565== Lock acquired, processing the job...
[2025-01-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:46:02] Production.INFO: ==14563== Releasing lock...
[2025-01-09 16:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:46:02] Production.INFO: ==14565== Releasing lock...
[2025-01-09 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:46:03] Production.INFO: ==14568== Lock acquired, processing the job...
[2025-01-09 16:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:46:03] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-01-09 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:46:03] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-01-09 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:46:03] Production.INFO: ==14572== Lock acquired, processing the job...
[2025-01-09 16:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:46:03] Production.INFO: ==14578== Lock acquired, processing the job...
[2025-01-09 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:46:03] Production.INFO: Account Balance Start.
[2025-01-09 16:46:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:46:03] Production.INFO: 117
[2025-01-09 16:46:03] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-09 16:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:46:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:46:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:46:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:46:03] Production.INFO: count ==21
[2025-01-09 16:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:46:03] Production.INFO: count ==21
[2025-01-09 16:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210892') start
[2025-01-09 16:46:03] Production.INFO: Total Charge 0
[2025-01-09 16:46:03] Production.INFO: CreateAllLog End
[2025-01-09 16:46:03] Production.INFO: ==14570== Releasing lock...
[2025-01-09 16:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210892') end
[2025-01-09 16:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:46:03] Production.INFO: 1
[2025-01-09 16:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:46:03] Production.ERROR: done
[2025-01-09 16:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:46:03] Production.INFO: Account Balance End.
[2025-01-09 16:46:03] Production.INFO: ==14578== Releasing lock...
[2025-01-09 16:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:46:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:46:03] Production.INFO: ==14574== Releasing lock...
[2025-01-09 16:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:46:03] Production.ERROR: done
[2025-01-09 16:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:46:04
[end_date_ymd] => 2025-01-09 16:46:04
[RateCDR] => 1
)
[2025-01-09 16:46:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:46:04' and `end` < '2025-01-09 16:46:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:46:13] Production.ERROR: CronJobId end10
[2025-01-09 16:46:13] Production.INFO: ==14572== Releasing lock...
[2025-01-09 16:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:46:13] Production.INFO: call_cost start
[2025-01-09 16:46:13] Production.INFO: call_cost end
[2025-01-09 16:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:46:14] Production.INFO: ==14568== Releasing lock...
[2025-01-09 16:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:46:23] Production.INFO: count ==4340
[2025-01-09 16:46:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:46:04 - End Time 2025-01-09 16:46:04
[2025-01-09 16:46:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210893', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210893', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210893', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210893', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:46:25] Production.INFO: ProcessCDR(1,14210893,1,1,2)
[2025-01-09 16:46:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:46:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210893,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:46:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:46:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210893,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210893', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:46:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210893', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:46:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:46:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:46:29] Production.INFO: ==14576== Releasing lock...
[2025-01-09 16:46:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:46:29] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:47:02] Production.INFO: ==14645== Lock acquired, processing the job...
[2025-01-09 21:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:47:02] Production.INFO: neon service started
[2025-01-09 21:47:02] Production.INFO: neon service started
[2025-01-09 21:47:02] Production.INFO: ==14645== Releasing lock...
[2025-01-09 21:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:47:02] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-01-09 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:47:02] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-01-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:47:02] Production.INFO: ==14649== Releasing lock...
[2025-01-09 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:47:03] Production.INFO: ==14647== Releasing lock...
[2025-01-09 16:47:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:47:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:47:03] Production.INFO: ==14658== Lock acquired, processing the job...
[2025-01-09 16:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:47:03] Production.INFO: ==14660== Lock acquired, processing the job...
[2025-01-09 16:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:47:04] Production.INFO: ==14662== Lock acquired, processing the job...
[2025-01-09 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:47:04] Production.INFO: Account Balance Start.
[2025-01-09 16:47:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:47:04] Production.INFO: 117
[2025-01-09 16:47:04] Production.INFO: ==14654== Lock acquired, processing the job...
[2025-01-09 16:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:47:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:47:04] Production.INFO: ==14656== Lock acquired, processing the job...
[2025-01-09 16:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:47:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:47:04] Production.INFO: ==14652== Lock acquired, processing the job...
[2025-01-09 16:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:47:04] Production.INFO: count ==21
[2025-01-09 16:47:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:47:04] Production.INFO: count ==21
[2025-01-09 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210895') start
[2025-01-09 16:47:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:47:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:47:04] Production.INFO: Total Charge 0
[2025-01-09 16:47:04] Production.INFO: CreateAllLog End
[2025-01-09 16:47:04] Production.ERROR: done
[2025-01-09 16:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210895') end
[2025-01-09 16:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:47:04] Production.INFO: 1
[2025-01-09 16:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:47:04] Production.INFO: ==14654== Releasing lock...
[2025-01-09 16:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:47:04] Production.INFO: ==14662== Releasing lock...
[2025-01-09 16:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:47:04] Production.INFO: Account Balance End.
[2025-01-09 16:47:04] Production.ERROR: done
[2025-01-09 16:47:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:47:04] Production.INFO: ==14658== Releasing lock...
[2025-01-09 16:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:47:05
[end_date_ymd] => 2025-01-09 16:47:05
[RateCDR] => 1
)
[2025-01-09 16:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:47:05' and `end` < '2025-01-09 16:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:47:12] Production.ERROR: CronJobId end10
[2025-01-09 16:47:12] Production.INFO: ==14656== Releasing lock...
[2025-01-09 16:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:47:13] Production.INFO: call_cost start
[2025-01-09 16:47:14] Production.INFO: call_cost end
[2025-01-09 16:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:47:14] Production.INFO: ==14652== Releasing lock...
[2025-01-09 16:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:47:19] Production.INFO: count ==4309
[2025-01-09 16:47:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:47:05 - End Time 2025-01-09 16:47:05
[2025-01-09 16:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210898', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210898', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210898', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210898', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:47:21] Production.INFO: ProcessCDR(1,14210898,1,1,2)
[2025-01-09 16:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210898,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210898,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210898', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:47:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210898', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:47:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:47:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:47:25] Production.INFO: ==14660== Releasing lock...
[2025-01-09 16:47:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:47:25] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:48:01] Production.INFO: ==14724== Lock acquired, processing the job...
[2025-01-09 21:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:48:01] Production.INFO: neon service started
[2025-01-09 21:48:01] Production.INFO: neon service started
[2025-01-09 21:48:01] Production.INFO: ==14724== Releasing lock...
[2025-01-09 21:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:48:02] Production.INFO: ==14727== Lock acquired, processing the job...
[2025-01-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:48:02] Production.INFO: ==14729== Lock acquired, processing the job...
[2025-01-09 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:48:02] Production.INFO: ==14729== Releasing lock...
[2025-01-09 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:48:02] Production.INFO: ==14727== Releasing lock...
[2025-01-09 16:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:48:03] Production.INFO: ==14733== Lock acquired, processing the job...
[2025-01-09 16:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:48:03] Production.INFO: ==14735== Lock acquired, processing the job...
[2025-01-09 16:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:48:03] Production.INFO: ==14737== Lock acquired, processing the job...
[2025-01-09 16:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:48:03] Production.INFO: ==14733== Releasing lock...
[2025-01-09 16:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:48:03] Production.INFO: Account Balance Start.
[2025-01-09 16:48:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:48:03] Production.INFO: 117
[2025-01-09 16:48:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:48:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:48:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:48:03] Production.INFO: ==14731== Lock acquired, processing the job...
[2025-01-09 16:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:48:03] Production.INFO: Total Charge 0
[2025-01-09 16:48:03] Production.INFO: CreateAllLog End
[2025-01-09 16:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:48:03] Production.INFO: Account Balance End.
[2025-01-09 16:48:03] Production.INFO: ==14739== Lock acquired, processing the job...
[2025-01-09 16:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:48:03] Production.INFO: ==14741== Lock acquired, processing the job...
[2025-01-09 16:48:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:48:03] Production.INFO: ==14737== Releasing lock...
[2025-01-09 16:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:48:04] Production.INFO: count ==21
[2025-01-09 16:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:48:04] Production.INFO: count ==21
[2025-01-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210902') start
[2025-01-09 16:48:04] Production.ERROR: done
[2025-01-09 16:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210902') end
[2025-01-09 16:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:48:04] Production.INFO: 1
[2025-01-09 16:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:48:04] Production.ERROR: done
[2025-01-09 16:48:04] Production.INFO: ==14741== Releasing lock...
[2025-01-09 16:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:48:05
[end_date_ymd] => 2025-01-09 16:48:05
[RateCDR] => 1
)
[2025-01-09 16:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:48:05' and `end` < '2025-01-09 16:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:48:11] Production.ERROR: CronJobId end10
[2025-01-09 16:48:11] Production.INFO: ==14735== Releasing lock...
[2025-01-09 16:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:48:13] Production.INFO: call_cost start
[2025-01-09 16:48:13] Production.INFO: call_cost end
[2025-01-09 16:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:48:14] Production.INFO: ==14731== Releasing lock...
[2025-01-09 16:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:48:23] Production.INFO: count ==4311
[2025-01-09 16:48:25] Production.ERROR: pbx CDR StartTime 2025-01-09 13:48:05 - End Time 2025-01-09 16:48:05
[2025-01-09 16:48:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210903', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210903', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210903', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:48:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210903', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:48:25] Production.INFO: ProcessCDR(1,14210903,1,1,2)
[2025-01-09 16:48:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:48:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210903,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:48:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:48:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210903,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:48:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210903', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:48:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210903', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:48:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:48:30] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:48:30] Production.INFO: ==14739== Releasing lock...
[2025-01-09 16:48:30] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:48:30] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:49:01] Production.INFO: ==14806== Lock acquired, processing the job...
[2025-01-09 21:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:49:01] Production.INFO: neon service started
[2025-01-09 21:49:01] Production.INFO: neon service started
[2025-01-09 21:49:01] Production.INFO: ==14806== Releasing lock...
[2025-01-09 21:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:49:01] Production.INFO: ==14810== Lock acquired, processing the job...
[2025-01-09 21:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:49:01] Production.INFO: ==14810== Releasing lock...
[2025-01-09 21:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:49:01] Production.INFO: ==14808== Lock acquired, processing the job...
[2025-01-09 16:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:49:02] Production.INFO: ==14808== Releasing lock...
[2025-01-09 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:49:02] Production.INFO: ==14814== Lock acquired, processing the job...
[2025-01-09 16:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:49:02] Production.INFO: ==14822== Lock acquired, processing the job...
[2025-01-09 16:49:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:49:03] Production.INFO: ==14812== Lock acquired, processing the job...
[2025-01-09 16:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:49:03] Production.INFO: count ==21
[2025-01-09 16:49:03] Production.INFO: ==14816== Lock acquired, processing the job...
[2025-01-09 16:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:49:03] Production.INFO: count ==21
[2025-01-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210905') start
[2025-01-09 16:49:03] Production.INFO: ==14814== Releasing lock...
[2025-01-09 16:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:49:03] Production.INFO: ==14818== Lock acquired, processing the job...
[2025-01-09 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210905') end
[2025-01-09 16:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:49:03] Production.INFO: 1
[2025-01-09 16:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:49:03] Production.INFO: ==14820== Lock acquired, processing the job...
[2025-01-09 16:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:49:03] Production.INFO: ==14822== Releasing lock...
[2025-01-09 16:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:49:03] Production.INFO: Account Balance Start.
[2025-01-09 16:49:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:49:03] Production.INFO: 117
[2025-01-09 16:49:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:49:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:49:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:49:03] Production.INFO: Total Charge 0
[2025-01-09 16:49:03] Production.INFO: CreateAllLog End
[2025-01-09 16:49:03] Production.ERROR: done
[2025-01-09 16:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:49:03] Production.INFO: Account Balance End.
[2025-01-09 16:49:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:49:03] Production.INFO: ==14818== Releasing lock...
[2025-01-09 16:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:49:04] Production.ERROR: done
[2025-01-09 16:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:49:05
[end_date_ymd] => 2025-01-09 16:49:05
[RateCDR] => 1
)
[2025-01-09 16:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:49:05' and `end` < '2025-01-09 16:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:49:11] Production.ERROR: CronJobId end10
[2025-01-09 16:49:11] Production.INFO: ==14816== Releasing lock...
[2025-01-09 16:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:49:13] Production.INFO: call_cost start
[2025-01-09 16:49:13] Production.INFO: call_cost end
[2025-01-09 16:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:49:13] Production.INFO: ==14812== Releasing lock...
[2025-01-09 16:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:49:20] Production.INFO: count ==4307
[2025-01-09 16:49:22] Production.ERROR: pbx CDR StartTime 2025-01-09 13:49:05 - End Time 2025-01-09 16:49:05
[2025-01-09 16:49:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210908', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210908', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210908', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:49:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210908', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:49:22] Production.INFO: ProcessCDR(1,14210908,1,1,2)
[2025-01-09 16:49:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:49:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210908,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:49:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:49:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210908,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210908', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:49:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210908', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:49:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:49:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:49:27] Production.INFO: ==14820== Releasing lock...
[2025-01-09 16:49:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:49:27] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:50:01] Production.INFO: ==14886== Lock acquired, processing the job...
[2025-01-09 21:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:50:01] Production.INFO: neon service started
[2025-01-09 21:50:01] Production.INFO: neon service started
[2025-01-09 21:50:01] Production.INFO: ==14886== Releasing lock...
[2025-01-09 21:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:50:02] Production.INFO: ==14888== Lock acquired, processing the job...
[2025-01-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:50:02] Production.INFO: ==14888== Releasing lock...
[2025-01-09 16:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:50:02] Production.INFO: ==14890== Lock acquired, processing the job...
[2025-01-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:50:02] Production.INFO: ==14890== Releasing lock...
[2025-01-09 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:50:03] Production.INFO: ==14893== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 16:50:03] Production.INFO: ==14895== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 16:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 16:50:03] Production.ERROR: CronJob PID - 14895
[2025-01-09 16:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 16:50:03] Production.ERROR: CronJob ID - 5
[2025-01-09 16:50:03] Production.ERROR: CronJob Last Run Time 2025-01-09 16:50:00
[2025-01-09 16:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 16:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 16:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 16:50:03] Production.INFO: ==14893== Releasing lock...
[2025-01-09 16:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 16:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 16:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:50:03] Production.INFO: ==14901== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:50:03] Production.INFO: ==14905== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 16:50:03] Production.INFO: ==14899== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:50:03] Production.INFO: ==14897== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:50:03] Production.INFO: Account Balance Start.
[2025-01-09 16:50:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:50:03] Production.INFO: 117
[2025-01-09 16:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:50:03] Production.INFO: ==14903== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:50:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:50:03] Production.INFO: ==14907== Lock acquired, processing the job...
[2025-01-09 16:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:50:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:50:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:50:04] Production.INFO: Total Charge 0
[2025-01-09 16:50:04] Production.INFO: CreateAllLog End
[2025-01-09 16:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:50:04] Production.INFO: count ==21
[2025-01-09 16:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:50:04] Production.INFO: count ==21
[2025-01-09 16:50:04] Production.ERROR: done
[2025-01-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210912') start
[2025-01-09 16:50:04] Production.INFO: ==14897== Releasing lock...
[2025-01-09 16:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 16:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210913', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 16:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210912') end
[2025-01-09 16:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:50:04] Production.INFO: 1
[2025-01-09 16:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:50:04] Production.ERROR: done
[2025-01-09 16:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:50:04] Production.INFO: Account Balance End.
[2025-01-09 16:50:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:50:04] Production.INFO: ==14901== Releasing lock...
[2025-01-09 16:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:50:04] Production.INFO: ==14907== Releasing lock...
[2025-01-09 16:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:50:04] Production.ERROR: done
[2025-01-09 16:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:50:06
[end_date_ymd] => 2025-01-09 16:50:06
[RateCDR] => 1
)
[2025-01-09 16:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:50:06' and `end` < '2025-01-09 16:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210913', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 16:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 16:50:08] Production.INFO: ProcessCDR(1,14210913,1,1,2)
[2025-01-09 16:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210913,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210913,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:50:08] Production.INFO: ==14905== Releasing lock...
[2025-01-09 16:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 16:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 16:50:11] Production.ERROR: CronJobId end10
[2025-01-09 16:50:11] Production.INFO: ==14899== Releasing lock...
[2025-01-09 16:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:50:14] Production.INFO: call_cost start
[2025-01-09 16:50:14] Production.INFO: call_cost end
[2025-01-09 16:50:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:50:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:50:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:50:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:50:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:50:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:50:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:50:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:50:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:50:14] Production.INFO: ==14895== Releasing lock...
[2025-01-09 16:50:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:50:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:50:26] Production.INFO: count ==4298
[2025-01-09 16:50:28] Production.ERROR: pbx CDR StartTime 2025-01-09 13:50:06 - End Time 2025-01-09 16:50:06
[2025-01-09 16:50:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210914', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210914', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210914', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:50:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210914', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:50:28] Production.INFO: ProcessCDR(1,14210914,1,1,2)
[2025-01-09 16:50:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:50:30] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210914,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:50:30] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:50:32] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210914,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:50:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210914', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:50:32] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210914', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:50:32] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:50:32] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:50:33] Production.INFO: ==14903== Releasing lock...
[2025-01-09 16:50:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:50:33] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:51:02] Production.INFO: ==14966== Lock acquired, processing the job...
[2025-01-09 21:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:51:02] Production.INFO: neon service started
[2025-01-09 21:51:02] Production.INFO: neon service started
[2025-01-09 21:51:02] Production.INFO: ==14966== Releasing lock...
[2025-01-09 21:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:51:02] Production.INFO: ==14968== Lock acquired, processing the job...
[2025-01-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:51:02] Production.INFO: ==14968== Releasing lock...
[2025-01-09 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:51:02] Production.INFO: ==14970== Lock acquired, processing the job...
[2025-01-09 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:51:03] Production.INFO: ==14970== Releasing lock...
[2025-01-09 21:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:51:03] Production.INFO: ==14980== Lock acquired, processing the job...
[2025-01-09 16:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:51:03] Production.INFO: ==14972== Lock acquired, processing the job...
[2025-01-09 16:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:51:03] Production.INFO: ==14984== Lock acquired, processing the job...
[2025-01-09 16:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:51:03] Production.INFO: Account Balance Start.
[2025-01-09 16:51:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:51:03] Production.INFO: 117
[2025-01-09 16:51:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:51:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:51:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:51:03] Production.INFO: ==14974== Lock acquired, processing the job...
[2025-01-09 16:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:51:03] Production.INFO: ==14977== Lock acquired, processing the job...
[2025-01-09 16:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:51:03] Production.INFO: Total Charge 0
[2025-01-09 16:51:03] Production.INFO: count ==21
[2025-01-09 16:51:03] Production.INFO: CreateAllLog End
[2025-01-09 16:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:51:03] Production.INFO: count ==21
[2025-01-09 16:51:04] Production.INFO: ==14982== Lock acquired, processing the job...
[2025-01-09 16:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210916') start
[2025-01-09 16:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210916') end
[2025-01-09 16:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:51:04] Production.INFO: 1
[2025-01-09 16:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:51:04] Production.INFO: Account Balance End.
[2025-01-09 16:51:04] Production.INFO: ==14984== Releasing lock...
[2025-01-09 16:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:51:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:51:04] Production.INFO: ==14980== Releasing lock...
[2025-01-09 16:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:51:04] Production.INFO: ==14974== Releasing lock...
[2025-01-09 16:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:51:04] Production.ERROR: done
[2025-01-09 16:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:51:04] Production.ERROR: done
[2025-01-09 16:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:51:05
[end_date_ymd] => 2025-01-09 16:51:05
[RateCDR] => 1
)
[2025-01-09 16:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:51:05' and `end` < '2025-01-09 16:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:51:12] Production.ERROR: CronJobId end10
[2025-01-09 16:51:12] Production.INFO: ==14977== Releasing lock...
[2025-01-09 16:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:51:12] Production.INFO: call_cost start
[2025-01-09 16:51:12] Production.INFO: call_cost end
[2025-01-09 16:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:51:13] Production.INFO: ==14972== Releasing lock...
[2025-01-09 16:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:51:23] Production.INFO: count ==4333
[2025-01-09 16:51:24] Production.ERROR: pbx CDR StartTime 2025-01-09 13:51:05 - End Time 2025-01-09 16:51:05
[2025-01-09 16:51:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210919', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210919', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210919', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:51:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210919', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:51:24] Production.INFO: ProcessCDR(1,14210919,1,1,2)
[2025-01-09 16:51:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:51:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:51:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:51:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210919', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:51:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210919', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:51:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:51:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:51:29] Production.INFO: ==14982== Releasing lock...
[2025-01-09 16:51:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:51:29] Production.INFO: 60.5 MB #Memory Used#
[2025-01-09 21:52:01] Production.INFO: ==15048== Lock acquired, processing the job...
[2025-01-09 21:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:52:01] Production.INFO: neon service started
[2025-01-09 21:52:01] Production.INFO: neon service started
[2025-01-09 21:52:01] Production.INFO: ==15048== Releasing lock...
[2025-01-09 21:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:52:02] Production.INFO: ==15050== Lock acquired, processing the job...
[2025-01-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:52:02] Production.INFO: ==15050== Releasing lock...
[2025-01-09 16:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:52:02] Production.INFO: ==15052== Lock acquired, processing the job...
[2025-01-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:52:02] Production.INFO: ==15052== Releasing lock...
[2025-01-09 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:52:03] Production.INFO: ==15055== Lock acquired, processing the job...
[2025-01-09 16:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:52:03] Production.INFO: ==15059== Lock acquired, processing the job...
[2025-01-09 16:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:52:03] Production.INFO: ==15057== Lock acquired, processing the job...
[2025-01-09 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:52:03] Production.INFO: ==15061== Lock acquired, processing the job...
[2025-01-09 16:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:52:03] Production.INFO: ==15063== Lock acquired, processing the job...
[2025-01-09 16:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:52:03] Production.INFO: ==15065== Lock acquired, processing the job...
[2025-01-09 16:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:52:03] Production.INFO: Account Balance Start.
[2025-01-09 16:52:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:52:03] Production.INFO: 117
[2025-01-09 16:52:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:52:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:52:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:52:03] Production.INFO: ==15057== Releasing lock...
[2025-01-09 16:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:52:03] Production.ERROR: done
[2025-01-09 16:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:52:03] Production.INFO: Total Charge 0
[2025-01-09 16:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:52:03] Production.INFO: CreateAllLog End
[2025-01-09 16:52:03] Production.INFO: count ==21
[2025-01-09 16:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:52:03] Production.INFO: count ==21
[2025-01-09 16:52:04] Production.ERROR: done
[2025-01-09 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210923') start
[2025-01-09 16:52:04] Production.INFO: Account Balance End.
[2025-01-09 16:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210923') end
[2025-01-09 16:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:52:04] Production.INFO: 1
[2025-01-09 16:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:52:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:52:04] Production.INFO: ==15061== Releasing lock...
[2025-01-09 16:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:52:04] Production.INFO: ==15065== Releasing lock...
[2025-01-09 16:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:52:04
[end_date_ymd] => 2025-01-09 16:52:04
[RateCDR] => 1
)
[2025-01-09 16:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:52:04' and `end` < '2025-01-09 16:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:52:10] Production.ERROR: CronJobId end10
[2025-01-09 16:52:10] Production.INFO: ==15059== Releasing lock...
[2025-01-09 16:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:52:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:52:11] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:52:11] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:52:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:52:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:52:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:52:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:52:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:52:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:52:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:52:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:52:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:52:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:52:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:52:12] Production.INFO: call_cost start
[2025-01-09 16:52:12] Production.INFO: call_cost end
[2025-01-09 16:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:52:13] Production.INFO: ==15055== Releasing lock...
[2025-01-09 16:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:52:18] Production.INFO: count ==4301
[2025-01-09 16:52:20] Production.ERROR: pbx CDR StartTime 2025-01-09 13:52:04 - End Time 2025-01-09 16:52:04
[2025-01-09 16:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210924', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210924', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210924', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210924', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:52:20] Production.INFO: ProcessCDR(1,14210924,1,1,2)
[2025-01-09 16:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210924,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210924,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210924', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210924', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:52:24] Production.INFO: ==15063== Releasing lock...
[2025-01-09 16:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:52:24] Production.INFO: 60.25 MB #Memory Used#
[2025-01-09 21:53:02] Production.INFO: ==15130== Lock acquired, processing the job...
[2025-01-09 21:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:53:02] Production.INFO: neon service started
[2025-01-09 21:53:02] Production.INFO: neon service started
[2025-01-09 21:53:02] Production.INFO: ==15130== Releasing lock...
[2025-01-09 21:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:53:02] Production.INFO: ==15132== Lock acquired, processing the job...
[2025-01-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:53:02] Production.INFO: ==15132== Releasing lock...
[2025-01-09 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:53:02] Production.INFO: ==15134== Lock acquired, processing the job...
[2025-01-09 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:53:03] Production.INFO: ==15134== Releasing lock...
[2025-01-09 21:53:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:53:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:53:03] Production.INFO: ==15144== Lock acquired, processing the job...
[2025-01-09 16:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:53:03] Production.INFO: ==15146== Lock acquired, processing the job...
[2025-01-09 16:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:53:03] Production.INFO: ==15136== Lock acquired, processing the job...
[2025-01-09 16:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:53:03] Production.INFO: ==15138== Lock acquired, processing the job...
[2025-01-09 16:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:53:03] Production.INFO: count ==21
[2025-01-09 16:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:53:04] Production.INFO: ==15142== Lock acquired, processing the job...
[2025-01-09 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:53:04] Production.INFO: count ==21
[2025-01-09 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210925') start
[2025-01-09 16:53:04] Production.INFO: ==15140== Lock acquired, processing the job...
[2025-01-09 16:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:53:04] Production.INFO: Account Balance Start.
[2025-01-09 16:53:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:53:04] Production.INFO: 117
[2025-01-09 16:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210925') end
[2025-01-09 16:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:53:04] Production.INFO: 1
[2025-01-09 16:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:53:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:53:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:53:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:53:04] Production.INFO: ==15146== Releasing lock...
[2025-01-09 16:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:53:04] Production.INFO: Total Charge 0
[2025-01-09 16:53:04] Production.INFO: CreateAllLog End
[2025-01-09 16:53:04] Production.ERROR: done
[2025-01-09 16:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:53:04] Production.INFO: ==15138== Releasing lock...
[2025-01-09 16:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:53:04] Production.ERROR: done
[2025-01-09 16:53:04] Production.INFO: Account Balance End.
[2025-01-09 16:53:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:53:04] Production.INFO: ==15142== Releasing lock...
[2025-01-09 16:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:53:05
[end_date_ymd] => 2025-01-09 16:53:05
[RateCDR] => 1
)
[2025-01-09 16:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:53:05' and `end` < '2025-01-09 16:53:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:53:11] Production.ERROR: CronJobId end10
[2025-01-09 16:53:11] Production.INFO: ==15140== Releasing lock...
[2025-01-09 16:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:53:13] Production.INFO: call_cost start
[2025-01-09 16:53:13] Production.INFO: call_cost end
[2025-01-09 16:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:53:13] Production.INFO: ==15136== Releasing lock...
[2025-01-09 16:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:53:19] Production.INFO: count ==4275
[2025-01-09 16:53:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:53:05 - End Time 2025-01-09 16:53:05
[2025-01-09 16:53:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210929', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210929', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210929', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:53:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210929', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:53:21] Production.INFO: ProcessCDR(1,14210929,1,1,2)
[2025-01-09 16:53:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210929,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210929,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210929', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210929', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:53:25] Production.INFO: ==15144== Releasing lock...
[2025-01-09 16:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:53:25] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:54:01] Production.INFO: ==15211== Lock acquired, processing the job...
[2025-01-09 21:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:54:01] Production.INFO: neon service started
[2025-01-09 21:54:01] Production.INFO: neon service started
[2025-01-09 21:54:01] Production.INFO: ==15211== Releasing lock...
[2025-01-09 21:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:54:02] Production.INFO: ==15213== Lock acquired, processing the job...
[2025-01-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:54:02] Production.INFO: ==15213== Releasing lock...
[2025-01-09 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:54:02] Production.INFO: ==15215== Lock acquired, processing the job...
[2025-01-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:54:02] Production.INFO: ==15215== Releasing lock...
[2025-01-09 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:54:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-09 16:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:54:03] Production.INFO: ==15218== Lock acquired, processing the job...
[2025-01-09 16:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:54:03] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-01-09 16:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:54:03] Production.INFO: ==15222== Lock acquired, processing the job...
[2025-01-09 16:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:54:03] Production.INFO: count ==21
[2025-01-09 16:54:03] Production.INFO: ==15224== Lock acquired, processing the job...
[2025-01-09 16:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:54:03] Production.INFO: count ==21
[2025-01-09 16:54:03] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-01-09 16:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210931') start
[2025-01-09 16:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:54:03] Production.INFO: Account Balance Start.
[2025-01-09 16:54:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:54:03] Production.INFO: 117
[2025-01-09 16:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:54:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210931') end
[2025-01-09 16:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:54:03] Production.INFO: 1
[2025-01-09 16:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:54:03] Production.INFO: ==15228== Releasing lock...
[2025-01-09 16:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:54:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:54:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:54:03] Production.INFO: Total Charge 0
[2025-01-09 16:54:03] Production.INFO: CreateAllLog End
[2025-01-09 16:54:04] Production.ERROR: done
[2025-01-09 16:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:54:04] Production.INFO: ==15220== Releasing lock...
[2025-01-09 16:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:54:04] Production.ERROR: done
[2025-01-09 16:54:04] Production.INFO: Account Balance End.
[2025-01-09 16:54:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:54:04] Production.INFO: ==15224== Releasing lock...
[2025-01-09 16:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:54:05
[end_date_ymd] => 2025-01-09 16:54:05
[RateCDR] => 1
)
[2025-01-09 16:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:54:05' and `end` < '2025-01-09 16:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:54:12] Production.ERROR: CronJobId end10
[2025-01-09 16:54:12] Production.INFO: ==15222== Releasing lock...
[2025-01-09 16:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:54:13] Production.INFO: call_cost start
[2025-01-09 16:54:13] Production.INFO: call_cost end
[2025-01-09 16:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:54:14] Production.INFO: ==15218== Releasing lock...
[2025-01-09 16:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:54:18] Production.INFO: count ==4263
[2025-01-09 16:54:20] Production.ERROR: pbx CDR StartTime 2025-01-09 13:54:05 - End Time 2025-01-09 16:54:05
[2025-01-09 16:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210934', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210934', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210934', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210934', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:54:20] Production.INFO: ProcessCDR(1,14210934,1,1,2)
[2025-01-09 16:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:54:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210934,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:54:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210934,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210934', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210934', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:54:25] Production.INFO: ==15226== Releasing lock...
[2025-01-09 16:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:54:25] Production.INFO: 60 MB #Memory Used#
[2025-01-09 21:55:02] Production.INFO: ==15296== Lock acquired, processing the job...
[2025-01-09 21:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:55:02] Production.INFO: neon service started
[2025-01-09 21:55:02] Production.INFO: neon service started
[2025-01-09 21:55:02] Production.INFO: ==15296== Releasing lock...
[2025-01-09 21:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:55:02] Production.INFO: ==15298== Lock acquired, processing the job...
[2025-01-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:55:02] Production.INFO: ==15298== Releasing lock...
[2025-01-09 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:55:02] Production.INFO: ==15300== Lock acquired, processing the job...
[2025-01-09 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:55:03] Production.INFO: ==15300== Releasing lock...
[2025-01-09 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:55:03] Production.INFO: ==15302== Lock acquired, processing the job...
[2025-01-09 16:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:55:03] Production.INFO: ==15306== Lock acquired, processing the job...
[2025-01-09 16:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:55:03] Production.INFO: ==15308== Lock acquired, processing the job...
[2025-01-09 16:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:55:03] Production.INFO: Account Balance Start.
[2025-01-09 16:55:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:55:03] Production.INFO: 117
[2025-01-09 16:55:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:55:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:55:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:55:03] Production.INFO: Total Charge 0
[2025-01-09 16:55:04] Production.INFO: CreateAllLog End
[2025-01-09 16:55:04] Production.INFO: ==15304== Lock acquired, processing the job...
[2025-01-09 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:55:04] Production.INFO: ==15310== Lock acquired, processing the job...
[2025-01-09 16:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:55:04] Production.INFO: Account Balance End.
[2025-01-09 16:55:04] Production.INFO: ==15313== Lock acquired, processing the job...
[2025-01-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:55:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:55:04] Production.INFO: ==15308== Releasing lock...
[2025-01-09 16:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:55:04] Production.INFO: ==15304== Releasing lock...
[2025-01-09 16:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:55:04] Production.INFO: count ==21
[2025-01-09 16:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:55:04] Production.INFO: count ==21
[2025-01-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210938') start
[2025-01-09 16:55:04] Production.ERROR: done
[2025-01-09 16:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210938') end
[2025-01-09 16:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:55:04] Production.INFO: 1
[2025-01-09 16:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:55:04] Production.ERROR: done
[2025-01-09 16:55:04] Production.INFO: ==15313== Releasing lock...
[2025-01-09 16:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:55:05
[end_date_ymd] => 2025-01-09 16:55:05
[RateCDR] => 1
)
[2025-01-09 16:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:55:05' and `end` < '2025-01-09 16:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:55:13] Production.ERROR: CronJobId end10
[2025-01-09 16:55:13] Production.INFO: ==15306== Releasing lock...
[2025-01-09 16:55:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:55:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:55:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:55:15] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:55:15] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:55:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:55:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:55:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:55:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:55:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:55:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:55:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:55:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:55:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:55:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:55:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:55:15] Production.INFO: call_cost start
[2025-01-09 16:55:15] Production.INFO: call_cost end
[2025-01-09 16:55:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:55:16] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:55:16] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:55:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:55:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:55:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:55:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:55:16] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:55:16] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:55:16] Production.INFO: ==15302== Releasing lock...
[2025-01-09 16:55:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:55:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:55:21] Production.INFO: count ==4248
[2025-01-09 16:55:22] Production.ERROR: pbx CDR StartTime 2025-01-09 13:55:05 - End Time 2025-01-09 16:55:05
[2025-01-09 16:55:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210939', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210939', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210939', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:55:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210939', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:55:22] Production.INFO: ProcessCDR(1,14210939,1,1,2)
[2025-01-09 16:55:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:55:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210939,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:55:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:55:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210939,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210939', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:55:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210939', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:55:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:55:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:55:27] Production.INFO: ==15310== Releasing lock...
[2025-01-09 16:55:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:55:27] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 21:56:01] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-01-09 21:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:56:01] Production.INFO: neon service started
[2025-01-09 21:56:01] Production.INFO: neon service started
[2025-01-09 21:56:01] Production.INFO: ==15380== Releasing lock...
[2025-01-09 21:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:56:01] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-01-09 16:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:56:02] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-01-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 16:56:02] Production.INFO: ==15382== Releasing lock...
[2025-01-09 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 21:56:02] Production.INFO: ==15384== Releasing lock...
[2025-01-09 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:56:03] Production.INFO: ==15392== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:56:03] Production.INFO: ==15397== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:56:03] Production.INFO: ==15386== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:56:03] Production.INFO: Account Balance Start.
[2025-01-09 16:56:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:56:03] Production.INFO: ==15388== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:56:03] Production.INFO: 117
[2025-01-09 16:56:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:56:03] Production.INFO: count ==21
[2025-01-09 16:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:56:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:56:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:56:03] Production.INFO: count ==21
[2025-01-09 16:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210940') start
[2025-01-09 16:56:03] Production.INFO: ==15390== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:56:03] Production.INFO: Total Charge 0
[2025-01-09 16:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:56:03] Production.INFO: CreateAllLog End
[2025-01-09 16:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210940') end
[2025-01-09 16:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:56:03] Production.INFO: 1
[2025-01-09 16:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:56:03] Production.INFO: ==15397== Releasing lock...
[2025-01-09 16:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:56:03] Production.INFO: Account Balance End.
[2025-01-09 16:56:03] Production.INFO: ==15395== Lock acquired, processing the job...
[2025-01-09 16:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:56:03] Production.ERROR: CronJobId end 12
[2025-01-09 16:56:03] Production.INFO: ==15392== Releasing lock...
[2025-01-09 16:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:56:04] Production.INFO: ==15388== Releasing lock...
[2025-01-09 16:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:56:04] Production.ERROR: done
[2025-01-09 16:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:56:04] Production.ERROR: done
[2025-01-09 16:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:56:05
[end_date_ymd] => 2025-01-09 16:56:05
[RateCDR] => 1
)
[2025-01-09 16:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:56:05' and `end` < '2025-01-09 16:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:56:11] Production.ERROR: CronJobId end10
[2025-01-09 16:56:11] Production.INFO: ==15390== Releasing lock...
[2025-01-09 16:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:56:12] Production.INFO: call_cost start
[2025-01-09 16:56:12] Production.INFO: call_cost end
[2025-01-09 16:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:56:13] Production.INFO: ==15386== Releasing lock...
[2025-01-09 16:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:56:20] Production.INFO: count ==4215
[2025-01-09 16:56:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:56:05 - End Time 2025-01-09 16:56:05
[2025-01-09 16:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210944', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210944', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210944', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210944', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:56:21] Production.INFO: ProcessCDR(1,14210944,1,1,2)
[2025-01-09 16:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:56:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210944,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:56:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:56:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210944,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210944', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:56:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210944', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:56:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:56:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:56:26] Production.INFO: ==15395== Releasing lock...
[2025-01-09 16:56:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:56:26] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 21:57:02] Production.INFO: ==15456== Lock acquired, processing the job...
[2025-01-09 21:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:57:02] Production.INFO: neon service started
[2025-01-09 21:57:02] Production.INFO: neon service started
[2025-01-09 21:57:02] Production.INFO: ==15456== Releasing lock...
[2025-01-09 21:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:57:02] Production.INFO: ==15459== Lock acquired, processing the job...
[2025-01-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:57:02] Production.INFO: ==15461== Lock acquired, processing the job...
[2025-01-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:57:02] Production.INFO: ==15461== Releasing lock...
[2025-01-09 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:57:02] Production.INFO: ==15459== Releasing lock...
[2025-01-09 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:57:03] Production.INFO: ==15469== Lock acquired, processing the job...
[2025-01-09 16:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:57:03] Production.INFO: ==15465== Lock acquired, processing the job...
[2025-01-09 16:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:57:03] Production.INFO: ==15473== Lock acquired, processing the job...
[2025-01-09 16:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:57:03] Production.INFO: Account Balance Start.
[2025-01-09 16:57:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:57:03] Production.INFO: 117
[2025-01-09 16:57:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:57:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:57:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:57:03] Production.INFO: count ==21
[2025-01-09 16:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:57:03] Production.INFO: count ==21
[2025-01-09 16:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210947') start
[2025-01-09 16:57:03] Production.INFO: Total Charge 0
[2025-01-09 16:57:03] Production.INFO: ==15467== Lock acquired, processing the job...
[2025-01-09 16:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:57:04] Production.INFO: CreateAllLog End
[2025-01-09 16:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210947') end
[2025-01-09 16:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:57:04] Production.INFO: 1
[2025-01-09 16:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:57:04] Production.INFO: ==15463== Lock acquired, processing the job...
[2025-01-09 16:57:04] Production.INFO: ==15471== Lock acquired, processing the job...
[2025-01-09 16:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:57:04] Production.INFO: ==15473== Releasing lock...
[2025-01-09 16:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:57:04] Production.INFO: ==15465== Releasing lock...
[2025-01-09 16:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:57:04] Production.INFO: Account Balance End.
[2025-01-09 16:57:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:57:04] Production.INFO: ==15469== Releasing lock...
[2025-01-09 16:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:57:04] Production.ERROR: done
[2025-01-09 16:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:57:04] Production.ERROR: done
[2025-01-09 16:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:57:05
[end_date_ymd] => 2025-01-09 16:57:05
[RateCDR] => 1
)
[2025-01-09 16:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:57:05' and `end` < '2025-01-09 16:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:57:10] Production.ERROR: CronJobId end10
[2025-01-09 16:57:10] Production.INFO: ==15467== Releasing lock...
[2025-01-09 16:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:57:12] Production.INFO: call_cost start
[2025-01-09 16:57:12] Production.INFO: call_cost end
[2025-01-09 16:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:57:13] Production.INFO: ==15463== Releasing lock...
[2025-01-09 16:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:57:22] Production.INFO: count ==4198
[2025-01-09 16:57:23] Production.ERROR: pbx CDR StartTime 2025-01-09 13:57:05 - End Time 2025-01-09 16:57:05
[2025-01-09 16:57:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210949', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210949', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210949', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:57:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210949', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:57:23] Production.INFO: ProcessCDR(1,14210949,1,1,2)
[2025-01-09 16:57:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:57:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210949,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:57:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:57:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210949,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210949', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:57:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210949', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:57:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:57:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:57:28] Production.INFO: ==15471== Releasing lock...
[2025-01-09 16:57:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:57:28] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 21:58:01] Production.INFO: ==15573== Lock acquired, processing the job...
[2025-01-09 21:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:58:01] Production.INFO: neon service started
[2025-01-09 21:58:01] Production.INFO: neon service started
[2025-01-09 21:58:01] Production.INFO: ==15573== Releasing lock...
[2025-01-09 21:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 21:58:01] Production.INFO: ==15577== Lock acquired, processing the job...
[2025-01-09 21:58:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:58:02] Production.INFO: ==15577== Releasing lock...
[2025-01-09 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:58:02] Production.INFO: ==15575== Lock acquired, processing the job...
[2025-01-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 16:58:02] Production.INFO: ==15575== Releasing lock...
[2025-01-09 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:58:03] Production.INFO: ==15580== Lock acquired, processing the job...
[2025-01-09 16:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:58:03] Production.INFO: ==15584== Lock acquired, processing the job...
[2025-01-09 16:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:58:03] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-01-09 16:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:58:03] Production.INFO: ==15586== Lock acquired, processing the job...
[2025-01-09 16:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:58:03] Production.INFO: ==15588== Lock acquired, processing the job...
[2025-01-09 16:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:58:03] Production.INFO: ==15582== Releasing lock...
[2025-01-09 16:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:58:03] Production.INFO: ==15590== Lock acquired, processing the job...
[2025-01-09 16:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:58:03] Production.INFO: Account Balance Start.
[2025-01-09 16:58:03] Production.INFO: CreateAllLog Start
[2025-01-09 16:58:03] Production.INFO: 117
[2025-01-09 16:58:03] Production.INFO: Date 2025-01-08
[2025-01-09 16:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:58:03] Production.INFO: Date 2025-01-09
[2025-01-09 16:58:03] Production.INFO: Reseller ==> 0
[2025-01-09 16:58:03] Production.INFO: Total Charge 0
[2025-01-09 16:58:03] Production.INFO: CreateAllLog End
[2025-01-09 16:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:58:03] Production.INFO: count ==21
[2025-01-09 16:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:58:03] Production.INFO: count ==21
[2025-01-09 16:58:04] Production.ERROR: done
[2025-01-09 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210953') start
[2025-01-09 16:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:58:04] Production.INFO: Account Balance End.
[2025-01-09 16:58:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:58:04] Production.INFO: ==15586== Releasing lock...
[2025-01-09 16:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:58:04] Production.ERROR: done
[2025-01-09 16:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210953') end
[2025-01-09 16:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:58:04] Production.INFO: 1
[2025-01-09 16:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:58:04] Production.INFO: ==15590== Releasing lock...
[2025-01-09 16:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:58:05
[end_date_ymd] => 2025-01-09 16:58:05
[RateCDR] => 1
)
[2025-01-09 16:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:58:05' and `end` < '2025-01-09 16:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:58:11] Production.ERROR: CronJobId end10
[2025-01-09 16:58:11] Production.INFO: ==15584== Releasing lock...
[2025-01-09 16:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:58:12] Production.INFO: call_cost start
[2025-01-09 16:58:12] Production.INFO: call_cost end
[2025-01-09 16:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:58:13] Production.INFO: ==15580== Releasing lock...
[2025-01-09 16:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:58:20] Production.INFO: count ==4184
[2025-01-09 16:58:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:58:05 - End Time 2025-01-09 16:58:05
[2025-01-09 16:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210954', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210954', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210954', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:58:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210954', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:58:22] Production.INFO: ProcessCDR(1,14210954,1,1,2)
[2025-01-09 16:58:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:58:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210954,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:58:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:58:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210954,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210954', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:58:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210954', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:58:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:58:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:58:26] Production.INFO: ==15588== Releasing lock...
[2025-01-09 16:58:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:58:26] Production.INFO: 59.25 MB #Memory Used#
[2025-01-09 21:59:02] Production.INFO: ==15652== Lock acquired, processing the job...
[2025-01-09 21:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 21:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 21:59:02] Production.INFO: neon service started
[2025-01-09 21:59:02] Production.INFO: neon service started
[2025-01-09 21:59:02] Production.INFO: ==15652== Releasing lock...
[2025-01-09 21:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 21:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 16:59:02] Production.INFO: ==15654== Lock acquired, processing the job...
[2025-01-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 21:59:02] Production.INFO: ==15657== Lock acquired, processing the job...
[2025-01-09 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 21:59:02] Production.INFO: ==15657== Releasing lock...
[2025-01-09 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 21:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 16:59:02] Production.INFO: ==15654== Releasing lock...
[2025-01-09 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 16:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 16:59:03] Production.INFO: ==15659== Lock acquired, processing the job...
[2025-01-09 16:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 16:59:03] Production.INFO: ==15661== Lock acquired, processing the job...
[2025-01-09 16:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 16:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 16:59:03] Production.INFO: ==15663== Lock acquired, processing the job...
[2025-01-09 16:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 16:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 16:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 16:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 16:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 16:59:04] Production.INFO: ==15665== Lock acquired, processing the job...
[2025-01-09 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 16:59:04] Production.INFO: ==15661== Releasing lock...
[2025-01-09 16:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 16:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 16:59:04] Production.INFO: ==15667== Lock acquired, processing the job...
[2025-01-09 16:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 16:59:04] Production.INFO: ==15669== Lock acquired, processing the job...
[2025-01-09 16:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 16:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 16:59:04] Production.INFO: Account Balance Start.
[2025-01-09 16:59:04] Production.INFO: CreateAllLog Start
[2025-01-09 16:59:04] Production.INFO: 117
[2025-01-09 16:59:04] Production.INFO: Date 2025-01-08
[2025-01-09 16:59:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:59:04] Production.INFO: count ==21
[2025-01-09 16:59:04] Production.INFO: Date 2025-01-09
[2025-01-09 16:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 16:59:04] Production.INFO: count ==21
[2025-01-09 16:59:04] Production.INFO: Reseller ==> 0
[2025-01-09 16:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210958') start
[2025-01-09 16:59:04] Production.ERROR: done
[2025-01-09 16:59:04] Production.INFO: Total Charge 0
[2025-01-09 16:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 16:59:04] Production.INFO: CreateAllLog End
[2025-01-09 16:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210958') end
[2025-01-09 16:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 16:59:04] Production.INFO: 1
[2025-01-09 16:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 16:59:04] Production.INFO: ==15669== Releasing lock...
[2025-01-09 16:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 16:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 16:59:04] Production.ERROR: done
[2025-01-09 16:59:04] Production.INFO: Account Balance End.
[2025-01-09 16:59:04] Production.ERROR: CronJobId end 12
[2025-01-09 16:59:04] Production.INFO: ==15665== Releasing lock...
[2025-01-09 16:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 16:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 16:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 13:59:05
[end_date_ymd] => 2025-01-09 16:59:05
[RateCDR] => 1
)
[2025-01-09 16:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 13:59:05' and `end` < '2025-01-09 16:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 16:59:11] Production.ERROR: CronJobId end10
[2025-01-09 16:59:11] Production.INFO: ==15663== Releasing lock...
[2025-01-09 16:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 16:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 16:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 16:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 16:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 16:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 16:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 16:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 16:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 16:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 16:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 16:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 16:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 16:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 16:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 16:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 16:59:13] Production.INFO: call_cost start
[2025-01-09 16:59:13] Production.INFO: call_cost end
[2025-01-09 16:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 16:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 16:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 16:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 16:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 16:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 16:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 16:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 16:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 16:59:14] Production.INFO: ==15659== Releasing lock...
[2025-01-09 16:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 16:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 16:59:19] Production.INFO: count ==4183
[2025-01-09 16:59:21] Production.ERROR: pbx CDR StartTime 2025-01-09 13:59:05 - End Time 2025-01-09 16:59:05
[2025-01-09 16:59:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210959', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210959', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210959', 'tblTempVendorCDR_20' ) start
[2025-01-09 16:59:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210959', 'tblTempVendorCDR_20' ) end
[2025-01-09 16:59:21] Production.INFO: ProcessCDR(1,14210959,1,1,2)
[2025-01-09 16:59:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:59:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210959,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 16:59:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:59:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210959,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 16:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210959', 'tblTempUsageDetail_20' ) start
[2025-01-09 16:59:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210959', 'tblTempUsageDetail_20' ) end
[2025-01-09 16:59:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 16:59:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 16:59:25] Production.INFO: ==15667== Releasing lock...
[2025-01-09 16:59:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 16:59:25] Production.INFO: 59.25 MB #Memory Used#
[2025-01-09 22:00:01] Production.INFO: ==15741== Lock acquired, processing the job...
[2025-01-09 22:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 22:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 22:00:01] Production.INFO: neon service started
[2025-01-09 22:00:01] Production.INFO: neon service started
[2025-01-09 22:00:01] Production.INFO: ==15741== Releasing lock...
[2025-01-09 22:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 22:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:00:01] Production.INFO: ==15743== Lock acquired, processing the job...
[2025-01-09 17:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:00:02] Production.INFO: ==15745== Lock acquired, processing the job...
[2025-01-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 17:00:02] Production.INFO: ==15743== Releasing lock...
[2025-01-09 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 17:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:00:02] Production.INFO: ==15745== Releasing lock...
[2025-01-09 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 22:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 17:00:03] Production.INFO: ==15749== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 17:00:03] Production.INFO: ==15747== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-09 17:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-09 17:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-09 17:00:03] Production.ERROR: CronJob PID - 15749
[2025-01-09 17:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-09 17:00:03] Production.ERROR: CronJob ID - 5
[2025-01-09 17:00:03] Production.ERROR: CronJob Last Run Time 2025-01-09 17:00:00
[2025-01-09 17:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-09 17:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-09 17:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 17:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-09 17:00:03] Production.INFO: ==15747== Releasing lock...
[2025-01-09 17:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-09 17:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-09 17:00:03] Production.INFO: ==15757== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 17:00:03] Production.INFO: ==15759== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-09 17:00:03] Production.INFO: ==15751== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 17:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 17:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 17:00:03] Production.INFO: ==15753== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 17:00:03] Production.INFO: ==15755== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 17:00:03] Production.INFO: ==15761== Lock acquired, processing the job...
[2025-01-09 17:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 17:00:03] Production.INFO: Account Balance Start.
[2025-01-09 17:00:03] Production.INFO: CreateAllLog Start
[2025-01-09 17:00:03] Production.INFO: 117
[2025-01-09 17:00:03] Production.ERROR: done
[2025-01-09 17:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 17:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 17:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 17:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 17:00:03] Production.INFO: Date 2025-01-08
[2025-01-09 17:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 17:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 17:00:03] Production.INFO: Date 2025-01-09
[2025-01-09 17:00:03] Production.INFO: Reseller ==> 0
[2025-01-09 17:00:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:00:03] Production.INFO: Total Charge 0
[2025-01-09 17:00:03] Production.INFO: CreateAllLog End
[2025-01-09 17:00:03] Production.INFO: count ==21
[2025-01-09 17:00:04] Production.ERROR: done
[2025-01-09 17:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:00:04] Production.ERROR: done
[2025-01-09 17:00:04] Production.INFO: count ==21
[2025-01-09 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210963') start
[2025-01-09 17:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-09 17:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210964', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) start
[2025-01-09 17:00:04] Production.INFO: ==15751== Releasing lock...
[2025-01-09 17:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 17:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 17:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210963') end
[2025-01-09 17:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 17:00:04] Production.INFO: 1
[2025-01-09 17:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 17:00:04] Production.INFO: ==15761== Releasing lock...
[2025-01-09 17:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 17:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 17:00:04] Production.INFO: Account Balance End.
[2025-01-09 17:00:04] Production.ERROR: CronJobId end 12
[2025-01-09 17:00:04] Production.INFO: ==15755== Releasing lock...
[2025-01-09 17:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 17:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 17:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 14:00:05
[end_date_ymd] => 2025-01-09 17:00:05
[RateCDR] => 1
)
[2025-01-09 17:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 14:00:05' and `end` < '2025-01-09 17:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 17:00:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14210964', 'tblTempUsageDetail_20reseller','2025-01-09','2025-01-09','1' ) end
[2025-01-09 17:00:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-09 17:00:07] Production.INFO: ProcessCDR(1,14210964,1,1,2)
[2025-01-09 17:00:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14210964,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14210964,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 17:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 17:00:08] Production.INFO: ==15759== Releasing lock...
[2025-01-09 17:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-09 17:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-09 17:00:12] Production.ERROR: CronJobId end10
[2025-01-09 17:00:12] Production.INFO: ==15753== Releasing lock...
[2025-01-09 17:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 17:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 17:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 17:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 17:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 17:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 17:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 17:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 17:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 17:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 17:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 17:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 17:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 17:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 17:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 17:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 17:00:14] Production.INFO: call_cost start
[2025-01-09 17:00:14] Production.INFO: call_cost end
[2025-01-09 17:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 17:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 17:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 17:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 17:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 17:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 17:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 17:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 17:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 17:00:15] Production.INFO: ==15749== Releasing lock...
[2025-01-09 17:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 17:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 17:00:19] Production.INFO: count ==4178
[2025-01-09 17:00:20] Production.ERROR: pbx CDR StartTime 2025-01-09 14:00:05 - End Time 2025-01-09 17:00:05
[2025-01-09 17:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210965', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210965', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210965', 'tblTempVendorCDR_20' ) start
[2025-01-09 17:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210965', 'tblTempVendorCDR_20' ) end
[2025-01-09 17:00:20] Production.INFO: ProcessCDR(1,14210965,1,1,2)
[2025-01-09 17:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210965,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210965,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210965', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210965', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 17:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 17:00:23] Production.INFO: ==15757== Releasing lock...
[2025-01-09 17:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 17:00:23] Production.INFO: 59.25 MB #Memory Used#
[2025-01-09 22:01:01] Production.INFO: ==15836== Lock acquired, processing the job...
[2025-01-09 22:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 22:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 22:01:01] Production.INFO: neon service started
[2025-01-09 22:01:01] Production.INFO: neon service started
[2025-01-09 22:01:01] Production.INFO: ==15836== Releasing lock...
[2025-01-09 22:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 22:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:01:02] Production.INFO: ==15848== Lock acquired, processing the job...
[2025-01-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:01:02] Production.INFO: ==15848== Releasing lock...
[2025-01-09 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 22:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 17:01:02] Production.INFO: ==15846== Lock acquired, processing the job...
[2025-01-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:01:02] Production.INFO: ==15846== Releasing lock...
[2025-01-09 17:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 17:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:01:03] Production.INFO: ==15851== Lock acquired, processing the job...
[2025-01-09 17:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 17:01:03] Production.INFO: ==15853== Lock acquired, processing the job...
[2025-01-09 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 17:01:03] Production.INFO: ==15855== Lock acquired, processing the job...
[2025-01-09 17:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 17:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 17:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 17:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 17:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 17:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 17:01:03] Production.INFO: ==15857== Lock acquired, processing the job...
[2025-01-09 17:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 17:01:03] Production.INFO: ==15853== Releasing lock...
[2025-01-09 17:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 17:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 17:01:03] Production.INFO: ==15859== Lock acquired, processing the job...
[2025-01-09 17:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 17:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 17:01:03] Production.INFO: Account Balance Start.
[2025-01-09 17:01:03] Production.INFO: CreateAllLog Start
[2025-01-09 17:01:03] Production.INFO: 117
[2025-01-09 17:01:03] Production.INFO: Date 2025-01-08
[2025-01-09 17:01:03] Production.INFO: ==15861== Lock acquired, processing the job...
[2025-01-09 17:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 17:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 17:01:03] Production.INFO: Date 2025-01-09
[2025-01-09 17:01:03] Production.INFO: Reseller ==> 0
[2025-01-09 17:01:04] Production.INFO: Total Charge 0
[2025-01-09 17:01:04] Production.INFO: CreateAllLog End
[2025-01-09 17:01:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:01:04] Production.INFO: count ==21
[2025-01-09 17:01:04] Production.ERROR: done
[2025-01-09 17:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 17:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:01:04] Production.INFO: count ==21
[2025-01-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210969') start
[2025-01-09 17:01:04] Production.ERROR: done
[2025-01-09 17:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210969') end
[2025-01-09 17:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 17:01:04] Production.INFO: 1
[2025-01-09 17:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 17:01:04] Production.INFO: ==15861== Releasing lock...
[2025-01-09 17:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 17:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 17:01:04] Production.INFO: Account Balance End.
[2025-01-09 17:01:04] Production.ERROR: CronJobId end 12
[2025-01-09 17:01:04] Production.INFO: ==15857== Releasing lock...
[2025-01-09 17:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 17:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 17:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 14:01:05
[end_date_ymd] => 2025-01-09 17:01:05
[RateCDR] => 1
)
[2025-01-09 17:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 14:01:05' and `end` < '2025-01-09 17:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 17:01:12] Production.ERROR: CronJobId end10
[2025-01-09 17:01:12] Production.INFO: ==15855== Releasing lock...
[2025-01-09 17:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 17:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 17:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 17:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 17:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 17:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 17:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 17:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 17:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 17:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 17:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 17:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 17:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 17:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 17:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 17:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 17:01:13] Production.INFO: call_cost start
[2025-01-09 17:01:13] Production.INFO: call_cost end
[2025-01-09 17:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 17:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 17:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 17:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 17:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 17:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 17:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 17:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 17:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 17:01:14] Production.INFO: ==15851== Releasing lock...
[2025-01-09 17:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 17:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 17:01:23] Production.INFO: count ==4238
[2025-01-09 17:01:24] Production.ERROR: pbx CDR StartTime 2025-01-09 14:01:05 - End Time 2025-01-09 17:01:05
[2025-01-09 17:01:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 17:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210970', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210970', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210970', 'tblTempVendorCDR_20' ) start
[2025-01-09 17:01:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210970', 'tblTempVendorCDR_20' ) end
[2025-01-09 17:01:24] Production.INFO: ProcessCDR(1,14210970,1,1,2)
[2025-01-09 17:01:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:01:27] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210970,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:01:27] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:01:29] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210970,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:01:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210970', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:01:29] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210970', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:01:29] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 17:01:29] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 17:01:29] Production.INFO: ==15859== Releasing lock...
[2025-01-09 17:01:29] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 17:01:29] Production.INFO: 59.75 MB #Memory Used#
[2025-01-09 22:02:02] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-01-09 22:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 22:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 22:02:02] Production.INFO: neon service started
[2025-01-09 22:02:02] Production.INFO: neon service started
[2025-01-09 22:02:02] Production.INFO: ==15933== Releasing lock...
[2025-01-09 22:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 22:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 22:02:02] Production.INFO: ==15937== Lock acquired, processing the job...
[2025-01-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:02:02] Production.INFO: ==15937== Releasing lock...
[2025-01-09 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 22:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 17:02:02] Production.INFO: ==15935== Lock acquired, processing the job...
[2025-01-09 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:02:03] Production.INFO: ==15935== Releasing lock...
[2025-01-09 17:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 17:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 17:02:03] Production.INFO: ==15940== Lock acquired, processing the job...
[2025-01-09 17:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 17:02:04] Production.INFO: ==15944== Lock acquired, processing the job...
[2025-01-09 17:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 17:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 17:02:04] Production.INFO: ==15946== Lock acquired, processing the job...
[2025-01-09 17:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 17:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 17:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 17:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 17:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 17:02:04] Production.INFO: Account Balance Start.
[2025-01-09 17:02:04] Production.INFO: CreateAllLog Start
[2025-01-09 17:02:04] Production.INFO: 117
[2025-01-09 17:02:04] Production.INFO: Date 2025-01-08
[2025-01-09 17:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 17:02:04] Production.INFO: Date 2025-01-09
[2025-01-09 17:02:04] Production.INFO: Reseller ==> 0
[2025-01-09 17:02:04] Production.INFO: ==15942== Lock acquired, processing the job...
[2025-01-09 17:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 17:02:04] Production.INFO: Total Charge 0
[2025-01-09 17:02:04] Production.INFO: CreateAllLog End
[2025-01-09 17:02:04] Production.INFO: ==15948== Lock acquired, processing the job...
[2025-01-09 17:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 17:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 17:02:04] Production.INFO: ==15950== Lock acquired, processing the job...
[2025-01-09 17:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 17:02:04] Production.INFO: Account Balance End.
[2025-01-09 17:02:04] Production.ERROR: CronJobId end 12
[2025-01-09 17:02:04] Production.INFO: ==15946== Releasing lock...
[2025-01-09 17:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 17:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 17:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:02:04] Production.INFO: ==15942== Releasing lock...
[2025-01-09 17:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 17:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 17:02:04] Production.INFO: count ==21
[2025-01-09 17:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:02:04] Production.INFO: count ==21
[2025-01-09 17:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210974') start
[2025-01-09 17:02:04] Production.ERROR: done
[2025-01-09 17:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 17:02:05] Production.ERROR: PBX CALL prc_importPBXExtension('14210974') end
[2025-01-09 17:02:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 17:02:05] Production.INFO: 1
[2025-01-09 17:02:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 17:02:05] Production.INFO: ==15950== Releasing lock...
[2025-01-09 17:02:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 17:02:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 17:02:05] Production.ERROR: done
[2025-01-09 17:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 14:02:05
[end_date_ymd] => 2025-01-09 17:02:05
[RateCDR] => 1
)
[2025-01-09 17:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 14:02:05' and `end` < '2025-01-09 17:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 17:02:12] Production.ERROR: CronJobId end10
[2025-01-09 17:02:12] Production.INFO: ==15944== Releasing lock...
[2025-01-09 17:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 17:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 17:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 17:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-09 17:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 17:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 17:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 17:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 17:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 17:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 17:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 17:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 17:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 17:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 17:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 17:02:14] Production.INFO: call_cost start
[2025-01-09 17:02:14] Production.INFO: call_cost end
[2025-01-09 17:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 17:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-09 17:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 17:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 17:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 17:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 17:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-09 17:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-09 17:02:15] Production.INFO: ==15940== Releasing lock...
[2025-01-09 17:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 17:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 17:02:19] Production.INFO: count ==4215
[2025-01-09 17:02:21] Production.ERROR: pbx CDR StartTime 2025-01-09 14:02:05 - End Time 2025-01-09 17:02:05
[2025-01-09 17:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210975', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210975', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210975', 'tblTempVendorCDR_20' ) start
[2025-01-09 17:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210975', 'tblTempVendorCDR_20' ) end
[2025-01-09 17:02:21] Production.INFO: ProcessCDR(1,14210975,1,1,2)
[2025-01-09 17:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210975,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210975,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210975', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210975', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 17:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 17:02:25] Production.INFO: ==15948== Releasing lock...
[2025-01-09 17:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 17:02:25] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 22:03:01] Production.INFO: ==16015== Lock acquired, processing the job...
[2025-01-09 22:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 22:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 22:03:01] Production.INFO: neon service started
[2025-01-09 22:03:01] Production.INFO: neon service started
[2025-01-09 22:03:01] Production.INFO: ==16015== Releasing lock...
[2025-01-09 22:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 22:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:03:02] Production.INFO: ==16017== Lock acquired, processing the job...
[2025-01-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 17:03:02] Production.INFO: ==16017== Releasing lock...
[2025-01-09 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-09 17:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-09 22:03:02] Production.INFO: ==16019== Lock acquired, processing the job...
[2025-01-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-09 22:03:02] Production.INFO: ==16019== Releasing lock...
[2025-01-09 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-09 22:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-09 17:03:03] Production.INFO: ==16022== Lock acquired, processing the job...
[2025-01-09 17:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-09 17:03:03] Production.INFO: ==16024== Lock acquired, processing the job...
[2025-01-09 17:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-09 17:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-09 17:03:03] Production.INFO: ==16026== Lock acquired, processing the job...
[2025-01-09 17:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-09 17:03:03] Production.INFO: ==16031== Lock acquired, processing the job...
[2025-01-09 17:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-09 17:03:03] Production.INFO: ==16028== Lock acquired, processing the job...
[2025-01-09 17:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-09 17:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250109Live done
[2025-01-09 17:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109Live done
[2025-01-09 17:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250109Live)
[2025-01-09 17:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-09','2025-01-09','120250109Live')
[2025-01-09 17:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-09 17:03:03] Production.INFO: ==16034== Lock acquired, processing the job...
[2025-01-09 17:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-09 17:03:03] Production.INFO: Account Balance Start.
[2025-01-09 17:03:03] Production.INFO: CreateAllLog Start
[2025-01-09 17:03:03] Production.INFO: 117
[2025-01-09 17:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:03:03] Production.INFO: Date 2025-01-08
[2025-01-09 17:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 17:03:03] Production.INFO: ==16024== Releasing lock...
[2025-01-09 17:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-09 17:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-09 17:03:03] Production.INFO: count ==21
[2025-01-09 17:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-09 17:03:03] Production.INFO: count ==21
[2025-01-09 17:03:03] Production.INFO: Date 2025-01-09
[2025-01-09 17:03:03] Production.INFO: Reseller ==> 0
[2025-01-09 17:03:03] Production.INFO: Total Charge 0
[2025-01-09 17:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14210979') start
[2025-01-09 17:03:03] Production.INFO: CreateAllLog End
[2025-01-09 17:03:04] Production.ERROR: done
[2025-01-09 17:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-09 17:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14210979') end
[2025-01-09 17:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-09 17:03:04] Production.INFO: 1
[2025-01-09 17:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-09 17:03:04] Production.INFO: Account Balance End.
[2025-01-09 17:03:04] Production.ERROR: done
[2025-01-09 17:03:04] Production.INFO: ==16034== Releasing lock...
[2025-01-09 17:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-09 17:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-09 17:03:04] Production.ERROR: CronJobId end 12
[2025-01-09 17:03:04] Production.INFO: ==16028== Releasing lock...
[2025-01-09 17:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-09 17:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-09 17:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-09 14:03:05
[end_date_ymd] => 2025-01-09 17:03:05
[RateCDR] => 1
)
[2025-01-09 17:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-09 14:03:05' and `end` < '2025-01-09 17:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-09 17:03:12] Production.ERROR: CronJobId end10
[2025-01-09 17:03:12] Production.INFO: ==16026== Releasing lock...
[2025-01-09 17:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-09 17:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-09 17:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-09 17:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-09 17:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-09 17:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-09 17:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-09 17:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-09 17:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-09 17:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-09 17:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-09 17:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-09 17:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-09 17:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-09 17:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-09 17:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-09 17:03:13] Production.INFO: call_cost start
[2025-01-09 17:03:13] Production.INFO: call_cost end
[2025-01-09 17:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-09 17:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-09 17:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-09 17:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-09 17:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-09 17:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-09 17:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-09 17:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-09 17:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-09 17:03:14] Production.INFO: ==16022== Releasing lock...
[2025-01-09 17:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-09 17:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-09 17:03:22] Production.INFO: count ==4212
[2025-01-09 17:03:24] Production.ERROR: pbx CDR StartTime 2025-01-09 14:03:05 - End Time 2025-01-09 17:03:05
[2025-01-09 17:03:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-09 17:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210980', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14210980', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210980', 'tblTempVendorCDR_20' ) start
[2025-01-09 17:03:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14210980', 'tblTempVendorCDR_20' ) end
[2025-01-09 17:03:24] Production.INFO: ProcessCDR(1,14210980,1,1,2)
[2025-01-09 17:03:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14210980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14210980,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-09 17:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14210980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14210980,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-09 17:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210980', 'tblTempUsageDetail_20' ) start
[2025-01-09 17:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14210980', 'tblTempUsageDetail_20' ) end
[2025-01-09 17:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-09 17:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-09 17:03:27] Production.INFO: ==16031== Releasing lock...
[2025-01-09 17:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-09 17:03:27] Production.INFO: 59.5 MB #Memory Used#
[2025-01-09 22:04:02] Production.INFO: ==16103== Lock acquired, processing the job...
[2025-01-09 22:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-09 22:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-09 22:04:02] Production.INFO: neon service started
[2025-01-09 22:04:02] Production.INFO: neon service started
[2025-01-09 22:04:02] Production.INFO: ==16103== Releasing lock...
[2025-01-09 22:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-09 22:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-09 17:04:02] Production.INFO: ==16105== Lock acquired, processing the job...
[2025-01-09 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-09 22:04:03] Production.INFO: ==16107== Lock acquired, processing the job...
[2025-01-09 22:04:03] Production.INFO: rmservice-command-rmservice-com